]> git.proxmox.com Git - mirror_frr.git/blob - lib/lib_vty.h
Merge pull request #12791 from taspelund/loc_rib_json_fix
[mirror_frr.git] / lib / lib_vty.h
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* Memory management routine
3 * Copyright (C) 1998 Kunihiro Ishiguro
4 */
5
6 #ifndef _ZEBRA_LIB_VTY_H
7 #define _ZEBRA_LIB_VTY_H
8
9 #include "memory.h"
10
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14
15 extern void lib_cmd_init(void);
16
17 /* Human friendly string for given byte count */
18 #define MTYPE_MEMSTR_LEN 20
19 extern const char *mtype_memstr(char *, size_t, unsigned long);
20
21 #ifdef __cplusplus
22 }
23 #endif
24
25 #endif /* _ZEBRA_LIB_VTY_H */