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 15 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 23 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 6 of file agent_mailbox.c.
References agent_mailbox_s::mail_queue.
Referenced by agent_Initialize(), and agent_mailbox_Copy().
| int agent_mailbox_Post | ( | agent_mailbox_p | mailbox, | |
| fipa_acl_message_t * | message | |||
| ) | 
Definition at line 32 of file agent_mailbox.c.
References agent_mailbox_s::mail_queue.
Referenced by acc_Thread(), and MC_AclPost().
| fipa_acl_message_t* agent_mailbox_Retrieve | ( | agent_mailbox_p | mailbox | ) | 
Definition at line 38 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 43 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().
 1.5.5
 1.5.5