GNUnet 0.22.2
GNUNET_MESSENGER_MessageFile Struct Reference

A file message body. More...

#include <gnunet_messenger_service.h>

Collaboration diagram for GNUNET_MESSENGER_MessageFile:
[legend]

Data Fields

struct GNUNET_CRYPTO_SymmetricSessionKey key
 The symmetric key to decrypt the file. More...
 
struct GNUNET_HashCode hash
 The hash of the original file. More...
 
char name [NAME_MAX]
 The name of the original file. More...
 
char * uri
 The uri of the encrypted file. More...
 

Detailed Description

A file message body.

This allows sending necessary details about an uploaded encrypted file to allow access to it.

Message-body-size: 335+ bytes

Definition at line 453 of file gnunet_messenger_service.h.

Field Documentation

◆ key

struct GNUNET_CRYPTO_SymmetricSessionKey GNUNET_MESSENGER_MessageFile::key

◆ hash

struct GNUNET_HashCode GNUNET_MESSENGER_MessageFile::hash

The hash of the original file.

Definition at line 463 of file gnunet_messenger_service.h.

Referenced by decode_message_body(), encode_message_body(), and get_message_body_kind_size().

◆ name

char GNUNET_MESSENGER_MessageFile::name[NAME_MAX]

The name of the original file.

Definition at line 468 of file gnunet_messenger_service.h.

Referenced by decode_message_body(), encode_message_body(), get_message_body_kind_size(), and on_message().

◆ uri

char* GNUNET_MESSENGER_MessageFile::uri

The documentation for this struct was generated from the following file: