1 #ifndef CLIB_NONVOLATILE_PROTOS_H 2 #define CLIB_NONVOLATILE_PROTOS_H 3 4 /* 5 nonvolatile.library C prototypes 6 7 Copyright © 2002 The MorphOS Development Team, All Rights Reserved. 8 */ 9 10 #ifndef EXEC_TYPES_H 11 # include <exec/types.h> 12 #endif 13 14 #ifndef EXEC_LISTS_H 15 # include <exec/lists.h> 16 #endif 17 18 #ifndef LIBRARIES_NONVOLATILE_H 19 # include <libraries/nonvolatile.h> 20 #endif 21 22 23 #ifdef __cplusplus 24 extern "C" { 25 #endif /* __cplusplus */ 26 27 APTR GetCopyNV( CONST_STRPTR appName, CONST_STRPTR itemName, LONG killRequesters ); 28 VOID FreeNVData( APTR data ); 29 UWORD StoreNV( CONST_STRPTR appName, CONST_STRPTR itemName, CONST APTR data, ULONG length, LONG killRequesters ); 30 BOOL DeleteNV( CONST_STRPTR appName, CONST_STRPTR itemName, LONG killRequesters ); 31 struct NVInfo *GetNVInfo( LONG killRequesters ); 32 struct MinList *GetNVList( CONST_STRPTR appName, LONG killRequesters ); 33 BOOL SetNVProtection( CONST_STRPTR appName, CONST_STRPTR itemName, LONG mask, LONG killRequesters ); 34 35 #ifdef __cplusplus 36 } 37 #endif /* __cplusplus */ 38 39 40 #endif /* CLIB_NONVOLATILE_PROTOS_H */