mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-06 19:58:34 +00:00
00654d880e
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8545 d0543943-73ff-0310-b7d9-9358b9ac24b2
21 lines
359 B
C++
21 lines
359 B
C++
#ifndef XMLRPC_TIMEOUT_H_INCLUDED
|
|
#define XMLRPC_TIMEOUT_H_INCLUDED
|
|
|
|
namespace xmlrpc_c {
|
|
|
|
struct timeout {
|
|
|
|
timeout() : finite(false) {}
|
|
|
|
timeout(unsigned int const duration) : duration(duration) {}
|
|
// 'duration' is the timeout time in milliseconds
|
|
|
|
bool finite;
|
|
unsigned int duration; // in milliseconds
|
|
};
|
|
|
|
|
|
} // namespace
|
|
|
|
#endif
|