]>
git.proxmox.com Git - mirror_frr.git/blob - ldpd/log.h
641ad8ac5edb6aca28e362e593bcaca2ce6bd623
1 // SPDX-License-Identifier: ISC
5 * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
13 extern const char *log_procname
;
15 void logit(int, const char *, ...)
16 __attribute__((__format__ (printf
, 2, 3)));
17 void vlog(int, const char *, va_list)
18 __attribute__((__format__ (printf
, 2, 0)));
19 void log_warn(const char *, ...)
20 __attribute__((__format__ (printf
, 1, 2)));
21 void log_warnx(const char *, ...)
22 __attribute__((__format__ (printf
, 1, 2)));
23 void log_info(const char *, ...)
24 __attribute__((__format__ (printf
, 1, 2)));
25 void log_notice(const char *, ...)
26 __attribute__((__format__ (printf
, 1, 2)));
27 void log_debug(const char *, ...)
28 __attribute__((__format__ (printf
, 1, 2)));
29 void fatal(const char *)
30 __attribute__ ((noreturn
))
31 __attribute__((__format__ (printf
, 1, 0)));
32 void fatalx(const char *)
33 __attribute__ ((noreturn
))
34 __attribute__((__format__ (printf
, 1, 0)));