home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / sendmail / sendmail-5.65c+IDA-1.4.4.1 / uiuc / path.h < prev    next >
Encoding:
C/C++ Source or Header  |  1989-01-24  |  864 b   |  37 lines

  1. /*
  2.  * $Header: path.h,v 4.4 86/10/06 20:58:33 essick Exp $
  3.  *
  4.  *    Declarations to share among the various routines in
  5.  *    this (el-cheapo) package.
  6.  *
  7.  *    definitions you may care to change...
  8.  *
  9.  */
  10.  
  11. #define    PATHTABLE    "/usr/lib/mail/pathtable"
  12. #define    MAILLOG        "/usr/lib/mail/MailLog"
  13.  
  14.  
  15. struct datum                    /* dbm datum */
  16. {
  17.     char   *dptr;
  18.     int     dsize;
  19. };
  20.  
  21. struct findpath_f                /* findpath returns these */
  22. {
  23.     char   *fp_path;                /* path */
  24.     char   *fp_matched;                /* lcase suffix */
  25.     int     fp_fullroute;            /* if full route */
  26. };
  27.  
  28. extern struct datum fetch (), firstkey (), nextkey ();
  29.  
  30. extern char *strsave ();            /* in misc.c */
  31. extern int  strlower ();
  32. extern int  strnsame ();
  33. extern int  strsame ();
  34. extern char *getpath ();            /* in getpath.c */
  35. extern struct findpath_f   *findpath ();    /* getpath.c */
  36. extern char *index ();                /* in libc.a */
  37.