X-Git-Url: https://git.distorted.org.uk/~mdw/yaid/blobdiff_plain/a8eb4066035f3b4fadb48e8cdf21252c3b73d9c7..429dcd8d6a215be133a0b587b69516197922b9ff:/yaid.h diff --git a/yaid.h b/yaid.h index a148743..eb874cb 100644 --- a/yaid.h +++ b/yaid.h @@ -252,6 +252,9 @@ struct query { extern void PRINTF_LIKE(3, 4) logmsg(const struct query */*q*/, int /*prio*/, const char */*msg*/, ...); +/* Format and report MSG as a fatal error, and exit. */ +extern void PRINTF_LIKE(1, 2) fatal(const char */*msg*/, ...); + /*----- System-specific connection identification code --------------------*/ /* Find out who is responsible for the connection described in the query Q.