Corrections to SVN properties.
[AROS.git] / external / openurl / developer / C / include / clib / openurl_protos.h
blob03b201ab4ce4ac0b285236b63436fdbd7702c588
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-2009 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 */
33 /* Obsolete, don't use! */
34 struct URL_Prefs *URL_OldGetPrefs(void);
35 void URL_OldFreePrefs(struct URL_Prefs *);
36 ULONG URL_OldSetPrefs(struct URL_Prefs *, BOOL);
37 struct URL_Prefs *URL_OldGetDefaultPrefs(void);
38 ULONG URL_OldLaunchPrefsApp(void);
40 /* Reach URL */
41 ULONG URL_OpenA(STRPTR, struct TagItem *);
43 /* Preferences */
44 struct URL_Prefs *URL_GetPrefsA(struct TagItem *);
45 void URL_FreePrefsA(struct URL_Prefs *,struct TagItem *);
46 ULONG URL_SetPrefsA(struct URL_Prefs *,struct TagItem *);
48 /* Prefs application */
49 ULONG URL_LaunchPrefsAppA(struct TagItem *);
51 /* Information */
52 ULONG URL_GetAttr(ULONG attr,ULONG *storage);
54 #if defined(_DCC) || defined(__SASC) || defined (__STORM__) || defined(__GNUC__)
55 ULONG URL_Open(STRPTR, Tag tag1, ...);
56 struct URL_Prefs *URL_GetPrefs(Tag tag1, ...);
57 void URL_FreePrefs(struct URL_Prefs *, Tag tag1, ...);
58 ULONG URL_SetPrefs(struct URL_Prefs *, Tag tag1, ...);
59 ULONG URL_LaunchPrefsApp(Tag tag1, ...);
60 #endif
62 #ifdef __cplusplus
64 #endif /* __cplusplus */
67 #endif /* CLIB_OPENURL_PROTOS_H */