commonly used definitions; globals in this file are exempt from the rule that the module name ("commo...
#define GNUNET_NETWORK_STRUCT_BEGIN
Define as empty, GNUNET_PACKED should suffice, but this won't work on W32.
#define GNUNET_NETWORK_STRUCT_END
Define as empty, GNUNET_PACKED should suffice, but this won't work on W32;.
#define GNUNET_PACKED
gcc-ism to get packed structs.
Client requests creation of an identity.
uint16_t name_len
Number of bytes in identity name string including 0-termination, in NBO.
struct GNUNET_MessageHeader header
Type: GNUNET_MESSAGE_TYPE_IDENTITY_CREATE.
uint16_t key_len
Key length.
Client requests deletion of an identity.
struct GNUNET_MessageHeader header
Type: GNUNET_MESSAGE_TYPE_IDENTITY_DELETE.
uint16_t name_len
Number of characters in the name including 0-termination, in NBO.
uint16_t reserved
Always zero.
A private key for an identity as per LSD0001.
An identity key as per LSD0001.
void * ctx
Client context associated with this ego.
bool pub_initialized
Set to true once pub was initialized.
char * name
Current name associated with this ego.
struct GNUNET_CRYPTO_PrivateKey pk
The identity key pair.
struct GNUNET_CRYPTO_PublicKey pub
The identity key pair.
struct GNUNET_HashCode id
Hash of the private key of this ego.
Message from client to GNS service to lookup records.
struct GNUNET_MessageHeader header
Header of type GNUNET_MESSAGE_TYPE_GNS_LOOKUP.
Client requests renaming of an identity.
uint16_t old_name_len
Number of characters in the old name including 0-termination, in NBO.
uint16_t new_name_len
Number of characters in the new name including 0-termination, in NBO.
struct GNUNET_MessageHeader header
Type: GNUNET_MESSAGE_TYPE_IDENTITY_RENAME.
Answer from service to client about last operation; GET_DEFAULT maybe answered with this message on f...
uint32_t result_code
Status code for the last operation, in NBO.
struct GNUNET_MessageHeader header
Type: GNUNET_MESSAGE_TYPE_IDENTITY_RESULT_CODE.
Service informs client about status of a pseudonym.
uint16_t end_of_list
Usually GNUNET_NO, GNUNET_YES to signal end of list.
uint16_t key_len
Key length.
uint16_t name_len
Number of bytes in ego name string including 0-termination, in NBO; 0 if the ego was deleted.
uint16_t reserved
Reserved (alignment)
struct GNUNET_MessageHeader header
Type: GNUNET_MESSAGE_TYPE_IDENTITY_UPDATE.