summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spice/protocol.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/spice/protocol.h b/spice/protocol.h
index d6a2041..26d964b 100644
--- a/spice/protocol.h
+++ b/spice/protocol.h
@@ -51,6 +51,12 @@ typedef struct SPICE_ATTR_PACKED SpiceLinkHeader {
uint32_t size;
} SpiceLinkHeader;
+enum {
+ SPICE_COMMON_CAP_PROTOCOL_AUTH_SELECTION,
+ SPICE_COMMON_CAP_AUTH_SPICE,
+ SPICE_COMMON_CAP_AUTH_SASL,
+};
+
typedef struct SPICE_ATTR_PACKED SpiceLinkMess {
uint32_t connection_id;
uint8_t channel_type;
@@ -72,6 +78,10 @@ typedef struct SPICE_ATTR_PACKED SpiceLinkEncryptedTicket {
uint8_t encrypted_data[SPICE_TICKET_KEY_PAIR_LENGTH / 8];
} SpiceLinkEncryptedTicket;
+typedef struct SPICE_ATTR_PACKED SpiceLinkAuthMechanism {
+ uint32_t auth_mechanism;
+} SpiceLinkAuthMechanism;
+
typedef struct SPICE_ATTR_PACKED SpiceDataHeader {
uint64_t serial;
uint16_t type;