xcb_atom.h.m4 | xcb_atom.h.m4 | |||
---|---|---|---|---|
skipping to change at line 18 | skipping to change at line 18 | |||
TAG_VALUE | TAG_VALUE | |||
}; | }; | |||
typedef struct { | typedef struct { | |||
enum xcb_atom_fast_tag_t tag; | enum xcb_atom_fast_tag_t tag; | |||
union { | union { | |||
xcb_intern_atom_cookie_t cookie; | xcb_intern_atom_cookie_t cookie; | |||
xcb_atom_t atom; | xcb_atom_t atom; | |||
} u; | } u; | |||
} xcb_atom_fast_cookie_t; | } xcb_atom_fast_cookie_t; | |||
/** | ||||
* @brief Get an atom synchronously. | ||||
* @param connection The connection to the X server. | ||||
* @param atom_name The name of the atom that should be returned. | ||||
* @return The requested atom, or XCB_NONE if there is an error. | ||||
* | ||||
* xcb_atom_get() is essentially a synchronous version of xcb_intern_atom() | ||||
, | ||||
* use it only on non-performance critical execution paths. | ||||
*/ | ||||
xcb_atom_t xcb_atom_get(xcb_connection_t *connection, const char *atom_name | ||||
); | ||||
xcb_atom_t xcb_atom_get_predefined(uint16_t name_len, const char *name); | xcb_atom_t xcb_atom_get_predefined(uint16_t name_len, const char *name); | |||
xcb_atom_fast_cookie_t xcb_atom_get_fast(xcb_connection_t *c, uint8_t only_ if_exists, uint16_t name_len, const char *name); | xcb_atom_fast_cookie_t xcb_atom_get_fast(xcb_connection_t *c, uint8_t only_ if_exists, uint16_t name_len, const char *name); | |||
xcb_atom_t xcb_atom_get_fast_reply(xcb_connection_t *c, xcb_atom_fast_cooki e_t cookie, xcb_generic_error_t **e); | xcb_atom_t xcb_atom_get_fast_reply(xcb_connection_t *c, xcb_atom_fast_cooki e_t cookie, xcb_generic_error_t **e); | |||
const char *xcb_atom_get_name_predefined(xcb_atom_t atom); | const char *xcb_atom_get_name_predefined(xcb_atom_t atom); | |||
int xcb_atom_get_name(xcb_connection_t *c, xcb_atom_t atom, const char **na mep, int *lengthp); | int xcb_atom_get_name(xcb_connection_t *c, xcb_atom_t atom, const char **na mep, int *lengthp); | |||
char *xcb_atom_name_by_screen(const char *base, uint8_t screen); | 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_by_resource(const char *base, uint32_t resource); | |||
char *xcb_atom_name_unique(const char *base, uint32_t id); | char *xcb_atom_name_unique(const char *base, uint32_t id); | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 12 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |