xref: /netbsd-src/external/ibm-public/postfix/dist/src/util/scan_dir.h (revision 41fbaed053f8fbfdf9d2a4ee0a7386a3c83f8505)
1 /*	$NetBSD: scan_dir.h,v 1.1.1.1 2009/06/23 10:09:00 tron Exp $	*/
2 
3 #ifndef _SCAN_DIR_H_INCLUDED_
4 #define _SCAN_DIR_H_INCLUDED_
5 
6 /*++
7 /* NAME
8 /*	scan_dir 3h
9 /* SUMMARY
10 /*	directory scanner
11 /* SYNOPSIS
12 /*	#include <scan_dir.h>
13 /* DESCRIPTION
14 /* .nf
15 
16  /*
17   * The directory scanner interface.
18   */
19 typedef struct SCAN_DIR SCAN_DIR;
20 
21 extern SCAN_DIR *scan_dir_open(const char *);
22 extern char *scan_dir_next(SCAN_DIR *);
23 extern char *scan_dir_path(SCAN_DIR *);
24 extern void scan_dir_push(SCAN_DIR *, const char *);
25 extern SCAN_DIR *scan_dir_pop(SCAN_DIR *);
26 extern SCAN_DIR *scan_dir_close(SCAN_DIR *);
27 
28 /* LICENSE
29 /* .ad
30 /* .fi
31 /*	The Secure Mailer license must be distributed with this software.
32 /* AUTHOR(S)
33 /*	Wietse Venema
34 /*	IBM T.J. Watson Research
35 /*	P.O. Box 704
36 /*	Yorktown Heights, NY 10598, USA
37 /*--*/
38 
39 #endif
40