More error handling work (still completely disabled)

This commit is contained in:
Zeev Suraski 2000-04-27 18:37:02 +00:00
parent 095f1d91b1
commit 39aa59bdec
4 changed files with 37 additions and 5 deletions

View file

@ -242,13 +242,20 @@ extern char **environ;
#endif
extern void phperror(char *error);
extern PHPAPI void php_error(int type, const char *format, ...);
extern PHPAPI int php_write(void *buf, int size);
extern PHPAPI int php_printf(const char *format, ...);
extern void php_log_err(char *log_message);
extern int Debug(char *format, ...);
extern int cfgparse(void);
#if ZEND_NEW_ERROR_HANDLING
#define php_error zend_error
#else
extern PHPAPI void php_error_cb(int type, const char *format, ...);
#define php_error php_error_cb
#endif
extern void html_putc(char c);
#define zenderror phperror