NAME
upscli_get_default_connect_timeout - Return the upsclient module default timeout for initial connections.
SYNOPSIS
#include <upsclient.h>
void upscli_get_default_connect_timeout(struct timeval *ptv);
DESCRIPTION
The upscli_get_default_connect_timeout() function takes the pointer ptv to a struct timeval and stores the default network timeout for initial connections in that structure. This is the value last assigned with upscli_set_default_connect_timeout(3).