| 1 |
/* emdir.h -- Written by Eberhard Mattes, donated to the public domain */ |
| 2 |
|
| 3 |
#if defined(DJGPP) |
| 4 |
|
| 5 |
/* djgpp support by Hartmut Schirmer ([email protected]), May 30, 1997 */ |
| 6 |
#include <dos.h> |
| 7 |
#define ll_findbuffer find_t |
| 8 |
#define attr attrib |
| 9 |
|
| 10 |
#else |
| 11 |
|
| 12 |
struct ll_findbuffer |
| 13 |
{ |
| 14 |
char reserved[21]; |
| 15 |
unsigned char attr; |
| 16 |
unsigned time; |
| 17 |
unsigned date; |
| 18 |
long size; |
| 19 |
char name[257]; |
| 20 |
}; |
| 21 |
|
| 22 |
#endif |
| 23 |
|
| 24 |
int ll_findfirst (const char *path, int attr, struct ll_findbuffer *buffer); |
| 25 |
int ll_findnext (struct ll_findbuffer *buffer); |