Lines Matching defs:timeoutp
42 static int nsldapi_timeval2ldaplimit( struct timeval *timeoutp,
120 struct timeval *timeoutp, /* NULL means use ld->ld_timelimit */
128 if ( timeoutp != NULL && timeoutp->tv_sec == 0 &&
129 timeoutp->tv_usec == 0 ) {
138 nsldapi_timeval2ldaplimit( timeoutp, -1 ), sizelimit, msgidp ));
144 * using the overloaded struct timeval *timeoutp.
236 * Convert a non-NULL timeoutp to a value in seconds that is appropriate to
237 * send in an LDAP search request. If timeoutp is NULL, return defaultvalue.
240 nsldapi_timeval2ldaplimit( struct timeval *timeoutp, int defaultvalue )
244 if ( NULL == timeoutp ) {
246 } else if ( timeoutp->tv_sec > 0 ) {
247 timelimit = timeoutp->tv_sec;
248 } else if ( timeoutp->tv_usec > 0 ) {
945 struct timeval *timeoutp,
951 serverctrls, clientctrls, timeoutp,
952 nsldapi_timeval2ldaplimit( timeoutp, -1 ), sizelimit, res ));