GNUnet  0.11.x
Data Fields
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 393 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 384 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]

◆ uri

char* GNUNET_MESSENGER_MessageFile::uri

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