X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/f28cfc5260eb87df0f6f106c837b3e2de640a9bf..3c54bbb247ffc8fa094d754099c0b009e79d484d:/sbr/crawl_folders.h diff --git a/sbr/crawl_folders.h b/sbr/crawl_folders.h index f5d29cb8..d16401ac 100644 --- a/sbr/crawl_folders.h +++ b/sbr/crawl_folders.h @@ -1,14 +1,17 @@ /* crawl_folders.h -- crawl folder hierarchy - */ + * + * This code is Copyright (c) 2017, by the authors of nmh. See the + * COPYRIGHT file in the root directory of the nmh distribution for + * complete copyright information. */ #define CRAWL_NUMFOLDERS 100 /* Callbacks return true crawl_folders should crawl the children of `folder'. * Callbacks need not duplicate folder, as crawl_folders does not free it. */ -typedef bool (crawl_callback_t)(char *folder, void *baton); +typedef bool (crawl_callback_t)(char *, void *); /* Crawl the folder hierarchy rooted at the relative path `dir'. For each * folder, pass `callback' the folder name (as a path relative to the current * directory) and `baton'; the callback may direct crawl_folders not to crawl * its children; see above. */ -void crawl_folders (char *dir, crawl_callback_t *callback, void *baton); +void crawl_folders(char *, crawl_callback_t *, void *);