summaryrefslogtreecommitdiff
path: root/lib/xcb-util/src/xcb_atom.h
diff options
context:
space:
mode:
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__ */