Imported Upstream version 1.4.16+git20130911
This commit is contained in:
parent
96678a79c9
commit
ea90af2ba1
20 changed files with 379 additions and 383 deletions
|
@ -22,8 +22,6 @@
|
|||
*
|
||||
*****************************************************************************/
|
||||
|
||||
#define LOCAL_TIMEOUT_ALARM_HANDLER
|
||||
|
||||
#include "common.h"
|
||||
#include "utils.h"
|
||||
#include "utils_base.h"
|
||||
|
@ -38,6 +36,11 @@ extern const char *progname;
|
|||
#define STRLEN 64
|
||||
#define TXTBLK 128
|
||||
|
||||
unsigned int timeout_state = STATE_CRITICAL;
|
||||
unsigned int timeout_interval = DEFAULT_SOCKET_TIMEOUT;
|
||||
|
||||
time_t start_time, end_time;
|
||||
|
||||
/* **************************************************************************
|
||||
* max_state(STATE_x, STATE_y)
|
||||
* compares STATE_x to STATE_y and returns result based on the following
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue