home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 13 / AACD13.ISO / AACD / System / Scout / src / include / libraries / commodities_private.h
C/C++ Source or Header  |  2000-03-12  |  1KB  |  51 lines

  1. #ifndef LIBRARIES_COMMODITIES_PRIVATE_H
  2. #define LIBRARIES_COMMODITIES_PRIVATE_H
  3.  
  4. #ifndef EXEC_TYPES_H
  5. #include <exec/types.h>
  6. #endif
  7.  
  8. #ifndef EXEC_NODES_H
  9. #include <exec/nodes.h>
  10. #endif
  11.  
  12. #ifndef EXEC_PORTS_H
  13. #include <exec/ports.h>
  14. #endif
  15.  
  16. #ifndef LIBRARIES_COMMODITIES_H
  17. #include <libraries/commodities.h>
  18. #endif
  19.  
  20. /*-- PRIVATE FUNCTIONS --*/
  21. CxObj *FindBroker( STRPTR name );
  22. LONG CopyBrokerList( struct List *list );
  23. LONG FreeBrokerList( struct List *list );
  24. LONG BrokerCommand( STRPTR text, LONG id );
  25.  
  26. #pragma libcall CxBase FindBroker 6c 801        /* Private */
  27. #pragma libcall CxBase CopyBrokerList ba 801    /* Private */
  28. #pragma libcall CxBase FreeBrokerList c0 801    /* Private */
  29. #pragma libcall CxBase BrokerCommand c6 0802    /* Private */
  30.  
  31.  
  32. /*-- PRIVATE STRUCTURES --*/
  33. struct BrokerCopy
  34. {
  35.     struct Node     bc_Node;                  // 00..0E
  36.     char            bc_Name[CBD_NAMELEN];     // 0E..26
  37.     char            bc_Title[CBD_TITLELEN];   // 26..4E
  38.     char            bc_Descr[CBD_DESCRLEN];   // 4E..76
  39.     struct Task *   bc_Task;                  // 76..7A
  40.     struct MsgPort *bc_Port;                  // 7A..7E
  41.     ULONG           bc_Dummy2;                // 7E..82   /* And another one nb_Unique */
  42.     WORD            bc_Flags;                 // 82..84
  43. };
  44.  
  45. /*-- PRIVATE CONSTANTS --*/
  46. #define COF_ACTIVE 2
  47.  
  48.  
  49. #endif
  50.  
  51.