lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | /******************************************************************************* |
| 2 | * °æÈ¨ËùÓÐ (C)2016, ÖÐÐËͨѶ¹É·ÝÓÐÏÞ¹«Ë¾¡£ |
| 3 | * |
| 4 | * ÎļþÃû³Æ: nv_api.h |
| 5 | * Îļþ±êʶ: nv_api.h |
| 6 | * ÄÚÈÝÕªÒª: nv½Ó¿ÚÉùÃ÷Í·Îļþ |
| 7 | * ʹÓ÷½·¨: #include <nv_api.h> |
| 8 | * |
| 9 | * ÐÞ¸ÄÈÕÆÚ °æ±¾ºÅ Ð޸ıê¼Ç ÐÞ¸ÄÈË ÐÞ¸ÄÄÚÈÝ |
| 10 | * ------------------------------------------------------------------------------ |
| 11 | * 2016/09/20 V1.0 Create ÍõÇæ ´´½¨ |
| 12 | * |
| 13 | *******************************************************************************/ |
| 14 | #ifndef _NV_API_H |
| 15 | #define _NV_API_H |
| 16 | |
| 17 | /******************************************************************************* |
| 18 | * Í·Îļþ * |
| 19 | *******************************************************************************/ |
| 20 | #include "nv_typedef.h" |
| 21 | |
| 22 | /******************************************************************************* |
| 23 | * ºê¶¨Òå * |
| 24 | *******************************************************************************/ |
| 25 | |
| 26 | /******************************************************************************* |
| 27 | * Êý¾ÝÀàÐͶ¨Òå * |
| 28 | *******************************************************************************/ |
| 29 | |
| 30 | /******************************************************************************* |
| 31 | * È«¾Ö±äÁ¿ÉùÃ÷ * |
| 32 | *******************************************************************************/ |
| 33 | |
| 34 | /******************************************************************************* |
| 35 | * È«¾Öº¯ÊýÉùÃ÷ * |
| 36 | *******************************************************************************/ |
| 37 | int nv_get_item(char * file, char * key, char * buf, int len); |
| 38 | int nv_set_item(char * file, char * key, char * value, int saveFlag); |
xf.li | f1aed28 | 2024-02-06 00:31:51 -0800 | [diff] [blame] | 39 | //int nv_delete_item(char * file, char * key); |
| 40 | //int nv_clear(char * file); |
lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 41 | int nv_reset(char * file); |
| 42 | int nv_show(char * file); |
| 43 | int nv_commit(char * file); |
| 44 | |
| 45 | #endif |
| 46 | |