Go to the source code of this file.
Data Structures | |
struct | agent_mailbox_s |
Typedefs | |
typedef struct agent_mailbox_s | agent_mailbox_t |
typedef agent_mailbox_t * | agent_mailbox_p |
Functions | |
agent_mailbox_p | agent_mailbox_New (void) |
agent_mailbox_p | agent_mailbox_Copy (agent_mailbox_p src) |
int | agent_mailbox_Destroy (agent_mailbox_t *mailbox) |
int | agent_mailbox_Post (agent_mailbox_p mailbox, fipa_acl_message_t *message) |
fipa_acl_message_t * | agent_mailbox_Retrieve (agent_mailbox_p mailbox) |
fipa_acl_message_t * | agent_mailbox_WaitRetrieve (agent_mailbox_p mailbox) |
typedef agent_mailbox_t* agent_mailbox_p |
Definition at line 12 of file agent_mailbox.h.
typedef struct agent_mailbox_s agent_mailbox_t |
agent_mailbox_p agent_mailbox_Copy | ( | agent_mailbox_p | src | ) |
Definition at line 21 of file agent_mailbox.c.
References agent_mailbox_New(), and agent_mailbox_s::mail_queue.
int agent_mailbox_Destroy | ( | agent_mailbox_t * | mailbox | ) |
Definition at line 29 of file agent_mailbox.c.
References agent_mailbox_s::mail_queue.
Referenced by agent_Destroy().
agent_mailbox_p agent_mailbox_New | ( | void | ) |
Definition at line 12 of file agent_mailbox.c.
References agent_mailbox_s::mail_queue.
Referenced by agent_Copy(), agent_Initialize(), agent_mailbox_Copy(), and agent_NewBinary().
int agent_mailbox_Post | ( | agent_mailbox_p | mailbox, | |
fipa_acl_message_t * | message | |||
) |
Definition at line 38 of file agent_mailbox.c.
References agent_mailbox_s::mail_queue.
Referenced by acc_connection_Thread(), and MC_AclPost().
fipa_acl_message_t* agent_mailbox_Retrieve | ( | agent_mailbox_p | mailbox | ) |
Definition at line 44 of file agent_mailbox.c.
References agent_mailbox_s::mail_queue.
Referenced by agent_mailbox_WaitRetrieve(), and MC_AclRetrieve().
fipa_acl_message_t* agent_mailbox_WaitRetrieve | ( | agent_mailbox_p | mailbox | ) |
Definition at line 49 of file agent_mailbox.c.
References agent_mailbox_Retrieve(), COND_WAIT, agent_mailbox_s::mail_queue, MUTEX_LOCK, and MUTEX_UNLOCK.
Referenced by MC_AclWaitRetrieve().