summaryrefslogtreecommitdiff
path: root/protocols/Steam/src
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Steam/src')
-rw-r--r--protocols/Steam/src/protobuf-c/steammessages_deviceauth.steamclient.pb-c.cpp2522
-rw-r--r--protocols/Steam/src/protobuf-c/steammessages_deviceauth.steamclient.pb-c.h1015
-rw-r--r--protocols/Steam/src/protobuf-c/steammessages_deviceauth.steamclient.proto203
3 files changed, 3740 insertions, 0 deletions
diff --git a/protocols/Steam/src/protobuf-c/steammessages_deviceauth.steamclient.pb-c.cpp b/protocols/Steam/src/protobuf-c/steammessages_deviceauth.steamclient.pb-c.cpp
new file mode 100644
index 0000000000..1fbf59c1d6
--- /dev/null
+++ b/protocols/Steam/src/protobuf-c/steammessages_deviceauth.steamclient.pb-c.cpp
@@ -0,0 +1,2522 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: steammessages_deviceauth.steamclient.proto */
+
+/* Do not generate deprecated warnings for self */
+#ifndef PROTOBUF_C__NO_DEPRECATED
+#define PROTOBUF_C__NO_DEPRECATED
+#endif
+
+#include "steammessages_deviceauth.steamclient.pb-c.h"
+size_t cdevice_auth__get_own_authorized_devices__request__get_packed_size
+ (const CDeviceAuthGetOwnAuthorizedDevicesRequest *message)
+{
+ assert(message->descriptor == &cdevice_auth__get_own_authorized_devices__request__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t cdevice_auth__get_own_authorized_devices__request__pack
+ (const CDeviceAuthGetOwnAuthorizedDevicesRequest *message,
+ uint8_t *out)
+{
+ assert(message->descriptor == &cdevice_auth__get_own_authorized_devices__request__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t cdevice_auth__get_own_authorized_devices__request__pack_to_buffer
+ (const CDeviceAuthGetOwnAuthorizedDevicesRequest *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->descriptor == &cdevice_auth__get_own_authorized_devices__request__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+CDeviceAuthGetOwnAuthorizedDevicesRequest *
+ cdevice_auth__get_own_authorized_devices__request__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (CDeviceAuthGetOwnAuthorizedDevicesRequest *)
+ protobuf_c_message_unpack (&cdevice_auth__get_own_authorized_devices__request__descriptor,
+ allocator, len, data);
+}
+void cdevice_auth__get_own_authorized_devices__request__free_unpacked
+ (CDeviceAuthGetOwnAuthorizedDevicesRequest *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->descriptor == &cdevice_auth__get_own_authorized_devices__request__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+
+size_t cdevice_auth__get_own_authorized_devices__response__get_packed_size
+ (const CDeviceAuthGetOwnAuthorizedDevicesResponse *message)
+{
+ assert(message->descriptor == &cdevice_auth__get_own_authorized_devices__response__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t cdevice_auth__get_own_authorized_devices__response__pack
+ (const CDeviceAuthGetOwnAuthorizedDevicesResponse *message,
+ uint8_t *out)
+{
+ assert(message->descriptor == &cdevice_auth__get_own_authorized_devices__response__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t cdevice_auth__get_own_authorized_devices__response__pack_to_buffer
+ (const CDeviceAuthGetOwnAuthorizedDevicesResponse *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->descriptor == &cdevice_auth__get_own_authorized_devices__response__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+CDeviceAuthGetOwnAuthorizedDevicesResponse *
+ cdevice_auth__get_own_authorized_devices__response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (CDeviceAuthGetOwnAuthorizedDevicesResponse *)
+ protobuf_c_message_unpack (&cdevice_auth__get_own_authorized_devices__response__descriptor,
+ allocator, len, data);
+}
+void cdevice_auth__get_own_authorized_devices__response__free_unpacked
+ (CDeviceAuthGetOwnAuthorizedDevicesResponse *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->descriptor == &cdevice_auth__get_own_authorized_devices__response__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+
+size_t cdevice_auth__accept_authorization_request__request__get_packed_size
+ (const CDeviceAuthAcceptAuthorizationRequestRequest *message)
+{
+ assert(message->descriptor == &cdevice_auth__accept_authorization_request__request__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t cdevice_auth__accept_authorization_request__request__pack
+ (const CDeviceAuthAcceptAuthorizationRequestRequest *message,
+ uint8_t *out)
+{
+ assert(message->descriptor == &cdevice_auth__accept_authorization_request__request__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t cdevice_auth__accept_authorization_request__request__pack_to_buffer
+ (const CDeviceAuthAcceptAuthorizationRequestRequest *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->descriptor == &cdevice_auth__accept_authorization_request__request__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+CDeviceAuthAcceptAuthorizationRequestRequest *
+ cdevice_auth__accept_authorization_request__request__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (CDeviceAuthAcceptAuthorizationRequestRequest *)
+ protobuf_c_message_unpack (&cdevice_auth__accept_authorization_request__request__descriptor,
+ allocator, len, data);
+}
+void cdevice_auth__accept_authorization_request__request__free_unpacked
+ (CDeviceAuthAcceptAuthorizationRequestRequest *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->descriptor == &cdevice_auth__accept_authorization_request__request__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+
+size_t cdevice_auth__accept_authorization_request__response__get_packed_size
+ (const CDeviceAuthAcceptAuthorizationRequestResponse *message)
+{
+ assert(message->descriptor == &cdevice_auth__accept_authorization_request__response__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t cdevice_auth__accept_authorization_request__response__pack
+ (const CDeviceAuthAcceptAuthorizationRequestResponse *message,
+ uint8_t *out)
+{
+ assert(message->descriptor == &cdevice_auth__accept_authorization_request__response__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t cdevice_auth__accept_authorization_request__response__pack_to_buffer
+ (const CDeviceAuthAcceptAuthorizationRequestResponse *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->descriptor == &cdevice_auth__accept_authorization_request__response__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+CDeviceAuthAcceptAuthorizationRequestResponse *
+ cdevice_auth__accept_authorization_request__response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (CDeviceAuthAcceptAuthorizationRequestResponse *)
+ protobuf_c_message_unpack (&cdevice_auth__accept_authorization_request__response__descriptor,
+ allocator, len, data);
+}
+void cdevice_auth__accept_authorization_request__response__free_unpacked
+ (CDeviceAuthAcceptAuthorizationRequestResponse *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->descriptor == &cdevice_auth__accept_authorization_request__response__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+
+size_t cdevice_auth__authorize_remote_device__request__get_packed_size
+ (const CDeviceAuthAuthorizeRemoteDeviceRequest *message)
+{
+ assert(message->descriptor == &cdevice_auth__authorize_remote_device__request__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t cdevice_auth__authorize_remote_device__request__pack
+ (const CDeviceAuthAuthorizeRemoteDeviceRequest *message,
+ uint8_t *out)
+{
+ assert(message->descriptor == &cdevice_auth__authorize_remote_device__request__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t cdevice_auth__authorize_remote_device__request__pack_to_buffer
+ (const CDeviceAuthAuthorizeRemoteDeviceRequest *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->descriptor == &cdevice_auth__authorize_remote_device__request__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+CDeviceAuthAuthorizeRemoteDeviceRequest *
+ cdevice_auth__authorize_remote_device__request__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (CDeviceAuthAuthorizeRemoteDeviceRequest *)
+ protobuf_c_message_unpack (&cdevice_auth__authorize_remote_device__request__descriptor,
+ allocator, len, data);
+}
+void cdevice_auth__authorize_remote_device__request__free_unpacked
+ (CDeviceAuthAuthorizeRemoteDeviceRequest *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->descriptor == &cdevice_auth__authorize_remote_device__request__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+
+size_t cdevice_auth__authorize_remote_device__response__get_packed_size
+ (const CDeviceAuthAuthorizeRemoteDeviceResponse *message)
+{
+ assert(message->descriptor == &cdevice_auth__authorize_remote_device__response__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t cdevice_auth__authorize_remote_device__response__pack
+ (const CDeviceAuthAuthorizeRemoteDeviceResponse *message,
+ uint8_t *out)
+{
+ assert(message->descriptor == &cdevice_auth__authorize_remote_device__response__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t cdevice_auth__authorize_remote_device__response__pack_to_buffer
+ (const CDeviceAuthAuthorizeRemoteDeviceResponse *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->descriptor == &cdevice_auth__authorize_remote_device__response__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+CDeviceAuthAuthorizeRemoteDeviceResponse *
+ cdevice_auth__authorize_remote_device__response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (CDeviceAuthAuthorizeRemoteDeviceResponse *)
+ protobuf_c_message_unpack (&cdevice_auth__authorize_remote_device__response__descriptor,
+ allocator, len, data);
+}
+void cdevice_auth__authorize_remote_device__response__free_unpacked
+ (CDeviceAuthAuthorizeRemoteDeviceResponse *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->descriptor == &cdevice_auth__authorize_remote_device__response__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+
+size_t cdevice_auth__deauthorize_remote_device__request__get_packed_size
+ (const CDeviceAuthDeauthorizeRemoteDeviceRequest *message)
+{
+ assert(message->descriptor == &cdevice_auth__deauthorize_remote_device__request__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t cdevice_auth__deauthorize_remote_device__request__pack
+ (const CDeviceAuthDeauthorizeRemoteDeviceRequest *message,
+ uint8_t *out)
+{
+ assert(message->descriptor == &cdevice_auth__deauthorize_remote_device__request__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t cdevice_auth__deauthorize_remote_device__request__pack_to_buffer
+ (const CDeviceAuthDeauthorizeRemoteDeviceRequest *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->descriptor == &cdevice_auth__deauthorize_remote_device__request__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+CDeviceAuthDeauthorizeRemoteDeviceRequest *
+ cdevice_auth__deauthorize_remote_device__request__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (CDeviceAuthDeauthorizeRemoteDeviceRequest *)
+ protobuf_c_message_unpack (&cdevice_auth__deauthorize_remote_device__request__descriptor,
+ allocator, len, data);
+}
+void cdevice_auth__deauthorize_remote_device__request__free_unpacked
+ (CDeviceAuthDeauthorizeRemoteDeviceRequest *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->descriptor == &cdevice_auth__deauthorize_remote_device__request__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+
+size_t cdevice_auth__deauthorize_remote_device__response__get_packed_size
+ (const CDeviceAuthDeauthorizeRemoteDeviceResponse *message)
+{
+ assert(message->descriptor == &cdevice_auth__deauthorize_remote_device__response__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t cdevice_auth__deauthorize_remote_device__response__pack
+ (const CDeviceAuthDeauthorizeRemoteDeviceResponse *message,
+ uint8_t *out)
+{
+ assert(message->descriptor == &cdevice_auth__deauthorize_remote_device__response__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t cdevice_auth__deauthorize_remote_device__response__pack_to_buffer
+ (const CDeviceAuthDeauthorizeRemoteDeviceResponse *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->descriptor == &cdevice_auth__deauthorize_remote_device__response__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+CDeviceAuthDeauthorizeRemoteDeviceResponse *
+ cdevice_auth__deauthorize_remote_device__response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (CDeviceAuthDeauthorizeRemoteDeviceResponse *)
+ protobuf_c_message_unpack (&cdevice_auth__deauthorize_remote_device__response__descriptor,
+ allocator, len, data);
+}
+void cdevice_auth__deauthorize_remote_device__response__free_unpacked
+ (CDeviceAuthDeauthorizeRemoteDeviceResponse *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->descriptor == &cdevice_auth__deauthorize_remote_device__response__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+
+size_t cdevice_auth__get_used_authorized_devices__request__get_packed_size
+ (const CDeviceAuthGetUsedAuthorizedDevicesRequest *message)
+{
+ assert(message->descriptor == &cdevice_auth__get_used_authorized_devices__request__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t cdevice_auth__get_used_authorized_devices__request__pack
+ (const CDeviceAuthGetUsedAuthorizedDevicesRequest *message,
+ uint8_t *out)
+{
+ assert(message->descriptor == &cdevice_auth__get_used_authorized_devices__request__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t cdevice_auth__get_used_authorized_devices__request__pack_to_buffer
+ (const CDeviceAuthGetUsedAuthorizedDevicesRequest *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->descriptor == &cdevice_auth__get_used_authorized_devices__request__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+CDeviceAuthGetUsedAuthorizedDevicesRequest *
+ cdevice_auth__get_used_authorized_devices__request__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (CDeviceAuthGetUsedAuthorizedDevicesRequest *)
+ protobuf_c_message_unpack (&cdevice_auth__get_used_authorized_devices__request__descriptor,
+ allocator, len, data);
+}
+void cdevice_auth__get_used_authorized_devices__request__free_unpacked
+ (CDeviceAuthGetUsedAuthorizedDevicesRequest *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->descriptor == &cdevice_auth__get_used_authorized_devices__request__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+
+size_t cdevice_auth__get_used_authorized_devices__response__get_packed_size
+ (const CDeviceAuthGetUsedAuthorizedDevicesResponse *message)
+{
+ assert(message->descriptor == &cdevice_auth__get_used_authorized_devices__response__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t cdevice_auth__get_used_authorized_devices__response__pack
+ (const CDeviceAuthGetUsedAuthorizedDevicesResponse *message,
+ uint8_t *out)
+{
+ assert(message->descriptor == &cdevice_auth__get_used_authorized_devices__response__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t cdevice_auth__get_used_authorized_devices__response__pack_to_buffer
+ (const CDeviceAuthGetUsedAuthorizedDevicesResponse *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->descriptor == &cdevice_auth__get_used_authorized_devices__response__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+CDeviceAuthGetUsedAuthorizedDevicesResponse *
+ cdevice_auth__get_used_authorized_devices__response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (CDeviceAuthGetUsedAuthorizedDevicesResponse *)
+ protobuf_c_message_unpack (&cdevice_auth__get_used_authorized_devices__response__descriptor,
+ allocator, len, data);
+}
+void cdevice_auth__get_used_authorized_devices__response__free_unpacked
+ (CDeviceAuthGetUsedAuthorizedDevicesResponse *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->descriptor == &cdevice_auth__get_used_authorized_devices__response__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+
+size_t cdevice_auth__get_authorized_borrowers__request__get_packed_size
+ (const CDeviceAuthGetAuthorizedBorrowersRequest *message)
+{
+ assert(message->descriptor == &cdevice_auth__get_authorized_borrowers__request__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t cdevice_auth__get_authorized_borrowers__request__pack
+ (const CDeviceAuthGetAuthorizedBorrowersRequest *message,
+ uint8_t *out)
+{
+ assert(message->descriptor == &cdevice_auth__get_authorized_borrowers__request__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t cdevice_auth__get_authorized_borrowers__request__pack_to_buffer
+ (const CDeviceAuthGetAuthorizedBorrowersRequest *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->descriptor == &cdevice_auth__get_authorized_borrowers__request__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+CDeviceAuthGetAuthorizedBorrowersRequest *
+ cdevice_auth__get_authorized_borrowers__request__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (CDeviceAuthGetAuthorizedBorrowersRequest *)
+ protobuf_c_message_unpack (&cdevice_auth__get_authorized_borrowers__request__descriptor,
+ allocator, len, data);
+}
+void cdevice_auth__get_authorized_borrowers__request__free_unpacked
+ (CDeviceAuthGetAuthorizedBorrowersRequest *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->descriptor == &cdevice_auth__get_authorized_borrowers__request__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+
+size_t cdevice_auth__get_authorized_borrowers__response__get_packed_size
+ (const CDeviceAuthGetAuthorizedBorrowersResponse *message)
+{
+ assert(message->descriptor == &cdevice_auth__get_authorized_borrowers__response__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t cdevice_auth__get_authorized_borrowers__response__pack
+ (const CDeviceAuthGetAuthorizedBorrowersResponse *message,
+ uint8_t *out)
+{
+ assert(message->descriptor == &cdevice_auth__get_authorized_borrowers__response__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t cdevice_auth__get_authorized_borrowers__response__pack_to_buffer
+ (const CDeviceAuthGetAuthorizedBorrowersResponse *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->descriptor == &cdevice_auth__get_authorized_borrowers__response__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+CDeviceAuthGetAuthorizedBorrowersResponse *
+ cdevice_auth__get_authorized_borrowers__response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (CDeviceAuthGetAuthorizedBorrowersResponse *)
+ protobuf_c_message_unpack (&cdevice_auth__get_authorized_borrowers__response__descriptor,
+ allocator, len, data);
+}
+void cdevice_auth__get_authorized_borrowers__response__free_unpacked
+ (CDeviceAuthGetAuthorizedBorrowersResponse *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->descriptor == &cdevice_auth__get_authorized_borrowers__response__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+
+size_t cdevice_auth__add_authorized_borrowers__request__get_packed_size
+ (const CDeviceAuthAddAuthorizedBorrowersRequest *message)
+{
+ assert(message->descriptor == &cdevice_auth__add_authorized_borrowers__request__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t cdevice_auth__add_authorized_borrowers__request__pack
+ (const CDeviceAuthAddAuthorizedBorrowersRequest *message,
+ uint8_t *out)
+{
+ assert(message->descriptor == &cdevice_auth__add_authorized_borrowers__request__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t cdevice_auth__add_authorized_borrowers__request__pack_to_buffer
+ (const CDeviceAuthAddAuthorizedBorrowersRequest *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->descriptor == &cdevice_auth__add_authorized_borrowers__request__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+CDeviceAuthAddAuthorizedBorrowersRequest *
+ cdevice_auth__add_authorized_borrowers__request__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (CDeviceAuthAddAuthorizedBorrowersRequest *)
+ protobuf_c_message_unpack (&cdevice_auth__add_authorized_borrowers__request__descriptor,
+ allocator, len, data);
+}
+void cdevice_auth__add_authorized_borrowers__request__free_unpacked
+ (CDeviceAuthAddAuthorizedBorrowersRequest *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->descriptor == &cdevice_auth__add_authorized_borrowers__request__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+
+size_t cdevice_auth__add_authorized_borrowers__response__get_packed_size
+ (const CDeviceAuthAddAuthorizedBorrowersResponse *message)
+{
+ assert(message->descriptor == &cdevice_auth__add_authorized_borrowers__response__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t cdevice_auth__add_authorized_borrowers__response__pack
+ (const CDeviceAuthAddAuthorizedBorrowersResponse *message,
+ uint8_t *out)
+{
+ assert(message->descriptor == &cdevice_auth__add_authorized_borrowers__response__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t cdevice_auth__add_authorized_borrowers__response__pack_to_buffer
+ (const CDeviceAuthAddAuthorizedBorrowersResponse *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->descriptor == &cdevice_auth__add_authorized_borrowers__response__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+CDeviceAuthAddAuthorizedBorrowersResponse *
+ cdevice_auth__add_authorized_borrowers__response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (CDeviceAuthAddAuthorizedBorrowersResponse *)
+ protobuf_c_message_unpack (&cdevice_auth__add_authorized_borrowers__response__descriptor,
+ allocator, len, data);
+}
+void cdevice_auth__add_authorized_borrowers__response__free_unpacked
+ (CDeviceAuthAddAuthorizedBorrowersResponse *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->descriptor == &cdevice_auth__add_authorized_borrowers__response__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+
+size_t cdevice_auth__remove_authorized_borrowers__request__get_packed_size
+ (const CDeviceAuthRemoveAuthorizedBorrowersRequest *message)
+{
+ assert(message->descriptor == &cdevice_auth__remove_authorized_borrowers__request__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t cdevice_auth__remove_authorized_borrowers__request__pack
+ (const CDeviceAuthRemoveAuthorizedBorrowersRequest *message,
+ uint8_t *out)
+{
+ assert(message->descriptor == &cdevice_auth__remove_authorized_borrowers__request__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t cdevice_auth__remove_authorized_borrowers__request__pack_to_buffer
+ (const CDeviceAuthRemoveAuthorizedBorrowersRequest *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->descriptor == &cdevice_auth__remove_authorized_borrowers__request__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+CDeviceAuthRemoveAuthorizedBorrowersRequest *
+ cdevice_auth__remove_authorized_borrowers__request__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (CDeviceAuthRemoveAuthorizedBorrowersRequest *)
+ protobuf_c_message_unpack (&cdevice_auth__remove_authorized_borrowers__request__descriptor,
+ allocator, len, data);
+}
+void cdevice_auth__remove_authorized_borrowers__request__free_unpacked
+ (CDeviceAuthRemoveAuthorizedBorrowersRequest *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->descriptor == &cdevice_auth__remove_authorized_borrowers__request__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+
+size_t cdevice_auth__remove_authorized_borrowers__response__get_packed_size
+ (const CDeviceAuthRemoveAuthorizedBorrowersResponse *message)
+{
+ assert(message->descriptor == &cdevice_auth__remove_authorized_borrowers__response__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t cdevice_auth__remove_authorized_borrowers__response__pack
+ (const CDeviceAuthRemoveAuthorizedBorrowersResponse *message,
+ uint8_t *out)
+{
+ assert(message->descriptor == &cdevice_auth__remove_authorized_borrowers__response__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t cdevice_auth__remove_authorized_borrowers__response__pack_to_buffer
+ (const CDeviceAuthRemoveAuthorizedBorrowersResponse *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->descriptor == &cdevice_auth__remove_authorized_borrowers__response__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+CDeviceAuthRemoveAuthorizedBorrowersResponse *
+ cdevice_auth__remove_authorized_borrowers__response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (CDeviceAuthRemoveAuthorizedBorrowersResponse *)
+ protobuf_c_message_unpack (&cdevice_auth__remove_authorized_borrowers__response__descriptor,
+ allocator, len, data);
+}
+void cdevice_auth__remove_authorized_borrowers__response__free_unpacked
+ (CDeviceAuthRemoveAuthorizedBorrowersResponse *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->descriptor == &cdevice_auth__remove_authorized_borrowers__response__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+
+size_t cdevice_auth__get_authorized_as_borrower__request__get_packed_size
+ (const CDeviceAuthGetAuthorizedAsBorrowerRequest *message)
+{
+ assert(message->descriptor == &cdevice_auth__get_authorized_as_borrower__request__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t cdevice_auth__get_authorized_as_borrower__request__pack
+ (const CDeviceAuthGetAuthorizedAsBorrowerRequest *message,
+ uint8_t *out)
+{
+ assert(message->descriptor == &cdevice_auth__get_authorized_as_borrower__request__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t cdevice_auth__get_authorized_as_borrower__request__pack_to_buffer
+ (const CDeviceAuthGetAuthorizedAsBorrowerRequest *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->descriptor == &cdevice_auth__get_authorized_as_borrower__request__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+CDeviceAuthGetAuthorizedAsBorrowerRequest *
+ cdevice_auth__get_authorized_as_borrower__request__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (CDeviceAuthGetAuthorizedAsBorrowerRequest *)
+ protobuf_c_message_unpack (&cdevice_auth__get_authorized_as_borrower__request__descriptor,
+ allocator, len, data);
+}
+void cdevice_auth__get_authorized_as_borrower__request__free_unpacked
+ (CDeviceAuthGetAuthorizedAsBorrowerRequest *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->descriptor == &cdevice_auth__get_authorized_as_borrower__request__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+
+size_t cdevice_auth__get_authorized_as_borrower__response__get_packed_size
+ (const CDeviceAuthGetAuthorizedAsBorrowerResponse *message)
+{
+ assert(message->descriptor == &cdevice_auth__get_authorized_as_borrower__response__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t cdevice_auth__get_authorized_as_borrower__response__pack
+ (const CDeviceAuthGetAuthorizedAsBorrowerResponse *message,
+ uint8_t *out)
+{
+ assert(message->descriptor == &cdevice_auth__get_authorized_as_borrower__response__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t cdevice_auth__get_authorized_as_borrower__response__pack_to_buffer
+ (const CDeviceAuthGetAuthorizedAsBorrowerResponse *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->descriptor == &cdevice_auth__get_authorized_as_borrower__response__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+CDeviceAuthGetAuthorizedAsBorrowerResponse *
+ cdevice_auth__get_authorized_as_borrower__response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (CDeviceAuthGetAuthorizedAsBorrowerResponse *)
+ protobuf_c_message_unpack (&cdevice_auth__get_authorized_as_borrower__response__descriptor,
+ allocator, len, data);
+}
+void cdevice_auth__get_authorized_as_borrower__response__free_unpacked
+ (CDeviceAuthGetAuthorizedAsBorrowerResponse *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->descriptor == &cdevice_auth__get_authorized_as_borrower__response__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+
+size_t cdevice_auth__get_excluded_games_in_library__request__get_packed_size
+ (const CDeviceAuthGetExcludedGamesInLibraryRequest *message)
+{
+ assert(message->descriptor == &cdevice_auth__get_excluded_games_in_library__request__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t cdevice_auth__get_excluded_games_in_library__request__pack
+ (const CDeviceAuthGetExcludedGamesInLibraryRequest *message,
+ uint8_t *out)
+{
+ assert(message->descriptor == &cdevice_auth__get_excluded_games_in_library__request__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t cdevice_auth__get_excluded_games_in_library__request__pack_to_buffer
+ (const CDeviceAuthGetExcludedGamesInLibraryRequest *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->descriptor == &cdevice_auth__get_excluded_games_in_library__request__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+CDeviceAuthGetExcludedGamesInLibraryRequest *
+ cdevice_auth__get_excluded_games_in_library__request__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (CDeviceAuthGetExcludedGamesInLibraryRequest *)
+ protobuf_c_message_unpack (&cdevice_auth__get_excluded_games_in_library__request__descriptor,
+ allocator, len, data);
+}
+void cdevice_auth__get_excluded_games_in_library__request__free_unpacked
+ (CDeviceAuthGetExcludedGamesInLibraryRequest *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->descriptor == &cdevice_auth__get_excluded_games_in_library__request__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+
+size_t cdevice_auth__get_excluded_games_in_library__response__get_packed_size
+ (const CDeviceAuthGetExcludedGamesInLibraryResponse *message)
+{
+ assert(message->descriptor == &cdevice_auth__get_excluded_games_in_library__response__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t cdevice_auth__get_excluded_games_in_library__response__pack
+ (const CDeviceAuthGetExcludedGamesInLibraryResponse *message,
+ uint8_t *out)
+{
+ assert(message->descriptor == &cdevice_auth__get_excluded_games_in_library__response__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t cdevice_auth__get_excluded_games_in_library__response__pack_to_buffer
+ (const CDeviceAuthGetExcludedGamesInLibraryResponse *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->descriptor == &cdevice_auth__get_excluded_games_in_library__response__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+CDeviceAuthGetExcludedGamesInLibraryResponse *
+ cdevice_auth__get_excluded_games_in_library__response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (CDeviceAuthGetExcludedGamesInLibraryResponse *)
+ protobuf_c_message_unpack (&cdevice_auth__get_excluded_games_in_library__response__descriptor,
+ allocator, len, data);
+}
+void cdevice_auth__get_excluded_games_in_library__response__free_unpacked
+ (CDeviceAuthGetExcludedGamesInLibraryResponse *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->descriptor == &cdevice_auth__get_excluded_games_in_library__response__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+
+size_t cdevice_auth__get_borrower_play_history__request__get_packed_size
+ (const CDeviceAuthGetBorrowerPlayHistoryRequest *message)
+{
+ assert(message->descriptor == &cdevice_auth__get_borrower_play_history__request__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t cdevice_auth__get_borrower_play_history__request__pack
+ (const CDeviceAuthGetBorrowerPlayHistoryRequest *message,
+ uint8_t *out)
+{
+ assert(message->descriptor == &cdevice_auth__get_borrower_play_history__request__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t cdevice_auth__get_borrower_play_history__request__pack_to_buffer
+ (const CDeviceAuthGetBorrowerPlayHistoryRequest *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->descriptor == &cdevice_auth__get_borrower_play_history__request__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+CDeviceAuthGetBorrowerPlayHistoryRequest *
+ cdevice_auth__get_borrower_play_history__request__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (CDeviceAuthGetBorrowerPlayHistoryRequest *)
+ protobuf_c_message_unpack (&cdevice_auth__get_borrower_play_history__request__descriptor,
+ allocator, len, data);
+}
+void cdevice_auth__get_borrower_play_history__request__free_unpacked
+ (CDeviceAuthGetBorrowerPlayHistoryRequest *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->descriptor == &cdevice_auth__get_borrower_play_history__request__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+
+size_t cdevice_auth__get_borrower_play_history__response__get_packed_size
+ (const CDeviceAuthGetBorrowerPlayHistoryResponse *message)
+{
+ assert(message->descriptor == &cdevice_auth__get_borrower_play_history__response__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t cdevice_auth__get_borrower_play_history__response__pack
+ (const CDeviceAuthGetBorrowerPlayHistoryResponse *message,
+ uint8_t *out)
+{
+ assert(message->descriptor == &cdevice_auth__get_borrower_play_history__response__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t cdevice_auth__get_borrower_play_history__response__pack_to_buffer
+ (const CDeviceAuthGetBorrowerPlayHistoryResponse *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->descriptor == &cdevice_auth__get_borrower_play_history__response__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+CDeviceAuthGetBorrowerPlayHistoryResponse *
+ cdevice_auth__get_borrower_play_history__response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (CDeviceAuthGetBorrowerPlayHistoryResponse *)
+ protobuf_c_message_unpack (&cdevice_auth__get_borrower_play_history__response__descriptor,
+ allocator, len, data);
+}
+void cdevice_auth__get_borrower_play_history__response__free_unpacked
+ (CDeviceAuthGetBorrowerPlayHistoryResponse *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->descriptor == &cdevice_auth__get_borrower_play_history__response__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+
+static const ProtobufCFieldDescriptor cdevice_auth__get_own_authorized_devices__request__field_descriptors[2] =
+{
+ {
+ "steamid",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_FIXED64,
+ offsetof(CDeviceAuthGetOwnAuthorizedDevicesRequest, has_steamid),
+ offsetof(CDeviceAuthGetOwnAuthorizedDevicesRequest, steamid),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "include_canceled",
+ 2,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_BOOL,
+ offsetof(CDeviceAuthGetOwnAuthorizedDevicesRequest, has_include_canceled),
+ offsetof(CDeviceAuthGetOwnAuthorizedDevicesRequest, include_canceled),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned cdevice_auth__get_own_authorized_devices__request__field_indices_by_name[] = {
+ 1, /* field[1] = include_canceled */
+ 0, /* field[0] = steamid */
+};
+static const ProtobufCIntRange cdevice_auth__get_own_authorized_devices__request__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 2 }
+};
+const ProtobufCMessageDescriptor cdevice_auth__get_own_authorized_devices__request__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "CDeviceAuth_GetOwnAuthorizedDevices_Request",
+ "CDeviceAuthGetOwnAuthorizedDevicesRequest",
+ "CDeviceAuthGetOwnAuthorizedDevicesRequest",
+ "",
+ sizeof(CDeviceAuthGetOwnAuthorizedDevicesRequest),
+ 2,
+ cdevice_auth__get_own_authorized_devices__request__field_descriptors,
+ cdevice_auth__get_own_authorized_devices__request__field_indices_by_name,
+ 1, cdevice_auth__get_own_authorized_devices__request__number_ranges,
+ NULL,NULL,NULL,NULL /* reserved[123] */
+};
+static const ProtobufCFieldDescriptor cdevice_auth__get_own_authorized_devices__response__device__field_descriptors[8] =
+{
+ {
+ "auth_device_token",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_FIXED64,
+ offsetof(CDeviceAuthGetOwnAuthorizedDevicesResponse__Device, has_auth_device_token),
+ offsetof(CDeviceAuthGetOwnAuthorizedDevicesResponse__Device, auth_device_token),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "device_name",
+ 2,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_STRING,
+ 0, /* quantifier_offset */
+ offsetof(CDeviceAuthGetOwnAuthorizedDevicesResponse__Device, device_name),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "is_pending",
+ 3,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_BOOL,
+ offsetof(CDeviceAuthGetOwnAuthorizedDevicesResponse__Device, has_is_pending),
+ offsetof(CDeviceAuthGetOwnAuthorizedDevicesResponse__Device, is_pending),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "is_canceled",
+ 4,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_BOOL,
+ offsetof(CDeviceAuthGetOwnAuthorizedDevicesResponse__Device, has_is_canceled),
+ offsetof(CDeviceAuthGetOwnAuthorizedDevicesResponse__Device, is_canceled),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "last_time_used",
+ 5,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(CDeviceAuthGetOwnAuthorizedDevicesResponse__Device, has_last_time_used),
+ offsetof(CDeviceAuthGetOwnAuthorizedDevicesResponse__Device, last_time_used),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "last_borrower_id",
+ 6,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_FIXED64,
+ offsetof(CDeviceAuthGetOwnAuthorizedDevicesResponse__Device, has_last_borrower_id),
+ offsetof(CDeviceAuthGetOwnAuthorizedDevicesResponse__Device, last_borrower_id),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "last_app_played",
+ 7,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(CDeviceAuthGetOwnAuthorizedDevicesResponse__Device, has_last_app_played),
+ offsetof(CDeviceAuthGetOwnAuthorizedDevicesResponse__Device, last_app_played),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "is_limited",
+ 8,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_BOOL,
+ offsetof(CDeviceAuthGetOwnAuthorizedDevicesResponse__Device, has_is_limited),
+ offsetof(CDeviceAuthGetOwnAuthorizedDevicesResponse__Device, is_limited),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned cdevice_auth__get_own_authorized_devices__response__device__field_indices_by_name[] = {
+ 0, /* field[0] = auth_device_token */
+ 1, /* field[1] = device_name */
+ 3, /* field[3] = is_canceled */
+ 7, /* field[7] = is_limited */
+ 2, /* field[2] = is_pending */
+ 6, /* field[6] = last_app_played */
+ 5, /* field[5] = last_borrower_id */
+ 4, /* field[4] = last_time_used */
+};
+static const ProtobufCIntRange cdevice_auth__get_own_authorized_devices__response__device__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 8 }
+};
+const ProtobufCMessageDescriptor cdevice_auth__get_own_authorized_devices__response__device__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "CDeviceAuth_GetOwnAuthorizedDevices_Response.Device",
+ "Device",
+ "CDeviceAuthGetOwnAuthorizedDevicesResponse__Device",
+ "",
+ sizeof(CDeviceAuthGetOwnAuthorizedDevicesResponse__Device),
+ 8,
+ cdevice_auth__get_own_authorized_devices__response__device__field_descriptors,
+ cdevice_auth__get_own_authorized_devices__response__device__field_indices_by_name,
+ 1, cdevice_auth__get_own_authorized_devices__response__device__number_ranges,
+ NULL,NULL,NULL,NULL /* reserved[123] */
+};
+static const ProtobufCFieldDescriptor cdevice_auth__get_own_authorized_devices__response__field_descriptors[1] =
+{
+ {
+ "devices",
+ 1,
+ PROTOBUF_C_LABEL_REPEATED,
+ PROTOBUF_C_TYPE_MESSAGE,
+ offsetof(CDeviceAuthGetOwnAuthorizedDevicesResponse, n_devices),
+ offsetof(CDeviceAuthGetOwnAuthorizedDevicesResponse, devices),
+ &cdevice_auth__get_own_authorized_devices__response__device__descriptor,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned cdevice_auth__get_own_authorized_devices__response__field_indices_by_name[] = {
+ 0, /* field[0] = devices */
+};
+static const ProtobufCIntRange cdevice_auth__get_own_authorized_devices__response__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 1 }
+};
+const ProtobufCMessageDescriptor cdevice_auth__get_own_authorized_devices__response__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "CDeviceAuth_GetOwnAuthorizedDevices_Response",
+ "CDeviceAuthGetOwnAuthorizedDevicesResponse",
+ "CDeviceAuthGetOwnAuthorizedDevicesResponse",
+ "",
+ sizeof(CDeviceAuthGetOwnAuthorizedDevicesResponse),
+ 1,
+ cdevice_auth__get_own_authorized_devices__response__field_descriptors,
+ cdevice_auth__get_own_authorized_devices__response__field_indices_by_name,
+ 1, cdevice_auth__get_own_authorized_devices__response__number_ranges,
+ NULL,NULL,NULL,NULL /* reserved[123] */
+};
+static const ProtobufCFieldDescriptor cdevice_auth__accept_authorization_request__request__field_descriptors[4] =
+{
+ {
+ "steamid",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_FIXED64,
+ offsetof(CDeviceAuthAcceptAuthorizationRequestRequest, has_steamid),
+ offsetof(CDeviceAuthAcceptAuthorizationRequestRequest, steamid),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "auth_device_token",
+ 2,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_FIXED64,
+ offsetof(CDeviceAuthAcceptAuthorizationRequestRequest, has_auth_device_token),
+ offsetof(CDeviceAuthAcceptAuthorizationRequestRequest, auth_device_token),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "auth_code",
+ 3,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_FIXED64,
+ offsetof(CDeviceAuthAcceptAuthorizationRequestRequest, has_auth_code),
+ offsetof(CDeviceAuthAcceptAuthorizationRequestRequest, auth_code),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "from_steamid",
+ 4,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_FIXED64,
+ offsetof(CDeviceAuthAcceptAuthorizationRequestRequest, has_from_steamid),
+ offsetof(CDeviceAuthAcceptAuthorizationRequestRequest, from_steamid),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned cdevice_auth__accept_authorization_request__request__field_indices_by_name[] = {
+ 2, /* field[2] = auth_code */
+ 1, /* field[1] = auth_device_token */
+ 3, /* field[3] = from_steamid */
+ 0, /* field[0] = steamid */
+};
+static const ProtobufCIntRange cdevice_auth__accept_authorization_request__request__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 4 }
+};
+const ProtobufCMessageDescriptor cdevice_auth__accept_authorization_request__request__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "CDeviceAuth_AcceptAuthorizationRequest_Request",
+ "CDeviceAuthAcceptAuthorizationRequestRequest",
+ "CDeviceAuthAcceptAuthorizationRequestRequest",
+ "",
+ sizeof(CDeviceAuthAcceptAuthorizationRequestRequest),
+ 4,
+ cdevice_auth__accept_authorization_request__request__field_descriptors,
+ cdevice_auth__accept_authorization_request__request__field_indices_by_name,
+ 1, cdevice_auth__accept_authorization_request__request__number_ranges,
+ NULL,NULL,NULL,NULL /* reserved[123] */
+};
+#define cdevice_auth__accept_authorization_request__response__field_descriptors NULL
+#define cdevice_auth__accept_authorization_request__response__field_indices_by_name NULL
+#define cdevice_auth__accept_authorization_request__response__number_ranges NULL
+const ProtobufCMessageDescriptor cdevice_auth__accept_authorization_request__response__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "CDeviceAuth_AcceptAuthorizationRequest_Response",
+ "CDeviceAuthAcceptAuthorizationRequestResponse",
+ "CDeviceAuthAcceptAuthorizationRequestResponse",
+ "",
+ sizeof(CDeviceAuthAcceptAuthorizationRequestResponse),
+ 0,
+ cdevice_auth__accept_authorization_request__response__field_descriptors,
+ cdevice_auth__accept_authorization_request__response__field_indices_by_name,
+ 0, cdevice_auth__accept_authorization_request__response__number_ranges,
+ NULL,NULL,NULL,NULL /* reserved[123] */
+};
+static const ProtobufCFieldDescriptor cdevice_auth__authorize_remote_device__request__field_descriptors[2] =
+{
+ {
+ "steamid",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_FIXED64,
+ offsetof(CDeviceAuthAuthorizeRemoteDeviceRequest, has_steamid),
+ offsetof(CDeviceAuthAuthorizeRemoteDeviceRequest, steamid),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "auth_device_token",
+ 2,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_FIXED64,
+ offsetof(CDeviceAuthAuthorizeRemoteDeviceRequest, has_auth_device_token),
+ offsetof(CDeviceAuthAuthorizeRemoteDeviceRequest, auth_device_token),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned cdevice_auth__authorize_remote_device__request__field_indices_by_name[] = {
+ 1, /* field[1] = auth_device_token */
+ 0, /* field[0] = steamid */
+};
+static const ProtobufCIntRange cdevice_auth__authorize_remote_device__request__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 2 }
+};
+const ProtobufCMessageDescriptor cdevice_auth__authorize_remote_device__request__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "CDeviceAuth_AuthorizeRemoteDevice_Request",
+ "CDeviceAuthAuthorizeRemoteDeviceRequest",
+ "CDeviceAuthAuthorizeRemoteDeviceRequest",
+ "",
+ sizeof(CDeviceAuthAuthorizeRemoteDeviceRequest),
+ 2,
+ cdevice_auth__authorize_remote_device__request__field_descriptors,
+ cdevice_auth__authorize_remote_device__request__field_indices_by_name,
+ 1, cdevice_auth__authorize_remote_device__request__number_ranges,
+ NULL,NULL,NULL,NULL /* reserved[123] */
+};
+#define cdevice_auth__authorize_remote_device__response__field_descriptors NULL
+#define cdevice_auth__authorize_remote_device__response__field_indices_by_name NULL
+#define cdevice_auth__authorize_remote_device__response__number_ranges NULL
+const ProtobufCMessageDescriptor cdevice_auth__authorize_remote_device__response__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "CDeviceAuth_AuthorizeRemoteDevice_Response",
+ "CDeviceAuthAuthorizeRemoteDeviceResponse",
+ "CDeviceAuthAuthorizeRemoteDeviceResponse",
+ "",
+ sizeof(CDeviceAuthAuthorizeRemoteDeviceResponse),
+ 0,
+ cdevice_auth__authorize_remote_device__response__field_descriptors,
+ cdevice_auth__authorize_remote_device__response__field_indices_by_name,
+ 0, cdevice_auth__authorize_remote_device__response__number_ranges,
+ NULL,NULL,NULL,NULL /* reserved[123] */
+};
+static const ProtobufCFieldDescriptor cdevice_auth__deauthorize_remote_device__request__field_descriptors[2] =
+{
+ {
+ "steamid",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_FIXED64,
+ offsetof(CDeviceAuthDeauthorizeRemoteDeviceRequest, has_steamid),
+ offsetof(CDeviceAuthDeauthorizeRemoteDeviceRequest, steamid),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "auth_device_token",
+ 2,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_FIXED64,
+ offsetof(CDeviceAuthDeauthorizeRemoteDeviceRequest, has_auth_device_token),
+ offsetof(CDeviceAuthDeauthorizeRemoteDeviceRequest, auth_device_token),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned cdevice_auth__deauthorize_remote_device__request__field_indices_by_name[] = {
+ 1, /* field[1] = auth_device_token */
+ 0, /* field[0] = steamid */
+};
+static const ProtobufCIntRange cdevice_auth__deauthorize_remote_device__request__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 2 }
+};
+const ProtobufCMessageDescriptor cdevice_auth__deauthorize_remote_device__request__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "CDeviceAuth_DeauthorizeRemoteDevice_Request",
+ "CDeviceAuthDeauthorizeRemoteDeviceRequest",
+ "CDeviceAuthDeauthorizeRemoteDeviceRequest",
+ "",
+ sizeof(CDeviceAuthDeauthorizeRemoteDeviceRequest),
+ 2,
+ cdevice_auth__deauthorize_remote_device__request__field_descriptors,
+ cdevice_auth__deauthorize_remote_device__request__field_indices_by_name,
+ 1, cdevice_auth__deauthorize_remote_device__request__number_ranges,
+ NULL,NULL,NULL,NULL /* reserved[123] */
+};
+#define cdevice_auth__deauthorize_remote_device__response__field_descriptors NULL
+#define cdevice_auth__deauthorize_remote_device__response__field_indices_by_name NULL
+#define cdevice_auth__deauthorize_remote_device__response__number_ranges NULL
+const ProtobufCMessageDescriptor cdevice_auth__deauthorize_remote_device__response__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "CDeviceAuth_DeauthorizeRemoteDevice_Response",
+ "CDeviceAuthDeauthorizeRemoteDeviceResponse",
+ "CDeviceAuthDeauthorizeRemoteDeviceResponse",
+ "",
+ sizeof(CDeviceAuthDeauthorizeRemoteDeviceResponse),
+ 0,
+ cdevice_auth__deauthorize_remote_device__response__field_descriptors,
+ cdevice_auth__deauthorize_remote_device__response__field_indices_by_name,
+ 0, cdevice_auth__deauthorize_remote_device__response__number_ranges,
+ NULL,NULL,NULL,NULL /* reserved[123] */
+};
+static const ProtobufCFieldDescriptor cdevice_auth__get_used_authorized_devices__request__field_descriptors[1] =
+{
+ {
+ "steamid",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_FIXED64,
+ offsetof(CDeviceAuthGetUsedAuthorizedDevicesRequest, has_steamid),
+ offsetof(CDeviceAuthGetUsedAuthorizedDevicesRequest, steamid),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned cdevice_auth__get_used_authorized_devices__request__field_indices_by_name[] = {
+ 0, /* field[0] = steamid */
+};
+static const ProtobufCIntRange cdevice_auth__get_used_authorized_devices__request__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 1 }
+};
+const ProtobufCMessageDescriptor cdevice_auth__get_used_authorized_devices__request__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "CDeviceAuth_GetUsedAuthorizedDevices_Request",
+ "CDeviceAuthGetUsedAuthorizedDevicesRequest",
+ "CDeviceAuthGetUsedAuthorizedDevicesRequest",
+ "",
+ sizeof(CDeviceAuthGetUsedAuthorizedDevicesRequest),
+ 1,
+ cdevice_auth__get_used_authorized_devices__request__field_descriptors,
+ cdevice_auth__get_used_authorized_devices__request__field_indices_by_name,
+ 1, cdevice_auth__get_used_authorized_devices__request__number_ranges,
+ NULL,NULL,NULL,NULL /* reserved[123] */
+};
+static const ProtobufCFieldDescriptor cdevice_auth__get_used_authorized_devices__response__device__field_descriptors[5] =
+{
+ {
+ "auth_device_token",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_FIXED64,
+ offsetof(CDeviceAuthGetUsedAuthorizedDevicesResponse__Device, has_auth_device_token),
+ offsetof(CDeviceAuthGetUsedAuthorizedDevicesResponse__Device, auth_device_token),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "device_name",
+ 2,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_STRING,
+ 0, /* quantifier_offset */
+ offsetof(CDeviceAuthGetUsedAuthorizedDevicesResponse__Device, device_name),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "owner_steamid",
+ 3,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_FIXED64,
+ offsetof(CDeviceAuthGetUsedAuthorizedDevicesResponse__Device, has_owner_steamid),
+ offsetof(CDeviceAuthGetUsedAuthorizedDevicesResponse__Device, owner_steamid),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "last_time_used",
+ 4,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(CDeviceAuthGetUsedAuthorizedDevicesResponse__Device, has_last_time_used),
+ offsetof(CDeviceAuthGetUsedAuthorizedDevicesResponse__Device, last_time_used),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "last_app_played",
+ 5,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(CDeviceAuthGetUsedAuthorizedDevicesResponse__Device, has_last_app_played),
+ offsetof(CDeviceAuthGetUsedAuthorizedDevicesResponse__Device, last_app_played),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned cdevice_auth__get_used_authorized_devices__response__device__field_indices_by_name[] = {
+ 0, /* field[0] = auth_device_token */
+ 1, /* field[1] = device_name */
+ 4, /* field[4] = last_app_played */
+ 3, /* field[3] = last_time_used */
+ 2, /* field[2] = owner_steamid */
+};
+static const ProtobufCIntRange cdevice_auth__get_used_authorized_devices__response__device__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 5 }
+};
+const ProtobufCMessageDescriptor cdevice_auth__get_used_authorized_devices__response__device__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "CDeviceAuth_GetUsedAuthorizedDevices_Response.Device",
+ "Device",
+ "CDeviceAuthGetUsedAuthorizedDevicesResponse__Device",
+ "",
+ sizeof(CDeviceAuthGetUsedAuthorizedDevicesResponse__Device),
+ 5,
+ cdevice_auth__get_used_authorized_devices__response__device__field_descriptors,
+ cdevice_auth__get_used_authorized_devices__response__device__field_indices_by_name,
+ 1, cdevice_auth__get_used_authorized_devices__response__device__number_ranges,
+ NULL,NULL,NULL,NULL /* reserved[123] */
+};
+static const ProtobufCFieldDescriptor cdevice_auth__get_used_authorized_devices__response__field_descriptors[1] =
+{
+ {
+ "devices",
+ 1,
+ PROTOBUF_C_LABEL_REPEATED,
+ PROTOBUF_C_TYPE_MESSAGE,
+ offsetof(CDeviceAuthGetUsedAuthorizedDevicesResponse, n_devices),
+ offsetof(CDeviceAuthGetUsedAuthorizedDevicesResponse, devices),
+ &cdevice_auth__get_used_authorized_devices__response__device__descriptor,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned cdevice_auth__get_used_authorized_devices__response__field_indices_by_name[] = {
+ 0, /* field[0] = devices */
+};
+static const ProtobufCIntRange cdevice_auth__get_used_authorized_devices__response__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 1 }
+};
+const ProtobufCMessageDescriptor cdevice_auth__get_used_authorized_devices__response__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "CDeviceAuth_GetUsedAuthorizedDevices_Response",
+ "CDeviceAuthGetUsedAuthorizedDevicesResponse",
+ "CDeviceAuthGetUsedAuthorizedDevicesResponse",
+ "",
+ sizeof(CDeviceAuthGetUsedAuthorizedDevicesResponse),
+ 1,
+ cdevice_auth__get_used_authorized_devices__response__field_descriptors,
+ cdevice_auth__get_used_authorized_devices__response__field_indices_by_name,
+ 1, cdevice_auth__get_used_authorized_devices__response__number_ranges,
+ NULL,NULL,NULL,NULL /* reserved[123] */
+};
+static const ProtobufCFieldDescriptor cdevice_auth__get_authorized_borrowers__request__field_descriptors[3] =
+{
+ {
+ "steamid",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_FIXED64,
+ offsetof(CDeviceAuthGetAuthorizedBorrowersRequest, has_steamid),
+ offsetof(CDeviceAuthGetAuthorizedBorrowersRequest, steamid),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "include_canceled",
+ 2,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_BOOL,
+ offsetof(CDeviceAuthGetAuthorizedBorrowersRequest, has_include_canceled),
+ offsetof(CDeviceAuthGetAuthorizedBorrowersRequest, include_canceled),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "include_pending",
+ 3,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_BOOL,
+ offsetof(CDeviceAuthGetAuthorizedBorrowersRequest, has_include_pending),
+ offsetof(CDeviceAuthGetAuthorizedBorrowersRequest, include_pending),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned cdevice_auth__get_authorized_borrowers__request__field_indices_by_name[] = {
+ 1, /* field[1] = include_canceled */
+ 2, /* field[2] = include_pending */
+ 0, /* field[0] = steamid */
+};
+static const ProtobufCIntRange cdevice_auth__get_authorized_borrowers__request__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 3 }
+};
+const ProtobufCMessageDescriptor cdevice_auth__get_authorized_borrowers__request__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "CDeviceAuth_GetAuthorizedBorrowers_Request",
+ "CDeviceAuthGetAuthorizedBorrowersRequest",
+ "CDeviceAuthGetAuthorizedBorrowersRequest",
+ "",
+ sizeof(CDeviceAuthGetAuthorizedBorrowersRequest),
+ 3,
+ cdevice_auth__get_authorized_borrowers__request__field_descriptors,
+ cdevice_auth__get_authorized_borrowers__request__field_indices_by_name,
+ 1, cdevice_auth__get_authorized_borrowers__request__number_ranges,
+ NULL,NULL,NULL,NULL /* reserved[123] */
+};
+static const ProtobufCFieldDescriptor cdevice_auth__get_authorized_borrowers__response__borrower__field_descriptors[4] =
+{
+ {
+ "steamid",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_FIXED64,
+ offsetof(CDeviceAuthGetAuthorizedBorrowersResponse__Borrower, has_steamid),
+ offsetof(CDeviceAuthGetAuthorizedBorrowersResponse__Borrower, steamid),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "is_pending",
+ 2,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_BOOL,
+ offsetof(CDeviceAuthGetAuthorizedBorrowersResponse__Borrower, has_is_pending),
+ offsetof(CDeviceAuthGetAuthorizedBorrowersResponse__Borrower, is_pending),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "is_canceled",
+ 3,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_BOOL,
+ offsetof(CDeviceAuthGetAuthorizedBorrowersResponse__Borrower, has_is_canceled),
+ offsetof(CDeviceAuthGetAuthorizedBorrowersResponse__Borrower, is_canceled),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "time_created",
+ 4,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(CDeviceAuthGetAuthorizedBorrowersResponse__Borrower, has_time_created),
+ offsetof(CDeviceAuthGetAuthorizedBorrowersResponse__Borrower, time_created),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned cdevice_auth__get_authorized_borrowers__response__borrower__field_indices_by_name[] = {
+ 2, /* field[2] = is_canceled */
+ 1, /* field[1] = is_pending */
+ 0, /* field[0] = steamid */
+ 3, /* field[3] = time_created */
+};
+static const ProtobufCIntRange cdevice_auth__get_authorized_borrowers__response__borrower__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 4 }
+};
+const ProtobufCMessageDescriptor cdevice_auth__get_authorized_borrowers__response__borrower__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "CDeviceAuth_GetAuthorizedBorrowers_Response.Borrower",
+ "Borrower",
+ "CDeviceAuthGetAuthorizedBorrowersResponse__Borrower",
+ "",
+ sizeof(CDeviceAuthGetAuthorizedBorrowersResponse__Borrower),
+ 4,
+ cdevice_auth__get_authorized_borrowers__response__borrower__field_descriptors,
+ cdevice_auth__get_authorized_borrowers__response__borrower__field_indices_by_name,
+ 1, cdevice_auth__get_authorized_borrowers__response__borrower__number_ranges,
+ NULL,NULL,NULL,NULL /* reserved[123] */
+};
+static const ProtobufCFieldDescriptor cdevice_auth__get_authorized_borrowers__response__field_descriptors[1] =
+{
+ {
+ "borrowers",
+ 1,
+ PROTOBUF_C_LABEL_REPEATED,
+ PROTOBUF_C_TYPE_MESSAGE,
+ offsetof(CDeviceAuthGetAuthorizedBorrowersResponse, n_borrowers),
+ offsetof(CDeviceAuthGetAuthorizedBorrowersResponse, borrowers),
+ &cdevice_auth__get_authorized_borrowers__response__borrower__descriptor,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned cdevice_auth__get_authorized_borrowers__response__field_indices_by_name[] = {
+ 0, /* field[0] = borrowers */
+};
+static const ProtobufCIntRange cdevice_auth__get_authorized_borrowers__response__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 1 }
+};
+const ProtobufCMessageDescriptor cdevice_auth__get_authorized_borrowers__response__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "CDeviceAuth_GetAuthorizedBorrowers_Response",
+ "CDeviceAuthGetAuthorizedBorrowersResponse",
+ "CDeviceAuthGetAuthorizedBorrowersResponse",
+ "",
+ sizeof(CDeviceAuthGetAuthorizedBorrowersResponse),
+ 1,
+ cdevice_auth__get_authorized_borrowers__response__field_descriptors,
+ cdevice_auth__get_authorized_borrowers__response__field_indices_by_name,
+ 1, cdevice_auth__get_authorized_borrowers__response__number_ranges,
+ NULL,NULL,NULL,NULL /* reserved[123] */
+};
+static const ProtobufCFieldDescriptor cdevice_auth__add_authorized_borrowers__request__field_descriptors[2] =
+{
+ {
+ "steamid",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_FIXED64,
+ offsetof(CDeviceAuthAddAuthorizedBorrowersRequest, has_steamid),
+ offsetof(CDeviceAuthAddAuthorizedBorrowersRequest, steamid),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "steamid_borrower",
+ 2,
+ PROTOBUF_C_LABEL_REPEATED,
+ PROTOBUF_C_TYPE_FIXED64,
+ offsetof(CDeviceAuthAddAuthorizedBorrowersRequest, n_steamid_borrower),
+ offsetof(CDeviceAuthAddAuthorizedBorrowersRequest, steamid_borrower),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned cdevice_auth__add_authorized_borrowers__request__field_indices_by_name[] = {
+ 0, /* field[0] = steamid */
+ 1, /* field[1] = steamid_borrower */
+};
+static const ProtobufCIntRange cdevice_auth__add_authorized_borrowers__request__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 2 }
+};
+const ProtobufCMessageDescriptor cdevice_auth__add_authorized_borrowers__request__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "CDeviceAuth_AddAuthorizedBorrowers_Request",
+ "CDeviceAuthAddAuthorizedBorrowersRequest",
+ "CDeviceAuthAddAuthorizedBorrowersRequest",
+ "",
+ sizeof(CDeviceAuthAddAuthorizedBorrowersRequest),
+ 2,
+ cdevice_auth__add_authorized_borrowers__request__field_descriptors,
+ cdevice_auth__add_authorized_borrowers__request__field_indices_by_name,
+ 1, cdevice_auth__add_authorized_borrowers__request__number_ranges,
+ NULL,NULL,NULL,NULL /* reserved[123] */
+};
+static const ProtobufCFieldDescriptor cdevice_auth__add_authorized_borrowers__response__field_descriptors[1] =
+{
+ {
+ "seconds_to_wait",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_INT32,
+ offsetof(CDeviceAuthAddAuthorizedBorrowersResponse, has_seconds_to_wait),
+ offsetof(CDeviceAuthAddAuthorizedBorrowersResponse, seconds_to_wait),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned cdevice_auth__add_authorized_borrowers__response__field_indices_by_name[] = {
+ 0, /* field[0] = seconds_to_wait */
+};
+static const ProtobufCIntRange cdevice_auth__add_authorized_borrowers__response__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 1 }
+};
+const ProtobufCMessageDescriptor cdevice_auth__add_authorized_borrowers__response__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "CDeviceAuth_AddAuthorizedBorrowers_Response",
+ "CDeviceAuthAddAuthorizedBorrowersResponse",
+ "CDeviceAuthAddAuthorizedBorrowersResponse",
+ "",
+ sizeof(CDeviceAuthAddAuthorizedBorrowersResponse),
+ 1,
+ cdevice_auth__add_authorized_borrowers__response__field_descriptors,
+ cdevice_auth__add_authorized_borrowers__response__field_indices_by_name,
+ 1, cdevice_auth__add_authorized_borrowers__response__number_ranges,
+ NULL,NULL,NULL,NULL /* reserved[123] */
+};
+static const ProtobufCFieldDescriptor cdevice_auth__remove_authorized_borrowers__request__field_descriptors[2] =
+{
+ {
+ "steamid",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_FIXED64,
+ offsetof(CDeviceAuthRemoveAuthorizedBorrowersRequest, has_steamid),
+ offsetof(CDeviceAuthRemoveAuthorizedBorrowersRequest, steamid),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "steamid_borrower",
+ 2,
+ PROTOBUF_C_LABEL_REPEATED,
+ PROTOBUF_C_TYPE_FIXED64,
+ offsetof(CDeviceAuthRemoveAuthorizedBorrowersRequest, n_steamid_borrower),
+ offsetof(CDeviceAuthRemoveAuthorizedBorrowersRequest, steamid_borrower),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned cdevice_auth__remove_authorized_borrowers__request__field_indices_by_name[] = {
+ 0, /* field[0] = steamid */
+ 1, /* field[1] = steamid_borrower */
+};
+static const ProtobufCIntRange cdevice_auth__remove_authorized_borrowers__request__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 2 }
+};
+const ProtobufCMessageDescriptor cdevice_auth__remove_authorized_borrowers__request__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "CDeviceAuth_RemoveAuthorizedBorrowers_Request",
+ "CDeviceAuthRemoveAuthorizedBorrowersRequest",
+ "CDeviceAuthRemoveAuthorizedBorrowersRequest",
+ "",
+ sizeof(CDeviceAuthRemoveAuthorizedBorrowersRequest),
+ 2,
+ cdevice_auth__remove_authorized_borrowers__request__field_descriptors,
+ cdevice_auth__remove_authorized_borrowers__request__field_indices_by_name,
+ 1, cdevice_auth__remove_authorized_borrowers__request__number_ranges,
+ NULL,NULL,NULL,NULL /* reserved[123] */
+};
+#define cdevice_auth__remove_authorized_borrowers__response__field_descriptors NULL
+#define cdevice_auth__remove_authorized_borrowers__response__field_indices_by_name NULL
+#define cdevice_auth__remove_authorized_borrowers__response__number_ranges NULL
+const ProtobufCMessageDescriptor cdevice_auth__remove_authorized_borrowers__response__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "CDeviceAuth_RemoveAuthorizedBorrowers_Response",
+ "CDeviceAuthRemoveAuthorizedBorrowersResponse",
+ "CDeviceAuthRemoveAuthorizedBorrowersResponse",
+ "",
+ sizeof(CDeviceAuthRemoveAuthorizedBorrowersResponse),
+ 0,
+ cdevice_auth__remove_authorized_borrowers__response__field_descriptors,
+ cdevice_auth__remove_authorized_borrowers__response__field_indices_by_name,
+ 0, cdevice_auth__remove_authorized_borrowers__response__number_ranges,
+ NULL,NULL,NULL,NULL /* reserved[123] */
+};
+static const ProtobufCFieldDescriptor cdevice_auth__get_authorized_as_borrower__request__field_descriptors[3] =
+{
+ {
+ "steamid",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_FIXED64,
+ offsetof(CDeviceAuthGetAuthorizedAsBorrowerRequest, has_steamid),
+ offsetof(CDeviceAuthGetAuthorizedAsBorrowerRequest, steamid),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "include_canceled",
+ 2,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_BOOL,
+ offsetof(CDeviceAuthGetAuthorizedAsBorrowerRequest, has_include_canceled),
+ offsetof(CDeviceAuthGetAuthorizedAsBorrowerRequest, include_canceled),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "include_pending",
+ 3,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_BOOL,
+ offsetof(CDeviceAuthGetAuthorizedAsBorrowerRequest, has_include_pending),
+ offsetof(CDeviceAuthGetAuthorizedAsBorrowerRequest, include_pending),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned cdevice_auth__get_authorized_as_borrower__request__field_indices_by_name[] = {
+ 1, /* field[1] = include_canceled */
+ 2, /* field[2] = include_pending */
+ 0, /* field[0] = steamid */
+};
+static const ProtobufCIntRange cdevice_auth__get_authorized_as_borrower__request__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 3 }
+};
+const ProtobufCMessageDescriptor cdevice_auth__get_authorized_as_borrower__request__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "CDeviceAuth_GetAuthorizedAsBorrower_Request",
+ "CDeviceAuthGetAuthorizedAsBorrowerRequest",
+ "CDeviceAuthGetAuthorizedAsBorrowerRequest",
+ "",
+ sizeof(CDeviceAuthGetAuthorizedAsBorrowerRequest),
+ 3,
+ cdevice_auth__get_authorized_as_borrower__request__field_descriptors,
+ cdevice_auth__get_authorized_as_borrower__request__field_indices_by_name,
+ 1, cdevice_auth__get_authorized_as_borrower__request__number_ranges,
+ NULL,NULL,NULL,NULL /* reserved[123] */
+};
+static const ProtobufCFieldDescriptor cdevice_auth__get_authorized_as_borrower__response__lender__field_descriptors[7] =
+{
+ {
+ "steamid",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_FIXED64,
+ offsetof(CDeviceAuthGetAuthorizedAsBorrowerResponse__Lender, has_steamid),
+ offsetof(CDeviceAuthGetAuthorizedAsBorrowerResponse__Lender, steamid),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "time_created",
+ 2,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(CDeviceAuthGetAuthorizedAsBorrowerResponse__Lender, has_time_created),
+ offsetof(CDeviceAuthGetAuthorizedAsBorrowerResponse__Lender, time_created),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "is_pending",
+ 3,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_BOOL,
+ offsetof(CDeviceAuthGetAuthorizedAsBorrowerResponse__Lender, has_is_pending),
+ offsetof(CDeviceAuthGetAuthorizedAsBorrowerResponse__Lender, is_pending),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "is_canceled",
+ 4,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_BOOL,
+ offsetof(CDeviceAuthGetAuthorizedAsBorrowerResponse__Lender, has_is_canceled),
+ offsetof(CDeviceAuthGetAuthorizedAsBorrowerResponse__Lender, is_canceled),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "is_used",
+ 5,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_BOOL,
+ offsetof(CDeviceAuthGetAuthorizedAsBorrowerResponse__Lender, has_is_used),
+ offsetof(CDeviceAuthGetAuthorizedAsBorrowerResponse__Lender, is_used),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "time_removed",
+ 6,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(CDeviceAuthGetAuthorizedAsBorrowerResponse__Lender, has_time_removed),
+ offsetof(CDeviceAuthGetAuthorizedAsBorrowerResponse__Lender, time_removed),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "time_first",
+ 7,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(CDeviceAuthGetAuthorizedAsBorrowerResponse__Lender, has_time_first),
+ offsetof(CDeviceAuthGetAuthorizedAsBorrowerResponse__Lender, time_first),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned cdevice_auth__get_authorized_as_borrower__response__lender__field_indices_by_name[] = {
+ 3, /* field[3] = is_canceled */
+ 2, /* field[2] = is_pending */
+ 4, /* field[4] = is_used */
+ 0, /* field[0] = steamid */
+ 1, /* field[1] = time_created */
+ 6, /* field[6] = time_first */
+ 5, /* field[5] = time_removed */
+};
+static const ProtobufCIntRange cdevice_auth__get_authorized_as_borrower__response__lender__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 7 }
+};
+const ProtobufCMessageDescriptor cdevice_auth__get_authorized_as_borrower__response__lender__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "CDeviceAuth_GetAuthorizedAsBorrower_Response.Lender",
+ "Lender",
+ "CDeviceAuthGetAuthorizedAsBorrowerResponse__Lender",
+ "",
+ sizeof(CDeviceAuthGetAuthorizedAsBorrowerResponse__Lender),
+ 7,
+ cdevice_auth__get_authorized_as_borrower__response__lender__field_descriptors,
+ cdevice_auth__get_authorized_as_borrower__response__lender__field_indices_by_name,
+ 1, cdevice_auth__get_authorized_as_borrower__response__lender__number_ranges,
+ NULL,NULL,NULL,NULL /* reserved[123] */
+};
+static const ProtobufCFieldDescriptor cdevice_auth__get_authorized_as_borrower__response__field_descriptors[1] =
+{
+ {
+ "lenders",
+ 1,
+ PROTOBUF_C_LABEL_REPEATED,
+ PROTOBUF_C_TYPE_MESSAGE,
+ offsetof(CDeviceAuthGetAuthorizedAsBorrowerResponse, n_lenders),
+ offsetof(CDeviceAuthGetAuthorizedAsBorrowerResponse, lenders),
+ &cdevice_auth__get_authorized_as_borrower__response__lender__descriptor,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned cdevice_auth__get_authorized_as_borrower__response__field_indices_by_name[] = {
+ 0, /* field[0] = lenders */
+};
+static const ProtobufCIntRange cdevice_auth__get_authorized_as_borrower__response__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 1 }
+};
+const ProtobufCMessageDescriptor cdevice_auth__get_authorized_as_borrower__response__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "CDeviceAuth_GetAuthorizedAsBorrower_Response",
+ "CDeviceAuthGetAuthorizedAsBorrowerResponse",
+ "CDeviceAuthGetAuthorizedAsBorrowerResponse",
+ "",
+ sizeof(CDeviceAuthGetAuthorizedAsBorrowerResponse),
+ 1,
+ cdevice_auth__get_authorized_as_borrower__response__field_descriptors,
+ cdevice_auth__get_authorized_as_borrower__response__field_indices_by_name,
+ 1, cdevice_auth__get_authorized_as_borrower__response__number_ranges,
+ NULL,NULL,NULL,NULL /* reserved[123] */
+};
+static const ProtobufCFieldDescriptor cdevice_auth__get_excluded_games_in_library__request__field_descriptors[1] =
+{
+ {
+ "steamid",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_FIXED64,
+ offsetof(CDeviceAuthGetExcludedGamesInLibraryRequest, has_steamid),
+ offsetof(CDeviceAuthGetExcludedGamesInLibraryRequest, steamid),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned cdevice_auth__get_excluded_games_in_library__request__field_indices_by_name[] = {
+ 0, /* field[0] = steamid */
+};
+static const ProtobufCIntRange cdevice_auth__get_excluded_games_in_library__request__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 1 }
+};
+const ProtobufCMessageDescriptor cdevice_auth__get_excluded_games_in_library__request__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "CDeviceAuth_GetExcludedGamesInLibrary_Request",
+ "CDeviceAuthGetExcludedGamesInLibraryRequest",
+ "CDeviceAuthGetExcludedGamesInLibraryRequest",
+ "",
+ sizeof(CDeviceAuthGetExcludedGamesInLibraryRequest),
+ 1,
+ cdevice_auth__get_excluded_games_in_library__request__field_descriptors,
+ cdevice_auth__get_excluded_games_in_library__request__field_indices_by_name,
+ 1, cdevice_auth__get_excluded_games_in_library__request__number_ranges,
+ NULL,NULL,NULL,NULL /* reserved[123] */
+};
+static const ProtobufCFieldDescriptor cdevice_auth__get_excluded_games_in_library__response__excluded_game__field_descriptors[4] =
+{
+ {
+ "appid",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(CDeviceAuthGetExcludedGamesInLibraryResponse__ExcludedGame, has_appid),
+ offsetof(CDeviceAuthGetExcludedGamesInLibraryResponse__ExcludedGame, appid),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "game_name",
+ 2,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_STRING,
+ 0, /* quantifier_offset */
+ offsetof(CDeviceAuthGetExcludedGamesInLibraryResponse__ExcludedGame, game_name),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "vac_banned",
+ 3,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_BOOL,
+ offsetof(CDeviceAuthGetExcludedGamesInLibraryResponse__ExcludedGame, has_vac_banned),
+ offsetof(CDeviceAuthGetExcludedGamesInLibraryResponse__ExcludedGame, vac_banned),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "package_excluded",
+ 4,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_BOOL,
+ offsetof(CDeviceAuthGetExcludedGamesInLibraryResponse__ExcludedGame, has_package_excluded),
+ offsetof(CDeviceAuthGetExcludedGamesInLibraryResponse__ExcludedGame, package_excluded),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned cdevice_auth__get_excluded_games_in_library__response__excluded_game__field_indices_by_name[] = {
+ 0, /* field[0] = appid */
+ 1, /* field[1] = game_name */
+ 3, /* field[3] = package_excluded */
+ 2, /* field[2] = vac_banned */
+};
+static const ProtobufCIntRange cdevice_auth__get_excluded_games_in_library__response__excluded_game__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 4 }
+};
+const ProtobufCMessageDescriptor cdevice_auth__get_excluded_games_in_library__response__excluded_game__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "CDeviceAuth_GetExcludedGamesInLibrary_Response.ExcludedGame",
+ "ExcludedGame",
+ "CDeviceAuthGetExcludedGamesInLibraryResponse__ExcludedGame",
+ "",
+ sizeof(CDeviceAuthGetExcludedGamesInLibraryResponse__ExcludedGame),
+ 4,
+ cdevice_auth__get_excluded_games_in_library__response__excluded_game__field_descriptors,
+ cdevice_auth__get_excluded_games_in_library__response__excluded_game__field_indices_by_name,
+ 1, cdevice_auth__get_excluded_games_in_library__response__excluded_game__number_ranges,
+ NULL,NULL,NULL,NULL /* reserved[123] */
+};
+static const ProtobufCFieldDescriptor cdevice_auth__get_excluded_games_in_library__response__field_descriptors[1] =
+{
+ {
+ "excluded_games",
+ 1,
+ PROTOBUF_C_LABEL_REPEATED,
+ PROTOBUF_C_TYPE_MESSAGE,
+ offsetof(CDeviceAuthGetExcludedGamesInLibraryResponse, n_excluded_games),
+ offsetof(CDeviceAuthGetExcludedGamesInLibraryResponse, excluded_games),
+ &cdevice_auth__get_excluded_games_in_library__response__excluded_game__descriptor,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned cdevice_auth__get_excluded_games_in_library__response__field_indices_by_name[] = {
+ 0, /* field[0] = excluded_games */
+};
+static const ProtobufCIntRange cdevice_auth__get_excluded_games_in_library__response__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 1 }
+};
+const ProtobufCMessageDescriptor cdevice_auth__get_excluded_games_in_library__response__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "CDeviceAuth_GetExcludedGamesInLibrary_Response",
+ "CDeviceAuthGetExcludedGamesInLibraryResponse",
+ "CDeviceAuthGetExcludedGamesInLibraryResponse",
+ "",
+ sizeof(CDeviceAuthGetExcludedGamesInLibraryResponse),
+ 1,
+ cdevice_auth__get_excluded_games_in_library__response__field_descriptors,
+ cdevice_auth__get_excluded_games_in_library__response__field_indices_by_name,
+ 1, cdevice_auth__get_excluded_games_in_library__response__number_ranges,
+ NULL,NULL,NULL,NULL /* reserved[123] */
+};
+static const ProtobufCFieldDescriptor cdevice_auth__get_borrower_play_history__request__field_descriptors[2] =
+{
+ {
+ "steamid",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_FIXED64,
+ offsetof(CDeviceAuthGetBorrowerPlayHistoryRequest, has_steamid),
+ offsetof(CDeviceAuthGetBorrowerPlayHistoryRequest, steamid),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "appid",
+ 2,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(CDeviceAuthGetBorrowerPlayHistoryRequest, has_appid),
+ offsetof(CDeviceAuthGetBorrowerPlayHistoryRequest, appid),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned cdevice_auth__get_borrower_play_history__request__field_indices_by_name[] = {
+ 1, /* field[1] = appid */
+ 0, /* field[0] = steamid */
+};
+static const ProtobufCIntRange cdevice_auth__get_borrower_play_history__request__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 2 }
+};
+const ProtobufCMessageDescriptor cdevice_auth__get_borrower_play_history__request__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "CDeviceAuth_GetBorrowerPlayHistory_Request",
+ "CDeviceAuthGetBorrowerPlayHistoryRequest",
+ "CDeviceAuthGetBorrowerPlayHistoryRequest",
+ "",
+ sizeof(CDeviceAuthGetBorrowerPlayHistoryRequest),
+ 2,
+ cdevice_auth__get_borrower_play_history__request__field_descriptors,
+ cdevice_auth__get_borrower_play_history__request__field_indices_by_name,
+ 1, cdevice_auth__get_borrower_play_history__request__number_ranges,
+ NULL,NULL,NULL,NULL /* reserved[123] */
+};
+static const ProtobufCFieldDescriptor cdevice_auth__get_borrower_play_history__response__game_history__field_descriptors[3] =
+{
+ {
+ "appid",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(CDeviceAuthGetBorrowerPlayHistoryResponse__GameHistory, has_appid),
+ offsetof(CDeviceAuthGetBorrowerPlayHistoryResponse__GameHistory, appid),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "time_last",
+ 2,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(CDeviceAuthGetBorrowerPlayHistoryResponse__GameHistory, has_time_last),
+ offsetof(CDeviceAuthGetBorrowerPlayHistoryResponse__GameHistory, time_last),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "time_total",
+ 3,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(CDeviceAuthGetBorrowerPlayHistoryResponse__GameHistory, has_time_total),
+ offsetof(CDeviceAuthGetBorrowerPlayHistoryResponse__GameHistory, time_total),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned cdevice_auth__get_borrower_play_history__response__game_history__field_indices_by_name[] = {
+ 0, /* field[0] = appid */
+ 1, /* field[1] = time_last */
+ 2, /* field[2] = time_total */
+};
+static const ProtobufCIntRange cdevice_auth__get_borrower_play_history__response__game_history__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 3 }
+};
+const ProtobufCMessageDescriptor cdevice_auth__get_borrower_play_history__response__game_history__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "CDeviceAuth_GetBorrowerPlayHistory_Response.GameHistory",
+ "GameHistory",
+ "CDeviceAuthGetBorrowerPlayHistoryResponse__GameHistory",
+ "",
+ sizeof(CDeviceAuthGetBorrowerPlayHistoryResponse__GameHistory),
+ 3,
+ cdevice_auth__get_borrower_play_history__response__game_history__field_descriptors,
+ cdevice_auth__get_borrower_play_history__response__game_history__field_indices_by_name,
+ 1, cdevice_auth__get_borrower_play_history__response__game_history__number_ranges,
+ NULL,NULL,NULL,NULL /* reserved[123] */
+};
+static const ProtobufCFieldDescriptor cdevice_auth__get_borrower_play_history__response__lender_history__field_descriptors[2] =
+{
+ {
+ "steamid",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_FIXED64,
+ offsetof(CDeviceAuthGetBorrowerPlayHistoryResponse__LenderHistory, has_steamid),
+ offsetof(CDeviceAuthGetBorrowerPlayHistoryResponse__LenderHistory, steamid),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "game_history",
+ 2,
+ PROTOBUF_C_LABEL_REPEATED,
+ PROTOBUF_C_TYPE_MESSAGE,
+ offsetof(CDeviceAuthGetBorrowerPlayHistoryResponse__LenderHistory, n_game_history),
+ offsetof(CDeviceAuthGetBorrowerPlayHistoryResponse__LenderHistory, game_history),
+ &cdevice_auth__get_borrower_play_history__response__game_history__descriptor,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned cdevice_auth__get_borrower_play_history__response__lender_history__field_indices_by_name[] = {
+ 1, /* field[1] = game_history */
+ 0, /* field[0] = steamid */
+};
+static const ProtobufCIntRange cdevice_auth__get_borrower_play_history__response__lender_history__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 2 }
+};
+const ProtobufCMessageDescriptor cdevice_auth__get_borrower_play_history__response__lender_history__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "CDeviceAuth_GetBorrowerPlayHistory_Response.LenderHistory",
+ "LenderHistory",
+ "CDeviceAuthGetBorrowerPlayHistoryResponse__LenderHistory",
+ "",
+ sizeof(CDeviceAuthGetBorrowerPlayHistoryResponse__LenderHistory),
+ 2,
+ cdevice_auth__get_borrower_play_history__response__lender_history__field_descriptors,
+ cdevice_auth__get_borrower_play_history__response__lender_history__field_indices_by_name,
+ 1, cdevice_auth__get_borrower_play_history__response__lender_history__number_ranges,
+ NULL,NULL,NULL,NULL /* reserved[123] */
+};
+static const ProtobufCFieldDescriptor cdevice_auth__get_borrower_play_history__response__field_descriptors[1] =
+{
+ {
+ "lender_history",
+ 1,
+ PROTOBUF_C_LABEL_REPEATED,
+ PROTOBUF_C_TYPE_MESSAGE,
+ offsetof(CDeviceAuthGetBorrowerPlayHistoryResponse, n_lender_history),
+ offsetof(CDeviceAuthGetBorrowerPlayHistoryResponse, lender_history),
+ &cdevice_auth__get_borrower_play_history__response__lender_history__descriptor,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned cdevice_auth__get_borrower_play_history__response__field_indices_by_name[] = {
+ 0, /* field[0] = lender_history */
+};
+static const ProtobufCIntRange cdevice_auth__get_borrower_play_history__response__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 1 }
+};
+const ProtobufCMessageDescriptor cdevice_auth__get_borrower_play_history__response__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "CDeviceAuth_GetBorrowerPlayHistory_Response",
+ "CDeviceAuthGetBorrowerPlayHistoryResponse",
+ "CDeviceAuthGetBorrowerPlayHistoryResponse",
+ "",
+ sizeof(CDeviceAuthGetBorrowerPlayHistoryResponse),
+ 1,
+ cdevice_auth__get_borrower_play_history__response__field_descriptors,
+ cdevice_auth__get_borrower_play_history__response__field_indices_by_name,
+ 1, cdevice_auth__get_borrower_play_history__response__number_ranges,
+ NULL,NULL,NULL,NULL /* reserved[123] */
+};
+static const ProtobufCMethodDescriptor device_auth__method_descriptors[11] =
+{
+ { "GetOwnAuthorizedDevices", &cdevice_auth__get_own_authorized_devices__request__descriptor, &cdevice_auth__get_own_authorized_devices__response__descriptor },
+ { "AcceptAuthorizationRequest", &cdevice_auth__accept_authorization_request__request__descriptor, &cdevice_auth__accept_authorization_request__response__descriptor },
+ { "AuthorizeRemoteDevice", &cdevice_auth__authorize_remote_device__request__descriptor, &cdevice_auth__authorize_remote_device__response__descriptor },
+ { "DeauthorizeRemoteDevice", &cdevice_auth__deauthorize_remote_device__request__descriptor, &cdevice_auth__deauthorize_remote_device__response__descriptor },
+ { "GetUsedAuthorizedDevices", &cdevice_auth__get_used_authorized_devices__request__descriptor, &cdevice_auth__get_used_authorized_devices__response__descriptor },
+ { "GetAuthorizedBorrowers", &cdevice_auth__get_authorized_borrowers__request__descriptor, &cdevice_auth__get_authorized_borrowers__response__descriptor },
+ { "AddAuthorizedBorrowers", &cdevice_auth__add_authorized_borrowers__request__descriptor, &cdevice_auth__add_authorized_borrowers__response__descriptor },
+ { "RemoveAuthorizedBorrowers", &cdevice_auth__remove_authorized_borrowers__request__descriptor, &cdevice_auth__remove_authorized_borrowers__response__descriptor },
+ { "GetAuthorizedAsBorrower", &cdevice_auth__get_authorized_as_borrower__request__descriptor, &cdevice_auth__get_authorized_as_borrower__response__descriptor },
+ { "GetExcludedGamesInLibrary", &cdevice_auth__get_excluded_games_in_library__request__descriptor, &cdevice_auth__get_excluded_games_in_library__response__descriptor },
+ { "GetBorrowerPlayHistory", &cdevice_auth__get_borrower_play_history__request__descriptor, &cdevice_auth__get_borrower_play_history__response__descriptor },
+};
+const unsigned device_auth__method_indices_by_name[] = {
+ 1, /* AcceptAuthorizationRequest */
+ 6, /* AddAuthorizedBorrowers */
+ 2, /* AuthorizeRemoteDevice */
+ 3, /* DeauthorizeRemoteDevice */
+ 8, /* GetAuthorizedAsBorrower */
+ 5, /* GetAuthorizedBorrowers */
+ 10, /* GetBorrowerPlayHistory */
+ 9, /* GetExcludedGamesInLibrary */
+ 0, /* GetOwnAuthorizedDevices */
+ 4, /* GetUsedAuthorizedDevices */
+ 7 /* RemoveAuthorizedBorrowers */
+};
+const ProtobufCServiceDescriptor device_auth__descriptor =
+{
+ PROTOBUF_C__SERVICE_DESCRIPTOR_MAGIC,
+ "DeviceAuth",
+ "DeviceAuth",
+ "DeviceAuth",
+ "",
+ 11,
+ device_auth__method_descriptors,
+ device_auth__method_indices_by_name
+};
+void device_auth__get_own_authorized_devices(ProtobufCService *service,
+ const CDeviceAuthGetOwnAuthorizedDevicesRequest *input,
+ CDeviceAuthGetOwnAuthorizedDevicesResponse_Closure closure,
+ void *closure_data)
+{
+ assert(service->descriptor == &device_auth__descriptor);
+ service->invoke(service, 0, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
+}
+void device_auth__accept_authorization_request(ProtobufCService *service,
+ const CDeviceAuthAcceptAuthorizationRequestRequest *input,
+ CDeviceAuthAcceptAuthorizationRequestResponse_Closure closure,
+ void *closure_data)
+{
+ assert(service->descriptor == &device_auth__descriptor);
+ service->invoke(service, 1, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
+}
+void device_auth__authorize_remote_device(ProtobufCService *service,
+ const CDeviceAuthAuthorizeRemoteDeviceRequest *input,
+ CDeviceAuthAuthorizeRemoteDeviceResponse_Closure closure,
+ void *closure_data)
+{
+ assert(service->descriptor == &device_auth__descriptor);
+ service->invoke(service, 2, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
+}
+void device_auth__deauthorize_remote_device(ProtobufCService *service,
+ const CDeviceAuthDeauthorizeRemoteDeviceRequest *input,
+ CDeviceAuthDeauthorizeRemoteDeviceResponse_Closure closure,
+ void *closure_data)
+{
+ assert(service->descriptor == &device_auth__descriptor);
+ service->invoke(service, 3, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
+}
+void device_auth__get_used_authorized_devices(ProtobufCService *service,
+ const CDeviceAuthGetUsedAuthorizedDevicesRequest *input,
+ CDeviceAuthGetUsedAuthorizedDevicesResponse_Closure closure,
+ void *closure_data)
+{
+ assert(service->descriptor == &device_auth__descriptor);
+ service->invoke(service, 4, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
+}
+void device_auth__get_authorized_borrowers(ProtobufCService *service,
+ const CDeviceAuthGetAuthorizedBorrowersRequest *input,
+ CDeviceAuthGetAuthorizedBorrowersResponse_Closure closure,
+ void *closure_data)
+{
+ assert(service->descriptor == &device_auth__descriptor);
+ service->invoke(service, 5, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
+}
+void device_auth__add_authorized_borrowers(ProtobufCService *service,
+ const CDeviceAuthAddAuthorizedBorrowersRequest *input,
+ CDeviceAuthAddAuthorizedBorrowersResponse_Closure closure,
+ void *closure_data)
+{
+ assert(service->descriptor == &device_auth__descriptor);
+ service->invoke(service, 6, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
+}
+void device_auth__remove_authorized_borrowers(ProtobufCService *service,
+ const CDeviceAuthRemoveAuthorizedBorrowersRequest *input,
+ CDeviceAuthRemoveAuthorizedBorrowersResponse_Closure closure,
+ void *closure_data)
+{
+ assert(service->descriptor == &device_auth__descriptor);
+ service->invoke(service, 7, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
+}
+void device_auth__get_authorized_as_borrower(ProtobufCService *service,
+ const CDeviceAuthGetAuthorizedAsBorrowerRequest *input,
+ CDeviceAuthGetAuthorizedAsBorrowerResponse_Closure closure,
+ void *closure_data)
+{
+ assert(service->descriptor == &device_auth__descriptor);
+ service->invoke(service, 8, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
+}
+void device_auth__get_excluded_games_in_library(ProtobufCService *service,
+ const CDeviceAuthGetExcludedGamesInLibraryRequest *input,
+ CDeviceAuthGetExcludedGamesInLibraryResponse_Closure closure,
+ void *closure_data)
+{
+ assert(service->descriptor == &device_auth__descriptor);
+ service->invoke(service, 9, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
+}
+void device_auth__get_borrower_play_history(ProtobufCService *service,
+ const CDeviceAuthGetBorrowerPlayHistoryRequest *input,
+ CDeviceAuthGetBorrowerPlayHistoryResponse_Closure closure,
+ void *closure_data)
+{
+ assert(service->descriptor == &device_auth__descriptor);
+ service->invoke(service, 10, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
+}
+void device_auth__init (DeviceAuth_Service *service,
+ DeviceAuth_ServiceDestroy destroy)
+{
+ protobuf_c_service_generated_init (&service->base,
+ &device_auth__descriptor,
+ (ProtobufCServiceDestroy) destroy);
+}
diff --git a/protocols/Steam/src/protobuf-c/steammessages_deviceauth.steamclient.pb-c.h b/protocols/Steam/src/protobuf-c/steammessages_deviceauth.steamclient.pb-c.h
new file mode 100644
index 0000000000..c8b6a8d8a7
--- /dev/null
+++ b/protocols/Steam/src/protobuf-c/steammessages_deviceauth.steamclient.pb-c.h
@@ -0,0 +1,1015 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: steammessages_deviceauth.steamclient.proto */
+
+#ifndef PROTOBUF_C_steammessages_5fdeviceauth_2esteamclient_2eproto__INCLUDED
+#define PROTOBUF_C_steammessages_5fdeviceauth_2esteamclient_2eproto__INCLUDED
+
+#include <protobuf-c/protobuf-c.h>
+
+PROTOBUF_C__BEGIN_DECLS
+
+#if PROTOBUF_C_VERSION_NUMBER < 1000000
+# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
+#elif 1004001 < PROTOBUF_C_MIN_COMPILER_VERSION
+# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
+#endif
+
+#include "steammessages_base.pb-c.h"
+#include "steammessages_unified_base.steamclient.pb-c.h"
+
+struct CDeviceAuthGetOwnAuthorizedDevicesRequest;
+struct CDeviceAuthGetOwnAuthorizedDevicesResponse;
+struct CDeviceAuthGetOwnAuthorizedDevicesResponse__Device;
+struct CDeviceAuthAcceptAuthorizationRequestRequest;
+struct CDeviceAuthAcceptAuthorizationRequestResponse;
+struct CDeviceAuthAuthorizeRemoteDeviceRequest;
+struct CDeviceAuthAuthorizeRemoteDeviceResponse;
+struct CDeviceAuthDeauthorizeRemoteDeviceRequest;
+struct CDeviceAuthDeauthorizeRemoteDeviceResponse;
+struct CDeviceAuthGetUsedAuthorizedDevicesRequest;
+struct CDeviceAuthGetUsedAuthorizedDevicesResponse;
+struct CDeviceAuthGetUsedAuthorizedDevicesResponse__Device;
+struct CDeviceAuthGetAuthorizedBorrowersRequest;
+struct CDeviceAuthGetAuthorizedBorrowersResponse;
+struct CDeviceAuthGetAuthorizedBorrowersResponse__Borrower;
+struct CDeviceAuthAddAuthorizedBorrowersRequest;
+struct CDeviceAuthAddAuthorizedBorrowersResponse;
+struct CDeviceAuthRemoveAuthorizedBorrowersRequest;
+struct CDeviceAuthRemoveAuthorizedBorrowersResponse;
+struct CDeviceAuthGetAuthorizedAsBorrowerRequest;
+struct CDeviceAuthGetAuthorizedAsBorrowerResponse;
+struct CDeviceAuthGetAuthorizedAsBorrowerResponse__Lender;
+struct CDeviceAuthGetExcludedGamesInLibraryRequest;
+struct CDeviceAuthGetExcludedGamesInLibraryResponse;
+struct CDeviceAuthGetExcludedGamesInLibraryResponse__ExcludedGame;
+struct CDeviceAuthGetBorrowerPlayHistoryRequest;
+struct CDeviceAuthGetBorrowerPlayHistoryResponse;
+struct CDeviceAuthGetBorrowerPlayHistoryResponse__GameHistory;
+struct CDeviceAuthGetBorrowerPlayHistoryResponse__LenderHistory;
+
+
+/* --- enums --- */
+
+
+/* --- descriptors --- */
+
+extern const ProtobufCMessageDescriptor cdevice_auth__get_own_authorized_devices__request__descriptor;
+extern const ProtobufCMessageDescriptor cdevice_auth__get_own_authorized_devices__response__descriptor;
+extern const ProtobufCMessageDescriptor cdevice_auth__get_own_authorized_devices__response__device__descriptor;
+extern const ProtobufCMessageDescriptor cdevice_auth__accept_authorization_request__request__descriptor;
+extern const ProtobufCMessageDescriptor cdevice_auth__accept_authorization_request__response__descriptor;
+extern const ProtobufCMessageDescriptor cdevice_auth__authorize_remote_device__request__descriptor;
+extern const ProtobufCMessageDescriptor cdevice_auth__authorize_remote_device__response__descriptor;
+extern const ProtobufCMessageDescriptor cdevice_auth__deauthorize_remote_device__request__descriptor;
+extern const ProtobufCMessageDescriptor cdevice_auth__deauthorize_remote_device__response__descriptor;
+extern const ProtobufCMessageDescriptor cdevice_auth__get_used_authorized_devices__request__descriptor;
+extern const ProtobufCMessageDescriptor cdevice_auth__get_used_authorized_devices__response__descriptor;
+extern const ProtobufCMessageDescriptor cdevice_auth__get_used_authorized_devices__response__device__descriptor;
+extern const ProtobufCMessageDescriptor cdevice_auth__get_authorized_borrowers__request__descriptor;
+extern const ProtobufCMessageDescriptor cdevice_auth__get_authorized_borrowers__response__descriptor;
+extern const ProtobufCMessageDescriptor cdevice_auth__get_authorized_borrowers__response__borrower__descriptor;
+extern const ProtobufCMessageDescriptor cdevice_auth__add_authorized_borrowers__request__descriptor;
+extern const ProtobufCMessageDescriptor cdevice_auth__add_authorized_borrowers__response__descriptor;
+extern const ProtobufCMessageDescriptor cdevice_auth__remove_authorized_borrowers__request__descriptor;
+extern const ProtobufCMessageDescriptor cdevice_auth__remove_authorized_borrowers__response__descriptor;
+extern const ProtobufCMessageDescriptor cdevice_auth__get_authorized_as_borrower__request__descriptor;
+extern const ProtobufCMessageDescriptor cdevice_auth__get_authorized_as_borrower__response__descriptor;
+extern const ProtobufCMessageDescriptor cdevice_auth__get_authorized_as_borrower__response__lender__descriptor;
+extern const ProtobufCMessageDescriptor cdevice_auth__get_excluded_games_in_library__request__descriptor;
+extern const ProtobufCMessageDescriptor cdevice_auth__get_excluded_games_in_library__response__descriptor;
+extern const ProtobufCMessageDescriptor cdevice_auth__get_excluded_games_in_library__response__excluded_game__descriptor;
+extern const ProtobufCMessageDescriptor cdevice_auth__get_borrower_play_history__request__descriptor;
+extern const ProtobufCMessageDescriptor cdevice_auth__get_borrower_play_history__response__descriptor;
+extern const ProtobufCMessageDescriptor cdevice_auth__get_borrower_play_history__response__game_history__descriptor;
+extern const ProtobufCMessageDescriptor cdevice_auth__get_borrower_play_history__response__lender_history__descriptor;
+extern const ProtobufCServiceDescriptor device_auth__descriptor;
+
+/* --- messages --- */
+
+extern "C" void message_init_generic(const ProtobufCMessageDescriptor * desc, ProtobufCMessage * message);
+
+struct ProtobufCppMessage : public ProtobufCMessage
+{
+ ProtobufCppMessage(const ProtobufCMessageDescriptor &descr)
+ {
+ message_init_generic(&descr, this);
+ }
+};
+
+struct CDeviceAuthGetOwnAuthorizedDevicesRequest : public ProtobufCppMessage
+{
+ CDeviceAuthGetOwnAuthorizedDevicesRequest() :
+ ProtobufCppMessage(cdevice_auth__get_own_authorized_devices__request__descriptor)
+ {}
+
+ protobuf_c_boolean has_steamid;
+ uint64_t steamid;
+ protobuf_c_boolean has_include_canceled;
+ protobuf_c_boolean include_canceled;
+};
+
+struct CDeviceAuthGetOwnAuthorizedDevicesResponse__Device : public ProtobufCppMessage
+{
+ CDeviceAuthGetOwnAuthorizedDevicesResponse__Device() :
+ ProtobufCppMessage(cdevice_auth__get_own_authorized_devices__response__device__descriptor)
+ {}
+
+ protobuf_c_boolean has_auth_device_token;
+ uint64_t auth_device_token;
+ char *device_name;
+ protobuf_c_boolean has_is_pending;
+ protobuf_c_boolean is_pending;
+ protobuf_c_boolean has_is_canceled;
+ protobuf_c_boolean is_canceled;
+ protobuf_c_boolean has_last_time_used;
+ uint32_t last_time_used;
+ protobuf_c_boolean has_last_borrower_id;
+ uint64_t last_borrower_id;
+ protobuf_c_boolean has_last_app_played;
+ uint32_t last_app_played;
+ protobuf_c_boolean has_is_limited;
+ protobuf_c_boolean is_limited;
+};
+
+struct CDeviceAuthGetOwnAuthorizedDevicesResponse : public ProtobufCppMessage
+{
+ CDeviceAuthGetOwnAuthorizedDevicesResponse() :
+ ProtobufCppMessage(cdevice_auth__get_own_authorized_devices__response__descriptor)
+ {}
+
+ size_t n_devices;
+ CDeviceAuthGetOwnAuthorizedDevicesResponse__Device **devices;
+};
+
+struct CDeviceAuthAcceptAuthorizationRequestRequest : public ProtobufCppMessage
+{
+ CDeviceAuthAcceptAuthorizationRequestRequest() :
+ ProtobufCppMessage(cdevice_auth__accept_authorization_request__request__descriptor)
+ {}
+
+ protobuf_c_boolean has_steamid;
+ uint64_t steamid;
+ protobuf_c_boolean has_auth_device_token;
+ uint64_t auth_device_token;
+ protobuf_c_boolean has_auth_code;
+ uint64_t auth_code;
+ protobuf_c_boolean has_from_steamid;
+ uint64_t from_steamid;
+};
+
+struct CDeviceAuthAcceptAuthorizationRequestResponse : public ProtobufCppMessage
+{
+ CDeviceAuthAcceptAuthorizationRequestResponse() :
+ ProtobufCppMessage(cdevice_auth__accept_authorization_request__response__descriptor)
+ {}
+
+};
+
+struct CDeviceAuthAuthorizeRemoteDeviceRequest : public ProtobufCppMessage
+{
+ CDeviceAuthAuthorizeRemoteDeviceRequest() :
+ ProtobufCppMessage(cdevice_auth__authorize_remote_device__request__descriptor)
+ {}
+
+ protobuf_c_boolean has_steamid;
+ uint64_t steamid;
+ protobuf_c_boolean has_auth_device_token;
+ uint64_t auth_device_token;
+};
+
+struct CDeviceAuthAuthorizeRemoteDeviceResponse : public ProtobufCppMessage
+{
+ CDeviceAuthAuthorizeRemoteDeviceResponse() :
+ ProtobufCppMessage(cdevice_auth__authorize_remote_device__response__descriptor)
+ {}
+
+};
+
+struct CDeviceAuthDeauthorizeRemoteDeviceRequest : public ProtobufCppMessage
+{
+ CDeviceAuthDeauthorizeRemoteDeviceRequest() :
+ ProtobufCppMessage(cdevice_auth__deauthorize_remote_device__request__descriptor)
+ {}
+
+ protobuf_c_boolean has_steamid;
+ uint64_t steamid;
+ protobuf_c_boolean has_auth_device_token;
+ uint64_t auth_device_token;
+};
+
+struct CDeviceAuthDeauthorizeRemoteDeviceResponse : public ProtobufCppMessage
+{
+ CDeviceAuthDeauthorizeRemoteDeviceResponse() :
+ ProtobufCppMessage(cdevice_auth__deauthorize_remote_device__response__descriptor)
+ {}
+
+};
+
+struct CDeviceAuthGetUsedAuthorizedDevicesRequest : public ProtobufCppMessage
+{
+ CDeviceAuthGetUsedAuthorizedDevicesRequest() :
+ ProtobufCppMessage(cdevice_auth__get_used_authorized_devices__request__descriptor)
+ {}
+
+ protobuf_c_boolean has_steamid;
+ uint64_t steamid;
+};
+
+struct CDeviceAuthGetUsedAuthorizedDevicesResponse__Device : public ProtobufCppMessage
+{
+ CDeviceAuthGetUsedAuthorizedDevicesResponse__Device() :
+ ProtobufCppMessage(cdevice_auth__get_used_authorized_devices__response__device__descriptor)
+ {}
+
+ protobuf_c_boolean has_auth_device_token;
+ uint64_t auth_device_token;
+ char *device_name;
+ protobuf_c_boolean has_owner_steamid;
+ uint64_t owner_steamid;
+ protobuf_c_boolean has_last_time_used;
+ uint32_t last_time_used;
+ protobuf_c_boolean has_last_app_played;
+ uint32_t last_app_played;
+};
+
+struct CDeviceAuthGetUsedAuthorizedDevicesResponse : public ProtobufCppMessage
+{
+ CDeviceAuthGetUsedAuthorizedDevicesResponse() :
+ ProtobufCppMessage(cdevice_auth__get_used_authorized_devices__response__descriptor)
+ {}
+
+ size_t n_devices;
+ CDeviceAuthGetUsedAuthorizedDevicesResponse__Device **devices;
+};
+
+struct CDeviceAuthGetAuthorizedBorrowersRequest : public ProtobufCppMessage
+{
+ CDeviceAuthGetAuthorizedBorrowersRequest() :
+ ProtobufCppMessage(cdevice_auth__get_authorized_borrowers__request__descriptor)
+ {}
+
+ protobuf_c_boolean has_steamid;
+ uint64_t steamid;
+ protobuf_c_boolean has_include_canceled;
+ protobuf_c_boolean include_canceled;
+ protobuf_c_boolean has_include_pending;
+ protobuf_c_boolean include_pending;
+};
+
+struct CDeviceAuthGetAuthorizedBorrowersResponse__Borrower : public ProtobufCppMessage
+{
+ CDeviceAuthGetAuthorizedBorrowersResponse__Borrower() :
+ ProtobufCppMessage(cdevice_auth__get_authorized_borrowers__response__borrower__descriptor)
+ {}
+
+ protobuf_c_boolean has_steamid;
+ uint64_t steamid;
+ protobuf_c_boolean has_is_pending;
+ protobuf_c_boolean is_pending;
+ protobuf_c_boolean has_is_canceled;
+ protobuf_c_boolean is_canceled;
+ protobuf_c_boolean has_time_created;
+ uint32_t time_created;
+};
+
+struct CDeviceAuthGetAuthorizedBorrowersResponse : public ProtobufCppMessage
+{
+ CDeviceAuthGetAuthorizedBorrowersResponse() :
+ ProtobufCppMessage(cdevice_auth__get_authorized_borrowers__response__descriptor)
+ {}
+
+ size_t n_borrowers;
+ CDeviceAuthGetAuthorizedBorrowersResponse__Borrower **borrowers;
+};
+
+struct CDeviceAuthAddAuthorizedBorrowersRequest : public ProtobufCppMessage
+{
+ CDeviceAuthAddAuthorizedBorrowersRequest() :
+ ProtobufCppMessage(cdevice_auth__add_authorized_borrowers__request__descriptor)
+ {}
+
+ protobuf_c_boolean has_steamid;
+ uint64_t steamid;
+ size_t n_steamid_borrower;
+ uint64_t *steamid_borrower;
+};
+
+struct CDeviceAuthAddAuthorizedBorrowersResponse : public ProtobufCppMessage
+{
+ CDeviceAuthAddAuthorizedBorrowersResponse() :
+ ProtobufCppMessage(cdevice_auth__add_authorized_borrowers__response__descriptor)
+ {}
+
+ protobuf_c_boolean has_seconds_to_wait;
+ int32_t seconds_to_wait;
+};
+
+struct CDeviceAuthRemoveAuthorizedBorrowersRequest : public ProtobufCppMessage
+{
+ CDeviceAuthRemoveAuthorizedBorrowersRequest() :
+ ProtobufCppMessage(cdevice_auth__remove_authorized_borrowers__request__descriptor)
+ {}
+
+ protobuf_c_boolean has_steamid;
+ uint64_t steamid;
+ size_t n_steamid_borrower;
+ uint64_t *steamid_borrower;
+};
+
+struct CDeviceAuthRemoveAuthorizedBorrowersResponse : public ProtobufCppMessage
+{
+ CDeviceAuthRemoveAuthorizedBorrowersResponse() :
+ ProtobufCppMessage(cdevice_auth__remove_authorized_borrowers__response__descriptor)
+ {}
+
+};
+
+struct CDeviceAuthGetAuthorizedAsBorrowerRequest : public ProtobufCppMessage
+{
+ CDeviceAuthGetAuthorizedAsBorrowerRequest() :
+ ProtobufCppMessage(cdevice_auth__get_authorized_as_borrower__request__descriptor)
+ {}
+
+ protobuf_c_boolean has_steamid;
+ uint64_t steamid;
+ protobuf_c_boolean has_include_canceled;
+ protobuf_c_boolean include_canceled;
+ protobuf_c_boolean has_include_pending;
+ protobuf_c_boolean include_pending;
+};
+
+struct CDeviceAuthGetAuthorizedAsBorrowerResponse__Lender : public ProtobufCppMessage
+{
+ CDeviceAuthGetAuthorizedAsBorrowerResponse__Lender() :
+ ProtobufCppMessage(cdevice_auth__get_authorized_as_borrower__response__lender__descriptor)
+ {}
+
+ protobuf_c_boolean has_steamid;
+ uint64_t steamid;
+ protobuf_c_boolean has_time_created;
+ uint32_t time_created;
+ protobuf_c_boolean has_is_pending;
+ protobuf_c_boolean is_pending;
+ protobuf_c_boolean has_is_canceled;
+ protobuf_c_boolean is_canceled;
+ protobuf_c_boolean has_is_used;
+ protobuf_c_boolean is_used;
+ protobuf_c_boolean has_time_removed;
+ uint32_t time_removed;
+ protobuf_c_boolean has_time_first;
+ uint32_t time_first;
+};
+
+struct CDeviceAuthGetAuthorizedAsBorrowerResponse : public ProtobufCppMessage
+{
+ CDeviceAuthGetAuthorizedAsBorrowerResponse() :
+ ProtobufCppMessage(cdevice_auth__get_authorized_as_borrower__response__descriptor)
+ {}
+
+ size_t n_lenders;
+ CDeviceAuthGetAuthorizedAsBorrowerResponse__Lender **lenders;
+};
+
+struct CDeviceAuthGetExcludedGamesInLibraryRequest : public ProtobufCppMessage
+{
+ CDeviceAuthGetExcludedGamesInLibraryRequest() :
+ ProtobufCppMessage(cdevice_auth__get_excluded_games_in_library__request__descriptor)
+ {}
+
+ protobuf_c_boolean has_steamid;
+ uint64_t steamid;
+};
+
+struct CDeviceAuthGetExcludedGamesInLibraryResponse__ExcludedGame : public ProtobufCppMessage
+{
+ CDeviceAuthGetExcludedGamesInLibraryResponse__ExcludedGame() :
+ ProtobufCppMessage(cdevice_auth__get_excluded_games_in_library__response__excluded_game__descriptor)
+ {}
+
+ protobuf_c_boolean has_appid;
+ uint32_t appid;
+ char *game_name;
+ protobuf_c_boolean has_vac_banned;
+ protobuf_c_boolean vac_banned;
+ protobuf_c_boolean has_package_excluded;
+ protobuf_c_boolean package_excluded;
+};
+
+struct CDeviceAuthGetExcludedGamesInLibraryResponse : public ProtobufCppMessage
+{
+ CDeviceAuthGetExcludedGamesInLibraryResponse() :
+ ProtobufCppMessage(cdevice_auth__get_excluded_games_in_library__response__descriptor)
+ {}
+
+ size_t n_excluded_games;
+ CDeviceAuthGetExcludedGamesInLibraryResponse__ExcludedGame **excluded_games;
+};
+
+struct CDeviceAuthGetBorrowerPlayHistoryRequest : public ProtobufCppMessage
+{
+ CDeviceAuthGetBorrowerPlayHistoryRequest() :
+ ProtobufCppMessage(cdevice_auth__get_borrower_play_history__request__descriptor)
+ {}
+
+ protobuf_c_boolean has_steamid;
+ uint64_t steamid;
+ protobuf_c_boolean has_appid;
+ uint32_t appid;
+};
+
+struct CDeviceAuthGetBorrowerPlayHistoryResponse__GameHistory : public ProtobufCppMessage
+{
+ CDeviceAuthGetBorrowerPlayHistoryResponse__GameHistory() :
+ ProtobufCppMessage(cdevice_auth__get_borrower_play_history__response__game_history__descriptor)
+ {}
+
+ protobuf_c_boolean has_appid;
+ uint32_t appid;
+ protobuf_c_boolean has_time_last;
+ uint32_t time_last;
+ protobuf_c_boolean has_time_total;
+ uint32_t time_total;
+};
+
+struct CDeviceAuthGetBorrowerPlayHistoryResponse__LenderHistory : public ProtobufCppMessage
+{
+ CDeviceAuthGetBorrowerPlayHistoryResponse__LenderHistory() :
+ ProtobufCppMessage(cdevice_auth__get_borrower_play_history__response__lender_history__descriptor)
+ {}
+
+ protobuf_c_boolean has_steamid;
+ uint64_t steamid;
+ size_t n_game_history;
+ CDeviceAuthGetBorrowerPlayHistoryResponse__GameHistory **game_history;
+};
+
+struct CDeviceAuthGetBorrowerPlayHistoryResponse : public ProtobufCppMessage
+{
+ CDeviceAuthGetBorrowerPlayHistoryResponse() :
+ ProtobufCppMessage(cdevice_auth__get_borrower_play_history__response__descriptor)
+ {}
+
+ size_t n_lender_history;
+ CDeviceAuthGetBorrowerPlayHistoryResponse__LenderHistory **lender_history;
+};
+
+size_t cdevice_auth__get_own_authorized_devices__request__get_packed_size
+ (const CDeviceAuthGetOwnAuthorizedDevicesRequest *message);
+size_t cdevice_auth__get_own_authorized_devices__request__pack
+ (const CDeviceAuthGetOwnAuthorizedDevicesRequest *message,
+ uint8_t *out);
+size_t cdevice_auth__get_own_authorized_devices__request__pack_to_buffer
+ (const CDeviceAuthGetOwnAuthorizedDevicesRequest *message,
+ ProtobufCBuffer *buffer);
+CDeviceAuthGetOwnAuthorizedDevicesRequest *
+ cdevice_auth__get_own_authorized_devices__request__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void cdevice_auth__get_own_authorized_devices__request__free_unpacked
+ (CDeviceAuthGetOwnAuthorizedDevicesRequest *message,
+ ProtobufCAllocator *allocator);
+size_t cdevice_auth__get_own_authorized_devices__response__get_packed_size
+ (const CDeviceAuthGetOwnAuthorizedDevicesResponse *message);
+size_t cdevice_auth__get_own_authorized_devices__response__pack
+ (const CDeviceAuthGetOwnAuthorizedDevicesResponse *message,
+ uint8_t *out);
+size_t cdevice_auth__get_own_authorized_devices__response__pack_to_buffer
+ (const CDeviceAuthGetOwnAuthorizedDevicesResponse *message,
+ ProtobufCBuffer *buffer);
+CDeviceAuthGetOwnAuthorizedDevicesResponse *
+ cdevice_auth__get_own_authorized_devices__response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void cdevice_auth__get_own_authorized_devices__response__free_unpacked
+ (CDeviceAuthGetOwnAuthorizedDevicesResponse *message,
+ ProtobufCAllocator *allocator);
+size_t cdevice_auth__accept_authorization_request__request__get_packed_size
+ (const CDeviceAuthAcceptAuthorizationRequestRequest *message);
+size_t cdevice_auth__accept_authorization_request__request__pack
+ (const CDeviceAuthAcceptAuthorizationRequestRequest *message,
+ uint8_t *out);
+size_t cdevice_auth__accept_authorization_request__request__pack_to_buffer
+ (const CDeviceAuthAcceptAuthorizationRequestRequest *message,
+ ProtobufCBuffer *buffer);
+CDeviceAuthAcceptAuthorizationRequestRequest *
+ cdevice_auth__accept_authorization_request__request__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void cdevice_auth__accept_authorization_request__request__free_unpacked
+ (CDeviceAuthAcceptAuthorizationRequestRequest *message,
+ ProtobufCAllocator *allocator);
+size_t cdevice_auth__accept_authorization_request__response__get_packed_size
+ (const CDeviceAuthAcceptAuthorizationRequestResponse *message);
+size_t cdevice_auth__accept_authorization_request__response__pack
+ (const CDeviceAuthAcceptAuthorizationRequestResponse *message,
+ uint8_t *out);
+size_t cdevice_auth__accept_authorization_request__response__pack_to_buffer
+ (const CDeviceAuthAcceptAuthorizationRequestResponse *message,
+ ProtobufCBuffer *buffer);
+CDeviceAuthAcceptAuthorizationRequestResponse *
+ cdevice_auth__accept_authorization_request__response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void cdevice_auth__accept_authorization_request__response__free_unpacked
+ (CDeviceAuthAcceptAuthorizationRequestResponse *message,
+ ProtobufCAllocator *allocator);
+size_t cdevice_auth__authorize_remote_device__request__get_packed_size
+ (const CDeviceAuthAuthorizeRemoteDeviceRequest *message);
+size_t cdevice_auth__authorize_remote_device__request__pack
+ (const CDeviceAuthAuthorizeRemoteDeviceRequest *message,
+ uint8_t *out);
+size_t cdevice_auth__authorize_remote_device__request__pack_to_buffer
+ (const CDeviceAuthAuthorizeRemoteDeviceRequest *message,
+ ProtobufCBuffer *buffer);
+CDeviceAuthAuthorizeRemoteDeviceRequest *
+ cdevice_auth__authorize_remote_device__request__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void cdevice_auth__authorize_remote_device__request__free_unpacked
+ (CDeviceAuthAuthorizeRemoteDeviceRequest *message,
+ ProtobufCAllocator *allocator);
+size_t cdevice_auth__authorize_remote_device__response__get_packed_size
+ (const CDeviceAuthAuthorizeRemoteDeviceResponse *message);
+size_t cdevice_auth__authorize_remote_device__response__pack
+ (const CDeviceAuthAuthorizeRemoteDeviceResponse *message,
+ uint8_t *out);
+size_t cdevice_auth__authorize_remote_device__response__pack_to_buffer
+ (const CDeviceAuthAuthorizeRemoteDeviceResponse *message,
+ ProtobufCBuffer *buffer);
+CDeviceAuthAuthorizeRemoteDeviceResponse *
+ cdevice_auth__authorize_remote_device__response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void cdevice_auth__authorize_remote_device__response__free_unpacked
+ (CDeviceAuthAuthorizeRemoteDeviceResponse *message,
+ ProtobufCAllocator *allocator);
+size_t cdevice_auth__deauthorize_remote_device__request__get_packed_size
+ (const CDeviceAuthDeauthorizeRemoteDeviceRequest *message);
+size_t cdevice_auth__deauthorize_remote_device__request__pack
+ (const CDeviceAuthDeauthorizeRemoteDeviceRequest *message,
+ uint8_t *out);
+size_t cdevice_auth__deauthorize_remote_device__request__pack_to_buffer
+ (const CDeviceAuthDeauthorizeRemoteDeviceRequest *message,
+ ProtobufCBuffer *buffer);
+CDeviceAuthDeauthorizeRemoteDeviceRequest *
+ cdevice_auth__deauthorize_remote_device__request__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void cdevice_auth__deauthorize_remote_device__request__free_unpacked
+ (CDeviceAuthDeauthorizeRemoteDeviceRequest *message,
+ ProtobufCAllocator *allocator);
+size_t cdevice_auth__deauthorize_remote_device__response__get_packed_size
+ (const CDeviceAuthDeauthorizeRemoteDeviceResponse *message);
+size_t cdevice_auth__deauthorize_remote_device__response__pack
+ (const CDeviceAuthDeauthorizeRemoteDeviceResponse *message,
+ uint8_t *out);
+size_t cdevice_auth__deauthorize_remote_device__response__pack_to_buffer
+ (const CDeviceAuthDeauthorizeRemoteDeviceResponse *message,
+ ProtobufCBuffer *buffer);
+CDeviceAuthDeauthorizeRemoteDeviceResponse *
+ cdevice_auth__deauthorize_remote_device__response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void cdevice_auth__deauthorize_remote_device__response__free_unpacked
+ (CDeviceAuthDeauthorizeRemoteDeviceResponse *message,
+ ProtobufCAllocator *allocator);
+size_t cdevice_auth__get_used_authorized_devices__request__get_packed_size
+ (const CDeviceAuthGetUsedAuthorizedDevicesRequest *message);
+size_t cdevice_auth__get_used_authorized_devices__request__pack
+ (const CDeviceAuthGetUsedAuthorizedDevicesRequest *message,
+ uint8_t *out);
+size_t cdevice_auth__get_used_authorized_devices__request__pack_to_buffer
+ (const CDeviceAuthGetUsedAuthorizedDevicesRequest *message,
+ ProtobufCBuffer *buffer);
+CDeviceAuthGetUsedAuthorizedDevicesRequest *
+ cdevice_auth__get_used_authorized_devices__request__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void cdevice_auth__get_used_authorized_devices__request__free_unpacked
+ (CDeviceAuthGetUsedAuthorizedDevicesRequest *message,
+ ProtobufCAllocator *allocator);
+size_t cdevice_auth__get_used_authorized_devices__response__get_packed_size
+ (const CDeviceAuthGetUsedAuthorizedDevicesResponse *message);
+size_t cdevice_auth__get_used_authorized_devices__response__pack
+ (const CDeviceAuthGetUsedAuthorizedDevicesResponse *message,
+ uint8_t *out);
+size_t cdevice_auth__get_used_authorized_devices__response__pack_to_buffer
+ (const CDeviceAuthGetUsedAuthorizedDevicesResponse *message,
+ ProtobufCBuffer *buffer);
+CDeviceAuthGetUsedAuthorizedDevicesResponse *
+ cdevice_auth__get_used_authorized_devices__response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void cdevice_auth__get_used_authorized_devices__response__free_unpacked
+ (CDeviceAuthGetUsedAuthorizedDevicesResponse *message,
+ ProtobufCAllocator *allocator);
+size_t cdevice_auth__get_authorized_borrowers__request__get_packed_size
+ (const CDeviceAuthGetAuthorizedBorrowersRequest *message);
+size_t cdevice_auth__get_authorized_borrowers__request__pack
+ (const CDeviceAuthGetAuthorizedBorrowersRequest *message,
+ uint8_t *out);
+size_t cdevice_auth__get_authorized_borrowers__request__pack_to_buffer
+ (const CDeviceAuthGetAuthorizedBorrowersRequest *message,
+ ProtobufCBuffer *buffer);
+CDeviceAuthGetAuthorizedBorrowersRequest *
+ cdevice_auth__get_authorized_borrowers__request__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void cdevice_auth__get_authorized_borrowers__request__free_unpacked
+ (CDeviceAuthGetAuthorizedBorrowersRequest *message,
+ ProtobufCAllocator *allocator);
+size_t cdevice_auth__get_authorized_borrowers__response__get_packed_size
+ (const CDeviceAuthGetAuthorizedBorrowersResponse *message);
+size_t cdevice_auth__get_authorized_borrowers__response__pack
+ (const CDeviceAuthGetAuthorizedBorrowersResponse *message,
+ uint8_t *out);
+size_t cdevice_auth__get_authorized_borrowers__response__pack_to_buffer
+ (const CDeviceAuthGetAuthorizedBorrowersResponse *message,
+ ProtobufCBuffer *buffer);
+CDeviceAuthGetAuthorizedBorrowersResponse *
+ cdevice_auth__get_authorized_borrowers__response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void cdevice_auth__get_authorized_borrowers__response__free_unpacked
+ (CDeviceAuthGetAuthorizedBorrowersResponse *message,
+ ProtobufCAllocator *allocator);
+size_t cdevice_auth__add_authorized_borrowers__request__get_packed_size
+ (const CDeviceAuthAddAuthorizedBorrowersRequest *message);
+size_t cdevice_auth__add_authorized_borrowers__request__pack
+ (const CDeviceAuthAddAuthorizedBorrowersRequest *message,
+ uint8_t *out);
+size_t cdevice_auth__add_authorized_borrowers__request__pack_to_buffer
+ (const CDeviceAuthAddAuthorizedBorrowersRequest *message,
+ ProtobufCBuffer *buffer);
+CDeviceAuthAddAuthorizedBorrowersRequest *
+ cdevice_auth__add_authorized_borrowers__request__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void cdevice_auth__add_authorized_borrowers__request__free_unpacked
+ (CDeviceAuthAddAuthorizedBorrowersRequest *message,
+ ProtobufCAllocator *allocator);
+size_t cdevice_auth__add_authorized_borrowers__response__get_packed_size
+ (const CDeviceAuthAddAuthorizedBorrowersResponse *message);
+size_t cdevice_auth__add_authorized_borrowers__response__pack
+ (const CDeviceAuthAddAuthorizedBorrowersResponse *message,
+ uint8_t *out);
+size_t cdevice_auth__add_authorized_borrowers__response__pack_to_buffer
+ (const CDeviceAuthAddAuthorizedBorrowersResponse *message,
+ ProtobufCBuffer *buffer);
+CDeviceAuthAddAuthorizedBorrowersResponse *
+ cdevice_auth__add_authorized_borrowers__response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void cdevice_auth__add_authorized_borrowers__response__free_unpacked
+ (CDeviceAuthAddAuthorizedBorrowersResponse *message,
+ ProtobufCAllocator *allocator);
+size_t cdevice_auth__remove_authorized_borrowers__request__get_packed_size
+ (const CDeviceAuthRemoveAuthorizedBorrowersRequest *message);
+size_t cdevice_auth__remove_authorized_borrowers__request__pack
+ (const CDeviceAuthRemoveAuthorizedBorrowersRequest *message,
+ uint8_t *out);
+size_t cdevice_auth__remove_authorized_borrowers__request__pack_to_buffer
+ (const CDeviceAuthRemoveAuthorizedBorrowersRequest *message,
+ ProtobufCBuffer *buffer);
+CDeviceAuthRemoveAuthorizedBorrowersRequest *
+ cdevice_auth__remove_authorized_borrowers__request__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void cdevice_auth__remove_authorized_borrowers__request__free_unpacked
+ (CDeviceAuthRemoveAuthorizedBorrowersRequest *message,
+ ProtobufCAllocator *allocator);
+size_t cdevice_auth__remove_authorized_borrowers__response__get_packed_size
+ (const CDeviceAuthRemoveAuthorizedBorrowersResponse *message);
+size_t cdevice_auth__remove_authorized_borrowers__response__pack
+ (const CDeviceAuthRemoveAuthorizedBorrowersResponse *message,
+ uint8_t *out);
+size_t cdevice_auth__remove_authorized_borrowers__response__pack_to_buffer
+ (const CDeviceAuthRemoveAuthorizedBorrowersResponse *message,
+ ProtobufCBuffer *buffer);
+CDeviceAuthRemoveAuthorizedBorrowersResponse *
+ cdevice_auth__remove_authorized_borrowers__response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void cdevice_auth__remove_authorized_borrowers__response__free_unpacked
+ (CDeviceAuthRemoveAuthorizedBorrowersResponse *message,
+ ProtobufCAllocator *allocator);
+size_t cdevice_auth__get_authorized_as_borrower__request__get_packed_size
+ (const CDeviceAuthGetAuthorizedAsBorrowerRequest *message);
+size_t cdevice_auth__get_authorized_as_borrower__request__pack
+ (const CDeviceAuthGetAuthorizedAsBorrowerRequest *message,
+ uint8_t *out);
+size_t cdevice_auth__get_authorized_as_borrower__request__pack_to_buffer
+ (const CDeviceAuthGetAuthorizedAsBorrowerRequest *message,
+ ProtobufCBuffer *buffer);
+CDeviceAuthGetAuthorizedAsBorrowerRequest *
+ cdevice_auth__get_authorized_as_borrower__request__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void cdevice_auth__get_authorized_as_borrower__request__free_unpacked
+ (CDeviceAuthGetAuthorizedAsBorrowerRequest *message,
+ ProtobufCAllocator *allocator);
+size_t cdevice_auth__get_authorized_as_borrower__response__get_packed_size
+ (const CDeviceAuthGetAuthorizedAsBorrowerResponse *message);
+size_t cdevice_auth__get_authorized_as_borrower__response__pack
+ (const CDeviceAuthGetAuthorizedAsBorrowerResponse *message,
+ uint8_t *out);
+size_t cdevice_auth__get_authorized_as_borrower__response__pack_to_buffer
+ (const CDeviceAuthGetAuthorizedAsBorrowerResponse *message,
+ ProtobufCBuffer *buffer);
+CDeviceAuthGetAuthorizedAsBorrowerResponse *
+ cdevice_auth__get_authorized_as_borrower__response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void cdevice_auth__get_authorized_as_borrower__response__free_unpacked
+ (CDeviceAuthGetAuthorizedAsBorrowerResponse *message,
+ ProtobufCAllocator *allocator);
+size_t cdevice_auth__get_excluded_games_in_library__request__get_packed_size
+ (const CDeviceAuthGetExcludedGamesInLibraryRequest *message);
+size_t cdevice_auth__get_excluded_games_in_library__request__pack
+ (const CDeviceAuthGetExcludedGamesInLibraryRequest *message,
+ uint8_t *out);
+size_t cdevice_auth__get_excluded_games_in_library__request__pack_to_buffer
+ (const CDeviceAuthGetExcludedGamesInLibraryRequest *message,
+ ProtobufCBuffer *buffer);
+CDeviceAuthGetExcludedGamesInLibraryRequest *
+ cdevice_auth__get_excluded_games_in_library__request__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void cdevice_auth__get_excluded_games_in_library__request__free_unpacked
+ (CDeviceAuthGetExcludedGamesInLibraryRequest *message,
+ ProtobufCAllocator *allocator);
+size_t cdevice_auth__get_excluded_games_in_library__response__get_packed_size
+ (const CDeviceAuthGetExcludedGamesInLibraryResponse *message);
+size_t cdevice_auth__get_excluded_games_in_library__response__pack
+ (const CDeviceAuthGetExcludedGamesInLibraryResponse *message,
+ uint8_t *out);
+size_t cdevice_auth__get_excluded_games_in_library__response__pack_to_buffer
+ (const CDeviceAuthGetExcludedGamesInLibraryResponse *message,
+ ProtobufCBuffer *buffer);
+CDeviceAuthGetExcludedGamesInLibraryResponse *
+ cdevice_auth__get_excluded_games_in_library__response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void cdevice_auth__get_excluded_games_in_library__response__free_unpacked
+ (CDeviceAuthGetExcludedGamesInLibraryResponse *message,
+ ProtobufCAllocator *allocator);
+size_t cdevice_auth__get_borrower_play_history__request__get_packed_size
+ (const CDeviceAuthGetBorrowerPlayHistoryRequest *message);
+size_t cdevice_auth__get_borrower_play_history__request__pack
+ (const CDeviceAuthGetBorrowerPlayHistoryRequest *message,
+ uint8_t *out);
+size_t cdevice_auth__get_borrower_play_history__request__pack_to_buffer
+ (const CDeviceAuthGetBorrowerPlayHistoryRequest *message,
+ ProtobufCBuffer *buffer);
+CDeviceAuthGetBorrowerPlayHistoryRequest *
+ cdevice_auth__get_borrower_play_history__request__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void cdevice_auth__get_borrower_play_history__request__free_unpacked
+ (CDeviceAuthGetBorrowerPlayHistoryRequest *message,
+ ProtobufCAllocator *allocator);
+size_t cdevice_auth__get_borrower_play_history__response__get_packed_size
+ (const CDeviceAuthGetBorrowerPlayHistoryResponse *message);
+size_t cdevice_auth__get_borrower_play_history__response__pack
+ (const CDeviceAuthGetBorrowerPlayHistoryResponse *message,
+ uint8_t *out);
+size_t cdevice_auth__get_borrower_play_history__response__pack_to_buffer
+ (const CDeviceAuthGetBorrowerPlayHistoryResponse *message,
+ ProtobufCBuffer *buffer);
+CDeviceAuthGetBorrowerPlayHistoryResponse *
+ cdevice_auth__get_borrower_play_history__response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void cdevice_auth__get_borrower_play_history__response__free_unpacked
+ (CDeviceAuthGetBorrowerPlayHistoryResponse *message,
+ ProtobufCAllocator *allocator);
+/* --- per-message closures --- */
+
+typedef void (*CDeviceAuthGetOwnAuthorizedDevicesRequest_Closure)
+ (const CDeviceAuthGetOwnAuthorizedDevicesRequest *message,
+ void *closure_data);
+typedef void (*CDeviceAuthGetOwnAuthorizedDevicesResponse__Device_Closure)
+ (const CDeviceAuthGetOwnAuthorizedDevicesResponse__Device *message,
+ void *closure_data);
+typedef void (*CDeviceAuthGetOwnAuthorizedDevicesResponse_Closure)
+ (const CDeviceAuthGetOwnAuthorizedDevicesResponse *message,
+ void *closure_data);
+typedef void (*CDeviceAuthAcceptAuthorizationRequestRequest_Closure)
+ (const CDeviceAuthAcceptAuthorizationRequestRequest *message,
+ void *closure_data);
+typedef void (*CDeviceAuthAcceptAuthorizationRequestResponse_Closure)
+ (const CDeviceAuthAcceptAuthorizationRequestResponse *message,
+ void *closure_data);
+typedef void (*CDeviceAuthAuthorizeRemoteDeviceRequest_Closure)
+ (const CDeviceAuthAuthorizeRemoteDeviceRequest *message,
+ void *closure_data);
+typedef void (*CDeviceAuthAuthorizeRemoteDeviceResponse_Closure)
+ (const CDeviceAuthAuthorizeRemoteDeviceResponse *message,
+ void *closure_data);
+typedef void (*CDeviceAuthDeauthorizeRemoteDeviceRequest_Closure)
+ (const CDeviceAuthDeauthorizeRemoteDeviceRequest *message,
+ void *closure_data);
+typedef void (*CDeviceAuthDeauthorizeRemoteDeviceResponse_Closure)
+ (const CDeviceAuthDeauthorizeRemoteDeviceResponse *message,
+ void *closure_data);
+typedef void (*CDeviceAuthGetUsedAuthorizedDevicesRequest_Closure)
+ (const CDeviceAuthGetUsedAuthorizedDevicesRequest *message,
+ void *closure_data);
+typedef void (*CDeviceAuthGetUsedAuthorizedDevicesResponse__Device_Closure)
+ (const CDeviceAuthGetUsedAuthorizedDevicesResponse__Device *message,
+ void *closure_data);
+typedef void (*CDeviceAuthGetUsedAuthorizedDevicesResponse_Closure)
+ (const CDeviceAuthGetUsedAuthorizedDevicesResponse *message,
+ void *closure_data);
+typedef void (*CDeviceAuthGetAuthorizedBorrowersRequest_Closure)
+ (const CDeviceAuthGetAuthorizedBorrowersRequest *message,
+ void *closure_data);
+typedef void (*CDeviceAuthGetAuthorizedBorrowersResponse__Borrower_Closure)
+ (const CDeviceAuthGetAuthorizedBorrowersResponse__Borrower *message,
+ void *closure_data);
+typedef void (*CDeviceAuthGetAuthorizedBorrowersResponse_Closure)
+ (const CDeviceAuthGetAuthorizedBorrowersResponse *message,
+ void *closure_data);
+typedef void (*CDeviceAuthAddAuthorizedBorrowersRequest_Closure)
+ (const CDeviceAuthAddAuthorizedBorrowersRequest *message,
+ void *closure_data);
+typedef void (*CDeviceAuthAddAuthorizedBorrowersResponse_Closure)
+ (const CDeviceAuthAddAuthorizedBorrowersResponse *message,
+ void *closure_data);
+typedef void (*CDeviceAuthRemoveAuthorizedBorrowersRequest_Closure)
+ (const CDeviceAuthRemoveAuthorizedBorrowersRequest *message,
+ void *closure_data);
+typedef void (*CDeviceAuthRemoveAuthorizedBorrowersResponse_Closure)
+ (const CDeviceAuthRemoveAuthorizedBorrowersResponse *message,
+ void *closure_data);
+typedef void (*CDeviceAuthGetAuthorizedAsBorrowerRequest_Closure)
+ (const CDeviceAuthGetAuthorizedAsBorrowerRequest *message,
+ void *closure_data);
+typedef void (*CDeviceAuthGetAuthorizedAsBorrowerResponse__Lender_Closure)
+ (const CDeviceAuthGetAuthorizedAsBorrowerResponse__Lender *message,
+ void *closure_data);
+typedef void (*CDeviceAuthGetAuthorizedAsBorrowerResponse_Closure)
+ (const CDeviceAuthGetAuthorizedAsBorrowerResponse *message,
+ void *closure_data);
+typedef void (*CDeviceAuthGetExcludedGamesInLibraryRequest_Closure)
+ (const CDeviceAuthGetExcludedGamesInLibraryRequest *message,
+ void *closure_data);
+typedef void (*CDeviceAuthGetExcludedGamesInLibraryResponse__ExcludedGame_Closure)
+ (const CDeviceAuthGetExcludedGamesInLibraryResponse__ExcludedGame *message,
+ void *closure_data);
+typedef void (*CDeviceAuthGetExcludedGamesInLibraryResponse_Closure)
+ (const CDeviceAuthGetExcludedGamesInLibraryResponse *message,
+ void *closure_data);
+typedef void (*CDeviceAuthGetBorrowerPlayHistoryRequest_Closure)
+ (const CDeviceAuthGetBorrowerPlayHistoryRequest *message,
+ void *closure_data);
+typedef void (*CDeviceAuthGetBorrowerPlayHistoryResponse__GameHistory_Closure)
+ (const CDeviceAuthGetBorrowerPlayHistoryResponse__GameHistory *message,
+ void *closure_data);
+typedef void (*CDeviceAuthGetBorrowerPlayHistoryResponse__LenderHistory_Closure)
+ (const CDeviceAuthGetBorrowerPlayHistoryResponse__LenderHistory *message,
+ void *closure_data);
+typedef void (*CDeviceAuthGetBorrowerPlayHistoryResponse_Closure)
+ (const CDeviceAuthGetBorrowerPlayHistoryResponse *message,
+ void *closure_data);
+
+/* --- services --- */
+
+typedef struct DeviceAuth_Service DeviceAuth_Service;
+struct DeviceAuth_Service
+{
+ ProtobufCService base;
+ void (*get_own_authorized_devices)(DeviceAuth_Service *service,
+ const CDeviceAuthGetOwnAuthorizedDevicesRequest *input,
+ CDeviceAuthGetOwnAuthorizedDevicesResponse_Closure closure,
+ void *closure_data);
+ void (*accept_authorization_request)(DeviceAuth_Service *service,
+ const CDeviceAuthAcceptAuthorizationRequestRequest *input,
+ CDeviceAuthAcceptAuthorizationRequestResponse_Closure closure,
+ void *closure_data);
+ void (*authorize_remote_device)(DeviceAuth_Service *service,
+ const CDeviceAuthAuthorizeRemoteDeviceRequest *input,
+ CDeviceAuthAuthorizeRemoteDeviceResponse_Closure closure,
+ void *closure_data);
+ void (*deauthorize_remote_device)(DeviceAuth_Service *service,
+ const CDeviceAuthDeauthorizeRemoteDeviceRequest *input,
+ CDeviceAuthDeauthorizeRemoteDeviceResponse_Closure closure,
+ void *closure_data);
+ void (*get_used_authorized_devices)(DeviceAuth_Service *service,
+ const CDeviceAuthGetUsedAuthorizedDevicesRequest *input,
+ CDeviceAuthGetUsedAuthorizedDevicesResponse_Closure closure,
+ void *closure_data);
+ void (*get_authorized_borrowers)(DeviceAuth_Service *service,
+ const CDeviceAuthGetAuthorizedBorrowersRequest *input,
+ CDeviceAuthGetAuthorizedBorrowersResponse_Closure closure,
+ void *closure_data);
+ void (*add_authorized_borrowers)(DeviceAuth_Service *service,
+ const CDeviceAuthAddAuthorizedBorrowersRequest *input,
+ CDeviceAuthAddAuthorizedBorrowersResponse_Closure closure,
+ void *closure_data);
+ void (*remove_authorized_borrowers)(DeviceAuth_Service *service,
+ const CDeviceAuthRemoveAuthorizedBorrowersRequest *input,
+ CDeviceAuthRemoveAuthorizedBorrowersResponse_Closure closure,
+ void *closure_data);
+ void (*get_authorized_as_borrower)(DeviceAuth_Service *service,
+ const CDeviceAuthGetAuthorizedAsBorrowerRequest *input,
+ CDeviceAuthGetAuthorizedAsBorrowerResponse_Closure closure,
+ void *closure_data);
+ void (*get_excluded_games_in_library)(DeviceAuth_Service *service,
+ const CDeviceAuthGetExcludedGamesInLibraryRequest *input,
+ CDeviceAuthGetExcludedGamesInLibraryResponse_Closure closure,
+ void *closure_data);
+ void (*get_borrower_play_history)(DeviceAuth_Service *service,
+ const CDeviceAuthGetBorrowerPlayHistoryRequest *input,
+ CDeviceAuthGetBorrowerPlayHistoryResponse_Closure closure,
+ void *closure_data);
+};
+typedef void (*DeviceAuth_ServiceDestroy)(DeviceAuth_Service *);
+void device_auth__init (DeviceAuth_Service *service,
+ DeviceAuth_ServiceDestroy destroy);
+#define DEVICE_AUTH__BASE_INIT \
+ { &device_auth__descriptor, protobuf_c_service_invoke_internal, NULL }
+#define DEVICE_AUTH__INIT(function_prefix__) \
+ { DEVICE_AUTH__BASE_INIT,\
+ function_prefix__ ## get_own_authorized_devices,\
+ function_prefix__ ## accept_authorization_request,\
+ function_prefix__ ## authorize_remote_device,\
+ function_prefix__ ## deauthorize_remote_device,\
+ function_prefix__ ## get_used_authorized_devices,\
+ function_prefix__ ## get_authorized_borrowers,\
+ function_prefix__ ## add_authorized_borrowers,\
+ function_prefix__ ## remove_authorized_borrowers,\
+ function_prefix__ ## get_authorized_as_borrower,\
+ function_prefix__ ## get_excluded_games_in_library,\
+ function_prefix__ ## get_borrower_play_history }
+void device_auth__get_own_authorized_devices(ProtobufCService *service,
+ const CDeviceAuthGetOwnAuthorizedDevicesRequest *input,
+ CDeviceAuthGetOwnAuthorizedDevicesResponse_Closure closure,
+ void *closure_data);
+void device_auth__accept_authorization_request(ProtobufCService *service,
+ const CDeviceAuthAcceptAuthorizationRequestRequest *input,
+ CDeviceAuthAcceptAuthorizationRequestResponse_Closure closure,
+ void *closure_data);
+void device_auth__authorize_remote_device(ProtobufCService *service,
+ const CDeviceAuthAuthorizeRemoteDeviceRequest *input,
+ CDeviceAuthAuthorizeRemoteDeviceResponse_Closure closure,
+ void *closure_data);
+void device_auth__deauthorize_remote_device(ProtobufCService *service,
+ const CDeviceAuthDeauthorizeRemoteDeviceRequest *input,
+ CDeviceAuthDeauthorizeRemoteDeviceResponse_Closure closure,
+ void *closure_data);
+void device_auth__get_used_authorized_devices(ProtobufCService *service,
+ const CDeviceAuthGetUsedAuthorizedDevicesRequest *input,
+ CDeviceAuthGetUsedAuthorizedDevicesResponse_Closure closure,
+ void *closure_data);
+void device_auth__get_authorized_borrowers(ProtobufCService *service,
+ const CDeviceAuthGetAuthorizedBorrowersRequest *input,
+ CDeviceAuthGetAuthorizedBorrowersResponse_Closure closure,
+ void *closure_data);
+void device_auth__add_authorized_borrowers(ProtobufCService *service,
+ const CDeviceAuthAddAuthorizedBorrowersRequest *input,
+ CDeviceAuthAddAuthorizedBorrowersResponse_Closure closure,
+ void *closure_data);
+void device_auth__remove_authorized_borrowers(ProtobufCService *service,
+ const CDeviceAuthRemoveAuthorizedBorrowersRequest *input,
+ CDeviceAuthRemoveAuthorizedBorrowersResponse_Closure closure,
+ void *closure_data);
+void device_auth__get_authorized_as_borrower(ProtobufCService *service,
+ const CDeviceAuthGetAuthorizedAsBorrowerRequest *input,
+ CDeviceAuthGetAuthorizedAsBorrowerResponse_Closure closure,
+ void *closure_data);
+void device_auth__get_excluded_games_in_library(ProtobufCService *service,
+ const CDeviceAuthGetExcludedGamesInLibraryRequest *input,
+ CDeviceAuthGetExcludedGamesInLibraryResponse_Closure closure,
+ void *closure_data);
+void device_auth__get_borrower_play_history(ProtobufCService *service,
+ const CDeviceAuthGetBorrowerPlayHistoryRequest *input,
+ CDeviceAuthGetBorrowerPlayHistoryResponse_Closure closure,
+ void *closure_data);
+
+PROTOBUF_C__END_DECLS
+
+
+#endif /* PROTOBUF_C_steammessages_5fdeviceauth_2esteamclient_2eproto__INCLUDED */
diff --git a/protocols/Steam/src/protobuf-c/steammessages_deviceauth.steamclient.proto b/protocols/Steam/src/protobuf-c/steammessages_deviceauth.steamclient.proto
new file mode 100644
index 0000000000..8ac46d0171
--- /dev/null
+++ b/protocols/Steam/src/protobuf-c/steammessages_deviceauth.steamclient.proto
@@ -0,0 +1,203 @@
+import "steammessages_base.proto";
+import "steammessages_unified_base.steamclient.proto";
+
+option cc_generic_services = true;
+
+message CDeviceAuth_GetOwnAuthorizedDevices_Request {
+ optional fixed64 steamid = 1;
+ optional bool include_canceled = 2;
+}
+
+message CDeviceAuth_GetOwnAuthorizedDevices_Response {
+ message Device {
+ optional fixed64 auth_device_token = 1;
+ optional string device_name = 2;
+ optional bool is_pending = 3;
+ optional bool is_canceled = 4;
+ optional uint32 last_time_used = 5;
+ optional fixed64 last_borrower_id = 6;
+ optional uint32 last_app_played = 7;
+ optional bool is_limited = 8;
+ }
+
+ repeated .CDeviceAuth_GetOwnAuthorizedDevices_Response.Device devices = 1;
+}
+
+message CDeviceAuth_AcceptAuthorizationRequest_Request {
+ optional fixed64 steamid = 1;
+ optional fixed64 auth_device_token = 2;
+ optional fixed64 auth_code = 3;
+ optional fixed64 from_steamid = 4;
+}
+
+message CDeviceAuth_AcceptAuthorizationRequest_Response {
+}
+
+message CDeviceAuth_AuthorizeRemoteDevice_Request {
+ optional fixed64 steamid = 1;
+ optional fixed64 auth_device_token = 2;
+}
+
+message CDeviceAuth_AuthorizeRemoteDevice_Response {
+}
+
+message CDeviceAuth_DeauthorizeRemoteDevice_Request {
+ optional fixed64 steamid = 1;
+ optional fixed64 auth_device_token = 2;
+}
+
+message CDeviceAuth_DeauthorizeRemoteDevice_Response {
+}
+
+message CDeviceAuth_GetUsedAuthorizedDevices_Request {
+ optional fixed64 steamid = 1;
+}
+
+message CDeviceAuth_GetUsedAuthorizedDevices_Response {
+ message Device {
+ optional fixed64 auth_device_token = 1;
+ optional string device_name = 2;
+ optional fixed64 owner_steamid = 3;
+ optional uint32 last_time_used = 4;
+ optional uint32 last_app_played = 5;
+ }
+
+ repeated .CDeviceAuth_GetUsedAuthorizedDevices_Response.Device devices = 1;
+}
+
+message CDeviceAuth_GetAuthorizedBorrowers_Request {
+ optional fixed64 steamid = 1;
+ optional bool include_canceled = 2;
+ optional bool include_pending = 3;
+}
+
+message CDeviceAuth_GetAuthorizedBorrowers_Response {
+ message Borrower {
+ optional fixed64 steamid = 1;
+ optional bool is_pending = 2;
+ optional bool is_canceled = 3;
+ optional uint32 time_created = 4;
+ }
+
+ repeated .CDeviceAuth_GetAuthorizedBorrowers_Response.Borrower borrowers = 1;
+}
+
+message CDeviceAuth_AddAuthorizedBorrowers_Request {
+ optional fixed64 steamid = 1;
+ repeated fixed64 steamid_borrower = 2;
+}
+
+message CDeviceAuth_AddAuthorizedBorrowers_Response {
+ optional int32 seconds_to_wait = 1;
+}
+
+message CDeviceAuth_RemoveAuthorizedBorrowers_Request {
+ optional fixed64 steamid = 1;
+ repeated fixed64 steamid_borrower = 2;
+}
+
+message CDeviceAuth_RemoveAuthorizedBorrowers_Response {
+}
+
+message CDeviceAuth_GetAuthorizedAsBorrower_Request {
+ optional fixed64 steamid = 1;
+ optional bool include_canceled = 2;
+ optional bool include_pending = 3;
+}
+
+message CDeviceAuth_GetAuthorizedAsBorrower_Response {
+ message Lender {
+ optional fixed64 steamid = 1;
+ optional uint32 time_created = 2;
+ optional bool is_pending = 3;
+ optional bool is_canceled = 4;
+ optional bool is_used = 5;
+ optional uint32 time_removed = 6;
+ optional uint32 time_first = 7;
+ }
+
+ repeated .CDeviceAuth_GetAuthorizedAsBorrower_Response.Lender lenders = 1;
+}
+
+message CDeviceAuth_GetExcludedGamesInLibrary_Request {
+ optional fixed64 steamid = 1;
+}
+
+message CDeviceAuth_GetExcludedGamesInLibrary_Response {
+ message ExcludedGame {
+ optional uint32 appid = 1;
+ optional string game_name = 2;
+ optional bool vac_banned = 3;
+ optional bool package_excluded = 4;
+ }
+
+ repeated .CDeviceAuth_GetExcludedGamesInLibrary_Response.ExcludedGame excluded_games = 1;
+}
+
+message CDeviceAuth_GetBorrowerPlayHistory_Request {
+ optional fixed64 steamid = 1;
+ optional uint32 appid = 2;
+}
+
+message CDeviceAuth_GetBorrowerPlayHistory_Response {
+ message GameHistory {
+ optional uint32 appid = 1;
+ optional uint32 time_last = 2;
+ optional uint32 time_total = 3;
+ }
+
+ message LenderHistory {
+ optional fixed64 steamid = 1;
+ repeated .CDeviceAuth_GetBorrowerPlayHistory_Response.GameHistory game_history = 2;
+ }
+
+ repeated .CDeviceAuth_GetBorrowerPlayHistory_Response.LenderHistory lender_history = 1;
+}
+
+service DeviceAuth {
+ option (service_description) = "Library Sharing settings service";
+
+ rpc GetOwnAuthorizedDevices (.CDeviceAuth_GetOwnAuthorizedDevices_Request) returns (.CDeviceAuth_GetOwnAuthorizedDevices_Response) {
+ option (method_description) = "Get list of authorized devices";
+ }
+
+ rpc AcceptAuthorizationRequest (.CDeviceAuth_AcceptAuthorizationRequest_Request) returns (.CDeviceAuth_AcceptAuthorizationRequest_Response) {
+ option (method_description) = "Accept an authorization request by another users";
+ }
+
+ rpc AuthorizeRemoteDevice (.CDeviceAuth_AuthorizeRemoteDevice_Request) returns (.CDeviceAuth_AuthorizeRemoteDevice_Response) {
+ option (method_description) = "Authorize own remote device that has pending request";
+ }
+
+ rpc DeauthorizeRemoteDevice (.CDeviceAuth_DeauthorizeRemoteDevice_Request) returns (.CDeviceAuth_DeauthorizeRemoteDevice_Response) {
+ option (method_description) = "Revoke own device authorization";
+ }
+
+ rpc GetUsedAuthorizedDevices (.CDeviceAuth_GetUsedAuthorizedDevices_Request) returns (.CDeviceAuth_GetUsedAuthorizedDevices_Response) {
+ option (method_description) = "Get list of authorized devices user played borrowed games on";
+ }
+
+ rpc GetAuthorizedBorrowers (.CDeviceAuth_GetAuthorizedBorrowers_Request) returns (.CDeviceAuth_GetAuthorizedBorrowers_Response) {
+ option (method_description) = "Get list of users that can borrow on an authorized device";
+ }
+
+ rpc AddAuthorizedBorrowers (.CDeviceAuth_AddAuthorizedBorrowers_Request) returns (.CDeviceAuth_AddAuthorizedBorrowers_Response) {
+ option (method_description) = "Add users that can borrow on limited authorized devices";
+ }
+
+ rpc RemoveAuthorizedBorrowers (.CDeviceAuth_RemoveAuthorizedBorrowers_Request) returns (.CDeviceAuth_RemoveAuthorizedBorrowers_Response) {
+ option (method_description) = "Remove users that can borrow on limited authorized devices";
+ }
+
+ rpc GetAuthorizedAsBorrower (.CDeviceAuth_GetAuthorizedAsBorrower_Request) returns (.CDeviceAuth_GetAuthorizedAsBorrower_Response) {
+ option (method_description) = "Get list of lenders that authorized given account as borrower";
+ }
+
+ rpc GetExcludedGamesInLibrary (.CDeviceAuth_GetExcludedGamesInLibrary_Request) returns (.CDeviceAuth_GetExcludedGamesInLibrary_Response) {
+ option (method_description) = "Get list of excluded games in lenders library";
+ }
+
+ rpc GetBorrowerPlayHistory (.CDeviceAuth_GetBorrowerPlayHistory_Request) returns (.CDeviceAuth_GetBorrowerPlayHistory_Response) {
+ option (method_description) = "Get list played games as borrower";
+ }
+}