home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / psion / opp16f_zip / INCLUDE / SDK / EDIT.OPH < prev    next >
Encoding:
Text File  |  1995-12-21  |  1.2 KB  |  78 lines

  1. #define EDIT_OPH
  2.  
  3. #ifndef VARRAY_OPH
  4. #include <sdk\varray>
  5. #endif
  6.  
  7. /* Constants for eproot */
  8.  
  9. #define EP_SCAN_BACKWARDS 0x01
  10. #define EP_SCAN_STAY 0x02
  11. #define EP_SCAN_TO_BEGIN 0x04
  12. #define EP_SCAN_TO_END 0x08
  13. #define EP_SCAN_JOIN_DELIM 0x10
  14. #define EP_SCAN_NOT_TO_END 0x20
  15. #define EP_RETURN_LENGTH -1
  16. #define EP_MOD_TOLOWER 0
  17. #define EP_MOD_TOUPPER 1
  18. #define EP_MOD_WRAP 2
  19.  
  20. /* Property of eproot */
  21.  
  22. STRUCT PRS_EPROOT
  23.     maxlen%
  24. ENDS
  25.  
  26. STRUCT PR_EPROOT
  27.     root#(SIZEOF(PRS_ROOT))
  28.     eproot#(SIZEOF(PRS_EPROOT))
  29. ENDS
  30.  
  31. /* Property of epflat */
  32.  
  33. STRUCT PRS_EPFLAT
  34.     alen%
  35.     gran%
  36.     len%
  37.     buf%
  38. ENDS
  39.  
  40. STRUCT PR_EPFLAT
  41.     root#(SIZEOF(PRS_ROOT))
  42.     eproot#(SIZEOF(PRS_EPROOT))
  43.     epflat#(SIZEOF(PRS_EPFLAT))
  44. ENDS
  45.  
  46. /* Property of epseg */
  47.  
  48. STRUCT PRS_EPSEG
  49.     b%
  50. ENDS
  51.  
  52. STRUCT PR_EPSEG
  53.     root#(SIZEOF(PRS_ROOT))
  54.     eproot#(SIZEOF(PRS_EPROOT))
  55.     epseg#(SIZEOF(PRS_EPSEG))
  56. ENDS
  57.  
  58. /* Types for vtab */
  59.  
  60. STRUCT TABS_STRIP_OFFS
  61.     ploff1%
  62.     ploff2%
  63. ENDS
  64.  
  65. /* Property of vtab */
  66.  
  67. STRUCT PRS_VTAB
  68.     c%
  69. ENDS
  70.  
  71. STRUCT PR_VTAB
  72.     root#(SIZEOF(PRS_ROOT))
  73.     varoot#(SIZEOF(PRS_VAROOT))
  74.     vafix#(SIZEOF(PRS_VAFIX))
  75.     vaflat#(SIZEOF(PRS_VAFLAT))
  76.     vtab#(SIZEOF(PRS_VTAB))
  77. ENDS
  78.