1 /* Automatically generated header! Do not edit! */
    2 
    3 #ifndef _PPCINLINE_OPENURL_H
    4 #define _PPCINLINE_OPENURL_H
    5 
    6 #ifndef __PPCINLINE_MACROS_H
    7 #include <ppcinline/macros.h>
    8 #endif /* !__PPCINLINE_MACROS_H */
    9 
   10 #ifndef OPENURL_BASE_NAME
   11 #define OPENURL_BASE_NAME OpenURLBase
   12 #endif /* !OPENURL_BASE_NAME */
   13 
   14 #define URL_OpenA(url, tags) \
   15 	LP2(0x1e, BOOL, URL_OpenA, STRPTR, url, a0, struct TagItem *, tags, a1, \
   16 	, OPENURL_BASE_NAME, 0, 0, 0, 0, 0, 0)
   17 
   18 #define URL_GetPrefsA(tags) \
   19 	LP1(0x48, struct URL_Prefs *, URL_GetPrefsA, struct TagItem *, tags, a0, \
   20 	, OPENURL_BASE_NAME, 0, 0, 0, 0, 0, 0)
   21 
   22 #define URL_FreePrefsA(prefs, tags) \
   23 	LP2NR(0x4e, URL_FreePrefsA, struct URL_Prefs *, prefs, a0, struct TagItem *, tags, a1, \
   24 	, OPENURL_BASE_NAME, 0, 0, 0, 0, 0, 0)
   25 
   26 #define URL_SetPrefsA(up, tags) \
   27 	LP2(0x54, BOOL, URL_SetPrefsA, struct URL_Prefs *, up, a0, struct TagItem *, tags, a1, \
   28 	, OPENURL_BASE_NAME, 0, 0, 0, 0, 0, 0)
   29 
   30 #define URL_LaunchPrefsAppA(tags) \
   31 	LP1(0x5a, BOOL, URL_LaunchPrefsAppA, struct TagItem *, tags, a0, \
   32 	, OPENURL_BASE_NAME, 0, 0, 0, 0, 0, 0)
   33 
   34 #define URL_GetAttr(attr, storage) \
   35 	LP2(0x60, ULONG, URL_GetAttr, ULONG, attr, d0, ULONG *, storage, a0, \
   36 	, OPENURL_BASE_NAME, 0, 0, 0, 0, 0, 0)
   37 
   38 #ifdef USE_INLINE_STDARG
   39 
   40 #include <stdarg.h>
   41 
   42 #define URL_Open(__p0, ...) \
   43 	({ULONG _tags[] = {__VA_ARGS__}; URL_OpenA(__p0, (struct TagItem *) _tags);})
   44 
   45 #define URL_GetPrefs(...) \
   46 	({ULONG _tags[] = {__VA_ARGS__}; URL_GetPrefsA((struct TagItem *) _tags);})
   47 
   48 #define URL_FreePrefs(__p0, ...) \
   49 	({ULONG _tags[] = {__VA_ARGS__}; URL_FreePrefsA(__p0, (struct TagItem *) _tags);})
   50 
   51 #define URL_SetPrefs(__p0, ...) \
   52 	({ULONG _tags[] = {__VA_ARGS__}; URL_SetPrefsA(__p0, (struct TagItem *) _tags);})
   53 
   54 #define URL_LaunchPrefsApp(...) \
   55 	({ULONG _tags[] = {__VA_ARGS__}; URL_LaunchPrefsAppA((struct TagItem *) _tags);})
   56 
   57 #endif
   58 
   59 #endif /*  _PPCINLINE_OPENURL_H  */