diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2024-07-25 06:10:28 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska@appnovation.com> | 2024-07-25 06:10:28 +0000 |
| commit | a788cfec66d6e672fd9bf2e1038d075b5318459a (patch) | |
| tree | 7610959f7fbc543d0834f4ed7f5d895402f17da2 /src/cache/shibari-cache-internal.h | |
| parent | 6b8bb38398e58539096fb054e354bddadda09f9b (diff) | |
| download | shibari-a788cfec66d6e672fd9bf2e1038d075b5318459a.tar.gz | |
More skeleton
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/cache/shibari-cache-internal.h')
| -rw-r--r-- | src/cache/shibari-cache-internal.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/cache/shibari-cache-internal.h b/src/cache/shibari-cache-internal.h index 6c42055..c8819fd 100644 --- a/src/cache/shibari-cache-internal.h +++ b/src/cache/shibari-cache-internal.h @@ -15,14 +15,18 @@ #include <skalibs/genset.h> #include <skalibs/ip46.h> +#include <s6-dns/s6dns-domain.h> #include <s6-dns/s6dns-engine.h> +#include <shibari/dcache.h> + /* cache */ extern void cache_init (uint64_t) ; extern void cache_dump (void) ; extern void cache_load (void) ; +extern int cache_search (s6dns_domain_t const *, uint16_t, dcache_key_t *) ; /* clientaccess */ @@ -32,6 +36,7 @@ extern int clientaccess_ip4 (char const *) ; extern int clientaccess_ip6 (char const *) ; #endif + /* conf */ extern int conf_getb (char const *, size_t, cdb_data *) ; @@ -42,6 +47,11 @@ extern int conf_get_uint64 (char const *, uint64_t *) ; extern char const *conf_get_string (char const *) ; + /* dns */ + +extern int dns_newquery (uint8_t, uint16_t, char const *, uint16_t, char const *, uint16_t) ; + + /* log */ extern void log_newtcp4 (char const *, uint16_t) ; |
