flush
[m6w6/ext-psi] / idl / validator.c
index d2b7cfee94221c38c8b248045fff24a0d5a626f9..e81d92315a9abadc8760adb23d2490f3b53be5f8 100644 (file)
@@ -3,11 +3,20 @@
 #include <string.h>
 #include <dlfcn.h>
 #include <sys/param.h>
-#include "lexer.h"
-#include "parser.h"
-#include "types.h"
+
 #include "validator.h"
 
+#if INTERFACE
+typedef struct PSI_Validator {
+       decl_typedefs *defs;
+       decls *decls;
+       impls *impls;
+       char *lib;
+       char *fn;
+       void *dlopened;
+} PSI_Validator;
+#endif
+
 PSI_Validator *PSI_ValidatorInit(PSI_Validator *V, PSI_Lexer *L)
 {
        if (!V) {