]> git.proxmox.com Git - mirror_qemu.git/blobdiff - ui/vnc-auth-sasl.h
virtio: Set "start_on_kick" on virtio_set_features()
[mirror_qemu.git] / ui / vnc-auth-sasl.h
index b9d8de1c1081c52d08d862c2a60a8782025d0688..fb55fe04ca158ef7de088833d4b8cad54c1ca509 100644 (file)
@@ -30,8 +30,8 @@
 typedef struct VncStateSASL VncStateSASL;
 typedef struct VncDisplaySASL VncDisplaySASL;
 
-#include "qemu/acl.h"
 #include "qemu/main-loop.h"
+#include "authz/base.h"
 
 struct VncStateSASL {
     sasl_conn_t *conn;
@@ -60,13 +60,14 @@ struct VncStateSASL {
 };
 
 struct VncDisplaySASL {
-    qemu_acl *acl;
+    QAuthZ *authz;
+    char *authzid;
 };
 
 void vnc_sasl_client_cleanup(VncState *vs);
 
-long vnc_client_read_sasl(VncState *vs);
-long vnc_client_write_sasl(VncState *vs);
+size_t vnc_client_read_sasl(VncState *vs);
+size_t vnc_client_write_sasl(VncState *vs);
 
 void start_auth_sasl(VncState *vs);