Home
last modified time | relevance | path

Searched refs:nc_handle (Results 1 – 6 of 6) sorted by relevance

/titanic_41/usr/src/cmd/keyserv/
H A Dnewkey.c95 NCONF_HANDLE *nc_handle; in main() local
177 nc_handle = setnetconfig(); in main()
178 if (nc_handle == NULL) { in main()
185 while (nconf = getnetconfig(nc_handle)) { in main()
194 endnetconfig(nc_handle); in main()
/titanic_41/usr/src/cmd/ypcmd/
H A Dyp_b_svc.c97 void *nc_handle; local
320 nc_handle = __rpc_setconf("netpath"); /* open netconfig file */
321 if (nc_handle == NULL) {
339 while (nconf = __rpc_getconf(nc_handle)) {
441 __rpc_endconf(nc_handle);
/titanic_41/usr/src/lib/libnsl/rpc/
H A Dauth_time.c191 void *nc_handle; /* Netconfig "state" */ in __rpc_get_time_offset() local
239 nc_handle = (void *) setnetconfig(); in __rpc_get_time_offset()
240 if (! nc_handle) { in __rpc_get_time_offset()
264 while ((nc = getnetconfig(nc_handle)) != NULL) { in __rpc_get_time_offset()
286 (void) endnetconfig(nc_handle); in __rpc_get_time_offset()
H A Drpcb_clnt.c416 void *nc_handle; in local_rpcb() local
418 nc_handle = setnetconfig(); in local_rpcb()
419 if (nc_handle == NULL) { in local_rpcb()
425 while (nconf = getnetconfig(nc_handle)) { in local_rpcb()
439 (void) endnetconfig(nc_handle); in local_rpcb()
/titanic_41/usr/src/lib/libnsl/yp/
H A Dyp_bind.c935 void *nc_handle; /* Net config handle */ in __clnt_create_loopback() local
938 nc_handle = setnetconfig(); in __clnt_create_loopback()
939 if (nc_handle == NULL) { in __clnt_create_loopback()
945 while (nconf = getnetconfig(nc_handle)) in __clnt_create_loopback()
953 (void) endnetconfig(nc_handle); in __clnt_create_loopback()
/titanic_41/usr/src/cmd/rpcbind/
H A Drpcbind.c214 void *nc_handle; /* Net config handle */ in main() local
315 nc_handle = setnetconfig(); /* open netconfig file */ in main()
316 if (nc_handle == NULL) { in main()
320 while ((nconf = getnetconfig(nc_handle)) != NULL) { in main()
324 endnetconfig(nc_handle); in main()