Back to index

glibc  2.9
Defines | Functions | Variables
libnsl.h File Reference
#include <rpcsvc/nis.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define NSS_FLAG_NETID_AUTHORITATIVE   1
#define NSS_FLAG_SERVICES_AUTHORITATIVE   2
#define NSS_FLAG_SETENT_BATCH_READ   4

Functions

int _nsl_default_nss (void)
nis_error __prepare_niscall (const_nis_name name, directory_obj **dirp, dir_binding *bptrp, unsigned int flags)
 libnsl_hidden_proto (__prepare_niscall) extern struct ib_request *__create_ib_request(const_nis_name name
 libnsl_hidden_proto (__create_ib_request) extern nis_error __follow_path(char **tablepath

Variables

unsigned int flags
char ** tableptr
char struct ib_request * ibreq
char struct ib_request
dir_binding * 
bptr

Define Documentation

Definition at line 21 of file libnsl.h.

Definition at line 22 of file libnsl.h.

Definition at line 23 of file libnsl.h.


Function Documentation

nis_error __prepare_niscall ( const_nis_name  name,
directory_obj **  dirp,
dir_binding *  bptrp,
unsigned int  flags 
)

Definition at line 798 of file nis_call.c.

{
  nis_error retcode = __nisfind_server (name, 1, dirp, bptrp, flags);
  if (__builtin_expect (retcode != NIS_SUCCESS, 0))
    return retcode;

  do
    if (__nisbind_connect (bptrp) == NIS_SUCCESS)
      return NIS_SUCCESS;
  while (__nisbind_next (bptrp) == NIS_SUCCESS);

  __nisbind_destroy (bptrp);
  memset (bptrp, '\0', sizeof (*bptrp));

  retcode = NIS_NAMEUNREACHABLE;
  nis_free_directory (*dirp);
  *dirp = NULL;

  return retcode;
}

Here is the call graph for this function:

Here is the caller graph for this function:

int _nsl_default_nss ( void  )

Definition at line 121 of file nss-default.c.

{
  /* If we have not yet read the file yet do it now.  */
  __libc_once (once, init);

  return default_nss_flags;
}

Here is the caller graph for this function:


Variable Documentation

char struct ib_request dir_binding* bptr

Definition at line 39 of file libnsl.h.

unsigned int flags

Definition at line 35 of file libnsl.h.

char struct ib_request* ibreq

Definition at line 39 of file libnsl.h.

char** tableptr

Definition at line 38 of file libnsl.h.