home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / OTL-MC6.DMS / in.adf / incl.lha / INCLUDE / clib / nonvolatile_protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-10-29  |  1.1 KB  |  46 lines

  1. #ifndef  CLIB_NONVOLATILE_PROTOS_H
  2. #define  CLIB_NONVOLATILE_PROTOS_H
  3.  
  4. /*
  5. **    $VER: nonvolatile_protos.h 40.5 (30.7.93)
  6. **    Includes Release 40.15
  7. **
  8. **    C prototypes. For use with 32 bit integers only.
  9. **
  10. **    (C) Copyright 1990-1993 Commodore-Amiga, Inc.
  11. **        All Rights Reserved
  12. */
  13.  
  14. #ifndef  EXEC_TYPES_H
  15. #include <exec/types.h>
  16. #endif
  17. #ifndef  EXEC_LISTS_H
  18. #include <exec/lists.h>
  19. #endif
  20. #ifndef  LIBRARIES_NONVOLATILE_H
  21. #include <libraries/nonvolatile.h>
  22. #endif
  23.  
  24. #ifdef __cplusplus
  25. #define CLIBCPLUSON
  26. #pragma -
  27. #endif
  28.  
  29. /*--- functions in V40 or higher (Release 3.1) ---*/
  30. APTR GetCopyNV( STRPTR appName, STRPTR itemName, long killRequesters );
  31. void FreeNVData( APTR data );
  32. UWORD StoreNV( STRPTR appName, STRPTR itemName, APTR data,
  33.     unsigned long length, long killRequesters );
  34. BOOL DeleteNV( STRPTR appName, STRPTR itemName, long killRequesters );
  35. struct NVInfo *GetNVInfo( long killRequesters );
  36. struct MinList *GetNVList( STRPTR appName, long killRequesters );
  37. BOOL SetNVProtection( STRPTR appName, STRPTR itemName, long mask,
  38.     long killRequesters );
  39.  
  40. #ifdef CLIBCPLUSON
  41. #undef CLIBCPLUSON
  42. #pragma +
  43. #endif
  44.  
  45. #endif     /* CLIB_NONVOLATILE_PROTOS_H */
  46.