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>
13 lines
386 B
C
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
|