Home
last modified time | relevance | path

Searched refs:nc_handlep (Results 1 – 2 of 2) sorted by relevance

/dports/misc/rump/buildrump.sh-b914579/src/lib/libc/rpc/
H A Dgetnetpath.c73 void *nc_handlep; /* handle for current netconfig "session" */ member
108 if ((np_sessionp->nc_handlep = setnetconfig()) == NULL) { in setnetpath()
118 (void) endnetconfig(np_sessionp->nc_handlep); in setnetpath()
120 np_sessionp->nc_handlep = NULL; in setnetpath()
164 if (np_sessionp->nc_handlep == NULL) { in getnetpath()
165 np_sessionp->nc_handlep = setnetconfig(); in getnetpath()
166 if (np_sessionp->nc_handlep == NULL) in getnetpath()
170 if ((ncp = getnetconfig(np_sessionp->nc_handlep)) in getnetpath()
219 if (np_sessionp->nc_handlep != NULL) in endnetpath()
220 endnetconfig(np_sessionp->nc_handlep); in endnetpath()
H A Dgetnetconfig.c366 struct netconfig_vars *nc_handlep = (struct netconfig_vars *)handlep; in endnetconfig() local
373 if (nc_handlep == NULL || (nc_handlep->valid != NC_VALID && in endnetconfig()
374 nc_handlep->valid != NC_STORAGE)) { in endnetconfig()
382 nc_handlep->valid = NC_INVALID; in endnetconfig()
383 nc_handlep->flag = 0; in endnetconfig()
384 nc_handlep->nc_configs = NULL; in endnetconfig()
386 free(nc_handlep); in endnetconfig()
407 free(nc_handlep); in endnetconfig()