summaryrefslogtreecommitdiff
path: root/src/xcb_atom.h
blob: 27449bd136502df353aac2f6beb03debad2964d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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__ */