diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-05-24 20:15:31 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-05-28 17:16:16 -0400 |
| commit | ae0994f6eb301491aafb8fef8f1d8c6a9033fae9 (patch) | |
| tree | 406cc9c8c8e8ed320d1f7df3845e2194120004c3 /lib/debug.h | |
| parent | f756a869aeefec55c31d54e1dff4b9c116532512 (diff) | |
lib: Separate out the debug_init api
Separate out the debug_init api to have 2 functions:
1) Function to register a callback
2) Function to initiate the cli.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/debug.h')
| -rw-r--r-- | lib/debug.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/debug.h b/lib/debug.h index 0ee5963ec6..f25cd42691 100644 --- a/lib/debug.h +++ b/lib/debug.h @@ -241,6 +241,12 @@ struct debug_callbacks { */ void debug_init(struct debug_callbacks *cb); +/* + * Turn on the cli to turn on/off debugs. + * Should only be called by libfrr + */ +void debug_init_cli(void); + #ifdef __cplusplus } #endif |
