/home/dko/projects/mobilec/tags/MobileC-v1.10.2/MobileC-v1.10.2/src/include/agent_mailbox.h

Go to the documentation of this file.
00001 /* SVN FILE INFO
00002  * $Revision: 207 $ : Last Committed Revision
00003  * $Date: 2008-07-11 17:55:19 -0700 (Fri, 11 Jul 2008) $ : Last Committed Date */
00004 
00005 #ifndef _AGENT_MAILBOX_H_
00006 #define _AGENT_MAILBOX_H_
00007 
00008 typedef struct agent_mailbox_s
00009 {
00010   struct mail_queue_s* mail_queue;
00011 } agent_mailbox_t;
00012 typedef agent_mailbox_t* agent_mailbox_p;
00013 
00014 agent_mailbox_p agent_mailbox_New(void);
00015 
00016 agent_mailbox_p agent_mailbox_Copy(agent_mailbox_p src);
00017 
00018 int agent_mailbox_Destroy(agent_mailbox_t* mailbox);
00019 
00020 int agent_mailbox_Post(agent_mailbox_p mailbox, fipa_acl_message_t* message);
00021 
00022 fipa_acl_message_t* agent_mailbox_Retrieve(agent_mailbox_p mailbox);
00023 
00024 fipa_acl_message_t* agent_mailbox_WaitRetrieve(agent_mailbox_p mailbox);
00025 #endif

Generated on Fri Jul 11 17:59:44 2008 for Mobile-C by  doxygen 1.5.4