/usr/include/xpyb.h is in python-xpyb 1.3.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | #ifndef XPYB_H
#define XPYB_H
#include <Python.h>
#include <xcb/xcb.h>
typedef struct {
PyObject_HEAD
xcb_connection_t *conn;
int wrapped;
PyObject *dict;
int pref_screen;
PyObject *core;
PyObject *setup;
PyObject *extcache;
PyObject **events;
int events_len;
PyObject **errors;
int errors_len;
} xpybConn;
typedef struct {
PyTypeObject *xpybConn_type;
} xpyb_CAPI_t;
#define xpyb_IMPORT \
xpyb_CAPI = (xpyb_CAPI_t *) PyCObject_Import("xcb", "CAPI")
#endif
|