auregistereventhandler(3) debian man page | unix.com

Man Page: auregistereventhandler

Operating Environment: debian

Section: 3

AuRegisterEventHandler(3)				     Library Functions Manual					 AuRegisterEventHandler(3)

Name
       AuRegisterEventHandler - add an event handler.

Synopsis
       #include <audio/audiolib.h>

       AuEventHandlerRec *AuRegisterEventHandler(server, value_mask, type, id, callback data)
	   AuServer *server;
	   AuMask value_mask;
	   int type;
	   AuID id;
	   AuBool (*callback)(AuServer *, AuEvent *, AuEventHandlerRec *);
	   AuPointer data;

Arguments
       server	 Specifies the connection to the audio server.

       value_mask
		 Specifies  which  values  are	checked  to  determine	if this handler should handle an event.  This should be an inclusive OR of
		 AuEventHandlerTypeMask and AuEventHandlerIDMask.

       type	 Specifies the type of event that are to be handled by this handler.  This should be one of these constants: AuEventTypeElementNo-
		 tify, AuEventTypeGrabNotify, or AuEventTypeMonitorNotify.

       id	 Specifies the source id of the event that are to be handled by this handler.

       callback  Specifies the procedure to handle the event.

       data	 Specifies additional data to be passed to the event handler.

Description
       AuRegisterEventHandler registers an event handler for future use by AuDispatchEvent.

See Also
       AuUnregisterEventHandler.

       audiolib - Network Audio System C Language Interface

audioutil							       1.9.3						 AuRegisterEventHandler(3)
Related Man Pages
ausoundplay(3) - debian
ausoundplayfromfile(3) - debian
ausoundrecord(3) - debian
ausoundrecordtodata(3) - debian
ausoundrecordtofile(3) - debian
Similar Topics in the Unix Linux Community
awk or sed - Convert 2 lines to 1 line
How can I do this in VI editor?
Introduction
Detecting unused variables...
New UNIX and Linux History Sections