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

  1. /* Automatically generated header! Do not edit! */
  2.  
  3. #ifndef _INLINE_DOSPATH_H
  4. #define _INLINE_DOSPATH_H
  5.  
  6. #ifndef __INLINE_MACROS_H
  7. #include <inline/macros.h>
  8. #endif /* !__INLINE_MACROS_H */
  9.  
  10. #ifndef DOSPATH_BASE_NAME
  11. #define DOSPATH_BASE_NAME DOSPathBase
  12. #endif /* !DOSPATH_BASE_NAME */
  13.  
  14. #define BuildPathListTagList(anchor, tags) \
  15.     LP2(0x30, struct PathListEntry *, BuildPathListTagList, struct PathListEntry **, anchor, a0, struct TagItem *, tags, a1, \
  16.     , DOSPATH_BASE_NAME)
  17.  
  18. #ifndef NO_INLINE_STDARG
  19. #define BuildPathListTags(a0, tags...) \
  20.     ({ULONG _tags[] = { tags }; BuildPathListTagList((a0), (struct TagItem *)_tags);})
  21. #endif /* !NO_INLINE_STDARG */
  22.  
  23. #define CopyPathList(orig, anchor) \
  24.     LP2(0x2a, struct PathListEntry *, CopyPathList, struct PathListEntry *, orig, a0, struct PathListEntry **, anchor, a1, \
  25.     , DOSPATH_BASE_NAME)
  26.  
  27. #define CopyWorkbenchPathList(startup, anchor) \
  28.     LP2(0x4e, struct PathListEntry *, CopyWorkbenchPathList, struct WBStartup *, startup, a0, struct PathListEntry **, anchor, a1, \
  29.     , DOSPATH_BASE_NAME)
  30.  
  31. #define FindFileInPathList(state, file) \
  32.     LP2(0x36, BPTR, FindFileInPathList, struct PathListEntry **, state, a0, const char *, file, a1, \
  33.     , DOSPATH_BASE_NAME)
  34.  
  35. #define FreePathList(list) \
  36.     LP1NR(0x24, FreePathList, struct PathListEntry *, list, a0, \
  37.     , DOSPATH_BASE_NAME)
  38.  
  39. #define GetProcessPathList(process) \
  40.     LP1(0x42, struct PathListEntry *, GetProcessPathList, struct Process *, process, a0, \
  41.     , DOSPATH_BASE_NAME)
  42.  
  43. #define RemoveFromPathList(path, lock) \
  44.     LP2(0x3c, struct PathListEntry *, RemoveFromPathList, struct PathListEntry *, path, a0, BPTR, lock, a1, \
  45.     , DOSPATH_BASE_NAME)
  46.  
  47. #define SetProcessPathList(process, path) \
  48.     LP2(0x48, struct PathListEntry *, SetProcessPathList, struct Process *, process, a0, struct PathListEntry *, path, a1, \
  49.     , DOSPATH_BASE_NAME)
  50.  
  51. #endif /* !_INLINE_DOSPATH_H */
  52.