mirror of
https://github.com/owntracks/recorder.git
synced 2024-11-15 18:08:28 -07:00
surface gcache_del()
This commit is contained in:
parent
b06f224e27
commit
8bd8263b52
2
gcache.c
2
gcache.c
@ -118,7 +118,7 @@ void gcache_close(struct gcache *gc)
|
||||
free(gc);
|
||||
}
|
||||
|
||||
static int gcache_del(struct gcache *gc, char *keystr)
|
||||
int gcache_del(struct gcache *gc, char *keystr)
|
||||
{
|
||||
int rc;
|
||||
MDB_val key;
|
||||
|
1
gcache.h
1
gcache.h
@ -21,6 +21,7 @@ long gcache_get(struct gcache *, char *key, char *buf, long buflen);
|
||||
JsonNode *gcache_json_get(struct gcache *, char *key);
|
||||
void gcache_dump(char *path, char *lmdbname);
|
||||
void gcache_load(char *path, char *lmdbname);
|
||||
int gcache_del(struct gcache *gc, char *keystr);
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user