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

  1. OPT MODULE
  2. OPT EXPORT
  3.  
  4. MODULE 'exec/nodes',
  5.        'exec/ports',
  6.        'intuition/screens',
  7.        'utility/hooks',
  8.        'utility/tagitem'
  9.  
  10. CONST APSH_TOOL_ID=$2AF8,
  11.       STARTUPMSGID=$2AF9,
  12.       LOGINTOOLID=$2AFA,
  13.       LOGOUTTOOLID=$2AFB,
  14.       SHUTDOWNMSGID=$2AFC,
  15.       ACTIVATETOOLID=$2AFD,
  16.       DEACTIVATETOOLID=$2AFE,
  17.       ACTIVETOOLID=$2AFF,
  18.       INACTIVETOOLID=$2B00,
  19.       TOOLSTATUSID=$2B01,
  20.       TOOLCMDID=$2B02,
  21.       TOOLCMDREPLYID=$2B03,
  22.       SHUTDOWNTOOLID=$2B04,
  23.       AGA_DUMMY=$80000000,
  24.       AGA_PATH=$80000001,
  25.       AGA_XREFLIST=$80000002,
  26.       AGA_ACTIVATE=$80000003,
  27.       AGA_CONTEXT=$80000004,
  28.       AGA_HELPGROUP=$80000005,
  29.       AGA_RESERVED1=$80000006,
  30.       AGA_RESERVED2=$80000007,
  31.       AGA_RESERVED3=$80000008,
  32.       AGA_AREXXPORT=$80000009,
  33.       AGA_AREXXPORTNAME=$8000000A,
  34.       AGA_WORKPATH=$8000000B,
  35.       AGA_WORKNODE=$8000000C
  36.  
  37. OBJECT amigaguidemsg
  38.   msg:mn
  39.   type:LONG
  40.   data:LONG
  41.   dsize:LONG
  42.   dtype:LONG
  43.   pri_ret:LONG
  44.   sec_ret:LONG
  45.   system1:LONG
  46.   system2:LONG
  47. ENDOBJECT     /* SIZEOF=52 */
  48.  
  49. OBJECT newamigaguide
  50.   lock:LONG
  51.   name:PTR TO CHAR
  52.   screen:PTR TO screen
  53.   pubscreen:PTR TO CHAR
  54.   hostport:PTR TO CHAR
  55.   clientport:PTR TO CHAR
  56.   basename:PTR TO CHAR
  57.   flags:LONG
  58.   context:PTR TO LONG
  59.   node:PTR TO CHAR
  60.   line:LONG
  61.   extens:PTR TO tagitem
  62.   client:LONG
  63. ENDOBJECT     /* SIZEOF=52 */
  64.  
  65. CONST HTF_LOAD_INDEX=1,
  66.       HTF_LOAD_ALL=2,
  67.       HTF_CACHE_NODE=4,
  68.       HTF_CACHE_DB=8,
  69.       HTF_UNIQUE=16,
  70.       HTF_NOACTIVATE=$20,
  71.       HTFC_SYSGADS=$80000000,
  72.       HTH_OPEN=0,
  73.       HTH_CLOSE=1,
  74.       HTERR_NOT_ENOUGH_MEMORY=$64,
  75.       HTERR_CANT_OPEN_DATABASE=$65,
  76.       HTERR_CANT_FIND_NODE=$66,
  77.       HTERR_CANT_OPEN_NODE=$67,
  78.       HTERR_CANT_OPEN_WINDOW=$68,
  79.       HTERR_INVALID_COMMAND=$69,
  80.       HTERR_CANT_COMPLETE=$6A,
  81.       HTERR_PORT_CLOSED=$6B,
  82.       HTERR_CANT_CREATE_PORT=$6C,
  83.       HTERR_KEYWORD_NOT_FOUND=$71
  84.  
  85. OBJECT xref
  86.   node:ln
  87.   pad:INT  -> This is unsigned
  88. -> Umm, should be 'PTR TO docfile', but 'docfile' not defined
  89.   df:LONG
  90.   file:PTR TO CHAR
  91.   name:PTR TO CHAR
  92.   line:LONG
  93. ENDOBJECT     /* SIZEOF=32 */
  94.  
  95. CONST XR_GENERIC=0,
  96.       XR_FUNCTION=1,
  97.       XR_COMMAND=2,
  98.       XR_INCLUDE=3,
  99.       XR_MACRO=4,
  100.       XR_STRUCT=5,
  101.       XR_FIELD=6,
  102.       XR_TYPEDEF=7,
  103.       XR_DEFINE=8
  104.  
  105. OBJECT amigaguidehost
  106.   dispatcher:hook
  107.   reserved:LONG
  108.   flags:LONG
  109.   usecnt:LONG
  110.   systemdata:LONG
  111.   userdata:LONG
  112. ENDOBJECT     /* SIZEOF=40 */
  113.  
  114. CONST HM_FINDNODE=1,
  115.       HM_OPENNODE=2,
  116.       HM_CLOSENODE=3,
  117.       HM_EXPUNGE=10
  118.  
  119. -> Um, methodid's were all missing
  120. OBJECT opfindhost
  121.   methodid:LONG
  122.   attrs:PTR TO tagitem
  123.   node:PTR TO CHAR
  124.   toc:PTR TO CHAR
  125.   title:PTR TO CHAR
  126.   next:PTR TO CHAR
  127.   prev:PTR TO CHAR
  128. ENDOBJECT     /* SIZEOF=NONE !!! */
  129.  
  130. OBJECT opnodeio
  131.   methodid:LONG
  132.   attrs:PTR TO tagitem
  133.   node:PTR TO CHAR
  134.   filename:PTR TO CHAR
  135.   docbuffer:PTR TO CHAR
  136.   bufflen:LONG
  137.   flags:LONG
  138. ENDOBJECT     /* SIZEOF=NONE !!! */
  139.  
  140. CONST HTNF_KEEP=1,
  141.       HTNF_RESERVED1=2,
  142.       HTNF_RESERVED2=4,
  143.       HTNF_ASCII=8,
  144.       HTNF_RESERVED3=16,
  145.       HTNF_CLEAN=$20,
  146.       HTNF_DONE=$40,
  147.       HTNA_DUMMY=$80000000,
  148.       HTNA_SCREEN=$80000001,
  149.       HTNA_PENS=$80000002,
  150.       HTNA_RECTANGLE=$80000003,
  151.       HTNA_HELPGROUP=$80000005
  152.  
  153. OBJECT opexpungenode
  154.   methodid:LONG
  155.   attrs:PTR TO tagitem
  156. ENDOBJECT     /* SIZEOF=NONE !!! */
  157.