summaryrefslogtreecommitdiff
path: root/src/xcb_atom.h
diff options
context:
space:
mode:
authorBoram Park <boram1288.park@samsung.com>2012-08-21 18:04:11 +0900
committerBoram Park <boram1288.park@samsung.com>2012-08-21 18:04:11 +0900
commit8542b45178e4cb4e9ed24a5ce0fafb0742894e8d (patch)
tree31a1326e04a2829c5f3234bc68ba90639aedf330 /src/xcb_atom.h
parentcf276784e49975be2e5a196acf4be5c2dc442622 (diff)
downloadxcb-util-2.0alpha.tar.gz
xcb-util-2.0alpha.tar.bz2
xcb-util-2.0alpha.zip
Diffstat (limited to 'src/xcb_atom.h')
-rw-r--r--src/xcb_atom.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/xcb_atom.h b/src/xcb_atom.h
new file mode 100644
index 0000000..27449bd
--- /dev/null
+++ b/src/xcb_atom.h
@@ -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__ */