libxml2: copy the xml2-config to the crosstoolsdir and patch the paths in the native...
[AROS-Contrib.git] / scalos / include / clib / preferences_protos.h
blob2b7dac24fa65b3b921a354f448eca926497c768a
1 #ifndef CLIB_PREFERENCES_PROTOS_H
2 #define CLIB_PREFERENCES_PROTOS_H
4 /*
5 ** $Id$
6 **
7 ** C prototypes. For use with 32 bit integers only.
8 **
9 ** Copyright © 2001 Amiga, Inc.
10 ** All Rights Reserved
13 #ifdef __cplusplus
14 extern "C" {
15 #endif /* __cplusplus */
17 #ifndef EXEC_TYPES_H
18 #include <exec/types.h>
19 #endif
20 #ifndef SCALOS_PREFERENCES_H
21 #include <scalos/preferences.h>
22 #endif
23 APTR AllocPrefsHandle( CONST_STRPTR name );
24 VOID FreePrefsHandle( APTR prefsHandle );
25 VOID SetPreferences( APTR prefsHandle, ULONG iD, ULONG prefsTag, CONST APTR a1arg, ULONG struct_Size );
26 ULONG GetPreferences( APTR prefsHandle, ULONG iD, ULONG prefsTag, APTR a1arg, ULONG struct_Size );
27 VOID ReadPrefsHandle( APTR prefsHandle, CONST_STRPTR filename );
28 VOID WritePrefsHandle( APTR prefsHandle, CONST_STRPTR filename );
29 struct PrefsStruct *FindPreferences( APTR prefsHandle, ULONG iD, ULONG prefsTag );
30 VOID SetEntry( APTR prefsHandle, ULONG iD, ULONG prefsTag, CONST APTR a1arg, ULONG struct_Size, ULONG entry );
31 ULONG GetEntry( APTR prefsHandle, ULONG iD, ULONG prefsTag, APTR a1arg, ULONG struct_Size, ULONG entry );
32 ULONG RemEntry( APTR prefsHandle, ULONG iD, ULONG prefsTag, ULONG entry );
34 #ifdef __cplusplus
36 #endif /* __cplusplus */
38 #endif /* CLIB_PREFERENCES_PROTOS_H */