Home
last modified time | relevance | path

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

/illumos-gate/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()
/illumos-gate/usr/src/cmd/ypcmd/
H A Dyp_b_svc.c95 void *nc_handle; local
318 nc_handle = __rpc_setconf("netpath"); /* open netconfig file */
319 if (nc_handle == NULL) {
337 while (nconf = __rpc_getconf(nc_handle)) {
439 __rpc_endconf(nc_handle);
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dauth_time.c189 void *nc_handle; /* Netconfig "state" */ in __rpc_get_time_offset() local
237 nc_handle = (void *) setnetconfig(); in __rpc_get_time_offset()
238 if (! nc_handle) { in __rpc_get_time_offset()
262 while ((nc = getnetconfig(nc_handle)) != NULL) { in __rpc_get_time_offset()
284 (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()
/illumos-gate/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()
/illumos-gate/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()