X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=h%2Fcrawl_folders.h;h=afc249c2d2f08fbfd5ecef07882daa5a8db89e36;hp=d04287a6a22618e3407a85e3dc94347a48c81068;hb=18591f8e001ecedbee48a51c1d1f08ebaa1c15c8;hpb=788c353a8bee07520ae1a1de6fb7bdcdf1f4f1c7 diff --git a/h/crawl_folders.h b/h/crawl_folders.h index d04287a..afc249c 100644 --- a/h/crawl_folders.h +++ b/h/crawl_folders.h @@ -1,18 +1,19 @@ - /* - * crawl_folders.h -- crawl folder hierarchy - * - * $Id$ - */ +** 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. */ -void crawl_folders (char *dir, crawl_callback_t *callback, 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. +*/ +void crawl_folders(char *dir, crawl_callback_t *callback, void *baton);