diff options
author | Stephen Worley <sworley@cumulusnetworks.com> | 2019-06-13 23:46:29 +0200 |
---|---|---|
committer | Stephen Worley <sworley@cumulusnetworks.com> | 2019-06-19 23:20:24 +0200 |
commit | f73126c31acdd496dcc88c69059a5e0103d6a2ff (patch) | |
tree | a104f3a5dbe7f6f32e87b3b7b41fa73692cc8519 /lib/log_vty.h | |
parent | vtysh: Make show work-queue execute by name (diff) | |
download | frr-f73126c31acdd496dcc88c69059a5e0103d6a2ff.tar.xz frr-f73126c31acdd496dcc88c69059a5e0103d6a2ff.zip |
lib,vtysh: Add vtysh commands for log-filter
Add vtysh commands to add/del/clear/show filters across
all daemons and independently on each one. Add automake and
clippy boilerplate for those commands as well.
Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
Diffstat (limited to 'lib/log_vty.h')
-rw-r--r-- | lib/log_vty.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/lib/log_vty.h b/lib/log_vty.h new file mode 100644 index 000000000..fa5627e4b --- /dev/null +++ b/lib/log_vty.h @@ -0,0 +1,24 @@ +/* + * Logging - VTY library + * Copyright (C) 2019 Cumulus Networks, Inc. + * Stephen Worley + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the License, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; see the file COPYING; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ + +#ifndef __LOG_VTY_H__ +#define __LOG_VTY_H__ +extern void log_filter_cmd_init(void); +#endif /* __LOG_VTY_H__ */ |