1AuRegisterEventHandler(3)  Library Functions Manual  AuRegisterEventHandler(3)
2
3
4

Name

6       AuRegisterEventHandler - add an event handler.
7

Synopsis

9       #include <audio/audiolib.h>
10
11       AuEventHandlerRec *AuRegisterEventHandler(server, value_mask, type, id,
12       callback data)
13           AuServer *server;
14           AuMask value_mask;
15           int type;
16           AuID id;
17           AuBool (*callback)(AuServer *, AuEvent *, AuEventHandlerRec *);
18           AuPointer data;
19

Arguments

21       server    Specifies the connection to the audio server.
22
23       value_mask
24                 Specifies which values are checked to determine if this  han‐
25                 dler  should handle an event.  This should be an inclusive OR
26                 of AuEventHandlerTypeMask and AuEventHandlerIDMask.
27
28       type      Specifies the type of event that are to be  handled  by  this
29                 handler.  This should be one of these constants: AuEventType‐
30                 ElementNotify,  AuEventTypeGrabNotify,  or   AuEventTypeMoni‐
31                 torNotify.
32
33       id        Specifies  the  source id of the event that are to be handled
34                 by this handler.
35
36       callback  Specifies the procedure to handle the event.
37
38       data      Specifies additional data to be passed to the event handler.
39

Description

41       AuRegisterEventHandler registers an event handler  for  future  use  by
42       AuDispatchEvent.
43

See Also

45       AuUnregisterEventHandler.
46
47       audiolib - Network Audio System C Language Interface
48
49
50
51audioutil                            1.9.4           AuRegisterEventHandler(3)
Impressum