[client] spice: add fail-fast connection option

This commit is contained in:
Geoffrey McRae
2026-08-16 22:29:20 +10:00
parent 209ac4d749
commit 056be1242a
9 changed files with 54 additions and 16 deletions

View File

@@ -32,6 +32,8 @@ typedef struct LG_TransportFallbackEventOps
{
/* The session is valid only for the duration of this callback. */
void (*connected)(void * opaque, const LG_TransportSession * session);
/* Called when the fallback transport cannot establish a session. */
void (*connectFailed)(void * opaque);
/* Called only when a usable session is unexpectedly lost. */
void (*lost)(void * opaque);
void (*disconnected)(void * opaque);