1/*
2 * Please do not edit this file.
3 * It was generated using rpcgen.
4 */
5
6#ifndef _YPPASSWD_H_RPCGEN
7#define _YPPASSWD_H_RPCGEN
8
9#include <rpc/rpc.h>
10
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
16
17struct passwd {
18	char *pw_name;
19	char *pw_passwd;
20	int pw_uid;
21	int pw_gid;
22	char *pw_gecos;
23	char *pw_dir;
24	char *pw_shell;
25};
26typedef struct passwd passwd;
27
28struct yppasswd {
29	char *oldpass;
30	passwd newpw;
31};
32typedef struct yppasswd yppasswd;
33
34#define YPPASSWDPROG 100009
35#define YPPASSWDVERS 1
36
37#if defined(__STDC__) || defined(__cplusplus)
38#define YPPASSWDPROC_UPDATE 1
39extern  int * yppasswdproc_update_1(yppasswd *, CLIENT *);
40extern  int * yppasswdproc_update_1_svc(yppasswd *, struct svc_req *);
41extern int yppasswdprog_1_freeresult (SVCXPRT *, xdrproc_t, caddr_t);
42
43#else /* K&R C */
44#define YPPASSWDPROC_UPDATE 1
45extern  int * yppasswdproc_update_1();
46extern  int * yppasswdproc_update_1_svc();
47extern int yppasswdprog_1_freeresult ();
48#endif /* K&R C */
49
50/* the xdr functions */
51
52#if defined(__STDC__) || defined(__cplusplus)
53extern  bool_t xdr_passwd (XDR *, passwd*);
54extern  bool_t xdr_yppasswd (XDR *, yppasswd*);
55
56#else /* K&R C */
57extern bool_t xdr_passwd ();
58extern bool_t xdr_yppasswd ();
59
60#endif /* K&R C */
61
62#ifdef __cplusplus
63}
64#endif
65
66#endif /* !_YPPASSWD_H_RPCGEN */
67