Asterisk - The Open Source Telephony Project GIT-master-f36a736
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}
int ast_register_cleanup(void(*func)(void))
Register a function to be executed before Asterisk gracefully exits.
Definition: clicompat.c:19
int ast_cli_unregister_multiple(struct ast_cli_entry *e, int len)
Unregister multiple commands.
Definition: clicompat.c:30
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
int __ast_cli_register_multiple(struct ast_cli_entry *e, int len)
Definition: clicompat.c:25
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