X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=h%2Fcrawl_folders.h;h=e81acb17155e3fb2e6ecf797bbfb1a137f09459f;hp=a5ac7b4d23d88171022b1339c8fba943e8944d2d;hb=ced6090a330d3d83d0bce709f756aa3d7d65fea4;hpb=337338b404931f06f0db2119c9e145e8ca5a9860 diff --git a/h/crawl_folders.h b/h/crawl_folders.h index a5ac7b4..e81acb1 100644 --- a/h/crawl_folders.h +++ b/h/crawl_folders.h @@ -1,15 +1,19 @@ /* - * crawl_folders.h -- crawl folder hierarchy - */ +** crawl_folders.h -- crawl folder hierarchy +*/ #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. */ +/* +** Callbacks return TRUE crawl_folders should crawl the children of `folder'. +** Callbacks need not duplicate folder, as crawl_folders does not free it. +*/ typedef boolean (crawl_callback_t)(char *folder, void *baton); -/* 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. */ +/* +** 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);