Lines Matching refs:ap
52 static void agent_free(Agent *ap);
59 Agent *ap;
63 for(ap = first_agent; ap; ap = ap->next_agent)
66 ap->name,
67 address_string(&(ap->address)),
68 ap->timeout);
82 Agent *ap = first_agent;
86 while(ap)
88 next = ap->next_agent;
90 agent_free(ap);
92 ap = next;
106 static void agent_free(Agent *ap)
108 if(ap == NULL)
113 if(ap->first_agent_subtree)
118 free(ap->name);
119 free(ap);
131 Agent *ap;
134 for(ap = first_agent; ap; ap = ap->next_agent)
136 if(ap->address.sin_port == address->sin_port)
138 return ap;