revert between 56095 -> 55830 in arch
[AROS.git] / external / openurl / include / clib / openurl_protos.h
blob1824ace504cfae159e63d42ccedceff60409ac6a
1 #ifndef CLIB_OPENURL_PROTOS_H
2 #define CLIB_OPENURL_PROTOS_H
4 /***************************************************************************
6 openurl.library - universal URL display and browser launcher library
7 Copyright (C) 1998-2005 by Troels Walsted Hansen, et al.
8 Copyright (C) 2005-2013 by openurl.library Open Source Team
10 This library is free software; it has been placed in the public domain
11 and you can freely redistribute it and/or modify it. Please note, however,
12 that some components may be under the LGPL or GPL license.
14 This library is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18 openurl.library project: http://sourceforge.net/projects/openurllib/
20 $Id$
22 ***************************************************************************/
24 #ifndef LIBRARIES_OPENURL_H
25 # include <libraries/openurl.h>
26 #endif
28 #ifdef __cplusplus
29 extern "C" {
30 #endif /* __cplusplus */
32 #if !defined(__AROS__) && !defined(IPTR)
33 #define IPTR ULONG
34 #endif
36 /* Obsolete, don't use! */
37 struct URL_Prefs *URL_OldGetPrefs(void);
38 void URL_OldFreePrefs(struct URL_Prefs *);
39 ULONG URL_OldSetPrefs(struct URL_Prefs *, BOOL);
40 struct URL_Prefs *URL_OldGetDefaultPrefs(void);
41 ULONG URL_OldLaunchPrefsApp(void);
43 /* Reach URL */
44 ULONG URL_OpenA(STRPTR, struct TagItem *);
46 /* Preferences */
47 struct URL_Prefs *URL_GetPrefsA(struct TagItem *);
48 void URL_FreePrefsA(struct URL_Prefs *,struct TagItem *);
49 ULONG URL_SetPrefsA(struct URL_Prefs *,struct TagItem *);
51 /* Prefs application */
52 ULONG URL_LaunchPrefsAppA(struct TagItem *);
54 /* Information */
55 ULONG URL_GetAttr(ULONG attr,IPTR *storage);
57 #if defined(_DCC) || defined(__SASC) || defined (__STORM__) || defined(__GNUC__)
58 ULONG URL_Open(STRPTR, Tag tag1, ...);
59 struct URL_Prefs *URL_GetPrefs(Tag tag1, ...);
60 void URL_FreePrefs(struct URL_Prefs *, Tag tag1, ...);
61 ULONG URL_SetPrefs(struct URL_Prefs *, Tag tag1, ...);
62 ULONG URL_LaunchPrefsApp(Tag tag1, ...);
63 #endif
65 #ifdef __cplusplus
67 #endif /* __cplusplus */
70 #endif /* CLIB_OPENURL_PROTOS_H */