Blog
Community
Development
Documentation
CNDP
22.08.0
Toggle main menu visibility
Loading...
Searching...
No Matches
cli_map.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: BSD-3-Clause
2
* Copyright (c) 2019-2022 Intel Corporation.
3
*/
4
10
11
#ifndef _CLI_MAP_H_
12
#define _CLI_MAP_H_
13
14
#include <netinet/in.h>
15
#include <
cne_common.h
>
// for CNDP_API
16
17
#ifdef __cplusplus
18
extern
"C"
{
19
#endif
20
21
struct
cli_map {
22
int
index;
23
const
char
*fmt;
24
};
25
51
CNDP_API
struct
cli_map *
cli_mapping
(
struct
cli_map *maps,
int
argc,
char
**argv);
52
61
CNDP_API
void
cli_map_show
(
struct
cli_map *m);
62
75
CNDP_API
void
cli_maps_show
(
struct
cli_map *maps,
int
argc,
char
**argv);
76
89
CNDP_API
void
cli_map_dump
(
struct
cli_map *maps,
int
argc,
char
**argv);
90
103
CNDP_API
int
cli_map_list_search
(
const
char
*fmt,
char
*item,
int
index);
104
105
#ifdef __cplusplus
106
}
107
#endif
108
109
#endif
/* CLI_MAP_H */
cli_map_dump
CNDP_API void cli_map_dump(struct cli_map *maps, int argc, char **argv)
cli_map_show
CNDP_API void cli_map_show(struct cli_map *m)
cli_map_list_search
CNDP_API int cli_map_list_search(const char *fmt, char *item, int index)
cli_mapping
CNDP_API struct cli_map * cli_mapping(struct cli_map *maps, int argc, char **argv)
cli_maps_show
CNDP_API void cli_maps_show(struct cli_map *maps, int argc, char **argv)
cne_common.h
lib
usr
app
cli
cli_map.h
Generated by
1.18.0