diff options
| author | manuel <manuel@mausz.at> | 2013-02-04 00:08:53 +0100 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2013-02-04 00:08:53 +0100 |
| commit | 69aec538b456402170dc723af417ba5c05389c32 (patch) | |
| tree | e6f34c543f17c6392447ea337b2e2868212424d1 /readsubdir.h | |
| download | qmail-69aec538b456402170dc723af417ba5c05389c32.tar.gz qmail-69aec538b456402170dc723af417ba5c05389c32.tar.bz2 qmail-69aec538b456402170dc723af417ba5c05389c32.zip | |
qmail 1.03 import
Diffstat (limited to 'readsubdir.h')
| -rw-r--r-- | readsubdir.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/readsubdir.h b/readsubdir.h new file mode 100644 index 0000000..353942f --- /dev/null +++ b/readsubdir.h | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | #ifndef READSUBDIR_H | ||
| 2 | #define READSUBDIR_H | ||
| 3 | |||
| 4 | #include "direntry.h" | ||
| 5 | |||
| 6 | typedef struct readsubdir | ||
| 7 | { | ||
| 8 | DIR *dir; | ||
| 9 | int pos; | ||
| 10 | char *name; | ||
| 11 | void (*pause)(); | ||
| 12 | } | ||
| 13 | readsubdir; | ||
| 14 | |||
| 15 | extern void readsubdir_init(); | ||
| 16 | extern int readsubdir_next(); | ||
| 17 | |||
| 18 | #define READSUBDIR_NAMELEN 10 | ||
| 19 | |||
| 20 | #endif | ||
