aboutsummaryrefslogtreecommitdiffstats
path: root/src/cache.h
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2019-02-05 16:14:10 +0100
committerJose Bollo <jose.bollo@iot.bzh>2019-04-29 17:29:38 +0200
commitfac09aebb3bb0daed47ea510d3b0374d7350650a (patch)
treeab47ec7fe43bf65d80fd3f5fea3c60cbe0760f3c /src/cache.h
parent6a244fcacf49034b93a7fd2f3988f71d9ffd5fd2 (diff)
Rework of many things
Change-Id: Iadeba6f0602f7be017244c2602fae2bbe2abf74e Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/cache.h')
-rw-r--r--src/cache.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/cache.h b/src/cache.h
index bd56601..bf85e8e 100644
--- a/src/cache.h
+++ b/src/cache.h
@@ -24,20 +24,14 @@ extern
int
cache_search(
cache_t *cache,
- const char *client,
- const char *session,
- const char *user,
- const char *permission
+ const rcyn_key_t *key
);
extern
int
cache_put(
cache_t *cache,
- const char *client,
- const char *session,
- const char *user,
- const char *permission,
+ const rcyn_key_t *key,
int value,
time_t expire
);