Home
last modified time | relevance | path

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

/freebsd/lib/libc/rpc/
H A Dgetnetpath.c57 void *nc_handlep; /* handle for current netconfig "session" */ member
95 if ((np_sessionp->nc_handlep = setnetconfig()) == NULL) { in setnetpath()
104 (void) endnetconfig(np_sessionp->nc_handlep);/* won't need nc session*/ in setnetpath()
105 np_sessionp->nc_handlep = NULL; in setnetpath()
153 if (np_sessionp->nc_handlep == NULL) { in getnetpath()
154 np_sessionp->nc_handlep = setnetconfig(); in getnetpath()
155 if (np_sessionp->nc_handlep == NULL) in getnetpath()
158 if ((ncp = getnetconfig(np_sessionp->nc_handlep)) == NULL) { in getnetpath()
204 if (np_sessionp->nc_handlep != NULL) in endnetpath()
205 endnetconfig(np_sessionp->nc_handlep); in endnetpath()
H A Dgetnetconfig.c377 struct netconfig_vars *nc_handlep = (struct netconfig_vars *)handlep; in endnetconfig() local
384 if (nc_handlep == NULL || (nc_handlep->valid != NC_VALID && in endnetconfig()
385 nc_handlep->valid != NC_STORAGE)) { in endnetconfig()
393 nc_handlep->valid = NC_INVALID; in endnetconfig()
394 nc_handlep->flag = 0; in endnetconfig()
395 nc_handlep->nc_configs = NULL; in endnetconfig()
399 free(nc_handlep); in endnetconfig()
421 free(nc_handlep); in endnetconfig()