aboutsummaryrefslogtreecommitdiffstats
path: root/src/cache.h
diff options
context:
space:
mode:
authorJose Bollo <jose.bollo@iot.bzh>2019-10-14 12:25:35 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2019-10-15 22:06:24 +0200
commitf53a76ce91ab83c7345a104b57f148738101c58d (patch)
tree90fae562195d8030903828e0319693fbe880dfd8 /src/cache.h
parentb5fdd44014207c619b937e5c202ba27e77a2593c (diff)
Transmit expiration in relative values
This will at the end allow unsynchronized clients to query the server efficiently. Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/cache.h')
-rw-r--r--src/cache.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cache.h b/src/cache.h
index 713efa4..a23a7aa 100644
--- a/src/cache.h
+++ b/src/cache.h
@@ -53,7 +53,8 @@ cache_put(
cache_t *cache,
const cynagora_key_t *key,
int value,
- time_t expire
+ time_t expire,
+ bool absolute
);
/**