#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "include/agent_task.h"
#include "interpreter_variable_data.h"
#include "data_structures.h"
#include "include/mc_error.h"
Go to the source code of this file.
Functions | |
agent_task_p | agent_task_New (void) |
agent_task_p | agent_task_Copy (agent_task_p task) |
int | agent_task_Destroy (agent_task_p agent_task) |
agent_task_p agent_task_Copy | ( | agent_task_p | task | ) |
Definition at line 66 of file agent_task.c.
References agent_task_s::agent_return_data, agent_task_s::agent_variable_list, agent_task_s::code_id, agent_task_s::init_agent_status, interpreter_variable_data_Copy(), ListAdd(), ListSearch(), agent_task_s::num_saved_variables, agent_task_s::number_of_elements, agent_task_s::persistent, agent_task_s::saved_variables, agent_task_s::server_name, agent_task_s::size_of_element_array, strdup, and agent_task_s::var_name.
Referenced by agent_datastate_Copy().
int agent_task_Destroy | ( | agent_task_p | agent_task | ) |
Definition at line 132 of file agent_task.c.
References agent_task_s::agent_return_data, agent_task_s::agent_variable_list, agent_task_s::code_id, interpreter_variable_data_Destroy(), MC_SUCCESS, agent_task_s::saved_variables, agent_task_s::server_name, and agent_task_s::var_name.
Referenced by agent_datastate_Destroy().
agent_task_p agent_task_New | ( | void | ) |
Definition at line 48 of file agent_task.c.
References agent_task_s::agent_variable_list, agent_task_s::num_saved_variables, and agent_task_s::saved_variables.
Referenced by agent_xml_parse__tasks(), MC_AgentAddTask(), and MC_ComposeAgentWithWorkgroup().