From 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 Mon Sep 17 00:00:00 2001 From: Joe Hunkeler Date: Tue, 11 Aug 2015 16:51:37 -0400 Subject: Repatch (from linux) of OSX IRAF --- vendor/voclient/include/xmlrpc-c/timeout.hpp | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 vendor/voclient/include/xmlrpc-c/timeout.hpp (limited to 'vendor/voclient/include/xmlrpc-c/timeout.hpp') diff --git a/vendor/voclient/include/xmlrpc-c/timeout.hpp b/vendor/voclient/include/xmlrpc-c/timeout.hpp new file mode 100644 index 00000000..8d0c2d6b --- /dev/null +++ b/vendor/voclient/include/xmlrpc-c/timeout.hpp @@ -0,0 +1,21 @@ +#ifndef XMLRPC_TIMEOUT_H_INCLUDED +#define XMLRPC_TIMEOUT_H_INCLUDED + +namespace xmlrpc_c { + +struct timeout { + + timeout() : finite(false) {} + + timeout(unsigned int const duration) : + finite(true), duration(duration) {} + // 'duration' is the timeout time in milliseconds + + bool finite; + unsigned int duration; // in milliseconds +}; + + +} // namespace + +#endif -- cgit