|
opensc
NPCI secure-component & UPI Lite / Lite X wallet reimplementation
|
SharedPreferences-shaped store, namespaced by file (e.g. "NPCICLVAULT", "DataUPI"). More...
#include <store.h>
Data Fields | |
| void * | ctx |
| Backend-private state. | |
| long(* | get )(void *ctx, const char *file, const char *key, char *out, size_t cap) |
Reads file/key into out (NUL-terminated); returns length, or -1 if absent/too small. out may be NULL to query length. | |
| int(* | set )(void *ctx, const char *file, const char *key, const char *val) |
Writes file/key=val. 0 on success. | |
| int(* | remove )(void *ctx, const char *file, const char *key) |
Removes file/key. 0 on success. | |
SharedPreferences-shaped store, namespaced by file (e.g. "NPCICLVAULT", "DataUPI").