Asterisk - The Open Source Telephony Project GIT-master-27fb039
Loading...
Searching...
No Matches
clicompat.c
Go to the documentation of this file.
1/*
2 * Stubs for some cli functions used by the test routines.
3 * $Revision$
4 */
5void ast_cli(int fd, const char *fmt, ...);
6void ast_cli(int fd, const char *fmt, ...)
7{
8}
9
10struct ast_cli_entry;
11
12int ast_register_atexit(void (*func)(void));
13int ast_register_atexit(void (*func)(void))
14{
15 return 0;
16}
17
18int ast_register_cleanup(void (*func)(void));
19int ast_register_cleanup(void (*func)(void))
20{
21 return 0;
22}
23
26{
27 return 0;
28}
31{
32 return 0;
33}
void ast_cli_unregister_multiple(void)
Definition ael_main.c:408
void __ast_cli_register_multiple(void)
Definition ael_main.c:204
int ast_register_cleanup(void(*func)(void))
Register a function to be executed before Asterisk gracefully exits.
Definition clicompat.c:19
void ast_cli(int fd, const char *fmt,...)
Definition clicompat.c:6
int ast_register_atexit(void(*func)(void))
Register a function to be executed before Asterisk exits.
Definition clicompat.c:13
static int len(struct ast_channel *chan, const char *cmd, char *data, char *buf, size_t buflen)
descriptor for a cli entry.
Definition cli.h:171