summaryrefslogtreecommitdiff
path: root/sbin/pfctl/pfctl_parser.h
diff options
context:
space:
mode:
authorRyan Thomas McBride <mcbride@cvs.openbsd.org>2010-01-18 23:52:47 +0000
committerRyan Thomas McBride <mcbride@cvs.openbsd.org>2010-01-18 23:52:47 +0000
commit5edcd5f8f5844e468d470c15de877705fb0d6d96 (patch)
tree99bdb467f4d5982c62c360fb79fb06f77ff4f0fe /sbin/pfctl/pfctl_parser.h
parent43bd8b3b6872298cb924f7c1f779da3bbb126fd6 (diff)
Convert pf debug logging to using log()/addlog(), a single standardised
definition of DPFPRINTF(), and log priorities from syslog.h. Old debug levels will still work for now, but will eventually be phased out. discussed with henning, ok dlg
Diffstat (limited to 'sbin/pfctl/pfctl_parser.h')
-rw-r--r--sbin/pfctl/pfctl_parser.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sbin/pfctl/pfctl_parser.h b/sbin/pfctl/pfctl_parser.h
index 1ed6450ef41..a1145a34214 100644
--- a/sbin/pfctl/pfctl_parser.h
+++ b/sbin/pfctl/pfctl_parser.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfctl_parser.h,v 1.91 2010/01/12 03:20:51 mcbride Exp $ */
+/* $OpenBSD: pfctl_parser.h,v 1.92 2010/01/18 23:52:46 mcbride Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -257,6 +257,9 @@ const struct icmptypeent *geticmptypebyname(char *, u_int8_t);
const struct icmpcodeent *geticmpcodebynumber(u_int8_t, u_int8_t, u_int8_t);
const struct icmpcodeent *geticmpcodebyname(u_long, char *, u_int8_t);
+int string_to_loglevel(const char *);
+const char *loglevel_to_string(int);
+
struct pf_timeout {
const char *name;
int timeout;