oop_sys_source()
#include <oop.h>
/* Get the source interface for a system event source. */
oop_source *oop_sys_source(oop_source_sys *sys);
Arguments.
- oop_source_sys *sys
- The event source from which to fetch the interface.
Description.
This function returns the standard oop_source interface for the
system event source sys. The interface structure returned contains
function pointers for registering and unregistering callbacks with the event
source; you can pass it to modules which simply want an event source, without
needing to know that you use the system event source in particular.
liboop reference