Asterisk - The Open Source Telephony Project
GIT-master-f36a736
utils
clicompat.c
Go to the documentation of this file.
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_register_cleanup
int ast_register_cleanup(void(*func)(void))
Register a function to be executed before Asterisk gracefully exits.
Definition:
clicompat.c:19
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
void ast_cli(int fd, const char *fmt,...)
Definition:
clicompat.c:6
ast_register_atexit
int ast_register_atexit(void(*func)(void))
Register a function to be executed before Asterisk exits.
Definition:
clicompat.c:13
__ast_cli_register_multiple
int __ast_cli_register_multiple(struct ast_cli_entry *e, int len)
Definition:
clicompat.c:25
len
static int len(struct ast_channel *chan, const char *cmd, char *data, char *buf, size_t buflen)
Definition:
func_strings.c:1567
ast_cli_entry
descriptor for a cli entry.
Definition:
cli.h:171
Generated on Wed Dec 18 2024 20:04:22 for Asterisk - The Open Source Telephony Project by
1.9.4