1 /* Automatically generated header! Do not edit! */
3 #ifndef _INLINE_OPENURL_H
4 #define _INLINE_OPENURL_H
6 #ifndef __INLINE_MACROS_H
7 #include <inline/macros.h>
8 #endif /* !__INLINE_MACROS_H */
10 #ifndef OPENURL_BASE_NAME
11 #define OPENURL_BASE_NAME OpenURLBase
12 #endif /* !OPENURL_BASE_NAME */
14 #define URL_FreePrefsA(___prefs, ___tags) \
15 LP2NR(0x4e, URL_FreePrefsA, struct URL_Prefs *, ___prefs, a0, struct TagItem *, ___tags, a1, \
18 #ifndef NO_INLINE_STDARG
19 #define URL_FreePrefs(a0, ...) \
20 ({ULONG _tags[] = { __VA_ARGS__ }; URL_FreePrefsA((a0), (struct TagItem *)_tags);})
21 #endif /* !NO_INLINE_STDARG */
23 #define URL_GetAttr(___attr, ___storage) \
24 LP2(0x60, ULONG, URL_GetAttr, ULONG, ___attr, d0, ULONG *, ___storage, a0, \
27 #define URL_GetPrefsA(___tags) \
28 LP1(0x48, struct URL_Prefs *, URL_GetPrefsA, struct TagItem *, ___tags, a0, \
31 #ifndef NO_INLINE_STDARG
32 #define URL_GetPrefs(...) \
33 ({ULONG _tags[] = { __VA_ARGS__ }; URL_GetPrefsA((struct TagItem *)_tags);})
34 #endif /* !NO_INLINE_STDARG */
36 #define URL_LaunchPrefsAppA(___tags) \
37 LP1(0x5a, ULONG, URL_LaunchPrefsAppA, struct TagItem *, ___tags, a0, \
40 #ifndef NO_INLINE_STDARG
41 #define URL_LaunchPrefsApp(...) \
42 ({ULONG _tags[] = { __VA_ARGS__ }; URL_LaunchPrefsAppA((struct TagItem *)_tags);})
43 #endif /* !NO_INLINE_STDARG */
45 #define URL_OldFreePrefs(___up) \
46 LP1NR(0x2a, URL_OldFreePrefs, struct URL_Prefs *, ___up, a0, \
49 #define URL_OldGetDefaultPrefs() \
50 LP0(0x36, struct URL_Prefs *, URL_OldGetDefaultPrefs, \
53 #define URL_OldGetPrefs() \
54 LP0(0x24, struct URL_Prefs *, URL_OldGetPrefs, \
57 #define URL_OldLaunchPrefsApp() \
58 LP0(0x3c, ULONG, URL_OldLaunchPrefsApp, \
61 #define URL_OldSetPrefs(___up, ___permanent) \
62 LP2(0x30, ULONG, URL_OldSetPrefs, struct URL_Prefs *, ___up, a0, BOOL, ___permanent, d0, \
65 #define URL_OpenA(___url, ___tags) \
66 LP2(0x1e, ULONG, URL_OpenA, STRPTR, ___url, a0, struct TagItem *, ___tags, a1, \
69 #ifndef NO_INLINE_STDARG
70 #define URL_Open(a0, ...) \
71 ({ULONG _tags[] = { __VA_ARGS__ }; URL_OpenA((a0), (struct TagItem *)_tags);})
72 #endif /* !NO_INLINE_STDARG */
74 #define URL_SetPrefsA(___up, ___tags) \
75 LP2(0x54, ULONG, URL_SetPrefsA, struct URL_Prefs *, ___up, a0, struct TagItem *, ___tags, a1, \
78 #ifndef NO_INLINE_STDARG
79 #define URL_SetPrefs(a0, ...) \
80 ({ULONG _tags[] = { __VA_ARGS__ }; URL_SetPrefsA((a0), (struct TagItem *)_tags);})
81 #endif /* !NO_INLINE_STDARG */
83 #endif /* !_INLINE_OPENURL_H */