XCB
1.12
|
XPrint XCB Protocol Implementation. More...
Variables | |
xcb_extension_t | xcb_x_print_id |
XPrint XCB Protocol Implementation.
#define XCB_X_PRINT_ATTRIBUT_NOTIFY 1 |
Opcode for xcb_x_print_attribut_notify.
#define XCB_X_PRINT_BAD_CONTEXT 0 |
Opcode for xcb_x_print_bad_context.
#define XCB_X_PRINT_BAD_SEQUENCE 1 |
Opcode for xcb_x_print_bad_sequence.
#define XCB_X_PRINT_CREATE_CONTEXT 2 |
Opcode for xcb_x_print_create_context.
Referenced by xcb_x_print_create_context(), and xcb_x_print_create_context_checked().
#define XCB_X_PRINT_NOTIFY 0 |
Opcode for xcb_x_print_notify.
#define XCB_X_PRINT_PRINT_DESTROY_CONTEXT 5 |
Opcode for xcb_x_print_print_destroy_context.
Referenced by xcb_x_print_print_destroy_context(), and xcb_x_print_print_destroy_context_checked().
#define XCB_X_PRINT_PRINT_END_DOC 10 |
Opcode for xcb_x_print_print_end_doc.
Referenced by xcb_x_print_print_end_doc(), and xcb_x_print_print_end_doc_checked().
#define XCB_X_PRINT_PRINT_END_JOB 8 |
Opcode for xcb_x_print_print_end_job.
Referenced by xcb_x_print_print_end_job(), and xcb_x_print_print_end_job_checked().
#define XCB_X_PRINT_PRINT_END_PAGE 14 |
Opcode for xcb_x_print_print_end_page.
Referenced by xcb_x_print_print_end_page(), and xcb_x_print_print_end_page_checked().
#define XCB_X_PRINT_PRINT_GET_ATTRIBUTES 17 |
Opcode for xcb_x_print_print_get_attributes.
Referenced by xcb_x_print_print_get_attributes(), and xcb_x_print_print_get_attributes_unchecked().
#define XCB_X_PRINT_PRINT_GET_CONTEXT 4 |
Opcode for xcb_x_print_print_get_context.
Referenced by xcb_x_print_print_get_context(), and xcb_x_print_print_get_context_unchecked().
#define XCB_X_PRINT_PRINT_GET_DOCUMENT_DATA 12 |
Opcode for xcb_x_print_print_get_document_data.
Referenced by xcb_x_print_print_get_document_data(), and xcb_x_print_print_get_document_data_unchecked().
#define XCB_X_PRINT_PRINT_GET_IMAGE_RESOLUTION 24 |
Opcode for xcb_x_print_print_get_image_resolution.
Referenced by xcb_x_print_print_get_image_resolution(), and xcb_x_print_print_get_image_resolution_unchecked().
#define XCB_X_PRINT_PRINT_GET_ONE_ATTRIBUTES 19 |
Opcode for xcb_x_print_print_get_one_attributes.
Referenced by xcb_x_print_print_get_one_attributes(), and xcb_x_print_print_get_one_attributes_unchecked().
#define XCB_X_PRINT_PRINT_GET_PAGE_DIMENSIONS 21 |
Opcode for xcb_x_print_print_get_page_dimensions.
Referenced by xcb_x_print_print_get_page_dimensions(), and xcb_x_print_print_get_page_dimensions_unchecked().
#define XCB_X_PRINT_PRINT_GET_PRINTER_LIST 1 |
Opcode for xcb_x_print_print_get_printer_list.
Referenced by xcb_x_print_print_get_printer_list(), and xcb_x_print_print_get_printer_list_unchecked().
#define XCB_X_PRINT_PRINT_GET_SCREEN_OF_CONTEXT 6 |
Opcode for xcb_x_print_print_get_screen_of_context.
Referenced by xcb_x_print_print_get_screen_of_context(), and xcb_x_print_print_get_screen_of_context_unchecked().
#define XCB_X_PRINT_PRINT_INPUT_SELECTED 16 |
Opcode for xcb_x_print_print_input_selected.
Referenced by xcb_x_print_print_input_selected(), and xcb_x_print_print_input_selected_unchecked().
#define XCB_X_PRINT_PRINT_PUT_DOCUMENT_DATA 11 |
Opcode for xcb_x_print_print_put_document_data.
Referenced by xcb_x_print_print_put_document_data(), and xcb_x_print_print_put_document_data_checked().
#define XCB_X_PRINT_PRINT_QUERY_SCREENS 22 |
Opcode for xcb_x_print_print_query_screens.
Referenced by xcb_x_print_print_query_screens(), and xcb_x_print_print_query_screens_unchecked().
#define XCB_X_PRINT_PRINT_QUERY_VERSION 0 |
Opcode for xcb_x_print_print_query_version.
Referenced by xcb_x_print_print_query_version(), and xcb_x_print_print_query_version_unchecked().
#define XCB_X_PRINT_PRINT_REHASH_PRINTER_LIST 20 |
Opcode for xcb_x_print_print_rehash_printer_list.
Referenced by xcb_x_print_print_rehash_printer_list(), and xcb_x_print_print_rehash_printer_list_checked().
#define XCB_X_PRINT_PRINT_SELECT_INPUT 15 |
Opcode for xcb_x_print_print_select_input.
Referenced by xcb_x_print_print_select_input(), and xcb_x_print_print_select_input_checked().
#define XCB_X_PRINT_PRINT_SET_ATTRIBUTES 18 |
Opcode for xcb_x_print_print_set_attributes.
Referenced by xcb_x_print_print_set_attributes(), and xcb_x_print_print_set_attributes_checked().
#define XCB_X_PRINT_PRINT_SET_CONTEXT 3 |
Opcode for xcb_x_print_print_set_context.
Referenced by xcb_x_print_print_set_context(), and xcb_x_print_print_set_context_checked().
#define XCB_X_PRINT_PRINT_SET_IMAGE_RESOLUTION 23 |
Opcode for xcb_x_print_print_set_image_resolution.
Referenced by xcb_x_print_print_set_image_resolution(), and xcb_x_print_print_set_image_resolution_unchecked().
#define XCB_X_PRINT_PRINT_START_DOC 9 |
Opcode for xcb_x_print_print_start_doc.
Referenced by xcb_x_print_print_start_doc(), and xcb_x_print_print_start_doc_checked().
#define XCB_X_PRINT_PRINT_START_JOB 7 |
Opcode for xcb_x_print_print_start_job.
Referenced by xcb_x_print_print_start_job(), and xcb_x_print_print_start_job_checked().
#define XCB_X_PRINT_PRINT_START_PAGE 13 |
Opcode for xcb_x_print_print_start_page.
Referenced by xcb_x_print_print_start_page(), and xcb_x_print_print_start_page_checked().
xcb_void_cookie_t xcb_x_print_create_context | ( | xcb_connection_t * | c, |
uint32_t | context_id, | ||
uint32_t | printerNameLen, | ||
uint32_t | localeLen, | ||
const xcb_x_print_string8_t * | printerName, | ||
const xcb_x_print_string8_t * | locale | ||
) |
c | The connection |
Delivers a request to the X server.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_X_PRINT_CREATE_CONTEXT.
xcb_void_cookie_t xcb_x_print_create_context_checked | ( | xcb_connection_t * | c, |
uint32_t | context_id, | ||
uint32_t | printerNameLen, | ||
uint32_t | localeLen, | ||
const xcb_x_print_string8_t * | printerName, | ||
const xcb_x_print_string8_t * | locale | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_X_PRINT_CREATE_CONTEXT.
xcb_generic_iterator_t xcb_x_print_pcontext_end | ( | xcb_x_print_pcontext_iterator_t | i | ) |
Return the iterator pointing to the last element
i | An xcb_x_print_pcontext_iterator_t |
Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.
void xcb_x_print_pcontext_next | ( | xcb_x_print_pcontext_iterator_t * | i | ) |
Get the next element of the iterator
i | Pointer to a xcb_x_print_pcontext_iterator_t |
Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_x_print_pcontext_t)
xcb_void_cookie_t xcb_x_print_print_destroy_context | ( | xcb_connection_t * | c, |
uint32_t | context | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_X_PRINT_PRINT_DESTROY_CONTEXT.
xcb_void_cookie_t xcb_x_print_print_destroy_context_checked | ( | xcb_connection_t * | c, |
uint32_t | context | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_X_PRINT_PRINT_DESTROY_CONTEXT.
xcb_void_cookie_t xcb_x_print_print_end_doc | ( | xcb_connection_t * | c, |
uint8_t | cancel | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_X_PRINT_PRINT_END_DOC.
xcb_void_cookie_t xcb_x_print_print_end_doc_checked | ( | xcb_connection_t * | c, |
uint8_t | cancel | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_X_PRINT_PRINT_END_DOC.
xcb_void_cookie_t xcb_x_print_print_end_job | ( | xcb_connection_t * | c, |
uint8_t | cancel | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_X_PRINT_PRINT_END_JOB.
xcb_void_cookie_t xcb_x_print_print_end_job_checked | ( | xcb_connection_t * | c, |
uint8_t | cancel | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_X_PRINT_PRINT_END_JOB.
xcb_void_cookie_t xcb_x_print_print_end_page | ( | xcb_connection_t * | c, |
uint8_t | cancel | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_X_PRINT_PRINT_END_PAGE.
xcb_void_cookie_t xcb_x_print_print_end_page_checked | ( | xcb_connection_t * | c, |
uint8_t | cancel | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_X_PRINT_PRINT_END_PAGE.
xcb_x_print_print_get_attributes_cookie_t xcb_x_print_print_get_attributes | ( | xcb_connection_t * | c, |
xcb_x_print_pcontext_t | context, | ||
uint8_t | pool | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_X_PRINT_PRINT_GET_ATTRIBUTES.
xcb_x_print_print_get_attributes_reply_t* xcb_x_print_print_get_attributes_reply | ( | xcb_connection_t * | c, |
xcb_x_print_print_get_attributes_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_x_print_print_get_attributes_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_x_print_print_get_attributes_cookie_t xcb_x_print_print_get_attributes_unchecked | ( | xcb_connection_t * | c, |
xcb_x_print_pcontext_t | context, | ||
uint8_t | pool | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_X_PRINT_PRINT_GET_ATTRIBUTES.
xcb_x_print_print_get_context_cookie_t xcb_x_print_print_get_context | ( | xcb_connection_t * | c | ) |
c | The connection |
Delivers a request to the X server.
References XCB_X_PRINT_PRINT_GET_CONTEXT.
xcb_x_print_print_get_context_reply_t* xcb_x_print_print_get_context_reply | ( | xcb_connection_t * | c, |
xcb_x_print_print_get_context_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_x_print_print_get_context_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_x_print_print_get_context_cookie_t xcb_x_print_print_get_context_unchecked | ( | xcb_connection_t * | c | ) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References XCB_X_PRINT_PRINT_GET_CONTEXT.
xcb_x_print_print_get_document_data_cookie_t xcb_x_print_print_get_document_data | ( | xcb_connection_t * | c, |
xcb_x_print_pcontext_t | context, | ||
uint32_t | max_bytes | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_X_PRINT_PRINT_GET_DOCUMENT_DATA.
xcb_x_print_print_get_document_data_reply_t* xcb_x_print_print_get_document_data_reply | ( | xcb_connection_t * | c, |
xcb_x_print_print_get_document_data_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_x_print_print_get_document_data_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_x_print_print_get_document_data_cookie_t xcb_x_print_print_get_document_data_unchecked | ( | xcb_connection_t * | c, |
xcb_x_print_pcontext_t | context, | ||
uint32_t | max_bytes | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_X_PRINT_PRINT_GET_DOCUMENT_DATA.
xcb_x_print_print_get_image_resolution_cookie_t xcb_x_print_print_get_image_resolution | ( | xcb_connection_t * | c, |
xcb_x_print_pcontext_t | context | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_X_PRINT_PRINT_GET_IMAGE_RESOLUTION.
xcb_x_print_print_get_image_resolution_reply_t* xcb_x_print_print_get_image_resolution_reply | ( | xcb_connection_t * | c, |
xcb_x_print_print_get_image_resolution_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_x_print_print_get_image_resolution_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_x_print_print_get_image_resolution_cookie_t xcb_x_print_print_get_image_resolution_unchecked | ( | xcb_connection_t * | c, |
xcb_x_print_pcontext_t | context | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References XCB_X_PRINT_PRINT_GET_IMAGE_RESOLUTION.
xcb_x_print_print_get_one_attributes_cookie_t xcb_x_print_print_get_one_attributes | ( | xcb_connection_t * | c, |
xcb_x_print_pcontext_t | context, | ||
uint32_t | nameLen, | ||
uint8_t | pool, | ||
const xcb_x_print_string8_t * | name | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_X_PRINT_PRINT_GET_ONE_ATTRIBUTES.
xcb_x_print_print_get_one_attributes_reply_t* xcb_x_print_print_get_one_attributes_reply | ( | xcb_connection_t * | c, |
xcb_x_print_print_get_one_attributes_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_x_print_print_get_one_attributes_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_x_print_print_get_one_attributes_cookie_t xcb_x_print_print_get_one_attributes_unchecked | ( | xcb_connection_t * | c, |
xcb_x_print_pcontext_t | context, | ||
uint32_t | nameLen, | ||
uint8_t | pool, | ||
const xcb_x_print_string8_t * | name | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_X_PRINT_PRINT_GET_ONE_ATTRIBUTES.
xcb_x_print_print_get_page_dimensions_cookie_t xcb_x_print_print_get_page_dimensions | ( | xcb_connection_t * | c, |
xcb_x_print_pcontext_t | context | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_X_PRINT_PRINT_GET_PAGE_DIMENSIONS.
xcb_x_print_print_get_page_dimensions_reply_t* xcb_x_print_print_get_page_dimensions_reply | ( | xcb_connection_t * | c, |
xcb_x_print_print_get_page_dimensions_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_x_print_print_get_page_dimensions_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_x_print_print_get_page_dimensions_cookie_t xcb_x_print_print_get_page_dimensions_unchecked | ( | xcb_connection_t * | c, |
xcb_x_print_pcontext_t | context | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References XCB_X_PRINT_PRINT_GET_PAGE_DIMENSIONS.
xcb_x_print_print_get_printer_list_cookie_t xcb_x_print_print_get_printer_list | ( | xcb_connection_t * | c, |
uint32_t | printerNameLen, | ||
uint32_t | localeLen, | ||
const xcb_x_print_string8_t * | printer_name, | ||
const xcb_x_print_string8_t * | locale | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_X_PRINT_PRINT_GET_PRINTER_LIST.
xcb_x_print_print_get_printer_list_reply_t* xcb_x_print_print_get_printer_list_reply | ( | xcb_connection_t * | c, |
xcb_x_print_print_get_printer_list_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_x_print_print_get_printer_list_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
References xcb_x_print_printer_next().
xcb_x_print_print_get_printer_list_cookie_t xcb_x_print_print_get_printer_list_unchecked | ( | xcb_connection_t * | c, |
uint32_t | printerNameLen, | ||
uint32_t | localeLen, | ||
const xcb_x_print_string8_t * | printer_name, | ||
const xcb_x_print_string8_t * | locale | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References XCB_X_PRINT_PRINT_GET_PRINTER_LIST.
xcb_x_print_print_get_screen_of_context_cookie_t xcb_x_print_print_get_screen_of_context | ( | xcb_connection_t * | c | ) |
c | The connection |
Delivers a request to the X server.
References XCB_X_PRINT_PRINT_GET_SCREEN_OF_CONTEXT.
xcb_x_print_print_get_screen_of_context_reply_t* xcb_x_print_print_get_screen_of_context_reply | ( | xcb_connection_t * | c, |
xcb_x_print_print_get_screen_of_context_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_x_print_print_get_screen_of_context_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_x_print_print_get_screen_of_context_cookie_t xcb_x_print_print_get_screen_of_context_unchecked | ( | xcb_connection_t * | c | ) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References XCB_X_PRINT_PRINT_GET_SCREEN_OF_CONTEXT.
xcb_x_print_print_input_selected_cookie_t xcb_x_print_print_input_selected | ( | xcb_connection_t * | c, |
xcb_x_print_pcontext_t | context | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_X_PRINT_PRINT_INPUT_SELECTED.
xcb_x_print_print_input_selected_reply_t* xcb_x_print_print_input_selected_reply | ( | xcb_connection_t * | c, |
xcb_x_print_print_input_selected_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_x_print_print_input_selected_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_x_print_print_input_selected_cookie_t xcb_x_print_print_input_selected_unchecked | ( | xcb_connection_t * | c, |
xcb_x_print_pcontext_t | context | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References XCB_X_PRINT_PRINT_INPUT_SELECTED.
xcb_void_cookie_t xcb_x_print_print_put_document_data | ( | xcb_connection_t * | c, |
xcb_drawable_t | drawable, | ||
uint32_t | len_data, | ||
uint16_t | len_fmt, | ||
uint16_t | len_options, | ||
const uint8_t * | data, | ||
const xcb_x_print_string8_t * | doc_format, | ||
const xcb_x_print_string8_t * | options | ||
) |
c | The connection |
Delivers a request to the X server.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_X_PRINT_PRINT_PUT_DOCUMENT_DATA.
xcb_void_cookie_t xcb_x_print_print_put_document_data_checked | ( | xcb_connection_t * | c, |
xcb_drawable_t | drawable, | ||
uint32_t | len_data, | ||
uint16_t | len_fmt, | ||
uint16_t | len_options, | ||
const uint8_t * | data, | ||
const xcb_x_print_string8_t * | doc_format, | ||
const xcb_x_print_string8_t * | options | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_X_PRINT_PRINT_PUT_DOCUMENT_DATA.
xcb_x_print_print_query_screens_cookie_t xcb_x_print_print_query_screens | ( | xcb_connection_t * | c | ) |
c | The connection |
Delivers a request to the X server.
References XCB_X_PRINT_PRINT_QUERY_SCREENS.
xcb_x_print_print_query_screens_reply_t* xcb_x_print_print_query_screens_reply | ( | xcb_connection_t * | c, |
xcb_x_print_print_query_screens_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_x_print_print_query_screens_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_x_print_print_query_screens_cookie_t xcb_x_print_print_query_screens_unchecked | ( | xcb_connection_t * | c | ) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_X_PRINT_PRINT_QUERY_SCREENS.
xcb_x_print_print_query_version_cookie_t xcb_x_print_print_query_version | ( | xcb_connection_t * | c | ) |
c | The connection |
Delivers a request to the X server.
References XCB_X_PRINT_PRINT_QUERY_VERSION.
xcb_x_print_print_query_version_reply_t* xcb_x_print_print_query_version_reply | ( | xcb_connection_t * | c, |
xcb_x_print_print_query_version_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_x_print_print_query_version_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_x_print_print_query_version_cookie_t xcb_x_print_print_query_version_unchecked | ( | xcb_connection_t * | c | ) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References XCB_X_PRINT_PRINT_QUERY_VERSION.
xcb_void_cookie_t xcb_x_print_print_rehash_printer_list | ( | xcb_connection_t * | c | ) |
c | The connection |
Delivers a request to the X server.
References XCB_X_PRINT_PRINT_REHASH_PRINTER_LIST.
xcb_void_cookie_t xcb_x_print_print_rehash_printer_list_checked | ( | xcb_connection_t * | c | ) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_X_PRINT_PRINT_REHASH_PRINTER_LIST.
xcb_void_cookie_t xcb_x_print_print_select_input | ( | xcb_connection_t * | c, |
xcb_x_print_pcontext_t | context, | ||
uint32_t | event_mask | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_X_PRINT_PRINT_SELECT_INPUT.
xcb_void_cookie_t xcb_x_print_print_select_input_checked | ( | xcb_connection_t * | c, |
xcb_x_print_pcontext_t | context, | ||
uint32_t | event_mask | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_X_PRINT_PRINT_SELECT_INPUT.
xcb_void_cookie_t xcb_x_print_print_set_attributes | ( | xcb_connection_t * | c, |
xcb_x_print_pcontext_t | context, | ||
uint32_t | stringLen, | ||
uint8_t | pool, | ||
uint8_t | rule, | ||
uint32_t | attributes_len, | ||
const xcb_x_print_string8_t * | attributes | ||
) |
c | The connection |
Delivers a request to the X server.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_X_PRINT_PRINT_SET_ATTRIBUTES.
xcb_void_cookie_t xcb_x_print_print_set_attributes_checked | ( | xcb_connection_t * | c, |
xcb_x_print_pcontext_t | context, | ||
uint32_t | stringLen, | ||
uint8_t | pool, | ||
uint8_t | rule, | ||
uint32_t | attributes_len, | ||
const xcb_x_print_string8_t * | attributes | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_X_PRINT_PRINT_SET_ATTRIBUTES.
xcb_void_cookie_t xcb_x_print_print_set_context | ( | xcb_connection_t * | c, |
uint32_t | context | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_X_PRINT_PRINT_SET_CONTEXT.
xcb_void_cookie_t xcb_x_print_print_set_context_checked | ( | xcb_connection_t * | c, |
uint32_t | context | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_X_PRINT_PRINT_SET_CONTEXT.
xcb_x_print_print_set_image_resolution_cookie_t xcb_x_print_print_set_image_resolution | ( | xcb_connection_t * | c, |
xcb_x_print_pcontext_t | context, | ||
uint16_t | image_resolution | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_X_PRINT_PRINT_SET_IMAGE_RESOLUTION.
xcb_x_print_print_set_image_resolution_reply_t* xcb_x_print_print_set_image_resolution_reply | ( | xcb_connection_t * | c, |
xcb_x_print_print_set_image_resolution_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_x_print_print_set_image_resolution_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_x_print_print_set_image_resolution_cookie_t xcb_x_print_print_set_image_resolution_unchecked | ( | xcb_connection_t * | c, |
xcb_x_print_pcontext_t | context, | ||
uint16_t | image_resolution | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References XCB_X_PRINT_PRINT_SET_IMAGE_RESOLUTION.
xcb_void_cookie_t xcb_x_print_print_start_doc | ( | xcb_connection_t * | c, |
uint8_t | driver_mode | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_X_PRINT_PRINT_START_DOC.
xcb_void_cookie_t xcb_x_print_print_start_doc_checked | ( | xcb_connection_t * | c, |
uint8_t | driver_mode | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_X_PRINT_PRINT_START_DOC.
xcb_void_cookie_t xcb_x_print_print_start_job | ( | xcb_connection_t * | c, |
uint8_t | output_mode | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_X_PRINT_PRINT_START_JOB.
xcb_void_cookie_t xcb_x_print_print_start_job_checked | ( | xcb_connection_t * | c, |
uint8_t | output_mode | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_X_PRINT_PRINT_START_JOB.
xcb_void_cookie_t xcb_x_print_print_start_page | ( | xcb_connection_t * | c, |
xcb_window_t | window | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_X_PRINT_PRINT_START_PAGE.
xcb_void_cookie_t xcb_x_print_print_start_page_checked | ( | xcb_connection_t * | c, |
xcb_window_t | window | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_X_PRINT_PRINT_START_PAGE.
xcb_generic_iterator_t xcb_x_print_printer_end | ( | xcb_x_print_printer_iterator_t | i | ) |
Return the iterator pointing to the last element
i | An xcb_x_print_printer_iterator_t |
Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and xcb_x_print_printer_next().
void xcb_x_print_printer_next | ( | xcb_x_print_printer_iterator_t * | i | ) |
Get the next element of the iterator
i | Pointer to a xcb_x_print_printer_iterator_t |
Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_x_print_printer_t)
References xcb_generic_iterator_t::data.
Referenced by xcb_x_print_print_get_printer_list_reply(), and xcb_x_print_printer_end().
xcb_generic_iterator_t xcb_x_print_string8_end | ( | xcb_x_print_string8_iterator_t | i | ) |
Return the iterator pointing to the last element
i | An xcb_x_print_string8_iterator_t |
Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.
void xcb_x_print_string8_next | ( | xcb_x_print_string8_iterator_t * | i | ) |
Get the next element of the iterator
i | Pointer to a xcb_x_print_string8_iterator_t |
Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_x_print_string8_t)