]> git.proxmox.com Git - mirror_frr.git/blobdiff - pbrd/pbr_debug.h
sharpd: Allow sharpd to accept nexthop group as part of route install
[mirror_frr.git] / pbrd / pbr_debug.h
index 27447246291339837896f185611ac06f18ff99f3..e72fb88bebcc613e3a4015226ce976d78bf1016b 100644 (file)
@@ -38,9 +38,29 @@ extern struct debug pbr_dbg_event;
 void pbr_debug_init(void);
 
 /*
- * Install PBR debugging VTY commands.
+ * Set or unset flags on all debugs for pbrd.
+ *
+ * flags
+ *    The flags to set
+ *
+ * set
+ *    Whether to set or unset the specified flags
+ */
+void pbr_debug_set_all(uint32_t flags, bool set);
+
+/*
+ * Config write helper.
+ *
+ * vty
+ *    Vty to write to
+ *
+ * config
+ *    Whether we are writing to show run or saving config file
+ *
+ * Returns:
+ *    0 for convenience
  */
-void pbr_debug_init_vty(void);
+int pbr_debug_config_write_helper(struct vty *vty, bool config);
 
 /*
  * Print PBR debugging configuration.