EVENTHANDLER.9 (235b396aa1d04bc722c2fcab97b1f6dab65a6310) | EVENTHANDLER.9 (9df1bed3ca42c12e52a7cd7434315a76535982d8) |
---|---|
1.\" Copyright (c) 2004 Joseph Koshy 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 25 unchanged lines hidden (view full) --- 34.Fn EVENTHANDLER_DECLARE name type 35.Fn EVENTHANDLER_INVOKE name ... 36.Ft eventhandler_tag 37.Fn EVENTHANDLER_REGISTER name func arg priority 38.Fn EVENTHANDLER_DEREGISTER name tag 39.Ft eventhandler_tag 40.Fo eventhandler_register 41.Fa "struct eventhandler_list *list" | 1.\" Copyright (c) 2004 Joseph Koshy 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 25 unchanged lines hidden (view full) --- 34.Fn EVENTHANDLER_DECLARE name type 35.Fn EVENTHANDLER_INVOKE name ... 36.Ft eventhandler_tag 37.Fn EVENTHANDLER_REGISTER name func arg priority 38.Fn EVENTHANDLER_DEREGISTER name tag 39.Ft eventhandler_tag 40.Fo eventhandler_register 41.Fa "struct eventhandler_list *list" |
42.Fa "char *name" | 42.Fa "const char *name" |
43.Fa "void *func" 44.Fa "void *arg" 45.Fa "int priority" 46.Fc 47.Ft void 48.Fo eventhandler_deregister 49.Fa "struct eventhandler_list *list" 50.Fa "eventhandler_tag tag" 51.Fc 52.Ft "struct eventhandler_list *" | 43.Fa "void *func" 44.Fa "void *arg" 45.Fa "int priority" 46.Fc 47.Ft void 48.Fo eventhandler_deregister 49.Fa "struct eventhandler_list *list" 50.Fa "eventhandler_tag tag" 51.Fc 52.Ft "struct eventhandler_list *" |
53.Fn eventhandler_find_list "char *name" | 53.Fn eventhandler_find_list "const char *name" |
54.Ft void 55.Fn eventhandler_prune_list "struct eventhandler_list *list" 56.Sh DESCRIPTION 57The 58.Nm 59mechanism provides a way for kernel subsystems to register interest in 60kernel events and have their callback functions invoked when these 61events occur. --- 178 unchanged lines hidden --- | 54.Ft void 55.Fn eventhandler_prune_list "struct eventhandler_list *list" 56.Sh DESCRIPTION 57The 58.Nm 59mechanism provides a way for kernel subsystems to register interest in 60kernel events and have their callback functions invoked when these 61events occur. --- 178 unchanged lines hidden --- |