summaryrefslogtreecommitdiff
path: root/crawler.h
diff options
context:
space:
mode:
authordormando <dormando@rydia.net>2017-09-25 23:54:25 -0700
committerdormando <dormando@rydia.net>2017-09-26 00:05:31 -0700
commit4ce647a23128583b74822748a7f1411a75f50d51 (patch)
treeb8c5d5d98b8fcd912f7cc45da8c13d5c9b048d06 /crawler.h
parenta3a955fffcf544072bb49ac81b3bf6a48a0b4a22 (diff)
downloadmemcached-4ce647a23128583b74822748a7f1411a75f50d51.tar.gz
interface code for flash branch
removes a few ifdef's and upstreams small internal interface tweaks for easy rebase.
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,