home *** CD-ROM | disk | FTP | other *** search
/ Gold Fish 3 / goldfish_volume_3.bin / files / dev / e / amigae / modulessrc / libraries / iffparse.e < prev    next >
Text File  |  1995-07-05  |  2KB  |  101 lines

  1. OPT MODULE
  2. OPT EXPORT
  3.  
  4. MODULE 'devices/clipboard',
  5.        'exec/nodes',
  6.        'exec/ports'
  7.  
  8. OBJECT iffhandle
  9.   stream:LONG
  10.   flags:LONG
  11.   depth:LONG
  12. ENDOBJECT     /* SIZEOF=12 */
  13.  
  14. CONST IFFF_READ=0,
  15.       IFFF_WRITE=1,
  16.       IFFF_RWBITS=1,
  17.       IFFF_FSEEK=2,
  18.       IFFF_RSEEK=4,
  19.       IFFF_RESERVED=$FFFF0000
  20.  
  21. OBJECT iffstreamcmd
  22.   command:LONG
  23.   buf:PTR TO CHAR
  24.   nbytes:LONG
  25. ENDOBJECT     /* SIZEOF=12 */
  26.  
  27. OBJECT contextnode
  28.   mln:mln
  29.   id:LONG
  30.   type:LONG
  31.   size:LONG
  32.   scan:LONG
  33. ENDOBJECT     /* SIZEOF=24 */
  34.  
  35. OBJECT localcontextitem
  36.   mln:mln
  37.   id:LONG
  38.   type:LONG
  39.   ident:LONG
  40. ENDOBJECT     /* SIZEOF=20 */
  41.  
  42. OBJECT storedproperty
  43.   size:LONG
  44.   data:LONG
  45. ENDOBJECT     /* SIZEOF=8 */
  46.  
  47. OBJECT collectionitem
  48.   next:PTR TO collectionitem
  49.   size:LONG
  50.   data:LONG
  51. ENDOBJECT     /* SIZEOF=12 */
  52.  
  53. OBJECT clipboardhandle
  54.   iocr:ioclipreq
  55.   cbport:mp
  56.   satisfyport:mp
  57. ENDOBJECT     /* SIZEOF=120 */
  58.  
  59. CONST IFFERR_EOF=-1,
  60.       IFFERR_EOC=-2,
  61.       IFFERR_NOSCOPE=-3,
  62.       IFFERR_NOMEM=-4,
  63.       IFFERR_READ=-5,
  64.       IFFERR_WRITE=-6,
  65.       IFFERR_SEEK=-7,
  66.       IFFERR_MANGLED=-8,
  67.       IFFERR_SYNTAX=-9,
  68.       IFFERR_NOTIFF=-10,
  69.       IFFERR_NOHOOK=-11,
  70.       IFF_RETURN2CLIENT=-12,
  71.       ID_FORM=$464F524D,
  72.       ID_LIST=$4C495354,
  73.       ID_CAT=$43415420,
  74.       ID_PROP=$50524F50,
  75.       ID_NULL=$20202020,
  76.       IFFLCI_PROP=$70726F70,
  77.       IFFLCI_COLLECTION=$636F6C6C,
  78.       IFFLCI_ENTRYHANDLER=$656E6864,
  79.       IFFLCI_EXITHANDLER=$65786864,
  80.       IFFPARSE_SCAN=0,
  81.       IFFPARSE_STEP=1,
  82.       IFFPARSE_RAWSTEP=2,
  83.       IFFSLI_ROOT=1,
  84.       IFFSLI_TOP=2,
  85.       IFFSLI_PROP=3,
  86.       IFFSIZE_UNKNOWN=-1,
  87.       IFFCMD_INIT=0,
  88.       IFFCMD_CLEANUP=1,
  89.       IFFCMD_READ=2,
  90.       IFFCMD_WRITE=3,
  91.       IFFCMD_SEEK=4,
  92.       IFFCMD_ENTRY=5,
  93.       IFFCMD_EXIT=6,
  94.       IFFCMD_PURGELCI=7,
  95.       IFFSCC_INIT=0,
  96.       IFFSCC_CLEANUP=1,
  97.       IFFSCC_READ=2,
  98.       IFFSCC_WRITE=3,
  99.       IFFSCC_SEEK=4
  100.  
  101.