initial load of upstream version 1.06.32
[xmlrpc-c] / include / xmlrpc-c / timeout.hpp
1 #ifndef XMLRPC_TIMEOUT_H_INCLUDED
2 #define XMLRPC_TIMEOUT_H_INCLUDED
3
4 namespace xmlrpc_c {
5
6 struct timeout {
7
8     timeout() : finite(false) {}
9
10     timeout(unsigned int const duration) :
11         finite(true), duration(duration) {}
12
13     bool finite;
14     unsigned int duration;
15 };
16
17
18 } // namespace
19
20 #endif