26#ifndef GNUNET_MESSENGER_API_MESSAGE_CONTROL_H
27#define GNUNET_MESSENGER_API_MESSAGE_CONTROL_H
static pa_context * context
Pulseaudio context.
commonly used definitions; globals in this file are exempt from the rule that the module name ("commo...
GNUNET_MESSENGER_MessageFlags
Enum for the different supported flags used by message handling.
struct GNUNET_MESSENGER_MessageControl * create_message_control(struct GNUNET_MESSENGER_Room *room)
Creates and allocates a new message control for a room of the client API.
void destroy_message_control(struct GNUNET_MESSENGER_MessageControl *control)
Destroys a message control and frees its memory fully from the client API.
void process_message_control(struct GNUNET_MESSENGER_MessageControl *control, const struct GNUNET_HashCode *sender, const struct GNUNET_HashCode *context, const struct GNUNET_HashCode *hash, const struct GNUNET_MESSENGER_Message *message, enum GNUNET_MESSENGER_MessageFlags flags)
Processes a new message with its hash and regarding information about sender, context and message fla...
Internal representation of the hash map.
struct GNUNET_MESSENGER_Message * message
struct GNUNET_HashCode hash
struct GNUNET_SCHEDULER_Task * task
struct GNUNET_MESSENGER_MessageControl * control
struct GNUNET_HashCode sender
enum GNUNET_MESSENGER_MessageFlags flags
struct GNUNET_HashCode context
struct GNUNET_MESSENGER_MessageControlQueue * prev
struct GNUNET_MESSENGER_MessageControlQueue * next
struct GNUNET_CONTAINER_MultiShortmap * member_messages
struct GNUNET_MESSENGER_Room * room
struct GNUNET_MESSENGER_MessageControlQueue * head
struct GNUNET_CONTAINER_MultiShortmap * peer_messages
struct GNUNET_MESSENGER_MessageControlQueue * tail
Entry in list of pending tasks.