Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/rpcsvc
File: ypclnt.h
/* Copyright (C) 1996-2014 Free Software Foundation, Inc.
[0] Fix | Delete
This file is part of the GNU C Library.
[1] Fix | Delete
Contributed by Thorsten Kukuk <kukuk@suse.de>, 1996.
[2] Fix | Delete
[3] Fix | Delete
The GNU C Library is free software; you can redistribute it and/or
[4] Fix | Delete
modify it under the terms of the GNU Lesser General Public
[5] Fix | Delete
License as published by the Free Software Foundation; either
[6] Fix | Delete
version 2.1 of the License, or (at your option) any later version.
[7] Fix | Delete
[8] Fix | Delete
The GNU C Library is distributed in the hope that it will be useful,
[9] Fix | Delete
but WITHOUT ANY WARRANTY; without even the implied warranty of
[10] Fix | Delete
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
[11] Fix | Delete
Lesser General Public License for more details.
[12] Fix | Delete
[13] Fix | Delete
You should have received a copy of the GNU Lesser General Public
[14] Fix | Delete
License along with the GNU C Library; if not, see
[15] Fix | Delete
<http://www.gnu.org/licenses/>. */
[16] Fix | Delete
[17] Fix | Delete
[18] Fix | Delete
#ifndef __RPCSVC_YPCLNT_H__
[19] Fix | Delete
#define __RPCSVC_YPCLNT_H__
[20] Fix | Delete
[21] Fix | Delete
/* Some defines */
[22] Fix | Delete
#define YPERR_SUCCESS 0 /* There is no error */
[23] Fix | Delete
#define YPERR_BADARGS 1 /* Args to function are bad */
[24] Fix | Delete
#define YPERR_RPC 2 /* RPC failure */
[25] Fix | Delete
#define YPERR_DOMAIN 3 /* Can't bind to a server with this domain */
[26] Fix | Delete
#define YPERR_MAP 4 /* No such map in server's domain */
[27] Fix | Delete
#define YPERR_KEY 5 /* No such key in map */
[28] Fix | Delete
#define YPERR_YPERR 6 /* Internal yp server or client error */
[29] Fix | Delete
#define YPERR_RESRC 7 /* Local resource allocation failure */
[30] Fix | Delete
#define YPERR_NOMORE 8 /* No more records in map database */
[31] Fix | Delete
#define YPERR_PMAP 9 /* Can't communicate with portmapper */
[32] Fix | Delete
#define YPERR_YPBIND 10 /* Can't communicate with ypbind */
[33] Fix | Delete
#define YPERR_YPSERV 11 /* Can't communicate with ypserv */
[34] Fix | Delete
#define YPERR_NODOM 12 /* Local domain name not set */
[35] Fix | Delete
#define YPERR_BADDB 13 /* yp data base is bad */
[36] Fix | Delete
#define YPERR_VERS 14 /* YP version mismatch */
[37] Fix | Delete
#define YPERR_ACCESS 15 /* Access violation */
[38] Fix | Delete
#define YPERR_BUSY 16 /* Database is busy */
[39] Fix | Delete
[40] Fix | Delete
/* Types of update operations */
[41] Fix | Delete
#define YPOP_CHANGE 1 /* Change, do not add */
[42] Fix | Delete
#define YPOP_INSERT 2 /* Add, do not change */
[43] Fix | Delete
#define YPOP_DELETE 3 /* Delete this entry */
[44] Fix | Delete
#define YPOP_STORE 4 /* Add, or change */
[45] Fix | Delete
[46] Fix | Delete
#ifdef __cplusplus
[47] Fix | Delete
extern "C" {
[48] Fix | Delete
#endif
[49] Fix | Delete
[50] Fix | Delete
/* struct ypall_callback * is the arg which must be passed to yp_all. */
[51] Fix | Delete
struct ypall_callback
[52] Fix | Delete
{
[53] Fix | Delete
int (*foreach) (int __status, char *__key, int __keylen,
[54] Fix | Delete
char *__val, int __vallen, char *__data);
[55] Fix | Delete
char *data;
[56] Fix | Delete
};
[57] Fix | Delete
[58] Fix | Delete
/* External NIS client function references. */
[59] Fix | Delete
extern int yp_bind (const char *);
[60] Fix | Delete
extern void yp_unbind (const char *);
[61] Fix | Delete
extern int yp_get_default_domain (char **);
[62] Fix | Delete
extern int yp_match (const char *, const char *, const char *,
[63] Fix | Delete
const int, char **, int *);
[64] Fix | Delete
extern int yp_first (const char *, const char *, char **,
[65] Fix | Delete
int *, char **, int *);
[66] Fix | Delete
extern int yp_next (const char *, const char *, const char *,
[67] Fix | Delete
const int, char **, int *, char **, int *);
[68] Fix | Delete
extern int yp_master (const char *, const char *, char **);
[69] Fix | Delete
extern int yp_order (const char *, const char *, unsigned int *);
[70] Fix | Delete
extern int yp_all (const char *, const char *,
[71] Fix | Delete
const struct ypall_callback *);
[72] Fix | Delete
extern const char *yperr_string (const int);
[73] Fix | Delete
extern const char *ypbinderr_string (const int);
[74] Fix | Delete
extern int ypprot_err (const int);
[75] Fix | Delete
extern int yp_update (char *, char *, unsigned int, char *,
[76] Fix | Delete
int, char *, int);
[77] Fix | Delete
[78] Fix | Delete
#if 0
[79] Fix | Delete
extern int yp_maplist (const char *, struct ypmaplist **);
[80] Fix | Delete
#endif
[81] Fix | Delete
[82] Fix | Delete
/* This functions exists only under BSD and Linux systems. */
[83] Fix | Delete
extern int __yp_check (char **);
[84] Fix | Delete
[85] Fix | Delete
#ifdef __cplusplus
[86] Fix | Delete
}
[87] Fix | Delete
#endif
[88] Fix | Delete
[89] Fix | Delete
#endif /* __RPCSVC_YPCLNT_H__ */
[90] Fix | Delete
[91] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function