2023-02-08 13:17:09 +01:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2015-05-29 04:32:33 +02:00
|
|
|
/* Memory management routine
|
2017-05-13 10:25:29 +02:00
|
|
|
* Copyright (C) 1998 Kunihiro Ishiguro
|
|
|
|
*/
|
2015-05-29 04:32:33 +02:00
|
|
|
|
2019-12-06 14:38:55 +01:00
|
|
|
#ifndef _ZEBRA_LIB_VTY_H
|
|
|
|
#define _ZEBRA_LIB_VTY_H
|
2015-05-29 04:32:33 +02:00
|
|
|
|
2016-01-06 10:37:22 +01:00
|
|
|
#include "memory.h"
|
2015-05-29 04:32:33 +02:00
|
|
|
|
2019-02-07 23:10:31 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2019-12-06 14:38:55 +01:00
|
|
|
extern void lib_cmd_init(void);
|
2015-05-29 04:32:33 +02:00
|
|
|
|
|
|
|
/* Human friendly string for given byte count */
|
|
|
|
#define MTYPE_MEMSTR_LEN 20
|
|
|
|
extern const char *mtype_memstr(char *, size_t, unsigned long);
|
2019-02-07 23:10:31 +01:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2019-12-06 14:38:55 +01:00
|
|
|
#endif /* _ZEBRA_LIB_VTY_H */
|