Asterisk - The Open Source Telephony Project
21.4.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
utils
clicompat.c
1
/*
2
* Stubs for some cli functions used by the test routines.
3
* $Revision$
4
*/
5
void
ast_cli(
int
fd,
const
char
*fmt, ...);
6
void
ast_cli(
int
fd,
const
char
*fmt, ...)
7
{
8
}
9
10
struct
ast_cli_entry
;
11
12
int
ast_register_atexit
(
void
(*func)(
void
));
13
int
ast_register_atexit
(
void
(*func)(
void
))
14
{
15
return
0;
16
}
17
18
int
ast_register_cleanup
(
void
(*func)(
void
));
19
int
ast_register_cleanup
(
void
(*func)(
void
))
20
{
21
return
0;
22
}
23
24
int
__ast_cli_register_multiple(
struct
ast_cli_entry
*e,
int
len);
25
int
__ast_cli_register_multiple(
struct
ast_cli_entry
*e,
int
len)
26
{
27
return
0;
28
}
29
int
ast_cli_unregister_multiple
(
struct
ast_cli_entry
*e,
int
len);
30
int
ast_cli_unregister_multiple
(
struct
ast_cli_entry
*e,
int
len)
31
{
32
return
0;
33
}
ast_cli_unregister_multiple
int ast_cli_unregister_multiple(struct ast_cli_entry *e, int len)
Unregister multiple commands.
Definition:
clicompat.c:30
ast_cli_entry
descriptor for a cli entry.
Definition:
cli.h:171
ast_register_cleanup
int ast_register_cleanup(void(*func)(void))
Register a function to be executed before Asterisk gracefully exits.
Definition:
clicompat.c:19
ast_register_atexit
int ast_register_atexit(void(*func)(void))
Register a function to be executed before Asterisk exits.
Definition:
clicompat.c:13
Generated on Tue Jul 15 2025 11:50:38 for Asterisk - The Open Source Telephony Project by
1.8.10