home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 13 / AACD13.ISO / AACD / Resources / System / BoingBag1 / Contributions / Workbench / RexxArpLib3p6 / src / rexxarplib.h < prev    next >
C/C++ Source or Header  |  1998-06-21  |  1KB  |  47 lines

  1. /*
  2. *   Global error value
  3. */
  4. extern int rxf_error;
  5. /*
  6. *   The HostParams structure
  7. */
  8. #define MAXCLASSES 16
  9. #define MAXIDCMPSIZE 256
  10.  
  11. struct HostParams {
  12.                      struct Window   *Window;
  13.                      struct ReqPens  *ReqPens;
  14.                      struct MsgPort  *MasterPort;
  15.                      char            *MsgPtr[16];
  16.                      char            *PublicScreen;
  17.                      long             WaitMask;
  18.                      long             Result;
  19.                      long             Continue;
  20.                      char            *ClassText[MAXCLASSES];
  21.                      char            *NotifyPortName[MAXCLASSES];
  22.                      struct TextFont *Font;
  23.                      long             MsgCount;
  24.                      struct Screen   *ScreenPtr;
  25.                      struct vtx      *Vertex;
  26.                   };
  27. /*
  28. *   The structure that stores information needed for gadgets
  29. */
  30. struct GUData {
  31.                   char *GadgetID;
  32.                   char *MsgText;
  33.               };
  34. /*
  35. *   The function structure definition. Same as in dispatch.
  36. */
  37. struct RXfunc { char    *(*rexxfunc)(long *, int, char **);
  38.                 char    *rexxname;
  39.                 int     nargs;
  40.                 int     nargs_req;         };
  41.  
  42. struct WHfunc { char    *(*rexxfunc)(struct HostParams *, int, char **);
  43.                 char    *rexxname;
  44.                 int     nargs;
  45.                 int     nargs_req;         };
  46.  
  47.