X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=php_psi.h;h=31e65652e697f8b4bda7e63b040c937f2f693592;hp=f5859e3dacbe155f84a8672e1cc4bcd17f485803;hb=19f0eb5807fb8d0f3aa305f2476f094e66a02709;hpb=94a98b74d920f4eefea55c41fa0b047f27aaf854 diff --git a/php_psi.h b/php_psi.h index f5859e3..31e6565 100644 --- a/php_psi.h +++ b/php_psi.h @@ -20,7 +20,9 @@ extern zend_module_entry psi_module_entry; #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);