home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume13 / rolodex / part01 / rolofilz.h < prev   
Encoding:
C/C++ Source or Header  |  1988-01-30  |  2.2 KB  |  72 lines

  1. /* rolofilz.h */
  2. #ifdef UNIX
  3. #define ROLOBAK ".rolodex~"
  4. #define ROLODATA ".rolodex.dat"
  5. #define ROLOPRINT "roloprint.text"
  6. #define ROLOLOCK ".rolodexdata.lock"
  7. #define ROLOTEMP ".rolotemp"
  8. #define ROLOCOPY ".rolocopy"
  9. #endif
  10.  
  11. #ifdef VMS
  12. #define ROLOBAK "rolodex.bak"
  13. #define ROLODATA "rolodex.data"
  14. #define ROLOPRINT "roloprint.text"
  15. #define ROLOLOCK "rolodexdata.lock"
  16. #define ROLOTEMP "rolotemp.data"
  17. #define ROLOCOPY "rolocopy.data"
  18. #endif
  19.  
  20. #ifdef MSDOS
  21. #define ROLOBAK "rolodex.bak"
  22. #define ROLODATA "rolodex.dat"
  23. #define ROLOPRINT "roloprnt.txt"
  24. #define ROLOLOCK "rolodata.lck"
  25. #define ROLOTEMP "rolotemp.dat"
  26. #define ROLOCOPY "rolocopy.dat"
  27. #endif
  28.  
  29. /* This is now defined in the Makefile (except for VMS) */
  30.  
  31. /*  #define ROLOLIB "/usr/local/lib/rolo"  */
  32. #ifdef VMS
  33. #define    ROLOLIB "gal_usrdisk:[ignatz.lib.rololib]"
  34. #endif
  35.  
  36. /*
  37.  * These definitions go with the hlpfiles[] array in IO.C; do *not* change
  38.  * the value any of these definitions, or funny things will happen to your
  39.  * help definitions!  These values are actually array index values to that
  40.  * array, and as such, modification will cause the help routine to point
  41.  * the wrong file...
  42.  *
  43.  * Adding help files consists of both defining the offset here, and entering
  44.  * the filename in hlpfiles[] in IO.C.
  45.  */
  46. #define    ADDHELP            0
  47. #define ADDINFO         (ADDHELP + 1)
  48. #define    CONFIRMHELP        (ADDINFO + 1)
  49. #define ENTRYMENU        (CONFIRMHELP + 1)
  50. #define    ESCANHELP        (ENTRYMENU + 1)
  51. #define    ESEARCHHELP        (ESCANHELP + 1)
  52. #define    FIELDSEARCHHELP        (ESEARCHHELP + 1)
  53. #define    LOCKINFO        (FIELDSEARCHHELP + 1)
  54. #define    MAINMENU            (LOCKINFO + 1)
  55. #define    MANYMATCHHELP        (MAINMENU + 1)
  56. #define    MOPTIONHELP        (MANYMATCHHELP + 1)
  57. #define    MOPTIONSHELP        (MOPTIONHELP + 1)
  58. #define    MOREFIELDSHELP        (MOPTIONSHELP + 1)
  59. #define    NEWADDHELP        (MOREFIELDSHELP + 1)
  60. #define    OTHERFORMATHELP        (NEWADDHELP + 1)
  61. #define    PICKENTRYHELP          (OTHERFORMATHELP + 1)
  62. #define    PICKENTRYMENU        (PICKENTRYHELP + 1)
  63. #define    POPTIONMENU        (PICKENTRYMENU + 1)
  64. #define    POPTIONSHELP        (POPTIONMENU + 1)
  65. #define    SEARCHSTRINGHELP    (POPTIONSHELP + 1)
  66. #define    UPDATEHELP        (SEARCHSTRINGHELP + 1)
  67. #define    UPDATEMENU        (UPDATEHELP + 1)
  68. #define    USERFIELDHELP        (UPDATEMENU + 1)
  69.  
  70. /* Use this to validate given index values */
  71. #define LAST_HELP ((sizeof(hlpfiles) / sizeof(char *)) - 1)
  72.