Lines Matching defs:handle
61 struct handle {
266 struct handle *handle;
268 handle = malloc(sizeof (struct handle));
269 if (handle == NULL)
271 switch (handle->nettype = getnettype(nettype)) {
276 if (!(handle->nhandle = setnetpath())) {
277 free(handle);
280 handle->nflag = TRUE;
289 if (!(handle->nhandle = setnetconfig())) {
290 free(handle);
293 handle->nflag = FALSE;
296 free(handle);
300 return (handle);
310 struct handle *handle;
313 handle = (struct handle *)vhandle;
314 if (handle == NULL)
317 if (handle->nflag)
318 nconf = getnetpath(handle->nhandle);
320 nconf = getnetconfig(handle->nhandle);
327 switch (handle->nettype) {
384 struct handle *handle;
386 handle = (struct handle *)vhandle;
387 if (handle == NULL)
389 if (handle->nflag) {
390 (void) endnetpath(handle->nhandle);
392 (void) endnetconfig(handle->nhandle);
394 free(handle);
398 * Used to ping the NULL procedure for clnt handle.