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.