summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/cjk/utils/hbf2gf/emdir.h
blob: 0606d476ab17d7debf2e50f1b82cd4b9e43bc93d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* emdir.h  -- Written by Eberhard Mattes, donated to the public domain */

#if defined(DJGPP)

/* djgpp support by Hartmut Schirmer (hsc@techfak.uni-kiel.de), May 30, 1997 */
#include <dos.h>
#define ll_findbuffer find_t
#define attr attrib

#else

struct ll_findbuffer
{
  char reserved[21];
  unsigned char attr;
  unsigned time;
  unsigned date;
  long size;
  char name[257];
};

#endif

int ll_findfirst (const char *path, int attr, struct ll_findbuffer *buffer);
int ll_findnext (struct ll_findbuffer *buffer);