1AuErrorEvent(3) Library Functions Manual AuErrorEvent(3)
2
3
4
6 AuErrorEvent - error event structure
7
9 #include <audio/audiolib.h>
10
11 typedef union _AuEvent
12 {
13 . . .
14 AuErrorEvent auerror;
15 . . .
16 }AuEvent;
17
18 typedef struct _AuErrorEvent
19 {
20 int type;
21 AuUint32 serial;
22 AuBool send_event;
23 AuServer *server;
24 AuTime time;
25 AuID resourceid;
26 unsigned char error_code;
27 unsigned char request_code;
28 unsigned char minor_code;
29 union
30 {
31 AuUint32 l[4];
32 }data;
33 }AuErrorEvent;
34
36 type The event type. Error events are type 0.
37
38 serial The serial number of the failed request.
39
40 send_event
41 AuTrue if the event came from a SendEvent protocol request.
42
43 server The connection to the audio server that the event was read
44 from.
45
46 time The server time in milliseconds when the event was generated.
47
48 resourceid
49 The resource ID or other value of the failed request.
50
51 error_code
52 The error code of the failed request.
53
54 request_code
55 The protocol major request code of the failed request.
56
57 minor_code
58 The protocol minor request code of the failed request.
59
60 data Never used?
61
63 Error events are sent to clients to alert them of non-fatal errors
64 encountered while processing requests.
65
67 AuAnyEvent, AuElementNotifyEvent, AuGrabNotifyEvent, AuMonitorNotiā
68 fyEvent.
69
70 audiolib - Network Audio System C Language Interface
71
72
73
74
75audiolib - events 1.9.4 AuErrorEvent(3)