#include "config.h"
#include <mxml.h>
#include "include/agent_datastate.h"
#include "agent_task.h"
#include "include/macros.h"
#include "include/mc_error.h"
Go to the source code of this file.
Functions | |
agent_datastate_p | agent_datastate_Copy (const agent_datastate_p datastate) |
agent_datastate_p | agent_datastate_New (void) |
int | agent_datastate_Destroy (agent_datastate_p agent_datastate) |
agent_datastate_p agent_datastate_Copy | ( | const agent_datastate_p | datastate | ) |
Definition at line 47 of file agent_datastate.c.
References agent_datastate_s::agent_code, agent_datastate_s::agent_code_ids, agent_datastate_s::agent_codes, agent_datastate_New(), agent_task_Copy(), agent_datastate_s::init_agent_status, agent_datastate_s::number_of_tasks, agent_datastate_s::persistent, agent_datastate_s::return_data, agent_datastate_s::task_progress, and agent_datastate_s::tasks.
Referenced by agent_Copy().
int agent_datastate_Destroy | ( | agent_datastate_p | agent_datastate | ) |
Definition at line 136 of file agent_datastate.c.
References agent_datastate_s::agent_code_ids, agent_datastate_s::agent_codes, agent_task_Destroy(), MC_SUCCESS, mxmlDelete(), agent_datastate_s::number_of_tasks, agent_datastate_s::tasks, and agent_datastate_s::xml_root.
Referenced by agent_Destroy().
agent_datastate_p agent_datastate_New | ( | void | ) |
Definition at line 115 of file agent_datastate.c.
References agent_datastate_s::agent_code, CHECK_NULL, agent_datastate_s::init_agent_status, agent_datastate_s::number_of_tasks, agent_datastate_s::persistent, agent_datastate_s::progress_modifier, agent_datastate_s::return_data, agent_datastate_s::task_progress, agent_datastate_s::tasks, agent_datastate_s::xml_agent_root, and agent_datastate_s::xml_root.
Referenced by agent_datastate_Copy(), agent_Initialize(), and MC_ComposeAgentWithWorkgroup().