/home/dko/projects/mobilec/trunk/src/agent_mailbox.c File Reference

#include "include/data_structures.h"

Go to the source code of this file.

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_tagent_mailbox_Retrieve (agent_mailbox_p mailbox)
fipa_acl_message_tagent_mailbox_WaitRetrieve (agent_mailbox_p mailbox)


Function Documentation

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  ) 


Generated on Thu Nov 13 14:22:57 2008 for Mobile-C by  doxygen 1.5.5