00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 
00022 
00023 
00024 
00025 
00026 
00027 
00028 
00029 
00030 
00031 
00032 
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 
00041 #include "connection.h"
00042 
00043 #include "fipa_acl.h"
00044 
00045 #include "agent_mailbox.h"
00046 AP_QUEUE_DECL_TEMPLATE(
00047     connection_queue, 
00048     connection 
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 
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 
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 
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 
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 
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