Raw ↗
+ +
2da5fe7 OpenAVX v0.2.0 - High-performance open-standard IP audio and video transport suite
saifmukhtar · 2026-11-24
1 /*
2 * SPDX-License-Identifier: AGPL-3.0-or-later WITH Classpath-exception-2.0
3 * Copyright (c) 2026 Saif Mukhtar
4 *
5 * OpenAVX - Open Audio-Video eXchange
6 * tools/openavx_cli.h - CLI subcommand entry points and shared UI/logging helpers
7 */
8  
9 #ifndef OPENAVX_CLI_H
10 #define OPENAVX_CLI_H
11  
12 #include <stdbool.h>
13  
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17  
18 void openavx_cli_init(void);
19 void openavx_cli_set_quiet(bool quiet);
20 void openavx_cli_header(const char* tool_name);
21 void openavx_cli_kv(const char* key, const char* fmt, ...);
22 void openavx_cli_status(const char* module, const char* fmt, ...);
23 void openavx_cli_status_end(void);
24  
25 int openavx_cmd_find(int argc, char** argv);
26 int openavx_cmd_monitor(int argc, char** argv);
27 int openavx_cmd_route(int argc, char** argv);
28 int openavx_cmd_pattern(int argc, char** argv);
29 int openavx_cmd_server(int argc, char** argv);
30 int openavx_cmd_gateway(int argc, char** argv);
31 int openavx_cmd_virtcam(int argc, char** argv);
32 int openavx_cmd_tally(int argc, char** argv);
33  
34 #ifdef __cplusplus
35 }
36 #endif
37  
38 #endif /* OPENAVX_CLI_H */