Searched refs:nc_handlep (Results 1 – 2 of 2) sorted by relevance
73 void *nc_handlep; /* handle for current netconfig "session" */ member108 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()
366 struct netconfig_vars *nc_handlep = (struct netconfig_vars *)handlep; in endnetconfig() local373 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()