Dr Andrew Scott G7VAV

My photo
 
June 2025
Mo Tu We Th Fr Sa Su
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 1 2 3 4 5 6


yppasswd.h
01: /*
02:  * Please do not edit this file.
03:  * It was generated using rpcgen.
04:  */
05: 
06: #ifndef _YPPASSWD_H_RPCGEN
07: #define _YPPASSWD_H_RPCGEN
08: 
09: #include <rpc/rpc.h>
10: 
11: 
12: #ifdef __cplusplus
13: extern "C" {
14: #endif
15: 
16: 
17: struct 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: };
26: typedef struct passwd passwd;
27: 
28: struct yppasswd {
29:         char *oldpass;
30:         passwd newpw;
31: };
32: typedef struct yppasswd yppasswd;
33: 
34: #define YPPASSWDPROG 100009
35: #define YPPASSWDVERS 1
36: 
37: #if defined(__STDC__) || defined(__cplusplus)
38: #define YPPASSWDPROC_UPDATE 1
39: extern  int * yppasswdproc_update_1(yppasswd *, CLIENT *);
40: extern  int * yppasswdproc_update_1_svc(yppasswd *, struct svc_req *);
41: extern int yppasswdprog_1_freeresult (SVCXPRT *, xdrproc_t, caddr_t);
42: 
43: #else /* K&R C */
44: #define YPPASSWDPROC_UPDATE 1
45: extern  int * yppasswdproc_update_1();
46: extern  int * yppasswdproc_update_1_svc();
47: extern int yppasswdprog_1_freeresult ();
48: #endif /* K&R C */
49: 
50: /* the xdr functions */
51: 
52: #if defined(__STDC__) || defined(__cplusplus)
53: extern  bool_t xdr_passwd (XDR *, passwd*);
54: extern  bool_t xdr_yppasswd (XDR *, yppasswd*);
55: 
56: #else /* K&R C */
57: extern bool_t xdr_passwd ();
58: extern bool_t xdr_yppasswd ();
59: 
60: #endif /* K&R C */
61: 
62: #ifdef __cplusplus
63: }
64: #endif
65: 
66: #endif /* !_YPPASSWD_H_RPCGEN */
67: 


for client (none)
© Andrew Scott 2006 - 2025,
All Rights Reserved
http://www.andrew-scott.uk/
Andrew Scott
http://www.andrew-scott.co.uk/