diff options
author | default <nobody@localhost> | 2023-08-19 09:59:58 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2023-08-19 09:59:58 +0200 |
commit | dae2e406d633ba32f2660100ef417ec13726765c (patch) | |
tree | f0fc2ee7f826907665ff883cd205d1f355030a2c /snac.h | |
parent | 5c7b26bcdcac85433f45e93a934525ecf1e92414 (diff) |
history_add() now creates an etag.
Diffstat (limited to 'snac.h')
-rw-r--r-- | snac.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -149,7 +149,8 @@ void static_put_meta(snac *snac, const char *id, const char *str); xs_str *static_get_meta(snac *snac, const char *id); double history_mtime(snac *snac, const char *id); -void history_add(snac *snac, const char *id, const char *content, int size); +void history_add(snac *snac, const char *id, const char *content, int size, + xs_str **etag); int history_get(snac *snac, const char *id, xs_str **content, int *size, const char *inm, xs_str **etag); int history_del(snac *snac, const char *id); |