home *** CD-ROM | disk | FTP | other *** search
/ Aminet 18 / aminetcdnumber181997.iso / Aminet / dev / gcc / fd2inline_bin.lha / include / inline / ums.h < prev    next >
C/C++ Source or Header  |  1997-01-31  |  5KB  |  139 lines

  1. /* Automatically generated header! Do not edit! */
  2.  
  3. #ifndef _INLINE_UMS_H
  4. #define _INLINE_UMS_H
  5.  
  6. #ifndef __INLINE_MACROS_H
  7. #include <inline/macros.h>
  8. #endif /* !__INLINE_MACROS_H */
  9.  
  10. #ifndef UMS_BASE_NAME
  11. #define UMS_BASE_NAME UMSBase
  12. #endif /* !UMS_BASE_NAME */
  13.  
  14. #define UMSCannotExport(account, msgnum, errtext) \
  15.     LP3(0xf0, BOOL, UMSCannotExport, UMSAccount, account, d2, UMSMsgNum, msgnum, d3, STRPTR, errtext, d4, \
  16.     , UMS_BASE_NAME)
  17.  
  18. #define UMSDeleteMsg(account, msgnum) \
  19.     LP2(0x84, BOOL, UMSDeleteMsg, UMSAccount, account, d2, UMSMsgNum, msgnum, d3, \
  20.     , UMS_BASE_NAME)
  21.  
  22. #define UMSDupAccount(account) \
  23.     LP1(0x14a, UMSAccount, UMSDupAccount, UMSAccount, account, d2, \
  24.     , UMS_BASE_NAME)
  25.  
  26. #define UMSErrNum(account) \
  27.     LP1(0x78, UMSError, UMSErrNum, UMSAccount, account, d2, \
  28.     , UMS_BASE_NAME)
  29.  
  30. #define UMSErrTxt(account) \
  31.     LP1(0x7e, STRPTR, UMSErrTxt, UMSAccount, account, d2, \
  32.     , UMS_BASE_NAME)
  33.  
  34. #define UMSErrTxtFromNum(num) \
  35.     LP1(0x144, STRPTR, UMSErrTxtFromNum, UMSError, num, d2, \
  36.     , UMS_BASE_NAME)
  37.  
  38. #define UMSExportedMsg(account, msgnum) \
  39.     LP2NR(0xea, UMSExportedMsg, UMSAccount, account, d2, UMSMsgNum, msgnum, d3, \
  40.     , UMS_BASE_NAME)
  41.  
  42. #define UMSFreeConfig(acc, string) \
  43.     LP2NR(0x126, UMSFreeConfig, UMSAccount, acc, d2, STRPTR, string, d3, \
  44.     , UMS_BASE_NAME)
  45.  
  46. #define UMSFreeMsg(acc, msgnum) \
  47.     LP2NR(0x10e, UMSFreeMsg, UMSAccount, acc, d2, UMSMsgNum, msgnum, d3, \
  48.     , UMS_BASE_NAME)
  49.  
  50. #define UMSLogin(user, passwd) \
  51.     LP2(0x1e, UMSAccount, UMSLogin, STRPTR, user, d2, STRPTR, passwd, d3, \
  52.     , UMS_BASE_NAME)
  53.  
  54. #define UMSLogout(account) \
  55.     LP1NR(0x24, UMSLogout, UMSAccount, account, d2, \
  56.     , UMS_BASE_NAME)
  57.  
  58. #define UMSMatchConfig(account, tagitems) \
  59.     LP2(0x13e, BOOL, UMSMatchConfig, UMSAccount, account, d2, struct TagItem *, tagitems, d3, \
  60.     , UMS_BASE_NAME)
  61.  
  62. #ifndef NO_INLINE_STDARG
  63. #define UMSMatchConfigTags(a0, tags...) \
  64.     ({ULONG _tags[] = { tags }; UMSMatchConfig((a0), (struct TagItem *)_tags);})
  65. #endif /* !NO_INLINE_STDARG */
  66.  
  67. #define UMSRLogin(server, user, passwd) \
  68.     LP3(0xfc, UMSAccount, UMSRLogin, STRPTR, server, d2, STRPTR, user, d3, STRPTR, passwd, d4, \
  69.     , UMS_BASE_NAME)
  70.  
  71. #define UMSReadConfig(acc, tagitems) \
  72.     LP2(0x120, STRPTR, UMSReadConfig, UMSAccount, acc, d2, struct TagItem *, tagitems, d3, \
  73.     , UMS_BASE_NAME)
  74.  
  75. #ifndef NO_INLINE_STDARG
  76. #define UMSReadConfigTags(a0, tags...) \
  77.     ({ULONG _tags[] = { tags }; UMSReadConfig((a0), (struct TagItem *)_tags);})
  78. #endif /* !NO_INLINE_STDARG */
  79.  
  80. #define UMSReadMsg(acc, tagitems) \
  81.     LP2(0x108, BOOL, UMSReadMsg, UMSAccount, acc, d2, struct TagItem *, tagitems, d3, \
  82.     , UMS_BASE_NAME)
  83.  
  84. #ifndef NO_INLINE_STDARG
  85. #define UMSReadMsgTags(a0, tags...) \
  86.     ({ULONG _tags[] = { tags }; UMSReadMsg((a0), (struct TagItem *)_tags);})
  87. #endif /* !NO_INLINE_STDARG */
  88.  
  89. #define UMSSearch(acc, tagitems) \
  90.     LP2(0x11a, UMSMsgNum, UMSSearch, UMSAccount, acc, d2, struct TagItem *, tagitems, d3, \
  91.     , UMS_BASE_NAME)
  92.  
  93. #ifndef NO_INLINE_STDARG
  94. #define UMSSearchTags(a0, tags...) \
  95.     ({ULONG _tags[] = { tags }; UMSSearch((a0), (struct TagItem *)_tags);})
  96. #endif /* !NO_INLINE_STDARG */
  97.  
  98. #define UMSSelect(acc, tagitems) \
  99.     LP2(0x114, LONG, UMSSelect, UMSAccount, acc, d2, struct TagItem *, tagitems, d3, \
  100.     , UMS_BASE_NAME)
  101.  
  102. #ifndef NO_INLINE_STDARG
  103. #define UMSSelectTags(a0, tags...) \
  104.     ({ULONG _tags[] = { tags }; UMSSelect((a0), (struct TagItem *)_tags);})
  105. #endif /* !NO_INLINE_STDARG */
  106.  
  107. #define UMSServerControl(server, action) \
  108.     LP2(0x138, UMSError, UMSServerControl, STRPTR, server, d2, LONG, action, d3, \
  109.     , UMS_BASE_NAME)
  110.  
  111. #define UMSVLog(account, level, format, args) \
  112.     LP4NR(0xf6, UMSVLog, UMSAccount, account, d2, LONG, level, d4, STRPTR, format, d5, APTR, args, d6, \
  113.     , UMS_BASE_NAME)
  114.  
  115. #ifndef NO_INLINE_STDARG
  116. #define UMSLog(a0, a1, a2, tags...) \
  117.     ({ULONG _tags[] = { tags }; UMSVLog((a0), (a1), (a2), (APTR)_tags);})
  118. #endif /* !NO_INLINE_STDARG */
  119.  
  120. #define UMSWriteConfig(acc, tagitems) \
  121.     LP2(0x12c, BOOL, UMSWriteConfig, UMSAccount, acc, d2, struct TagItem *, tagitems, d3, \
  122.     , UMS_BASE_NAME)
  123.  
  124. #ifndef NO_INLINE_STDARG
  125. #define UMSWriteConfigTags(a0, tags...) \
  126.     ({ULONG _tags[] = { tags }; UMSWriteConfig((a0), (struct TagItem *)_tags);})
  127. #endif /* !NO_INLINE_STDARG */
  128.  
  129. #define UMSWriteMsg(acc, tagitems) \
  130.     LP2(0x102, UMSMsgNum, UMSWriteMsg, UMSAccount, acc, d2, struct TagItem *, tagitems, d3, \
  131.     , UMS_BASE_NAME)
  132.  
  133. #ifndef NO_INLINE_STDARG
  134. #define UMSWriteMsgTags(a0, tags...) \
  135.     ({ULONG _tags[] = { tags }; UMSWriteMsg((a0), (struct TagItem *)_tags);})
  136. #endif /* !NO_INLINE_STDARG */
  137.  
  138. #endif /* !_INLINE_UMS_H */
  139.