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