summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2017-09-23 15:08:33 +0200
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2017-09-23 15:08:33 +0200
commit45e71e07bbc891e552de58d5ba827ad719d90662 (patch)
treeb9741ac85661e397213923b1ff60bf862a1fb5a0 /src/config.h
parentb1525c35503cafafd69aa63dedddf49bd00bac5f (diff)
Currently facing "Bad file descriptor" errors...
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h
index 3aa1a13..92852d9 100644
--- a/src/config.h
+++ b/src/config.h
@@ -11,6 +11,16 @@
/* Number of options that can be configured. */
#define RELABSD_OPTIONS_COUNT 3
+/* TODO: turn this into a runtime parameter */
+#ifndef RELABSD_ENABLE_TIMEOUT
+ #define RELABSD_ENABLE_TIMEOUT 1
+#endif
+
+/* TODO: turn this into a runtime parameter */
+#ifndef RELABSD_TIMEOUT_MSEC
+ #define RELABSD_TIMEOUT_MSEC 100
+#endif
+
enum relabsd_option
{
RELABSD_DIRECT_OPTION,