diff options
author | default <nobody@localhost> | 2023-04-22 08:02:23 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2023-04-22 08:02:23 +0200 |
commit | 2b80873a283e18f4b3618535b5961167148e4944 (patch) | |
tree | 1fc05e74117b9a5262517b1af8abd17da4124cc1 /snac.h | |
parent | 51bee249d435225e358fc72e9e6f4e5c45bb4676 (diff) |
History functions fail on ids with /.
Diffstat (limited to 'snac.h')
-rw-r--r-- | snac.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -133,11 +133,11 @@ void static_put(snac *snac, const char *id, const char *data, int size); 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, char *id); -void history_add(snac *snac, char *id, char *content, int size); -d_char *history_get(snac *snac, char *id); -int history_del(snac *snac, char *id); -d_char *history_list(snac *snac); +double history_mtime(snac *snac, const char *id); +void history_add(snac *snac, const char *id, const char *content, int size); +xs_str *history_get(snac *snac, const char *id); +int history_del(snac *snac, const char *id); +xs_list *history_list(snac *snac); void lastlog_write(snac *snac); |