X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=src%2Ferror.h;h=ebbd60be8c0943aac7dad26dbfcbf2628aa0b9d5;hp=c155d391b913cee189776bddba8c7e1d63b96159;hb=a7ac1c0a3c855321f21682c127a4b707de33a303;hpb=35060621f2fd5079502543d17942127c1a602f72 diff --git a/src/error.h b/src/error.h index c155d39..ebbd60b 100644 --- a/src/error.h +++ b/src/error.h @@ -41,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 */