(root)/
Linux-PAM-1.5.3/
modules/
pam_unix/
yppasswd.h
       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
      13  extern "C" {
      14  #endif
      15  
      16  
      17  struct xpasswd {
      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 xpasswd xpasswd;
      27  
      28  struct yppasswd {
      29  	char *oldpass;
      30  	xpasswd 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 *, xpasswd*);
      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 */