Files
dat-thang/extra/dat-dpi/inc/dat_fetch.h
T
divorce b735900f2e 0.0.002
ddat interop with dat js
cable interop with cabal js
ddat's frontend = dat-thang
cable fe = cable-thang
dillo support based on cel's dillo-dat
bootstrap node
xplatform support

Signed-off-by: divo <418@cryspace.space>
2026-10-19 00:17:02 -04:00

13 lines
386 B
C

#ifndef DAT_FETCH_H
#define DAT_FETCH_H
#include <stdint.h>
/* Fetch the public metadata and content feeds for a Dat key into root/.dat.
* The fetch uses the configured Cesspool network and persists verified sparse
* feed blocks so a later Dillo request can resume it. */
int dat_fetch_archive(const char *root, const uint8_t metadata_key[32],
unsigned timeout_ms);
#endif