33#define MAX_NAME_LEN 256
#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.
Cache a record in the namecache.
struct GNUNET_NAMECACHE_Header gns_header
Type will be GNUNET_MESSAGE_TYPE_NAMECACHE_BLOCK_CACHE.
struct GNUNET_TIME_AbsoluteNBO expire
Expiration time.
Response to a request to cache a block.
int32_t op_result
GNUNET_OK on success, GNUNET_SYSERR error
struct GNUNET_NAMECACHE_Header gns_header
Type will be GNUNET_MESSAGE_TYPE_NAMECACHE_BLOCK_CACHE_RESPONSE.
Time for absolute time used by GNUnet, in microseconds and in network byte order.
Lookup a block in the namecache.
struct GNUNET_NAMECACHE_Header gns_header
Type will be GNUNET_MESSAGE_TYPE_NAMECACHE_LOOKUP_BLOCK.
struct GNUNET_HashCode query
The query.
struct GNUNET_TIME_AbsoluteNBO expire
Expiration time.
struct GNUNET_NAMECACHE_Header gns_header
Type will be GNUNET_MESSAGE_TYPE_NAMECACHE_LOOKUP_BLOCK_RESPONSE.