Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (16 sloc) 0.598 kB
#pragma once
void kvstore_init(void);
void kvstore_fini(void);
void *kvstore_get(void);
void kvstore_close(void *db);
void kv_prop_bind_create(prop_t *p, const char *url);
// Direct access
#define KVSTORE_DOMAIN_SYS 1
#define KVSTORE_DOMAIN_PROP 2
#define KVSTORE_DOMAIN_PLUGIN 3
rstr_t *kv_url_opt_get_rstr(const char *url, int domain, const char *key);
int kv_url_opt_get_int(const char *url, int domain, const char *key, int def);
#define KVSTORE_SET_STRING 1
#define KVSTORE_SET_INT 2
void kv_url_opt_set(const char *url, int domain, const char *key,
int type, ...);
Jump to Line
Something went wrong with that request. Please try again.