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 int
00116 agent_queue_Flush(agent_queue_p queue);
00117
00118
00119 #include "interpreter_variable_data.h"
00120 AP_QUEUE_DECL_TEMPLATE(
00121 agent_variable_list,
00122 interpreter_variable_data)
00123
00124 AP_QUEUE_GENERIC_DECL_TEMPLATE(
00125 agent_variable_list,
00126 Search,
00127 interpreter_variable_data_t*,
00128 char* )
00129
00130 AP_QUEUE_GENERIC_DECL_TEMPLATE(
00131 agent_variable_list,
00132 Remove,
00133 int,
00134 char* )
00135
00136
00137 AP_QUEUE_DECL_TEMPLATE(
00138 mail_queue,
00139 fipa_acl_message
00140 )
00141
00142 AP_QUEUE_GENERIC_DECL_TEMPLATE(
00143 mail_queue,
00144 SearchReceivers,
00145 fipa_acl_message_p,
00146 char*
00147 )
00148
00149 AP_QUEUE_GENERIC_DECL_TEMPLATE(
00150 mail_queue,
00151 RemoveName,
00152 int,
00153 char*
00154 )
00155
00156
00157 AP_QUEUE_DECL_TEMPLATE(
00158 mailbox_queue,
00159 agent_mailbox
00160 )
00161
00162 AP_QUEUE_GENERIC_DECL_TEMPLATE(
00163 mailbox_queue,
00164 SearchName,
00165 agent_mailbox_p,
00166 char*
00167 )
00168
00169 AP_QUEUE_GENERIC_DECL_TEMPLATE(
00170 mailbox_queue,
00171 SearchID,
00172 agent_mailbox_p,
00173 int
00174 )
00175
00176 AP_QUEUE_GENERIC_DECL_TEMPLATE(
00177 mailbox_queue,
00178 RemoveID,
00179 int,
00180 int
00181 )
00182
00183
00184 AP_QUEUE_DECL_TEMPLATE(
00185 interpreter_queue,
00186 AP_GENERIC
00187 )
00188
00189 AP_GENERIC_p AP_GENERIC_Copy(AP_GENERIC_p AP_GENERIC);
00190 int AP_GENERIC_Destroy(AP_GENERIC_t* blah);
00191
00192 #endif