i3
Functions | Variables
debug.c File Reference
#include <stdio.h>
#include <xcb/xcb.h>
#include "log.h"
Include dependency graph for debug.c:

Go to the source code of this file.

Functions

int format_event (xcb_generic_event_t *e)
 

Variables

static const char * labelError []
 
static const char * labelRequest []
 
static const char * labelEvent []
 
static const char * labelSendEvent []
 

Function Documentation

int format_event ( xcb_generic_event_t *  e)

Definition at line 211 of file debug.c.

References DLOG, labelError, labelEvent, labelRequest, and labelSendEvent.

Variable Documentation

const char* labelError[]
static
Initial value:
= {
"Success",
"BadRequest",
"BadValue",
"BadWindow",
"BadPixmap",
"BadAtom",
"BadCursor",
"BadFont",
"BadMatch",
"BadDrawable",
"BadAccess",
"BadAlloc",
"BadColor",
"BadGC",
"BadIDChoice",
"BadName",
"BadLength",
"BadImplementation",
}

Definition at line 16 of file debug.c.

Referenced by format_event().

const char* labelEvent[]
static

Definition at line 168 of file debug.c.

Referenced by format_event().

const char* labelRequest[]
static

Definition at line 37 of file debug.c.

Referenced by format_event().

const char* labelSendEvent[]
static
Initial value:
= {
"",
" (from SendEvent)",
}

Definition at line 206 of file debug.c.

Referenced by format_event().