File: carp.h

package info (click to toggle)
validns 0.8%2Bgit20230810.a7e6b4f-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,260 kB
  • sloc: ansic: 7,496; perl: 308; makefile: 163
file content (20 lines) | stat: -rw-r--r-- 454 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * Part of DNS zone file validator `validns`.
 *
 * Copyright 2011-2014 Anton Berezin <tobez@tobez.org>
 * Modified BSD license.
 * (See LICENSE file in the distribution.)
 *
 */
#ifndef _CARP_H
#define _CARP_H 1

const char *thisprogname(void);

void croak(int exit_code, const char *fmt, ...);
void croakx(int exit_code, const char *fmt, ...);

void *bitch(const char *fmt, ...);
void *moan(char *file_name, int line, const char *fmt, ...);

#endif