#define PSI_ERROR 16
#define PSI_WARNING 32
+#define PSI_NOTICE 1024
struct psi_data;
struct psi_token;
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);
+union psi_debug_ctx {
+ FILE *stdio;
+ int socket;
+};
+
#endif /* PSI_ERROR_H */