xcb.h | xcb.h | |||
---|---|---|---|---|
skipping to change at line 281 | skipping to change at line 281 | |||
* until one of two conditions happens. If an error is received, it will b e | * until one of two conditions happens. If an error is received, it will b e | |||
* returned. If a reply to a subsequent request has already arrived, no er ror | * returned. If a reply to a subsequent request has already arrived, no er ror | |||
* can arrive for this request, so this function will return NULL. | * can arrive for this request, so this function will return NULL. | |||
* | * | |||
* Note that this function will perform a sync if needed to ensure that the | * Note that this function will perform a sync if needed to ensure that the | |||
* sequence number will advance beyond that provided in cookie; this is a | * sequence number will advance beyond that provided in cookie; this is a | |||
* convenience to avoid races in determining whether the sync is needed. | * convenience to avoid races in determining whether the sync is needed. | |||
*/ | */ | |||
xcb_generic_error_t *xcb_request_check(xcb_connection_t *c, xcb_void_cookie _t cookie); | xcb_generic_error_t *xcb_request_check(xcb_connection_t *c, xcb_void_cookie _t cookie); | |||
/** | ||||
* @brief Discards the reply for a request. | ||||
* @param c: The connection to the X server. | ||||
* @param sequence: The request sequence number from a cookie. | ||||
* | ||||
* Discards the reply for a request. Additionally, any error generated | ||||
* by the request is also discarded (unless it was an _unchecked request | ||||
* and the error has already arrived). | ||||
* | ||||
* This function will not block even if the reply is not yet available. | ||||
* | ||||
* Note that the sequence really does have to come from an xcb cookie; | ||||
* this function is not designed to operate on socket-handoff replies. | ||||
*/ | ||||
void xcb_discard_reply(xcb_connection_t *c, unsigned int sequence); | ||||
/* xcb_ext.c */ | /* xcb_ext.c */ | |||
/** | /** | |||
* @typedef typedef struct xcb_extension_t xcb_extension_t | * @typedef typedef struct xcb_extension_t xcb_extension_t | |||
*/ | */ | |||
typedef struct xcb_extension_t xcb_extension_t; /**< Opaque structure used as key for xcb_get_extension_data_t. */ | typedef struct xcb_extension_t xcb_extension_t; /**< Opaque structure used as key for xcb_get_extension_data_t. */ | |||
/** | /** | |||
* @brief Caches reply information from QueryExtension requests. | * @brief Caches reply information from QueryExtension requests. | |||
* @param c: The connection. | * @param c: The connection. | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 16 lines changed or added | |||