summaryrefslogtreecommitdiff
path: root/src/xcb_atom.h.m4
diff options
context:
space:
mode:
Diffstat (limited to 'src/xcb_atom.h.m4')
-rw-r--r--src/xcb_atom.h.m421
1 files changed, 21 insertions, 0 deletions
diff --git a/src/xcb_atom.h.m4 b/src/xcb_atom.h.m4
new file mode 100644
index 0000000..27449bd
--- /dev/null
+++ b/src/xcb_atom.h.m4
@@ -0,0 +1,21 @@
+#ifndef __XCB_ATOM_H__
+#define __XCB_ATOM_H__
+
+#include <xcb/xcb.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+xcb_atom_t xcb_atom_get_predefined(uint16_t name_len, const char *name);
+const char *xcb_atom_get_name_predefined(xcb_atom_t atom);
+
+char *xcb_atom_name_by_screen(const char *base, uint8_t screen);
+char *xcb_atom_name_by_resource(const char *base, uint32_t resource);
+char *xcb_atom_name_unique(const char *base, uint32_t id);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __XCB_ATOM_H__ */