home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 13 / AACD13.ISO / AACD / System / ScalosPrefs / include / C / clib / preferences_protos.h
C/C++ Source or Header  |  1980-07-24  |  1KB  |  43 lines

  1. #ifndef CLIB_PREFERENCES_PROTOS_H
  2. #define CLIB_PREFERENCES_PROTOS_H
  3.  
  4. /*
  5. **  $VER: preferences_protos.h 39.5 (05.06.2000)
  6. **
  7. **  C prototypes. For use with 32 bit integers only
  8. **
  9. **  Copyright © 2000 Satanic Dreams Software
  10. **      All Rights Reserved
  11. */
  12.  
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif /* __cplusplus */
  16.  
  17. #ifndef EXEC_TYPES_H
  18. #include <exec/types.h>
  19. #endif
  20.  
  21. #ifndef SCALOS_PREFERENCES_H
  22. #include <scalos/preferences.h>
  23. #endif
  24.  
  25. APTR                      AllocPrefsHandle(STRPTR name);
  26. void                      FreePrefsHandle(APTR PrefsHandle);
  27. void                      SetPreferences(APTR PrefsHandle, ULONG ID, ULONG Tag, APTR Struct, UWORD Struct_Size);
  28. ULONG                     GetPreferences(APTR PrefsHandle, ULONG ID, ULONG Tag, APTR Struct, UWORD Struct_Size);
  29. void                      ReadPrefsHandle(APTR PrefsHandle, STRPTR Filename);
  30. void                      WritePrefsHandle(APTR PrefsHandle, STRPTR Filename);
  31. struct PrefsStruct  *     FindPreferences(APTR PrefsHandle, ULONG ID, ULONG Tag);
  32. void                      SetEntry(APTR PrefsHandle, ULONG ID, ULONG Tag, APTR Struct, UWORD Struct_Size, ULONG Entry);
  33. ULONG                     GetEntry(APTR PrefsHandle, ULONG ID, ULONG Tag, APTR Struct, UWORD Struct_Size, ULONG Entry);
  34. ULONG                     RemEntry(APTR PrefsHandle, ULONG ID, ULONG Tag, ULONG Entry);
  35.  
  36.  
  37. #ifdef __cplusplus
  38. }
  39. #endif /* __cplusplus */
  40.  
  41. #endif /* CLIB_PREFERENCES_PROTOS_H */
  42.  
  43.