Searched defs:handler (Results 1 - 18 of 18) sorted by relevance

/osnet-11/usr/src/lib/libnsl/rpc/
H A Dsvc_auth.c76 enum auth_stat (*handler)(); member in struct:authsvc
136 as = (*asp->handler)(rqst, msg);
180 svc_auth_reg(int cred_flavor, enum auth_stat (*handler)()) argument
211 asp->handler = handler;
/osnet-11/usr/src/lib/libparted/common/include/parted/
H A Dtimer.h45 PedTimerHandler* handler; /**< who to notify on updates */ member in struct:_PedTimer
46 void* context; /**< context to pass to handler */
49 extern PedTimer* ped_timer_new (PedTimerHandler* handler, void* context);
/osnet-11/usr/src/cmd/hal/hald/solaris/
H A Dhotplug.h46 DevinfoDevHandler *handler; member in struct:__anon42::__anon43::__anon44
H A Ddevinfo.c155 DevinfoDevHandler *handler; local
164 handler = devinfo_handlers[i];
165 d = handler->add (parent, node, devfs_path, device_type);
175 devinfo_hotplug_enqueue(HalDevice *d, gchar *devfs_path, DevinfoDevHandler *handler, int action, int front) argument
185 hotplug_event->un.devfs.handler = handler;
191 devinfo_add_enqueue(HalDevice *d, gchar *devfs_path, DevinfoDevHandler *handler) argument
193 devinfo_hotplug_enqueue (d, devfs_path, handler, HOTPLUG_ACTION_ADD, 0);
197 devinfo_add_enqueue_at_front(HalDevice *d, gchar *devfs_path, DevinfoDevHandler *handler) argument
199 devinfo_hotplug_enqueue (d, devfs_path, handler, HOTPLUG_ACTION_AD
203 devinfo_remove_enqueue(gchar *devfs_path, DevinfoDevHandler *handler) argument
245 DevinfoDevHandler *handler = (DevinfoDevHandler *) userdata2; local
291 hotplug_event_begin_add_devinfo(HalDevice *d, HalDevice *parent, DevinfoDevHandler *handler, void *end_token) argument
[all...]
H A Ddevinfo_storage.c77 static void devinfo_volume_hotplug_begin_add (HalDevice *d, HalDevice *parent, DevinfoDevHandler *handler, void *end_token);
78 static void devinfo_storage_hotplug_begin_add (HalDevice *d, HalDevice *parent, DevinfoDevHandler *handler, void *end_token);
1189 devinfo_volume_hotplug_begin_add (HalDevice *d, HalDevice *parent, DevinfoDevHandler *handler, void *end_token) argument
1210 hal_util_callout_device_preprobe (d, devinfo_volume_preprobing_done, end_token, handler);
1220 devinfo_storage_hotplug_begin_add (HalDevice *d, HalDevice *parent, DevinfoDevHandler *handler, void *end_token) argument
1282 hal_util_callout_device_preprobe (d, devinfo_callouts_preprobing_done, end_token, handler);
/osnet-11/usr/src/lib/libast/common/misc/
H A Dsigcrit.c86 * critical signal region handler
108 static Sig_handler_t handler[elementsof(signals)]; local
135 if ((op & signals[i].op) && (handler[i] = signal(signals[i].sig, interrupt)) == SIG_IGN)
137 signal(signals[i].sig, handler[i]);
158 /* no way to get pending signals without installing handler */
183 signal(signals[i].sig, handler[i]);
H A Dprocopen.c132 Handler_t handler; member in union:Mod_s::__anon1166
289 if ((m->arg.handler = signal(arg1, SIG_DFL)) == SIG_DFL)
294 if ((m->arg.handler = signal(arg1, SIG_IGN)) == SIG_IGN)
368 signal(m->save, m->arg.handler);
852 Handler_t handler; local
854 if ((handler = signal(SIGPIPE, ignoresig)) != SIG_DFL && handler != ignoresig)
855 signal(SIGPIPE, handler);
/osnet-11/usr/src/lib/libparted/common/libparted/
H A Dtimer.c32 * When you create a PedTimer, you must specify a timer handler function.
38 * this case, the nested timer's handler is internal to libparted,
39 * and simply updates the parent's progress, and calls its handler.
60 * argument to the \p handler, when it is invoked.
65 ped_timer_new (PedTimerHandler* handler, void* context) argument
69 PED_ASSERT (handler != NULL, return NULL);
75 timer->handler = handler;
94 /* This function is used by ped_timer_new_nested() as the timer->handler
159 * \brief This function calls the update handler, makin
[all...]
H A Dexception.c39 * -# an exception handler is called, which selects how the exception should be
40 * resolved (usually by asking the user). Also note: an exception handler may
158 * Set the exception handler.
160 * The exception handler should return ONE of the options set in ex->options,
164 ped_exception_set_handler (PedExceptionHandler* handler) argument
166 if (handler)
167 ex_handler = handler;
173 * Get the current exception handler.
264 fputs ("Out of memory in exception handler!\n", stderr);
284 * Indicates that exceptions should not go to the exception handler, bu
[all...]
/osnet-11/usr/src/grub/grub-0.97/netboot/
H A Dpic8259.c16 /* Install a handler for the specified IRQ. Address of previous
17 * handler will be stored in previous_handler. Enabled/disabled state
18 * of IRQ will be preserved across call, therefore if the handler does
20 * (b) previous_handler points directly to the place that the handler
24 int install_irq_handler ( irq_t irq, segoff_t *handler, argument
38 DBG ( "Installing handler at %hx:%hx for IRQ %d, leaving %s\n",
39 handler->segment, handler->offset, irq,
41 DBG ( "...(previous handler at %hx:%hx)\n",
43 irq_vector->segment = handler
55 remove_irq_handler( irq_t irq, segoff_t *handler, uint8_t *previously_enabled, segoff_t *previous_handler ) argument
[all...]
/osnet-11/usr/src/lib/libinetutil/common/
H A Deh.c40 * signal_to_eh[] is pretty much useless, since the event handler is
43 * need some way to get back our event handler in post_signal(),
51 * iu_eh_create(): creates, initializes, and returns an event handler for use
54 * output: iu_eh_t *: the new event handler
85 * iu_eh_destroy(): destroys an existing event handler
87 * input: iu_eh_t *: the event handler to destroy
108 * iu_stop_handling_events(): informs the event handler to stop handling events
110 * input: iu_eh_t *: the event handler to stop.
113 * the event handler will stop right away;
114 * otherwise, the event handler wil
383 iu_eh_register_signal(iu_eh_t *eh, int sig, iu_eh_sighandler_t *handler, void *data) argument
[all...]
/osnet-11/usr/src/lib/libast/common/sfio/
H A Dsfmode.c220 int stdio; /* stdio popen() does not reset SIGPIPE handler */
239 { Sfsignal_f handler; local
242 if((handler = signal(SIGPIPE, ignoresig)) != SIG_DFL &&
243 handler != ignoresig)
244 signal(SIGPIPE, handler); /* honor user handler */
292 { Sfsignal_f handler; local
293 if((handler = signal(SIGPIPE,SIG_DFL)) != SIG_DFL &&
294 handler != ignoresig)
295 signal(SIGPIPE,handler); /* hono
[all...]
/osnet-11/usr/src/lib/libntfs/common/libntfs/
H A Dlogging.c73 * @handler: Function to perform the actual logging
78 ntfs_log_handler *handler; member in struct:ntfs_logging
91 .handler = ntfs_log_handler_null,
277 * ntfs_log_set_handler - Provide an alternate logging handler
278 * @handler: function to perform the logging
280 * This alternate handler will be called for all future logging requests.
281 * If no @handler is specified, logging will revert to the default handler.
283 void ntfs_log_set_handler(ntfs_log_handler *handler) argument
285 if (handler) {
[all...]
/osnet-11/usr/src/lib/fm/libfmd_snmp/common/
H A Dmodule.c281 * index, the contexts can be queued by the handler instead.
346 netsnmp_handler_registration *handler; local
371 if ((handler = netsnmp_create_handler_registration("sunFmModuleTable",
384 SNMP_FREE(handler);
397 SNMP_FREE(handler);
406 SNMP_FREE(handler);
417 SNMP_FREE(handler);
428 SNMP_FREE(handler);
435 if ((err = netsnmp_register_table(handler, table_info)) !=
439 SNMP_FREE(handler);
657 sunFmModuleTable_handler(netsnmp_mib_handler *handler, netsnmp_handler_registration *reginfo, netsnmp_agent_request_info *reqinfo, netsnmp_request_info *requests) argument
[all...]
H A Dresource.c276 * index, the contexts can be queued by the handler instead.
343 netsnmp_handler_registration *handler; local
368 if ((handler = netsnmp_create_handler_registration("sunFmResourceTable",
381 SNMP_FREE(handler);
396 SNMP_FREE(handler);
405 SNMP_FREE(handler);
418 SNMP_FREE(handler);
429 SNMP_FREE(handler);
436 if ((err = netsnmp_register_table(handler, table_info)) !=
440 SNMP_FREE(handler);
678 sunFmResourceTable_handler(netsnmp_mib_handler *handler, netsnmp_handler_registration *reginfo, netsnmp_agent_request_info *reqinfo, netsnmp_request_info *requests) argument
764 sunFmResourceCount_handler(netsnmp_mib_handler *handler, netsnmp_handler_registration *reginfo, netsnmp_agent_request_info *reqinfo, netsnmp_request_info *requests) argument
[all...]
H A Dproblem.c310 * index, the contexts can be queued by the handler instead.
362 netsnmp_handler_registration *handler; local
387 if ((handler = netsnmp_create_handler_registration("sunFmProblemTable",
400 SNMP_FREE(handler);
415 SNMP_FREE(handler);
425 SNMP_FREE(handler);
430 if ((err = netsnmp_register_table(handler, table_info)) !=
434 SNMP_FREE(handler);
448 netsnmp_handler_registration *handler; local
455 if ((handler
939 sunFmProblemTable_handler(netsnmp_mib_handler *handler, netsnmp_handler_registration *reginfo, netsnmp_agent_request_info *reqinfo, netsnmp_request_info *requests) argument
1166 sunFmFaultEventTable_handler(netsnmp_mib_handler *handler, netsnmp_handler_registration *reginfo, netsnmp_agent_request_info *reqinfo, netsnmp_request_info *requests) argument
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Dperlio.c867 /* This is used as a %SIG{__WARN__} handler to supress warnings
1216 /* Has a handler - normal case */
1228 /* No handler - pop it */
1396 * For any scalar type load the handler which is bundled with perl
1428 * If it is a reference but not an object see if we have a handler
1432 PerlIO_funcs *handler = PerlIO_layer_from_ref(aTHX_ SvRV(arg)); local
1433 if (handler) {
1435 PerlIO_list_push(aTHX_ def, handler, &PL_sv_undef);
1439 * Don't fail if handler cannot be found :via(...) etc. may do
H A Dutil.c2220 Perl_rsignal(pTHX_ int signo, Sighandler_t handler) argument
2230 act.sa_handler = handler;
2238 if (signo == SIGCHLD && handler == (Sighandler_t)SIG_IGN)
2259 Perl_rsignal_save(pTHX_ int signo, Sighandler_t handler, Sigsave_t *save) argument
2269 act.sa_handler = handler;
2277 if (signo == SIGCHLD && handler == (Sighandler_t)SIG_IGN)
2298 Perl_rsignal(pTHX_ int signo, Sighandler_t handler) argument
2306 return PerlProc_signal(signo, handler);
2339 Perl_rsignal_save(pTHX_ int signo, Sighandler_t handler, Sigsave_t *save) argument
2346 *save = PerlProc_signal(signo, handler);
[all...]

Completed in 157 milliseconds