diff options
| author | Mark Stapp <mjs@labn.net> | 2022-12-02 11:10:58 -0500 | 
|---|---|---|
| committer | Mark Stapp <mjs@labn.net> | 2022-12-05 10:55:35 -0500 | 
| commit | c0ce4875ff6a3ab96faddc3b0634729c1ec5a5b1 (patch) | |
| tree | 8f5f52fa5f06f047fcd9aaf228f15bf83792f462 /zebra/zserv.h | |
| parent | 4011543282d8c789989174b39bc1e2cb9af99796 (diff) | |
zebra: use real MTYPEs for various objects
Don't use MTYPE_TMP for many things in zebra: add specific
mem types.
Signed-off-by: Mark Stapp <mjs@labn.net>
Diffstat (limited to 'zebra/zserv.h')
| -rw-r--r-- | zebra/zserv.h | 7 | 
1 files changed, 7 insertions, 0 deletions
diff --git a/zebra/zserv.h b/zebra/zserv.h index db7b70d7c4..de784e382a 100644 --- a/zebra/zserv.h +++ b/zebra/zserv.h @@ -364,6 +364,13 @@ extern void zserv_release_client(struct zserv *client);  extern void zserv_close_client(struct zserv *client);  /* + * Free memory for a zserv client object - note that this does not + * clean up the internal allocations associated with the zserv client, + * this just free the struct's memory. + */ +void zserv_client_delete(struct zserv *client); + +/*   * Log a ZAPI message hexdump.   *   * errmsg  | 
