Lines Matching refs:agent
41 #include "agent.h"
51 /* the agent list */
83 /* of the agent structures should be NULL */
117 /* The fisrt_agent_subtree member of the agent */
199 void agent_update_subtree(Agent* agent)
202 if(agent == NULL) return ;
203 sp = agent->first_agent_subtree;
205 sp->regTreeStatus = agent->agentStatus;
209 void agent_detach_from_list(Agent* agent)
213 if(agent == NULL) return;
216 if(ap == agent)
230 void agent_destroy(Agent* agent)
232 if(agent!=NULL){
233 if(agent->agentID==sap_agent_id-1)
236 agent_detach_from_list(agent);
237 agent_manager_list_free(agent->first_manager);
238 delete_all_table_from_agent(agent);
239 delete_all_subtree_from_agent(agent);
240 delete_agent_from_resource_list(agent);
241 agent_free(agent);
261 /* destroy hanging agent when no outstanding session which
262 relates to the agent */
281 error ("Subagent died: %s PID=%d -- deleted from the agent table",
295 // can't distinguish a hung agent from an agent that is dropping
297 // putting the ax to an agent we see if it's still alive.
315 error ("Agent not responding: %s -- deleted from the agent table", ap->name ) ;