0b8a2793df4160f2d5c422b15ebc4f398dc34977
[m6w6/ext-psi] / idl / old / validator.h
1 #ifndef _PSI_VALIDATOR_H
2 #define _PSI_VALIDATOR_H
3
4 #include "types.h"
5 #include "lexer.h"
6
7 typedef struct PSI_Validator {
8 decl_typedefs *defs;
9 decls *decls;
10 impls *impls;
11 char *lib;
12 char *fn;
13 void *dlopened;
14 } PSI_Validator;
15
16 PSI_Validator *PSI_ValidatorInit(PSI_Validator *V, PSI_Lexer *L);
17 int PSI_ValidatorValidate(PSI_Validator *V);
18 void PSI_ValidatorDtor(PSI_Validator *V);
19 void PSI_ValidatorFree(PSI_Validator **V);
20
21 #endif