summaryrefslogtreecommitdiff
path: root/crawler.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawler.h')
-rw-r--r--crawler.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/crawler.h b/crawler.h
index ad30e66..e009548 100644
--- a/crawler.h
+++ b/crawler.h
@@ -25,10 +25,9 @@ struct crawler_expired_data {
enum crawler_result_type {
CRAWLER_OK=0, CRAWLER_RUNNING, CRAWLER_BADCLASS, CRAWLER_NOTSTARTED, CRAWLER_ERROR
};
-
int start_item_crawler_thread(void);
int stop_item_crawler_thread(void);
-int init_lru_crawler(void);
+int init_lru_crawler(void *arg);
enum crawler_result_type lru_crawler_crawl(char *slabs, enum crawler_run_type, void *c, const int sfd);
int lru_crawler_start(uint8_t *ids, uint32_t remaining,
const enum crawler_run_type type, void *data,