1 /* 2 * Part of DNS zone file validator `validns`. 3 * 4 * Copyright 2011-2014 Anton Berezin <tobez@tobez.org> 5 * Modified BSD license. 6 * (See LICENSE file in the distribution.) 7 * 8 */ 9 #ifndef _CARP_H 10 #define _CARP_H 1 11 12 const char *thisprogname(void); 13 14 void croak(int exit_code, const char *fmt, ...); 15 void croakx(int exit_code, const char *fmt, ...); 16 17 void *bitch(const char *fmt, ...); 18 void *moan(char *file_name, int line, const char *fmt, ...); 19 20 #endif 21