diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2024-07-02 18:54:34 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska@appnovation.com> | 2024-07-02 18:54:34 +0000 |
| commit | 8b435b76d68dd8f11808f0cff4d8998d2be48f4c (patch) | |
| tree | 501e5a0047f48fc082b3ed505022a59919c9e716 /src/config/util.c | |
| parent | 9879f5bf1c7bac2f0ae2e230694c9a86b1b567b0 (diff) | |
| download | shibari-8b435b76d68dd8f11808f0cff4d8998d2be48f4c.tar.gz | |
Prepare for 0.0.2.0; add shibari-cache-config
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/config/util.c')
| -rw-r--r-- | src/config/util.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/config/util.c b/src/config/util.c new file mode 100644 index 0000000..f3da287 --- /dev/null +++ b/src/config/util.c @@ -0,0 +1,15 @@ +/* ISC license. */ + +#include <string.h> + +#include "shibari-cache-config-internal.h" + +struct starts_with_a_string_key_s +{ + char const *s ; +} ; + +int keycmp (void const *a, void const *b) +{ + return strcmp((char const *)a, ((struct starts_with_a_string_key_s const *)b)->s) ; +} |
