/* Ofront+ 1.0 -swC -48 */

#ifndef Builder__oh
#define Builder__oh

#include "SYSTEM.oh"

typedef
  void (*Builder_ErrorHandler)(LONGCHAR*, INTEGER , INTEGER, INTEGER, INTEGER, LONGCHAR*, INTEGER );

typedef
  struct Builder_StrListDesc *Builder_StrList;

typedef
  struct Builder_StrListDesc {
    LONGCHAR s[256];
    LONGCHAR fname[256];
    Builder_StrList next;
  } Builder_StrListDesc;



import SYSTEM_ADRINT *Builder_StrListDesc__typ;

import BOOLEAN Builder_CompileAll (Builder_StrList modules, BOOLEAN graph, LONGCHAR *exename, INTEGER exename__len, BOOLEAN moveToCwd, Builder_ErrorHandler onError);
import void Builder_GetModuleName (LONGCHAR *fname, INTEGER fname__len, LONGCHAR *modname, INTEGER modname__len);
import BOOLEAN Builder_ImportsGraph (Builder_StrList p);
import void Builder_ResetSysModules (void);
import void Builder_SetWorkDir (LONGCHAR *fname, INTEGER fname__len);
import void Builder_StringsFindNext (LONGCHAR *what, INTEGER what__len, LONGCHAR *where, INTEGER where__len, INTEGER begin, BOOLEAN *found, INTEGER *resultPos);
import Builder_StrList Builder_UsedModuleList (LONGCHAR *modname, INTEGER modname__len, LONGCHAR *fname, INTEGER fname__len, LONGCHAR *errFname, INTEGER errFname__len, INTEGER *errLine, INTEGER *errCol, INTEGER *res);
import void *Builder__init (void);


#endif
