summaryrefslogtreecommitdiff
path: root/lib/xcb-util/src/xcb_atom.h
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2014-04-14 19:26:36 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2014-04-14 19:26:36 +0000
commitc21ea473889cd5954d4b92db54ed578512a5f032 (patch)
treeaaffeb503a33c1d5c19c841c4573f8cc57b40fc4 /lib/xcb-util/src/xcb_atom.h
parent69d43ed7609a4f202c83ac2c65fb695ee1fe72c7 (diff)
Update xcb-utils to 0.3.9. Tested by naddy@, shadchin@ and ajacoutot@
who I forgot to thank for testing libxcb-1.10 too.
Diffstat (limited to 'lib/xcb-util/src/xcb_atom.h')
-rw-r--r--lib/xcb-util/src/xcb_atom.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/xcb-util/src/xcb_atom.h b/lib/xcb-util/src/xcb_atom.h
new file mode 100644
index 000000000..d5c4d6baa
--- /dev/null
+++ b/lib/xcb-util/src/xcb_atom.h
@@ -0,0 +1,18 @@
+#ifndef __XCB_ATOM_H__
+#define __XCB_ATOM_H__
+
+#include <xcb/xcb.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+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__ */