]>
Commit | Line | Data |
---|---|---|
acddc0ed | 1 | // SPDX-License-Identifier: GPL-2.0-or-later |
6ba26ad5 | 2 | /* Memory management routine |
896014f4 | 3 | * Copyright (C) 1998 Kunihiro Ishiguro |
896014f4 | 4 | */ |
6ba26ad5 | 5 | |
1c0d8808 DL |
6 | #ifndef _ZEBRA_LIB_VTY_H |
7 | #define _ZEBRA_LIB_VTY_H | |
6ba26ad5 | 8 | |
fc7948fa | 9 | #include "memory.h" |
6ba26ad5 | 10 | |
5e244469 RW |
11 | #ifdef __cplusplus |
12 | extern "C" { | |
13 | #endif | |
14 | ||
1c0d8808 | 15 | extern void lib_cmd_init(void); |
6ba26ad5 | 16 | |
6ba26ad5 DL |
17 | /* Human friendly string for given byte count */ |
18 | #define MTYPE_MEMSTR_LEN 20 | |
d62a17ae | 19 | extern const char *mtype_memstr(char *, size_t, unsigned long); |
5e244469 RW |
20 | |
21 | #ifdef __cplusplus | |
22 | } | |
23 | #endif | |
24 | ||
1c0d8808 | 25 | #endif /* _ZEBRA_LIB_VTY_H */ |