49 typedef int (*cli_scan_t)(
struct cli_node *node, uint32_t flags,
args_t *args);
187 CNDP_API
struct cli_node *
cli_search_dir(
struct cli_node *dir,
const char *name, uint32_t type);
CNDP_API int cli_find_node(const char *path, struct cli_node **ret)
CNDP_API uint32_t cli_dir_item_count(struct cli_node *node, uint32_t types)
CNDP_API uint32_t cli_path_cmd_count(void)
CNDP_API uint32_t cli_path_item_count(uint32_t types)
CNDP_API struct cli_node * cli_find_cmd(const char *path)
CNDP_API struct cli_node * cli_search_dir(struct cli_node *dir, const char *name, uint32_t type)
CNDP_API void cli_node_list_free(void *node)
CNDP_API int cli_scan_path(const char *path, cli_scan_t func, uint32_t flags, args_t *args)
CNDP_API struct cli_node * cli_last_dir_in_path(const char *path)
CNDP_API uint32_t cli_node_list_with_type(struct cli_node *node, uint32_t flags, void **ret)
CNDP_API int cli_scan_directory(struct cli_node *dir, cli_scan_t func, uint32_t flags, args_t *args)