home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume26 / idutil / pwinf.h < prev   
Encoding:
C/C++ Source or Header  |  1992-06-12  |  948 b   |  32 lines

  1. #ifndef PWINF_INCLUDED
  2. #define PWINF_INCLUDED
  3.  
  4. static char *PWINF_RCSid="$Header: pwinf.h,v 1.1 91/10/28 10:39:58 dtb Exp $" ;
  5.  
  6. /* Header for passwd information utilities by David T. Bath */
  7.  
  8. /*
  9.     Structure for specification of passwd information required and
  10.     formatting requirements.
  11. */
  12. struct     pwinfrq {
  13.     char     nam;     /* Boolean : user name required */
  14.     char     epw;     /* Boolean : encrypted password required */
  15.     char     uid;     /* Boolean : user id required */
  16.     char     gid;     /* Boolean : group id required */
  17.     char     age;     /* Boolean : age information required */
  18.     char     cmt;     /* Boolean : comment required */
  19.     char     dir;     /* Boolean : home directory required */
  20.     char     shl;     /* Boolean : initial shell required */
  21.     char     vbs;     /* Boolean : verbose output required */
  22.     char     dlm;     /* Delimiter between major fields */
  23. } ;
  24.  
  25. #define PWINFRQ_DLM_DFLT ':'
  26.  
  27. struct     pwinfrq *     pwinfrq_set_dflt ();
  28. int             pwinf_fpr ();
  29. int             pwinf_info_fpr ();
  30.  
  31. #endif
  32.