Lines Matching defs:agents
136 GetAgentIdList returns a list of agents advertising on the passed display (dpy),
137 and it returns the number of agents in the list in the parameter nAgents.
145 unsigned long *nAgents) /* RETURN: number of agents in list */
148 Window *agents = NULL;
161 (char **) &agents) != Success) {
178 if (agents[i] == agents[k]) { /* uh oh... */
179 agents[i] = None;
183 if (GetProperty(dpy, agents[i],
189 agents[i] = None;
194 /* insert the agents into agentList in "most to least willing" order */
200 agents[current] = agents[i];
201 agentList[j].id = agents[current++];
215 PropModeReplace, (unsigned char *) agents, *nAgents);
222 (void) XFree(agents);
226 if (agents != NULL) XFree(agents);