Lines Matching defs:handler
97 void (*handler)(unsigned char *, int, int);
106 * handler field.
107 * Accesses to the handler field are protected by the adb_handler_lock
108 * rwlock. It is held across all calls to any handler, so that by the
109 * time adb_unregister returns, we know that the old handler isn't being
442 void (*handler)(unsigned char *, int, int))
452 if (adb_handler[i].handler != 0) {
459 adb_handler[i].handler = handler;
475 if (adb_handler[index].handler) {
482 adb_handler[index].handler = NULL;
496 void (*handler)(unsigned char *, int, int);
512 handler = adb_handler[id].handler;
513 if (handler != NULL)
516 if (handler != NULL) {
517 (*handler)(buf, nb, autopoll);
524 /* Try to change handler to new_id. Will return 1 if successful. */