flush
[m6w6/ext-psi] / src / compiler.h
1 #ifndef _PSI_COMPILER_H
2 #define _PSI_COMPILER_H
3
4 #include "validator.h"
5
6 typedef struct PSI_Compiler {
7 PSI_DATA_MEMBERS;
8 void *context;
9 } PSI_Compiler;
10
11 PSI_Compiler *PSI_CompilerInit(PSI_Compiler *C, PSI_Validator *V, void *context);
12 void PSI_CompilerDtor(PSI_Compiler *C);
13 void PSI_CompilerFree(PSI_Compiler **C);
14 zend_function_entry *PSI_CompilerCompile(PSI_Compiler *C);
15
16 #endif