revert between 56095 -> 55830 in arch
[AROS.git] / external / openurl / developer / C / include / inline / openurl_protos.h
blob995b11a2f8b6bb6b946dd5eacba9806693be41c7
1 #ifndef _VBCCINLINE_OPENURL_H
2 #define _VBCCINLINE_OPENURL_H
4 #ifndef EXEC_TYPES_H
5 #include <exec/types.h>
6 #endif
8 ULONG __URL_OpenA(__reg("a6") struct Library *, __reg("a0") STRPTR url, __reg("a1") struct TagItem * tags)="\tjsr\t-30(a6)";
9 #define URL_OpenA(url, tags) __URL_OpenA(OpenURLBase, (url), (tags))
11 #if !defined(NO_INLINE_STDARG) && (__STDC__ == 1L) && (__STDC_VERSION__ >= 199901L)
12 ULONG __URL_Open(__reg("a6") struct Library *, __reg("a0") STRPTR url, ...)="\tmove.l\ta1,-(a7)\n\tlea\t4(a7),a1\n\tjsr\t-30(a6)\n\tmovea.l\t(a7)+,a1";
13 #define URL_Open(...) __URL_Open(OpenURLBase, __VA_ARGS__)
14 #endif
16 struct URL_Prefs * __URL_OldGetPrefs(__reg("a6") struct Library *)="\tjsr\t-36(a6)";
17 #define URL_OldGetPrefs() __URL_OldGetPrefs(OpenURLBase)
19 void __URL_OldFreePrefs(__reg("a6") struct Library *, __reg("a0") struct URL_Prefs * up)="\tjsr\t-42(a6)";
20 #define URL_OldFreePrefs(up) __URL_OldFreePrefs(OpenURLBase, (up))
22 ULONG __URL_OldSetPrefs(__reg("a6") struct Library *, __reg("a0") struct URL_Prefs * up, __reg("d0") BOOL permanent)="\tjsr\t-48(a6)";
23 #define URL_OldSetPrefs(up, permanent) __URL_OldSetPrefs(OpenURLBase, (up), (permanent))
25 struct URL_Prefs * __URL_OldGetDefaultPrefs(__reg("a6") struct Library *)="\tjsr\t-54(a6)";
26 #define URL_OldGetDefaultPrefs() __URL_OldGetDefaultPrefs(OpenURLBase)
28 ULONG __URL_OldLaunchPrefsApp(__reg("a6") struct Library *)="\tjsr\t-60(a6)";
29 #define URL_OldLaunchPrefsApp() __URL_OldLaunchPrefsApp(OpenURLBase)
31 struct URL_Prefs * __URL_GetPrefsA(__reg("a6") struct Library *, __reg("a0") struct TagItem * tags)="\tjsr\t-72(a6)";
32 #define URL_GetPrefsA(tags) __URL_GetPrefsA(OpenURLBase, (tags))
34 #if !defined(NO_INLINE_STDARG) && (__STDC__ == 1L) && (__STDC_VERSION__ >= 199901L)
35 struct URL_Prefs * __URL_GetPrefs(__reg("a6") struct Library *, ...)="\tmove.l\ta0,-(a7)\n\tlea\t4(a7),a0\n\tjsr\t-72(a6)\n\tmovea.l\t(a7)+,a0";
36 #define URL_GetPrefs(...) __URL_GetPrefs(OpenURLBase, __VA_ARGS__)
37 #endif
39 void __URL_FreePrefsA(__reg("a6") struct Library *, __reg("a0") struct URL_Prefs * prefs, __reg("a1") struct TagItem * tags)="\tjsr\t-78(a6)";
40 #define URL_FreePrefsA(prefs, tags) __URL_FreePrefsA(OpenURLBase, (prefs), (tags))
42 #if !defined(NO_INLINE_STDARG) && (__STDC__ == 1L) && (__STDC_VERSION__ >= 199901L)
43 void __URL_FreePrefs(__reg("a6") struct Library *, __reg("a0") struct URL_Prefs * prefs, ...)="\tmove.l\ta1,-(a7)\n\tlea\t4(a7),a1\n\tjsr\t-78(a6)\n\tmovea.l\t(a7)+,a1";
44 #define URL_FreePrefs(...) __URL_FreePrefs(OpenURLBase, __VA_ARGS__)
45 #endif
47 ULONG __URL_SetPrefsA(__reg("a6") struct Library *, __reg("a0") struct URL_Prefs * up, __reg("a1") struct TagItem * tags)="\tjsr\t-84(a6)";
48 #define URL_SetPrefsA(up, tags) __URL_SetPrefsA(OpenURLBase, (up), (tags))
50 #if !defined(NO_INLINE_STDARG) && (__STDC__ == 1L) && (__STDC_VERSION__ >= 199901L)
51 ULONG __URL_SetPrefs(__reg("a6") struct Library *, __reg("a0") struct URL_Prefs * up, ...)="\tmove.l\ta1,-(a7)\n\tlea\t4(a7),a1\n\tjsr\t-84(a6)\n\tmovea.l\t(a7)+,a1";
52 #define URL_SetPrefs(...) __URL_SetPrefs(OpenURLBase, __VA_ARGS__)
53 #endif
55 ULONG __URL_LaunchPrefsAppA(__reg("a6") struct Library *, __reg("a0") struct TagItem * tags)="\tjsr\t-90(a6)";
56 #define URL_LaunchPrefsAppA(tags) __URL_LaunchPrefsAppA(OpenURLBase, (tags))
58 #if !defined(NO_INLINE_STDARG) && (__STDC__ == 1L) && (__STDC_VERSION__ >= 199901L)
59 ULONG __URL_LaunchPrefsApp(__reg("a6") struct Library *, ...)="\tmove.l\ta0,-(a7)\n\tlea\t4(a7),a0\n\tjsr\t-90(a6)\n\tmovea.l\t(a7)+,a0";
60 #define URL_LaunchPrefsApp(...) __URL_LaunchPrefsApp(OpenURLBase, __VA_ARGS__)
61 #endif
63 ULONG __URL_GetAttr(__reg("a6") struct Library *, __reg("d0") ULONG attr, __reg("a0") ULONG * storage)="\tjsr\t-96(a6)";
64 #define URL_GetAttr(attr, storage) __URL_GetAttr(OpenURLBase, (attr), (storage))
66 #endif /* _VBCCINLINE_OPENURL_H */