From 45e71e07bbc891e552de58d5ba827ad719d90662 Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Sat, 23 Sep 2017 15:08:33 +0200 Subject: Currently facing "Bad file descriptor" errors... --- src/config.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/config.h') 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, -- cgit v1.2.3-70-g09d2