Home
last modified time | relevance | path

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

/dragonfly/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 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.c343 struct netconfig_vars *nc_handlep = (struct netconfig_vars *)handlep; in endnetconfig() local
350 if (nc_handlep == NULL || (nc_handlep->valid != NC_VALID && in endnetconfig()
351 nc_handlep->valid != NC_STORAGE)) { in endnetconfig()
359 nc_handlep->valid = NC_INVALID; in endnetconfig()
360 nc_handlep->flag = 0; in endnetconfig()
361 nc_handlep->nc_configs = NULL; in endnetconfig()
363 free(nc_handlep); in endnetconfig()
383 free(nc_handlep); in endnetconfig()