mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-22 07:01:30 +00:00
[client] transport: recover incompatible sessions
Report expected and current protocol versions through the transport interface and expose session-independent recovery operations. Offer recovery from the version mismatch popup, publish requests through the reserved IVSHMEM channel, and select the validated SPICE fallback.
This commit is contained in:
@@ -182,6 +182,10 @@ void app_alert(LG_MsgAlert type, const char * fmt, ...);
|
||||
typedef struct MsgBoxHandle * MsgBoxHandle;
|
||||
MsgBoxHandle app_msgBox(const char * caption, const char * fmt, ...);
|
||||
|
||||
typedef void (*MsgBoxCloseCallback)(MsgBoxHandle handle, void * opaque);
|
||||
MsgBoxHandle app_msgBoxWithClose(const char * caption,
|
||||
MsgBoxCloseCallback callback, void * opaque, const char * fmt, ...);
|
||||
|
||||
typedef void (*MsgBoxConfirmCallback)(bool yes, void * opaque);
|
||||
MsgBoxHandle app_confirmMsgBox(const char * caption,
|
||||
MsgBoxConfirmCallback callback, void * opaque, const char * fmt, ...);
|
||||
|
||||
Reference in New Issue
Block a user