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

/freebsd-13-stable/lib/libc/rpc/
H A Dgetnetpath.c63 void *nc_handlep; /* handle for current netconfig "session" */ member in struct:netpath_vars
101 if ((np_sessionp->nc_handlep = setnetconfig()) == NULL) {
110 (void) endnetconfig(np_sessionp->nc_handlep);/* won't need nc session*/
111 np_sessionp->nc_handlep = NULL;
159 if (np_sessionp->nc_handlep == NULL) {
160 np_sessionp->nc_handlep = setnetconfig();
161 if (np_sessionp->nc_handlep == NULL)
164 if ((ncp = getnetconfig(np_sessionp->nc_handlep)) == NULL) {
210 if (np_sessionp->nc_handlep != NULL)
211 endnetconfig(np_sessionp->nc_handlep);
[all...]
H A Dgetnetconfig.c383 struct netconfig_vars *nc_handlep = (struct netconfig_vars *)handlep; local
390 if (nc_handlep == NULL || (nc_handlep->valid != NC_VALID &&
391 nc_handlep->valid != NC_STORAGE)) {
399 nc_handlep->valid = NC_INVALID;
400 nc_handlep->flag = 0;
401 nc_handlep->nc_configs = NULL;
405 free(nc_handlep);
427 free(nc_handlep);

Completed in 106 milliseconds