diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-04-22 22:10:54 -0400 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-04-22 22:50:25 -0400 |
| commit | d8647095529884ad1d15e4966eb9cd69f5edb66c (patch) | |
| tree | 70e4f813a0e2f47ad9c05ed950e573372e19cdd2 /zebra/zserv.h | |
| parent | 453844abd7bce28479d10490de513ca59cd0d490 (diff) | |
zebra: cleanup for zapi_msg.c split
* Rename client_connect and client_close hooks to zapi_client_connect
and zapi_client_close
* Remove some more unnecessary headers
* Fix a copy-paste error in zapi_msg.[ch] header comments
* Fix an inclusion comment in zserv.c
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'zebra/zserv.h')
| -rw-r--r-- | zebra/zserv.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/zebra/zserv.h b/zebra/zserv.h index b3f3cce7e8..05262490dd 100644 --- a/zebra/zserv.h +++ b/zebra/zserv.h @@ -23,6 +23,7 @@ #ifndef _ZEBRA_ZSERV_H #define _ZEBRA_ZSERV_H +/* clang-format off */ #include <stdint.h> /* for uint32_t, uint8_t */ #include <time.h> /* for time_t */ @@ -37,6 +38,7 @@ #include "lib/hook.h" /* for DECLARE_HOOK, DECLARE_KOOH */ #include "zebra/zebra_vrf.h" /* for zebra_vrf */ +/* clang-format on */ /* Default port information. */ #define ZEBRA_VTY_PORT 2601 @@ -143,8 +145,8 @@ struct zserv { struct zebra_vrf *zvrf /* Hooks for client connect / disconnect */ -DECLARE_HOOK(client_connect, (struct zserv *client), (client)); -DECLARE_KOOH(client_close, (struct zserv *client), (client)); +DECLARE_HOOK(zapi_client_connect, (struct zserv * client), (client)); +DECLARE_KOOH(zapi_client_close, (struct zserv * client), (client)); /* Zebra instance */ struct zebra_t { |
