#include "config.h"
#include "include/ap_queue_template.h"
#include "macros.h"
#include "mc_error.h"
#include <embedch.h>
#include "include/data_structures.h"
#include "include/interpreter_variable_data.h"
#include "include/agent.h"
Go to the source code of this file.
Functions | |
AP_QUEUE_SEARCH_TEMPLATE (AP_QUEUE_REMOVE_TEMPLATE(connection_queue, Search, AP_QUEUE_REMOVE_TEMPLATE(connection, AP_QUEUE_REMOVE_TEMPLATE(int,(node->connect_id==key)) | |
AP_QUEUE_SEARCH_TEMPLATE (AP_QUEUE_REMOVE_TEMPLATE(agent_variable_list, AP_QUEUE_REMOVE_TEMPLATE(Search, AP_QUEUE_REMOVE_TEMPLATE(interpreter_variable_data, char *,(!strcmp(node->name, key))) | |
AP_QUEUE_STD_DEFN_TEMPLATE (AP_QUEUE_SEARCH_TEMPLATE(agent_queue, AP_QUEUE_SEARCH_TEMPLATE(agent) | |
int | agent_queue_Flush (agent_queue_p queue) |
AP_QUEUE_STD_DEFN_TEMPLATE (fipa_acl_message_p mail_queue_SearchReceivers(mail_queue_p mail_queue, fipa_acl_message) | |
AP_QUEUE_STD_DEFN_TEMPLATE (mailbox_queue, agent_mailbox) | |
int | AP_GENERIC_Destroy (AP_GENERIC_t *blah) |
AP_GENERIC_p | AP_GENERIC_Copy (AP_GENERIC_p AP_GENERIC) |
int agent_queue_Flush | ( | agent_queue_p | queue | ) |
Definition at line 197 of file data_structures.c.
References agent_s::agent_status, agent_s::id, ListSearch(), MUTEX_LOCK, MUTEX_UNLOCK, agent_s::name, and node.
Referenced by handler_FLUSH_AGENTS().
AP_GENERIC_p AP_GENERIC_Copy | ( | AP_GENERIC_p | AP_GENERIC | ) |
Definition at line 295 of file data_structures.c.
int AP_GENERIC_Destroy | ( | AP_GENERIC_t * | blah | ) |
Definition at line 291 of file data_structures.c.
AP_QUEUE_SEARCH_TEMPLATE | ( | AP_QUEUE_REMOVE_TEMPLATE( | agent_variable_list, | |
AP_QUEUE_REMOVE_TEMPLATE( | Search, | |||
AP_QUEUE_REMOVE_TEMPLATE( | interpreter_variable_data, | |||
char * | , | |||
(!strcmp(node->name, key)) | ||||
) |
Definition at line 84 of file data_structures.c.
References message_s::from_address, ListSearch(), message_s::message_id, MUTEX_LOCK, MUTEX_UNLOCK, node, and message_s::to_address.
AP_QUEUE_SEARCH_TEMPLATE | ( | AP_QUEUE_REMOVE_TEMPLATE( | connection_queue, | |
Search | , | |||
AP_QUEUE_REMOVE_TEMPLATE( | connection, | |||
AP_QUEUE_REMOVE_TEMPLATE( | int, | |||
(node->connect_id==key) | ||||
) |
Definition at line 45 of file data_structures.c.
References connection_s::connect_id, ListSearch(), MUTEX_LOCK, MUTEX_UNLOCK, node, and connection_s::remote_hostname.
AP_QUEUE_STD_DEFN_TEMPLATE | ( | mailbox_queue | , | |
agent_mailbox | ||||
) |
Definition at line 253 of file data_structures.c.
References agent_ChScriptInitVar(), COND_SIGNAL, ListPop(), MUTEX_LOCK, and MUTEX_UNLOCK.
AP_QUEUE_STD_DEFN_TEMPLATE | ( | fipa_acl_message_p mail_queue_SearchReceivers( mail_queue_p | mail_queue, | |
fipa_acl_message | ||||
) |
Definition at line 214 of file data_structures.c.
References fipa_agent_identifier_set_s::fipa_agent_identifiers, MUTEX_LOCK, MUTEX_UNLOCK, fipa_agent_identifier_s::name, listNode_s::next, node, listNode_s::node_data, and fipa_acl_message_s::receiver.
AP_QUEUE_STD_DEFN_TEMPLATE | ( | AP_QUEUE_SEARCH_TEMPLATE( | agent_queue, | |
AP_QUEUE_SEARCH_TEMPLATE( | agent | |||
) |
Definition at line 145 of file data_structures.c.
References agent_s::agent_status, agent_s::id, ListSearch(), MUTEX_LOCK, MUTEX_UNLOCK, agent_s::name, and node.