summaryrefslogtreecommitdiff
path: root/lib/libxcb/src/dpms.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2016-09-02 10:09:46 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2016-09-02 10:09:46 +0000
commit8903be0b4bede284a8cf594f4732438856a6fe25 (patch)
tree4e4ce5abc5930f39ea70d4a9192eed81a5858400 /lib/libxcb/src/dpms.c
parentb4d7a3448405d273e426e0daf241a2961994026a (diff)
Update to xcb-proto/libxcb 1.12. "Just commit it" naddy@
Diffstat (limited to 'lib/libxcb/src/dpms.c')
-rw-r--r--lib/libxcb/src/dpms.c200
1 files changed, 100 insertions, 100 deletions
diff --git a/lib/libxcb/src/dpms.c b/lib/libxcb/src/dpms.c
index 66af6bec7..e1020d4df 100644
--- a/lib/libxcb/src/dpms.c
+++ b/lib/libxcb/src/dpms.c
@@ -18,15 +18,15 @@
xcb_extension_t xcb_dpms_id = { "DPMS", 0 };
xcb_dpms_get_version_cookie_t
-xcb_dpms_get_version (xcb_connection_t *c /**< */,
- uint16_t client_major_version /**< */,
- uint16_t client_minor_version /**< */)
+xcb_dpms_get_version (xcb_connection_t *c,
+ uint16_t client_major_version,
+ uint16_t client_minor_version)
{
static const xcb_protocol_request_t xcb_req = {
- /* count */ 2,
- /* ext */ &xcb_dpms_id,
- /* opcode */ XCB_DPMS_GET_VERSION,
- /* isvoid */ 0
+ .count = 2,
+ .ext = &xcb_dpms_id,
+ .opcode = XCB_DPMS_GET_VERSION,
+ .isvoid = 0
};
struct iovec xcb_parts[4];
@@ -46,15 +46,15 @@ xcb_dpms_get_version (xcb_connection_t *c /**< */,
}
xcb_dpms_get_version_cookie_t
-xcb_dpms_get_version_unchecked (xcb_connection_t *c /**< */,
- uint16_t client_major_version /**< */,
- uint16_t client_minor_version /**< */)
+xcb_dpms_get_version_unchecked (xcb_connection_t *c,
+ uint16_t client_major_version,
+ uint16_t client_minor_version)
{
static const xcb_protocol_request_t xcb_req = {
- /* count */ 2,
- /* ext */ &xcb_dpms_id,
- /* opcode */ XCB_DPMS_GET_VERSION,
- /* isvoid */ 0
+ .count = 2,
+ .ext = &xcb_dpms_id,
+ .opcode = XCB_DPMS_GET_VERSION,
+ .isvoid = 0
};
struct iovec xcb_parts[4];
@@ -74,21 +74,21 @@ xcb_dpms_get_version_unchecked (xcb_connection_t *c /**< */,
}
xcb_dpms_get_version_reply_t *
-xcb_dpms_get_version_reply (xcb_connection_t *c /**< */,
+xcb_dpms_get_version_reply (xcb_connection_t *c,
xcb_dpms_get_version_cookie_t cookie /**< */,
- xcb_generic_error_t **e /**< */)
+ xcb_generic_error_t **e)
{
return (xcb_dpms_get_version_reply_t *) xcb_wait_for_reply(c, cookie.sequence, e);
}
xcb_dpms_capable_cookie_t
-xcb_dpms_capable (xcb_connection_t *c /**< */)
+xcb_dpms_capable (xcb_connection_t *c)
{
static const xcb_protocol_request_t xcb_req = {
- /* count */ 2,
- /* ext */ &xcb_dpms_id,
- /* opcode */ XCB_DPMS_CAPABLE,
- /* isvoid */ 0
+ .count = 2,
+ .ext = &xcb_dpms_id,
+ .opcode = XCB_DPMS_CAPABLE,
+ .isvoid = 0
};
struct iovec xcb_parts[4];
@@ -106,13 +106,13 @@ xcb_dpms_capable (xcb_connection_t *c /**< */)
}
xcb_dpms_capable_cookie_t
-xcb_dpms_capable_unchecked (xcb_connection_t *c /**< */)
+xcb_dpms_capable_unchecked (xcb_connection_t *c)
{
static const xcb_protocol_request_t xcb_req = {
- /* count */ 2,
- /* ext */ &xcb_dpms_id,
- /* opcode */ XCB_DPMS_CAPABLE,
- /* isvoid */ 0
+ .count = 2,
+ .ext = &xcb_dpms_id,
+ .opcode = XCB_DPMS_CAPABLE,
+ .isvoid = 0
};
struct iovec xcb_parts[4];
@@ -130,21 +130,21 @@ xcb_dpms_capable_unchecked (xcb_connection_t *c /**< */)
}
xcb_dpms_capable_reply_t *
-xcb_dpms_capable_reply (xcb_connection_t *c /**< */,
+xcb_dpms_capable_reply (xcb_connection_t *c,
xcb_dpms_capable_cookie_t cookie /**< */,
- xcb_generic_error_t **e /**< */)
+ xcb_generic_error_t **e)
{
return (xcb_dpms_capable_reply_t *) xcb_wait_for_reply(c, cookie.sequence, e);
}
xcb_dpms_get_timeouts_cookie_t
-xcb_dpms_get_timeouts (xcb_connection_t *c /**< */)
+xcb_dpms_get_timeouts (xcb_connection_t *c)
{
static const xcb_protocol_request_t xcb_req = {
- /* count */ 2,
- /* ext */ &xcb_dpms_id,
- /* opcode */ XCB_DPMS_GET_TIMEOUTS,
- /* isvoid */ 0
+ .count = 2,
+ .ext = &xcb_dpms_id,
+ .opcode = XCB_DPMS_GET_TIMEOUTS,
+ .isvoid = 0
};
struct iovec xcb_parts[4];
@@ -162,13 +162,13 @@ xcb_dpms_get_timeouts (xcb_connection_t *c /**< */)
}
xcb_dpms_get_timeouts_cookie_t
-xcb_dpms_get_timeouts_unchecked (xcb_connection_t *c /**< */)
+xcb_dpms_get_timeouts_unchecked (xcb_connection_t *c)
{
static const xcb_protocol_request_t xcb_req = {
- /* count */ 2,
- /* ext */ &xcb_dpms_id,
- /* opcode */ XCB_DPMS_GET_TIMEOUTS,
- /* isvoid */ 0
+ .count = 2,
+ .ext = &xcb_dpms_id,
+ .opcode = XCB_DPMS_GET_TIMEOUTS,
+ .isvoid = 0
};
struct iovec xcb_parts[4];
@@ -186,24 +186,24 @@ xcb_dpms_get_timeouts_unchecked (xcb_connection_t *c /**< */)
}
xcb_dpms_get_timeouts_reply_t *
-xcb_dpms_get_timeouts_reply (xcb_connection_t *c /**< */,
+xcb_dpms_get_timeouts_reply (xcb_connection_t *c,
xcb_dpms_get_timeouts_cookie_t cookie /**< */,
- xcb_generic_error_t **e /**< */)
+ xcb_generic_error_t **e)
{
return (xcb_dpms_get_timeouts_reply_t *) xcb_wait_for_reply(c, cookie.sequence, e);
}
xcb_void_cookie_t
-xcb_dpms_set_timeouts_checked (xcb_connection_t *c /**< */,
- uint16_t standby_timeout /**< */,
- uint16_t suspend_timeout /**< */,
- uint16_t off_timeout /**< */)
+xcb_dpms_set_timeouts_checked (xcb_connection_t *c,
+ uint16_t standby_timeout,
+ uint16_t suspend_timeout,
+ uint16_t off_timeout)
{
static const xcb_protocol_request_t xcb_req = {
- /* count */ 2,
- /* ext */ &xcb_dpms_id,
- /* opcode */ XCB_DPMS_SET_TIMEOUTS,
- /* isvoid */ 1
+ .count = 2,
+ .ext = &xcb_dpms_id,
+ .opcode = XCB_DPMS_SET_TIMEOUTS,
+ .isvoid = 1
};
struct iovec xcb_parts[4];
@@ -224,16 +224,16 @@ xcb_dpms_set_timeouts_checked (xcb_connection_t *c /**< */,
}
xcb_void_cookie_t
-xcb_dpms_set_timeouts (xcb_connection_t *c /**< */,
- uint16_t standby_timeout /**< */,
- uint16_t suspend_timeout /**< */,
- uint16_t off_timeout /**< */)
+xcb_dpms_set_timeouts (xcb_connection_t *c,
+ uint16_t standby_timeout,
+ uint16_t suspend_timeout,
+ uint16_t off_timeout)
{
static const xcb_protocol_request_t xcb_req = {
- /* count */ 2,
- /* ext */ &xcb_dpms_id,
- /* opcode */ XCB_DPMS_SET_TIMEOUTS,
- /* isvoid */ 1
+ .count = 2,
+ .ext = &xcb_dpms_id,
+ .opcode = XCB_DPMS_SET_TIMEOUTS,
+ .isvoid = 1
};
struct iovec xcb_parts[4];
@@ -254,13 +254,13 @@ xcb_dpms_set_timeouts (xcb_connection_t *c /**< */,
}
xcb_void_cookie_t
-xcb_dpms_enable_checked (xcb_connection_t *c /**< */)
+xcb_dpms_enable_checked (xcb_connection_t *c)
{
static const xcb_protocol_request_t xcb_req = {
- /* count */ 2,
- /* ext */ &xcb_dpms_id,
- /* opcode */ XCB_DPMS_ENABLE,
- /* isvoid */ 1
+ .count = 2,
+ .ext = &xcb_dpms_id,
+ .opcode = XCB_DPMS_ENABLE,
+ .isvoid = 1
};
struct iovec xcb_parts[4];
@@ -278,13 +278,13 @@ xcb_dpms_enable_checked (xcb_connection_t *c /**< */)
}
xcb_void_cookie_t
-xcb_dpms_enable (xcb_connection_t *c /**< */)
+xcb_dpms_enable (xcb_connection_t *c)
{
static const xcb_protocol_request_t xcb_req = {
- /* count */ 2,
- /* ext */ &xcb_dpms_id,
- /* opcode */ XCB_DPMS_ENABLE,
- /* isvoid */ 1
+ .count = 2,
+ .ext = &xcb_dpms_id,
+ .opcode = XCB_DPMS_ENABLE,
+ .isvoid = 1
};
struct iovec xcb_parts[4];
@@ -302,13 +302,13 @@ xcb_dpms_enable (xcb_connection_t *c /**< */)
}
xcb_void_cookie_t
-xcb_dpms_disable_checked (xcb_connection_t *c /**< */)
+xcb_dpms_disable_checked (xcb_connection_t *c)
{
static const xcb_protocol_request_t xcb_req = {
- /* count */ 2,
- /* ext */ &xcb_dpms_id,
- /* opcode */ XCB_DPMS_DISABLE,
- /* isvoid */ 1
+ .count = 2,
+ .ext = &xcb_dpms_id,
+ .opcode = XCB_DPMS_DISABLE,
+ .isvoid = 1
};
struct iovec xcb_parts[4];
@@ -326,13 +326,13 @@ xcb_dpms_disable_checked (xcb_connection_t *c /**< */)
}
xcb_void_cookie_t
-xcb_dpms_disable (xcb_connection_t *c /**< */)
+xcb_dpms_disable (xcb_connection_t *c)
{
static const xcb_protocol_request_t xcb_req = {
- /* count */ 2,
- /* ext */ &xcb_dpms_id,
- /* opcode */ XCB_DPMS_DISABLE,
- /* isvoid */ 1
+ .count = 2,
+ .ext = &xcb_dpms_id,
+ .opcode = XCB_DPMS_DISABLE,
+ .isvoid = 1
};
struct iovec xcb_parts[4];
@@ -350,14 +350,14 @@ xcb_dpms_disable (xcb_connection_t *c /**< */)
}
xcb_void_cookie_t
-xcb_dpms_force_level_checked (xcb_connection_t *c /**< */,
- uint16_t power_level /**< */)
+xcb_dpms_force_level_checked (xcb_connection_t *c,
+ uint16_t power_level)
{
static const xcb_protocol_request_t xcb_req = {
- /* count */ 2,
- /* ext */ &xcb_dpms_id,
- /* opcode */ XCB_DPMS_FORCE_LEVEL,
- /* isvoid */ 1
+ .count = 2,
+ .ext = &xcb_dpms_id,
+ .opcode = XCB_DPMS_FORCE_LEVEL,
+ .isvoid = 1
};
struct iovec xcb_parts[4];
@@ -376,14 +376,14 @@ xcb_dpms_force_level_checked (xcb_connection_t *c /**< */,
}
xcb_void_cookie_t
-xcb_dpms_force_level (xcb_connection_t *c /**< */,
- uint16_t power_level /**< */)
+xcb_dpms_force_level (xcb_connection_t *c,
+ uint16_t power_level)
{
static const xcb_protocol_request_t xcb_req = {
- /* count */ 2,
- /* ext */ &xcb_dpms_id,
- /* opcode */ XCB_DPMS_FORCE_LEVEL,
- /* isvoid */ 1
+ .count = 2,
+ .ext = &xcb_dpms_id,
+ .opcode = XCB_DPMS_FORCE_LEVEL,
+ .isvoid = 1
};
struct iovec xcb_parts[4];
@@ -402,13 +402,13 @@ xcb_dpms_force_level (xcb_connection_t *c /**< */,
}
xcb_dpms_info_cookie_t
-xcb_dpms_info (xcb_connection_t *c /**< */)
+xcb_dpms_info (xcb_connection_t *c)
{
static const xcb_protocol_request_t xcb_req = {
- /* count */ 2,
- /* ext */ &xcb_dpms_id,
- /* opcode */ XCB_DPMS_INFO,
- /* isvoid */ 0
+ .count = 2,
+ .ext = &xcb_dpms_id,
+ .opcode = XCB_DPMS_INFO,
+ .isvoid = 0
};
struct iovec xcb_parts[4];
@@ -426,13 +426,13 @@ xcb_dpms_info (xcb_connection_t *c /**< */)
}
xcb_dpms_info_cookie_t
-xcb_dpms_info_unchecked (xcb_connection_t *c /**< */)
+xcb_dpms_info_unchecked (xcb_connection_t *c)
{
static const xcb_protocol_request_t xcb_req = {
- /* count */ 2,
- /* ext */ &xcb_dpms_id,
- /* opcode */ XCB_DPMS_INFO,
- /* isvoid */ 0
+ .count = 2,
+ .ext = &xcb_dpms_id,
+ .opcode = XCB_DPMS_INFO,
+ .isvoid = 0
};
struct iovec xcb_parts[4];
@@ -450,9 +450,9 @@ xcb_dpms_info_unchecked (xcb_connection_t *c /**< */)
}
xcb_dpms_info_reply_t *
-xcb_dpms_info_reply (xcb_connection_t *c /**< */,
+xcb_dpms_info_reply (xcb_connection_t *c,
xcb_dpms_info_cookie_t cookie /**< */,
- xcb_generic_error_t **e /**< */)
+ xcb_generic_error_t **e)
{
return (xcb_dpms_info_reply_t *) xcb_wait_for_reply(c, cookie.sequence, e);
}