X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=php_psi.h;h=31e65652e697f8b4bda7e63b040c937f2f693592;hp=367739acc0ef237285d111bd58509c58aa4b797f;hb=19f0eb5807fb8d0f3aa305f2476f094e66a02709;hpb=39b256d8a981d4b1eb250043803acac8d82c1829 diff --git a/php_psi.h b/php_psi.h index 367739a..31e6565 100644 --- a/php_psi.h +++ b/php_psi.h @@ -18,10 +18,11 @@ extern zend_module_entry psi_module_entry; #include "TSRM.h" #endif -#include "parser.h" #include "context.h" -void psi_error(int type, const char *msg, ...); +void psi_error_wrapper(PSI_Token *t, int type, const char *msg, ...); +void psi_error(int type, const char *fn, unsigned ln, const char *msg, ...); +void psi_verror(int type, const char *fn, unsigned ln, const char *msg, va_list argv); static inline int psi_check_env(const char *var) { char *set = getenv(var);