home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 23 / AACD 23.iso / AACD / Magazine / YAM / Source / includes / inline / genesis.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-12-15  |  2.2 KB  |  79 lines

  1. /* Automatically generated header! Do not edit! */
  2.  
  3. #ifndef _INLINE_GENESIS_H
  4. #define _INLINE_GENESIS_H
  5.  
  6. #ifndef __INLINE_MACROS_H
  7. #include <inline/macros.h>
  8. #endif /* !__INLINE_MACROS_H */
  9.  
  10. #ifndef GENESIS_BASE_NAME
  11. #define GENESIS_BASE_NAME GenesisBase
  12. #endif /* !GENESIS_BASE_NAME */
  13.  
  14. #define ClearUserList() \
  15.     LP0NR(0x60, ClearUserList, \
  16.     , GENESIS_BASE_NAME)
  17.  
  18. #define FreeUser(user) \
  19.     LP1NR(0x42, FreeUser, struct genUser *, user, a0, \
  20.     , GENESIS_BASE_NAME)
  21.  
  22. #define GetFileSize(file) \
  23.     LP1(0x1e, LONG, GetFileSize, STRPTR, file, a0, \
  24.     , GENESIS_BASE_NAME)
  25.  
  26. #define GetGlobalUser() \
  27.     LP0(0x54, struct genUser *, GetGlobalUser, \
  28.     , GENESIS_BASE_NAME)
  29.  
  30. #define GetUser(name, password, title, flags) \
  31.     LP4(0x4e, struct genUser *, GetUser, STRPTR, name, a0, STRPTR, password, a1, STRPTR, title, a2, LONG, flags, d0, \
  32.     , GENESIS_BASE_NAME)
  33.  
  34. #define GetUserName(user_number, buffer, len) \
  35.     LP3(0x48, BOOL, GetUserName, LONG, user_number, d0, char *, buffer, a0, LONG, len, d1, \
  36.     , GENESIS_BASE_NAME)
  37.  
  38. #define IsOnline(flags) \
  39.     LP1(0x78, BOOL, IsOnline, LONG, flags, d0, \
  40.     , GENESIS_BASE_NAME)
  41.  
  42. #define ParseConfig(file, pc_data) \
  43.     LP2(0x24, BOOL, ParseConfig, STRPTR, file, a0, struct ParseConfig_Data *, pc_data, a1, \
  44.     , GENESIS_BASE_NAME)
  45.  
  46. #define ParseEnd(pc_data) \
  47.     LP1NR(0x36, ParseEnd, struct ParseConfig_Data *, pc_data, a0, \
  48.     , GENESIS_BASE_NAME)
  49.  
  50. #define ParseNext(pc_data) \
  51.     LP1(0x2a, BOOL, ParseNext, struct ParseConfig_Data *, pc_data, a0, \
  52.     , GENESIS_BASE_NAME)
  53.  
  54. #define ParseNextLine(pc_data) \
  55.     LP1(0x30, BOOL, ParseNextLine, struct ParseConfig_Data *, pc_data, a0, \
  56.     , GENESIS_BASE_NAME)
  57.  
  58. #define ReadFile(file, buffer, len) \
  59.     LP3(0x6c, LONG, ReadFile, STRPTR, file, a0, STRPTR, buffer, a1, LONG, len, d0, \
  60.     , GENESIS_BASE_NAME)
  61.  
  62. #define ReallocCopy(old_ptr, src) \
  63.     LP2(0x3c, STRPTR, ReallocCopy, STRPTR *, old_ptr, a0, STRPTR, src, a1, \
  64.     , GENESIS_BASE_NAME)
  65.  
  66. #define ReloadUserList() \
  67.     LP0(0x66, BOOL, ReloadUserList, \
  68.     , GENESIS_BASE_NAME)
  69.  
  70. #define SetGlobalUser(user) \
  71.     LP1NR(0x5a, SetGlobalUser, struct genUser *, user, a0, \
  72.     , GENESIS_BASE_NAME)
  73.  
  74. #define WriteFile(file, buffer, len) \
  75.     LP3(0x72, BOOL, WriteFile, STRPTR, file, a0, STRPTR, buffer, a1, LONG, len, d0, \
  76.     , GENESIS_BASE_NAME)
  77.  
  78. #endif /* !_INLINE_GENESIS_H */
  79.