/* Ofront+ 1.0 -sw7 -48 */

#ifndef Dir__oh
#define Dir__oh

#include "SYSTEM.oh"

typedef
  CHAR *Dir_PString;

typedef
  struct Dir_Rec {
    BOOLEAN eod, isDir;
    INTEGER res;
    LONGCHAR name[512];
    char _prvt0[2056];
  } Dir_Rec;



import SYSTEM_ADRINT *Dir_Rec__typ;

import void Dir_Close (Dir_Rec *r, SYSTEM_ADRINT *r__typ);
import void Dir_CopyToArray (Dir_PString src, CHAR *dst, INTEGER dst__len);
import BOOLEAN Dir_FileExists (LONGCHAR *name, INTEGER name__len);
import void Dir_First (Dir_Rec *r, SYSTEM_ADRINT *r__typ, LONGCHAR *path, INTEGER path__len);
import void Dir_GetCwd (LONGCHAR *dir, INTEGER dir__len);
import BOOLEAN Dir_IsDir (LONGCHAR *name, INTEGER name__len);
import void Dir_Next (Dir_Rec *r, SYSTEM_ADRINT *r__typ);
import void Dir_Rewind (Dir_Rec *r, SYSTEM_ADRINT *r__typ);
import void *Dir__init (void);


#endif
