diff options
author | Vivien Kraus <vivien@planete-kraus.eu> | 2023-03-20 19:55:33 +0100 |
---|---|---|
committer | Vivien Kraus <vivien@planete-kraus.eu> | 2023-03-20 20:59:32 +0100 |
commit | b7a76711ed9898dca90b91f87c5dcbd49be9553e (patch) | |
tree | 0e024862b656e9b22b1d933fac19de5b8af8d30d /include | |
parent | 8d56568d5c75ef606e3aa0a755433e2447aa6901 (diff) |
Hash the primary cache key.
Diffstat (limited to 'include')
-rw-r--r-- | include/disfluid.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/disfluid.h b/include/disfluid.h index e6a17db..52c6d95 100644 --- a/include/disfluid.h +++ b/include/disfluid.h @@ -150,6 +150,13 @@ extern "C" const char *response_header, size_t max_key, char *key); + LIBDISFLUID_API extern int + disfluid_hash_primary_cache_key (const char *method, + const char *uri, + const char *password, + size_t password_length, + size_t max_hash, char *hash); + # ifdef __cplusplus } # endif /* __cplusplus */ |