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