AuErrorEvent - error event structure
#include <audio/audiolib.h>
typedef union _AuEvent
{
. . .
AuErrorEvent auerror;
. . .
}AuEvent;
typedef struct _AuErrorEvent
{
int type;
AuUint32 serial;
AuBool send_event;
AuServer *server;
AuTime time;
AuID resourceid;
unsigned char error_code;
unsigned char request_code;
unsigned char minor_code;
union
{
AuUint32 l[4];
}data;
}AuErrorEvent;
send_event
AuTrue if the event came from a SendEvent protocol
request.
resourceid
The resource ID or other value of the failed
request.
error_code
The error code of the failed request.
request_code
The protocol major request code of the failed
request.
minor_code
The protocol minor request code of the failed
request.
Error events are sent to clients to alert them of nonfatal errors encountered while processing requests.
AuAnyEvent, AuElementNotifyEvent, AuGrabNotifyEvent, AuMonitorNotifyEvent.
audiolib - Network Audio System C Language Interface