i3
Macros | 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.

Macros

#define I3__FILE__   "debug.c"

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 []

Macro Definition Documentation

#define I3__FILE__   "debug.c"

Definition at line 2 of file debug.c.

Function Documentation

int format_event ( xcb_generic_event_t *  e)

Definition at line 213 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 18 of file debug.c.

Referenced by format_event().

const char* labelEvent[]
static

Definition at line 170 of file debug.c.

Referenced by format_event().

const char* labelRequest[]
static

Definition at line 39 of file debug.c.

Referenced by format_event().

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

Definition at line 208 of file debug.c.

Referenced by format_event().