Spider2/include/crawler.h

15 lines
272 B
C
Raw Permalink Normal View History

2024-09-01 16:12:11 +02:00
#ifndef __CRAWLER_H_
#define __CRAWLER_H_
#include "module.h"
typedef struct {
const char **allowedhosts;
double req_interval_s;
moduleentryp_dynarr_t enabledmodules;
} crawlerconfig_t;
void crawler(const char *seed, const crawlerconfig_t *config);
#endif