Server IP : 103.169.32.36 / Your IP : 216.73.217.13 Web Server : Apache System : Linux web.dpmptsp 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : apache ( 48) PHP Version : 5.6.40 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/include/rpcsvc/ |
Upload File : |
| Current File : /usr/include/rpcsvc/ypclnt.h |
/* Copyright (C) 1996, 1997, 1998, 1999, 2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Thorsten Kukuk <kukuk@suse.de>, 1996.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
The GNU C Library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
#ifndef __RPCSVC_YPCLNT_H__
#define __RPCSVC_YPCLNT_H__
#include <features.h>
/* Some 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 */
/* Types of update operations */
#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 */
__BEGIN_DECLS
/* struct ypall_callback * is the arg which must be passed to yp_all. */
struct ypall_callback
{
int (*foreach) (int __status, char *__key, int __keylen,
char *__val, int __vallen, char *__data);
char *data;
};
/* External NIS client function references. */
extern int yp_bind (const char *) __THROW;
extern void yp_unbind (const char *) __THROW;
extern int yp_get_default_domain (char **) __THROW;
extern int yp_match (const char *, const char *, const char *,
const int, char **, int *) __THROW;
extern int yp_first (const char *, const char *, char **,
int *, char **, int *) __THROW;
extern int yp_next (const char *, const char *, const char *,
const int, char **, int *, char **, int *) __THROW;
extern int yp_master (const char *, const char *, char **) __THROW;
extern int yp_order (const char *, const char *, unsigned int *) __THROW;
extern int yp_all (const char *, const char *,
const struct ypall_callback *) __THROW;
extern const char *yperr_string (const int) __THROW;
extern const char *ypbinderr_string (const int) __THROW;
extern int ypprot_err (const int) __THROW;
extern int yp_update (char *, char *, unsigned int, char *,
int, char *, int) __THROW;
#if 0
extern int yp_maplist (const char *, struct ypmaplist **) __THROW;
#endif
/* This functions exists only under BSD and Linux systems. */
extern int __yp_check (char **) __THROW;
__END_DECLS
#endif /* __RPCSVC_YPCLNT_H__ */
| N4m3 |
5!z3 |
L45t M0d!f!3d |
0wn3r / Gr0up |
P3Rm!55!0n5 |
0pt!0n5 |
| .. |
-- |
September 29 2025 07:00:20 |
0 / 0 |
0755 |
|
| | | | | |
| bootparam.h |
0.89 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| bootparam_prot.h |
3.113 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| bootparam_prot.x |
3.047 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| key_prot.h |
6.599 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| key_prot.x |
6.414 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| klm_prot.h |
3.213 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| klm_prot.x |
3.653 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| mount.h |
3.772 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| mount.x |
4.556 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| nfs_prot.h |
11.18 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| nfs_prot.x |
7.799 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| nis.h |
15.83 KB |
June 04 2024 14:43:48 |
0 / 0 |
0644 |
|
| nis.x |
16.408 KB |
June 04 2024 14:43:48 |
0 / 0 |
0644 |
|
| nis_callback.h |
2.641 KB |
June 04 2024 14:43:48 |
0 / 0 |
0644 |
|
| nis_callback.x |
2.127 KB |
June 04 2024 14:43:48 |
0 / 0 |
0644 |
|
| nis_object.x |
12.783 KB |
June 04 2024 14:43:48 |
0 / 0 |
0644 |
|
| nis_tags.h |
5.244 KB |
June 04 2024 14:43:48 |
0 / 0 |
0644 |
|
| nislib.h |
12.687 KB |
June 04 2024 14:43:48 |
0 / 0 |
0644 |
|
| nlm_prot.h |
9.154 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| nlm_prot.x |
4.873 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| rex.h |
5.129 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| rex.x |
7.248 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| rstat.h |
3.95 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| rstat.x |
3.907 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| rusers.h |
3.202 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| rusers.x |
5.729 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| sm_inter.h |
3.099 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| sm_inter.x |
3.664 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| spray.h |
1.843 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| spray.x |
2.483 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| yp.h |
9.684 KB |
June 04 2024 14:43:48 |
0 / 0 |
0644 |
|
| yp.x |
7.029 KB |
June 04 2024 14:43:48 |
0 / 0 |
0644 |
|
| yp_prot.h |
10.253 KB |
June 04 2024 14:43:48 |
0 / 0 |
0644 |
|
| ypclnt.h |
3.515 KB |
June 04 2024 14:43:48 |
0 / 0 |
0644 |
|
| yppasswd.h |
1.255 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| yppasswd.x |
2.232 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| ypupd.h |
2.937 KB |
June 04 2024 14:43:48 |
0 / 0 |
0644 |
|