src/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 214 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 19 of file debug.c.

Referenced by format_event().

const char* labelEvent[] [static]

Definition at line 171 of file debug.c.

Referenced by format_event().

const char* labelRequest[] [static]

Definition at line 40 of file debug.c.

Referenced by format_event().

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

Definition at line 209 of file debug.c.

Referenced by format_event().


Generated on 6 Aug 2011 for i3 by  doxygen 1.6.1