26 #ifndef GNUNET_SERVICE_MESSENGER_UTIL_H
27 #define GNUNET_SERVICE_MESSENGER_UTIL_H
static uint16_t port
Port number.
struct GNUNET_HashCode key
The key used in the DHT.
CADET service; establish channels to distant peers.
Identity service; implements identity management for GNUnet.
const struct GNUNET_IDENTITY_PublicKey * get_anonymous_public_key()
Returns the public identity key of GNUNET_IDENTITY_ego_get_anonymous() without recalculating it every...
void convert_messenger_key_to_port(const struct GNUNET_HashCode *key, struct GNUNET_HashCode *port)
Converts a Messenger service key of a room to the specific port which gets used for the CADET channel...
int generate_free_member_id(struct GNUNET_ShortHashCode *id, const struct GNUNET_CONTAINER_MultiShortmap *members)
Tries to generate an unused member id and store it into the id parameter.
void delayed_disconnect_channel(struct GNUNET_CADET_Channel *channel)
Starts an urgent task to close a CADET channel asynchronously.
Opaque handle to a channel.
Internal representation of the hash map.
An identity key as per LSD0001.