Files
dat-thang/extra/dat-dpi/inc/dat_fetch.h
T

12 lines
386 B
C
Raw Normal View History

2026-10-19 00:12:36 -04:00
#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