diff options
author | 2006-10-27 13:56:51 +0000 | |
---|---|---|
committer | 2006-10-27 13:56:51 +0000 | |
commit | 6a21d20bf7dd4c0684fe99c06c6d6d0fb8153d93 (patch) | |
tree | 55f36bd46ee0ea5a80a84b285570f0b4d2918129 /lib/libusbhid/usage.c | |
parent | use clock_gettime(CLOCK_MONOTONIC, ..) to get a monotonically increasing (diff) | |
download | wireguard-openbsd-6a21d20bf7dd4c0684fe99c06c6d6d0fb8153d93.tar.xz wireguard-openbsd-6a21d20bf7dd4c0684fe99c06c6d6d0fb8153d93.zip |
Split ruleset manipulation functions out into pf_ruleset.c to allow them to
be imported into pfctl. This is a precursor to separating ruleset parsing
from loading in pfctl, and tons of good things will come from it.
2 minor changes aside from cut-n-paste and #define portability magic:
- instead of defining the global pf_main_ruleset, define pf_main_anchor
(which contains the pf_main_ruleset)
- allow pf_find_or_create_ruleset() to return the pf_main_ruleset if it's
passed an empty anchor name.
ok henning dhartmei
Diffstat (limited to 'lib/libusbhid/usage.c')
0 files changed, 0 insertions, 0 deletions