Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2024-11-15 09:58:09

0001 /*
0002  * Please do not edit this file.
0003  * It was generated using rpcgen.
0004  */
0005 
0006 #ifndef _YPPASSWD_H_RPCGEN
0007 #define _YPPASSWD_H_RPCGEN
0008 
0009 #include <rpc/rpc.h>
0010 
0011 
0012 #ifdef __cplusplus
0013 extern "C" {
0014 #endif
0015 
0016 struct passwd {
0017     char *pw_name;
0018     char *pw_passwd;
0019     int pw_uid;
0020     int pw_gid;
0021     char *pw_gecos;
0022     char *pw_dir;
0023     char *pw_shell;
0024 };
0025 typedef struct passwd passwd;
0026 
0027 struct yppasswd {
0028     char *oldpass;
0029     struct passwd newpw;
0030 };
0031 typedef struct yppasswd yppasswd;
0032 
0033 #define YPPASSWDPROG 100009
0034 #define YPPASSWDVERS 1
0035 #define YPPASSWDPROC_UPDATE 1
0036 
0037 extern int * yppasswdproc_update_1(yppasswd *, CLIENT *);
0038 extern int * yppasswdproc_update_1_svc(yppasswd *, struct svc_req *);
0039 extern int yppasswdprog_1_freeresult (SVCXPRT *, xdrproc_t, caddr_t);
0040 
0041 /* the xdr functions */
0042 extern  bool_t xdr_passwd (XDR *, struct passwd*);
0043 extern  bool_t xdr_yppasswd (XDR *, yppasswd*);
0044 
0045 #ifdef __cplusplus
0046 }
0047 #endif
0048 
0049 #endif /* !_YPPASSWD_H_RPCGEN */