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_IDENTITY_PrivateKey private_key
The private key.
struct GNUNET_MessageHeader header
Type: GNUNET_MESSAGE_TYPE_IDENTITY_CREATE.
uint16_t reserved
Always zero.
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.
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_IDENTITY_PrivateKey pk
The identity key pair.
struct GNUNET_IDENTITY_PublicKey pub
The identity key pair.
struct GNUNET_HashCode id
Hash of the private key of this ego.
A private key for an identity as per LSD0001.
An identity key as per LSD0001.
Client requests knowledge about default identity for a subsystem from identity service.
uint16_t name_len
Number of bytes in service name string including 0-termination, in NBO.
uint16_t reserved
Always zero.
struct GNUNET_MessageHeader header
Type: GNUNET_MESSAGE_TYPE_IDENTITY_GET_DEFAULT.
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.
Used from service to client as a result to the GET_DEFAULT message, used from client to service to SE...
uint16_t reserved
Always zero.
uint16_t name_len
Number of bytes in service name string including 0-termination, in NBO.
struct GNUNET_IDENTITY_PrivateKey private_key
The private key.
struct GNUNET_MessageHeader header
Type: GNUNET_MESSAGE_TYPE_IDENTITY_SET_DEFAULT.
Service informs client about status of a pseudonym.
struct GNUNET_IDENTITY_PrivateKey private_key
The private key.
uint16_t end_of_list
Usually GNUNET_NO, GNUNET_YES to signal end of list.
uint16_t name_len
Number of bytes in ego name string including 0-termination, in NBO; 0 if the ego was deleted.
struct GNUNET_MessageHeader header
Type: GNUNET_MESSAGE_TYPE_IDENTITY_UPDATE.