Lines Matching defs:handlers
55 * protocol request handlers are inserted below. The handler must be
57 * must be inserted in the "handlers" table a little further down.
103 } handlers[] = {
158 for (i = 0; handlers[i].name != NULL; i++)
159 if (strcasecmp(name, handlers[i].name) == 0)
170 for (i = 0; handlers[i].name != NULL; i++)
171 if (id == handlers[i].id)
202 handlers[index].name);
206 if ((index == -1) || (handlers[index].function == NULL)) {
224 handlers[index].name, &configured);
228 handlers[index].name, id);
232 return (handlers[index].function);
255 for (i = 0; ((result == PAPI_OK) && (handlers[i].name != NULL)); i++)
256 if (handlers[i].type == OP_REQUIRED)
258 PAPI_ATTR_REPLACE, handlers[i].name,
271 for (i = 0; ((result == PAPI_OK) && (handlers[i].name != NULL)); i++)
273 handlers[i].name, boolean);
311 for (i = 0; handlers[i].name != NULL; i++) {
314 handlers[i].name, &boolean);
320 handlers[i].id);