Back to index

glibc  2.9
Classes | Defines | Functions
ypclnt.h File Reference
#include <features.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ypall_callback

Defines

#define YPERR_SUCCESS   0 /* There is no error */
#define YPERR_BADARGS   1 /* Args to function are bad */
#define YPERR_RPC   2 /* RPC failure */
#define YPERR_DOMAIN   3 /* Can't bind to a server with this domain */
#define YPERR_MAP   4 /* No such map in server's domain */
#define YPERR_KEY   5 /* No such key in map */
#define YPERR_YPERR   6 /* Internal yp server or client error */
#define YPERR_RESRC   7 /* Local resource allocation failure */
#define YPERR_NOMORE   8 /* No more records in map database */
#define YPERR_PMAP   9 /* Can't communicate with portmapper */
#define YPERR_YPBIND   10 /* Can't communicate with ypbind */
#define YPERR_YPSERV   11 /* Can't communicate with ypserv */
#define YPERR_NODOM   12 /* Local domain name not set */
#define YPERR_BADDB   13 /* yp data base is bad */
#define YPERR_VERS   14 /* YP version mismatch */
#define YPERR_ACCESS   15 /* Access violation */
#define YPERR_BUSY   16 /* Database is busy */
#define YPOP_CHANGE   1 /* Change, do not add */
#define YPOP_INSERT   2 /* Add, do not change */
#define YPOP_DELETE   3 /* Delete this entry */
#define YPOP_STORE   4 /* Add, or change */

Functions

int yp_bind (__const char *) __THROW
void yp_unbind (__const char *) __THROW
int yp_get_default_domain (char **) __THROW
int yp_match (__const char *, __const char *, __const char *, __const int, char **, int *) __THROW
int yp_first (__const char *, __const char *, char **, int *, char **, int *) __THROW
int yp_next (__const char *, __const char *, __const char *, __const int, char **, int *, char **, int *) __THROW
int yp_master (__const char *, __const char *, char **) __THROW
int yp_order (__const char *, __const char *, unsigned int *) __THROW
int yp_all (__const char *, __const char *, __const struct ypall_callback *) __THROW
__const char * yperr_string (__const int) __THROW
__const char * ypbinderr_string (__const int) __THROW
int ypprot_err (__const int) __THROW
int yp_update (char *, char *, unsigned int, char *, int, char *, int) __THROW
int __yp_check (char **) __THROW

Define Documentation

#define YPERR_ACCESS   15 /* Access violation */

Definition at line 42 of file ypclnt.h.

#define YPERR_BADARGS   1 /* Args to function are bad */

Definition at line 28 of file ypclnt.h.

#define YPERR_BADDB   13 /* yp data base is bad */

Definition at line 40 of file ypclnt.h.

#define YPERR_BUSY   16 /* Database is busy */

Definition at line 43 of file ypclnt.h.

#define YPERR_DOMAIN   3 /* Can't bind to a server with this domain */

Definition at line 30 of file ypclnt.h.

#define YPERR_KEY   5 /* No such key in map */

Definition at line 32 of file ypclnt.h.

#define YPERR_MAP   4 /* No such map in server's domain */

Definition at line 31 of file ypclnt.h.

#define YPERR_NODOM   12 /* Local domain name not set */

Definition at line 39 of file ypclnt.h.

#define YPERR_NOMORE   8 /* No more records in map database */

Definition at line 35 of file ypclnt.h.

#define YPERR_PMAP   9 /* Can't communicate with portmapper */

Definition at line 36 of file ypclnt.h.

#define YPERR_RESRC   7 /* Local resource allocation failure */

Definition at line 34 of file ypclnt.h.

#define YPERR_RPC   2 /* RPC failure */

Definition at line 29 of file ypclnt.h.

#define YPERR_SUCCESS   0 /* There is no error */

Definition at line 27 of file ypclnt.h.

#define YPERR_VERS   14 /* YP version mismatch */

Definition at line 41 of file ypclnt.h.

#define YPERR_YPBIND   10 /* Can't communicate with ypbind */

Definition at line 37 of file ypclnt.h.

#define YPERR_YPERR   6 /* Internal yp server or client error */

Definition at line 33 of file ypclnt.h.

#define YPERR_YPSERV   11 /* Can't communicate with ypserv */

Definition at line 38 of file ypclnt.h.

#define YPOP_CHANGE   1 /* Change, do not add */

Definition at line 46 of file ypclnt.h.

#define YPOP_DELETE   3 /* Delete this entry */

Definition at line 48 of file ypclnt.h.

#define YPOP_INSERT   2 /* Add, do not change */

Definition at line 47 of file ypclnt.h.

#define YPOP_STORE   4 /* Add, or change */

Definition at line 49 of file ypclnt.h.


Function Documentation

int __yp_check ( char **  )
int yp_all ( __const char *  ,
__const char *  ,
__const struct ypall_callback  
)

Here is the caller graph for this function:

int yp_bind ( __const char *  )

Here is the caller graph for this function:

int yp_first ( __const char *  ,
__const char *  ,
char **  ,
int ,
char **  ,
int  
)

Here is the caller graph for this function:

int yp_get_default_domain ( char **  )

Here is the caller graph for this function:

int yp_master ( __const char *  ,
__const char *  ,
char **   
)

Here is the caller graph for this function:

int yp_match ( __const char *  ,
__const char *  ,
__const char *  ,
__const  int,
char **  ,
int  
)

Here is the caller graph for this function:

int yp_next ( __const char *  ,
__const char *  ,
__const char *  ,
__const  int,
char **  ,
int ,
char **  ,
int  
)

Here is the caller graph for this function:

int yp_order ( __const char *  ,
__const char *  ,
unsigned int  
)
void yp_unbind ( __const char *  )
int yp_update ( char *  ,
char *  ,
unsigned  int,
char *  ,
int  ,
char *  ,
int   
)

Here is the caller graph for this function:

__const char* yperr_string ( __const  int)

Here is the caller graph for this function: