* Client-service messages
*/
+GNUNET_NETWORK_STRUCT_BEGIN
+
/**
* Notification sent by service to client indicating that we've received a chat
* message. After this struct, the remaining bytes are the actual text message.
* Hash of the public key of the pseudonym of the sender of the message.
* Should be all zeros for anonymous.
*/
- GNUNET_HashCode sender;
+ struct GNUNET_HashCode sender;
/**
* The encrypted session key.
/**
* Who should receive this message? Set to all zeros for "everyone".
*/
- GNUNET_HashCode target;
+ struct GNUNET_HashCode target;
};
/**
* Who is confirming the receipt?
*/
- GNUNET_HashCode target;
+ struct GNUNET_HashCode target;
/**
* Who is the author of the chat message?
*/
- GNUNET_HashCode author;
+ struct GNUNET_HashCode author;
/**
* Hash of the (possibly encrypted) content.
*/
- GNUNET_HashCode content;
+ struct GNUNET_HashCode content;
};
* Hash of the public key of the pseudonym of the sender of the message
* Should be all zeros for anonymous.
*/
- GNUNET_HashCode sender;
+ struct GNUNET_HashCode sender;
/**
* Who should receive this message? Set to all zeros for "everyone".
*/
- GNUNET_HashCode target;
+ struct GNUNET_HashCode target;
/**
* The encrypted session key.
/**
* Who is confirming the receipt?
*/
- GNUNET_HashCode target;
+ struct GNUNET_HashCode target;
/**
* Who is the author of the chat message?
*/
- GNUNET_HashCode author;
+ struct GNUNET_HashCode author;
/**
* Hash of the (possibly encrypted) content.
*/
- GNUNET_HashCode content;
+ struct GNUNET_HashCode content;
};
+GNUNET_NETWORK_STRUCT_END
#endif