/home/dko/projects/mobilec/tags/MobileC-v1.10.2/MobileC-v1.10.2/src/include/data_structures.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  * Copyright (c) 2007 Integration Engineering Laboratory
00006                       University of California, Davis
00007  *
00008  * Permission to use, copy, and distribute this software and its
00009  * documentation for any purpose with or without fee is hereby granted,
00010  * provided that the above copyright notice appear in all copies and
00011  * that both that copyright notice and this permission notice appear
00012  * in supporting documentation.
00013  *
00014  * Permission to modify the software is granted, but not the right to
00015  * distribute the complete modified source code.  Modifications are to
00016  * be distributed as patches to the released version.  Permission to
00017  * distribute binaries produced by compiling modified sources is granted,
00018  * provided you
00019  *   1. distribute the corresponding source modifications from the
00020  *    released version in the form of a patch file along with the binaries,
00021  *   2. add special version identification to distinguish your version
00022  *    in addition to the base release version number,
00023  *   3. provide your name and address as the primary contact for the
00024  *    support of your modified version, and
00025  *   4. retain our contact information in regard to use of the base
00026  *    software.
00027  * Permission to distribute the released version of the source code along
00028  * with corresponding source modifications in the form of a patch file is
00029  * granted with same provisions 2 through 4 for binary distributions.
00030  *
00031  * This software is provided "as is" without express or implied warranty
00032  * to the extent permitted by applicable law.
00033 ]*/
00034 
00035 #ifndef _AP_MODULES_H_
00036 #define _AP_MODULES_H_
00037 #include "ap_queue_template.h"
00038 #include "../mc_list/list.h"
00039 struct mc_platform_s;
00040 /* Connection Queue */
00041 #include "connection.h"
00042 /* Fipa mailbox */
00043 #include "fipa_acl.h"
00044 /* Agent Mailbox */
00045 #include "agent_mailbox.h"
00046 AP_QUEUE_DECL_TEMPLATE(
00047     connection_queue, /* name */
00048     connection /* node_type */
00049     )
00050 
00051 AP_QUEUE_GENERIC_DECL_TEMPLATE(
00052     connection_queue,
00053     Search,
00054     connection_t*,
00055     int
00056     )
00057 
00058 AP_QUEUE_GENERIC_DECL_TEMPLATE(
00059     connection_queue,
00060     Remove,
00061     int,
00062     int
00063     )
00064 
00065 int 
00066 connection_queue_Print(connection_queue_p clist);
00067 
00068 /* Message Queue */
00069 #include"message.h"
00070 AP_QUEUE_DECL_TEMPLATE(
00071     message_queue,
00072     message
00073     )
00074 
00075 int 
00076 message_queue_Print(message_queue_p queue);
00077 
00078 /* Agent Queue */
00079 struct agent_s;
00080 AP_QUEUE_DECL_TEMPLATE(
00081     agent_queue,
00082     agent
00083     )
00084 
00085 AP_QUEUE_GENERIC_DECL_TEMPLATE(
00086     agent_queue,
00087     Search,
00088     struct agent_s*,
00089     int
00090     )
00091 
00092 AP_QUEUE_GENERIC_DECL_TEMPLATE(
00093     agent_queue,
00094     SearchName,
00095     struct agent_s*,
00096     char*
00097     )
00098 
00099 AP_QUEUE_GENERIC_DECL_TEMPLATE(
00100     agent_queue,
00101     Remove,
00102     int,
00103     int
00104     )
00105 
00106 AP_QUEUE_GENERIC_DECL_TEMPLATE(
00107     agent_queue,
00108     RemoveName,
00109     int,
00110     char*
00111     )
00112 
00113 int
00114 agent_queue_Print(agent_queue_p queue);
00115 
00116 /* Agent variables */
00117 #include "interpreter_variable_data.h"
00118 AP_QUEUE_DECL_TEMPLATE(
00119     agent_variable_list,
00120     interpreter_variable_data)
00121 
00122 AP_QUEUE_GENERIC_DECL_TEMPLATE(
00123     agent_variable_list,
00124     Search,
00125     interpreter_variable_data_t*,
00126     char* )
00127 
00128 AP_QUEUE_GENERIC_DECL_TEMPLATE(
00129     agent_variable_list,
00130     Remove,
00131     int,
00132     char* )
00133 
00134 /* Mail Queue */
00135 AP_QUEUE_DECL_TEMPLATE(
00136     mail_queue,
00137     fipa_acl_message
00138     )
00139 
00140 AP_QUEUE_GENERIC_DECL_TEMPLATE(
00141     mail_queue,
00142     SearchReceivers,
00143     fipa_acl_message_p,
00144     char*
00145     )
00146 
00147 AP_QUEUE_GENERIC_DECL_TEMPLATE(
00148     mail_queue,
00149     RemoveName,
00150     int,
00151     char*
00152     )
00153 
00154 /* Mailbox Queue */
00155 AP_QUEUE_DECL_TEMPLATE(
00156     mailbox_queue,
00157     agent_mailbox
00158     )
00159 
00160 AP_QUEUE_GENERIC_DECL_TEMPLATE(
00161     mailbox_queue,
00162     SearchName,
00163     agent_mailbox_p,
00164     char*
00165     )
00166 
00167 AP_QUEUE_GENERIC_DECL_TEMPLATE(
00168     mailbox_queue,
00169     SearchID,
00170     agent_mailbox_p,
00171     int
00172     )
00173 
00174 AP_QUEUE_GENERIC_DECL_TEMPLATE(
00175     mailbox_queue,
00176     RemoveID,
00177     int,
00178     int
00179     )
00180 
00181 #endif

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