Searched defs:nc_handle (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dauth_time.c191 void *nc_handle; /* Netconfig "state" */ local
239 nc_handle = (void *) setnetconfig();
240 if (! nc_handle) {
264 while ((nc = getnetconfig(nc_handle)) != NULL) {
286 (void) endnetconfig(nc_handle);
H A Drpcb_clnt.c416 void *nc_handle; local
418 nc_handle = setnetconfig();
419 if (nc_handle == NULL) {
425 while (nconf = getnetconfig(nc_handle)) {
439 (void) endnetconfig(nc_handle);
/illumos-gate/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);
/illumos-gate/usr/src/cmd/keyserv/
H A Dnewkey.c95 NCONF_HANDLE *nc_handle; local
177 nc_handle = setnetconfig();
178 if (nc_handle == NULL) {
185 while (nconf = getnetconfig(nc_handle)) {
194 endnetconfig(nc_handle);
/illumos-gate/usr/src/lib/libnsl/yp/
H A Dyp_bind.c935 void *nc_handle; /* Net config handle */ local
938 nc_handle = setnetconfig();
939 if (nc_handle == NULL) {
945 while (nconf = getnetconfig(nc_handle))
953 (void) endnetconfig(nc_handle);
/illumos-gate/usr/src/cmd/rpcbind/
H A Drpcbind.c214 void *nc_handle; /* Net config handle */ local
315 nc_handle = setnetconfig(); /* open netconfig file */
316 if (nc_handle == NULL) {
320 while ((nconf = getnetconfig(nc_handle)) != NULL) {
324 endnetconfig(nc_handle);

Completed in 85 milliseconds