home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / BC_DICE2.DMS / in.adf / INCLUDE / clib / alib_protos.h next >
Encoding:
C/C++ Source or Header  |  1995-01-10  |  2.7 KB  |  103 lines

  1. #ifndef CLIB_ALIB_PROTOS_H
  2. #define CLIB_ALIB_PROTOS_H
  3. /*
  4. ** $VER: alib_protos.h 1.4 (06.11.91)
  5. ** Includes Release 38.56
  6. **
  7. ** C prototypes. For use with 32 bit integers only.
  8. **
  9. ** (C) Copyright 1990-1992 Commodore-Amiga, Inc.
  10. ** All Rights Reserved
  11. */
  12. #ifndef EXEC_TYPES_H
  13. #include <exec/types.h>
  14. #endif
  15. #ifndef DEVICES_TIMER_H
  16. #include <devices/timer.h>
  17. #endif
  18. #ifndef LIBRARIES_COMMODITIES_H
  19. #include <libraries/commodities.h>
  20. #endif
  21. #ifndef UTILITY_HOOKS_H
  22. #include <utility/hooks.h>
  23. #endif
  24. #ifndef INTUITION_CLASSUSR_H
  25. #include <intuition/classusr.h>
  26. #endif
  27.  
  28.  
  29.  
  30. void BeginIO( struct IORequest *ioReq );
  31. struct IORequest *CreateExtIO( struct MsgPort *port, long ioSize );
  32. struct MsgPort *CreatePort( STRPTR name, long pri );
  33. struct IOStdReq *CreateStdIO( struct MsgPort *port );
  34. struct Task *CreateTask( STRPTR name, long pri, APTR initPC,
  35.  unsigned long stackSize );
  36. void DeleteExtIO( struct IORequest *ioReq );
  37. void DeletePort( struct MsgPort *ioReq );
  38. void DeleteStdIO( struct IOStdReq *ioReq );
  39. void DeleteTask( struct Task *task );
  40. void NewList( struct List *list );
  41.  
  42.  
  43.  
  44. void AddTOF( struct Isrvstr *i, long (*p)(), long a );
  45. void RemTOF( struct Isrvstr *i );
  46. void waitbeam( long b );
  47.  
  48.  
  49.  
  50. FLOAT afp( BYTE *string );
  51. void arnd( long place, long exp, BYTE *string );
  52. FLOAT dbf( unsigned long exp, unsigned long mant );
  53. LONG fpa( FLOAT fnum, BYTE *string );
  54. void fpbcd( FLOAT fnum, BYTE *string );
  55.  
  56.  
  57.  
  58. LONG TimeDelay( long unit, unsigned long secs, unsigned long microsecs );
  59. LONG DoTimer( struct timeval *, long unit, long command );
  60.  
  61.  
  62.  
  63. void ArgArrayDone( void );
  64. UBYTE **ArgArrayInit( long argc, UBYTE **argv );
  65. LONG ArgInt( UBYTE **tt, STRPTR entry, long defaultval );
  66. STRPTR ArgString( UBYTE **tt, STRPTR entry, STRPTR defaulstring );
  67. CxObj *HotKey( STRPTR description, struct MsgPort *port, long id );
  68. struct InputEvent *InvertString( STRPTR str, struct KeyMap *km );
  69. void FreeIEvents( struct InputEvent *events );
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82. BOOL CheckRexxMsg( struct Message *rexxmsg );
  83. LONG GetRexxVar( struct Message *rexxmsg, UBYTE *name, UBYTE **result );
  84. LONG SetRexxVar( struct Message *rexxmsg, UBYTE *name, UBYTE *value,
  85.  long length );
  86.  
  87.  
  88.  
  89.  
  90. ULONG callHookPkt( struct Hook *hookPtr, Object *obj, APTR message );
  91. ULONG callHook( struct Hook *hookPtr, Object *obj, ... );
  92. ULONG DoMethodA( Object *obj, Msg message );
  93. ULONG DoMethod( Object *obj, unsigned long MethodID, ... );
  94. ULONG DoSuperMethodA( struct IClass *cl, Object *obj, Msg message );
  95. ULONG DoSuperMethod( struct IClass *cl, Object *obj, unsigned long MethodID,
  96.  ... );
  97. ULONG CoerceMethodA( struct IClass *cl, Object *obj, Msg message );
  98. ULONG CoerceMethod( struct IClass *cl, Object *obj, unsigned long MethodID,
  99.  ... );
  100. ULONG SetSuperAttrs( struct IClass *cl, Object *obj, unsigned long Tag1,
  101.  ... );
  102. #endif 
  103.