basic support for builtins
[m6w6/ext-psi] / src / error.h
index 3f64f1ffe6c8ce6072854baba89cbc5de214a158..ebbd60be8c0943aac7dad26dbfcbf2628aa0b9d5 100644 (file)
@@ -30,6 +30,7 @@
 
 #define PSI_ERROR 16
 #define PSI_WARNING 32
+#define PSI_NOTICE 1024
 
 struct psi_data;
 struct psi_token;
@@ -40,4 +41,9 @@ void psi_error_wrapper(struct psi_data *context, struct psi_token *t, int type,
 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 */