1 Star 0 Fork 4.9K

平凡 / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
kv_store-h.md 3.44 KB
一键复制 编辑 原始数据 按行查看 历史
wenjun 提交于 2020-09-08 10:08 . add OpenHarmony 1.0 baseline

kv_store.h

Overview

Related Modules:

Kv_store

Description:

Provides functions for obtaining, setting, and deleting a key-value pair.

Since:

1.0

Version:

1.0

Summary

Functions

Function Name

Description

UtilsGetValue (const char *key, char *value, unsigned int len)

int 

Obtains the value matching a specified key from the file system or cache.

UtilsSetValue (const char *key, const char *value)

int 

Adds or updates the value matching a specified key in the file system or cache.

UtilsDeleteValue (const char *key)

int 

Deletes the value matching a specified key from the file system or cache.

ClearKVCache (void)

int 

Clears all key-value pairs from the cache.

1
https://gitee.com/pingfan_vs_hs/docs.git
git@gitee.com:pingfan_vs_hs/docs.git
pingfan_vs_hs
docs
docs
master

搜索帮助