aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Options.h
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-07-28 12:14:22 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-07-28 12:14:22 +0200
commit443b52723e9d790e3a619406bcd8b0dd32390dc3 (patch)
tree3dc9faf4fe851d1d9a1c5062638cbd3874857163 /nx-X11/programs/Xserver/hw/nxagent/Options.h
parente1c85caacca67ea3d25319f2fe0a2985845bf1e9 (diff)
parent64a83d1e08fd8224a065d6e3548be6323127d4df (diff)
downloadnx-libs-443b52723e9d790e3a619406bcd8b0dd32390dc3.tar.gz
nx-libs-443b52723e9d790e3a619406bcd8b0dd32390dc3.tar.bz2
nx-libs-443b52723e9d790e3a619406bcd8b0dd32390dc3.zip
Merge branch 'Ionic-feature/reconnect-checks' into 3.6.x
Attributes GH PR #183: https://github.com/ArcticaProject/nx-libs/pull/183 Together with PR #143 this fixes ArcticaProject/nx-libs#132. t merges an updated upstream into a topic branch.
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Options.h')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Options.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Options.h b/nx-X11/programs/Xserver/hw/nxagent/Options.h
index df6f8b65b..20616a90b 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Options.h
+++ b/nx-X11/programs/Xserver/hw/nxagent/Options.h
@@ -67,6 +67,17 @@ typedef enum _ClientOsType
} ClientOsType;
+typedef enum _ToleranceChecksMode
+{
+ ToleranceChecksStrict = 0,
+ ToleranceChecksSafe = 1,
+ ToleranceChecksRisky = 2,
+ ToleranceChecksBypass = 3
+} ToleranceChecksMode;
+
+
+#define DEFAULT_TOLERANCE ToleranceChecksStrict
+
/*
* Set of options affecting agent operations.
*/
@@ -414,6 +425,12 @@ typedef struct _AgentOptions
unsigned int SleepTime;
+ /*
+ * Tolerance - tightens or loosens reconnect checks.
+ */
+
+ ToleranceChecksMode ReconnectTolerance;
+
} AgentOptionsRec;
typedef AgentOptionsRec *AgentOptionsPtr;