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 #ifndef _AP_MODULES_H_
00033 #define _AP_MODULES_H_
00034 #include "ap_queue_template.h"
00035 #include "../mc_list/list.h"
00036 struct mc_platform_s;
00037
00038 #include "connection.h"
00039
00040 #include "fipa_acl.h"
00041
00042 #include "agent_mailbox.h"
00043 AP_QUEUE_DECL_TEMPLATE(
00044 connection_queue,
00045 connection
00046 )
00047
00048 AP_QUEUE_GENERIC_DECL_TEMPLATE(
00049 connection_queue,
00050 Search,
00051 connection_t*,
00052 int
00053 )
00054
00055 AP_QUEUE_GENERIC_DECL_TEMPLATE(
00056 connection_queue,
00057 Remove,
00058 int,
00059 int
00060 )
00061
00062 int
00063 connection_queue_Print(connection_queue_p clist);
00064
00065
00066 #include"message.h"
00067 AP_QUEUE_DECL_TEMPLATE(
00068 message_queue,
00069 message
00070 )
00071
00072 int
00073 message_queue_Print(message_queue_p queue);
00074
00075
00076 struct agent_s;
00077 AP_QUEUE_DECL_TEMPLATE(
00078 agent_queue,
00079 agent
00080 )
00081
00082 AP_QUEUE_GENERIC_DECL_TEMPLATE(
00083 agent_queue,
00084 Search,
00085 struct agent_s*,
00086 int
00087 )
00088
00089 AP_QUEUE_GENERIC_DECL_TEMPLATE(
00090 agent_queue,
00091 SearchName,
00092 struct agent_s*,
00093 char*
00094 )
00095
00096 AP_QUEUE_GENERIC_DECL_TEMPLATE(
00097 agent_queue,
00098 Remove,
00099 int,
00100 int
00101 )
00102
00103 AP_QUEUE_GENERIC_DECL_TEMPLATE(
00104 agent_queue,
00105 RemoveName,
00106 int,
00107 char*
00108 )
00109
00110 int
00111 agent_queue_Print(agent_queue_p queue);
00112
00113
00114 #include "interpreter_variable_data.h"
00115 AP_QUEUE_DECL_TEMPLATE(
00116 agent_variable_list,
00117 interpreter_variable_data)
00118
00119 AP_QUEUE_GENERIC_DECL_TEMPLATE(
00120 agent_variable_list,
00121 Search,
00122 interpreter_variable_data_t*,
00123 char* )
00124
00125 AP_QUEUE_GENERIC_DECL_TEMPLATE(
00126 agent_variable_list,
00127 Remove,
00128 int,
00129 char* )
00130
00131
00132 AP_QUEUE_DECL_TEMPLATE(
00133 mail_queue,
00134 fipa_acl_message
00135 )
00136
00137 AP_QUEUE_GENERIC_DECL_TEMPLATE(
00138 mail_queue,
00139 SearchReceivers,
00140 fipa_acl_message_p,
00141 char*
00142 )
00143
00144 AP_QUEUE_GENERIC_DECL_TEMPLATE(
00145 mail_queue,
00146 RemoveName,
00147 int,
00148 char*
00149 )
00150
00151
00152 AP_QUEUE_DECL_TEMPLATE(
00153 mailbox_queue,
00154 agent_mailbox
00155 )
00156
00157 AP_QUEUE_GENERIC_DECL_TEMPLATE(
00158 mailbox_queue,
00159 SearchName,
00160 agent_mailbox_p,
00161 char*
00162 )
00163
00164 AP_QUEUE_GENERIC_DECL_TEMPLATE(
00165 mailbox_queue,
00166 SearchID,
00167 agent_mailbox_p,
00168 int
00169 )
00170
00171 AP_QUEUE_GENERIC_DECL_TEMPLATE(
00172 mailbox_queue,
00173 RemoveID,
00174 int,
00175 int
00176 )
00177
00178 #endif