summaryrefslogtreecommitdiff
path: root/utils/clicompat.c
blob: 426dd5cdea10edc16e92471262f4e0312988cb6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
 * Stubs for some cli functions used by the test routines.
 * $Revision$
 */
void ast_cli(int fd, const char *fmt, ...);
void ast_cli(int fd, const char *fmt, ...)
{
}

struct ast_cli_entry;

int ast_register_atexit(void (*func)(void));
int ast_register_atexit(void (*func)(void))
{
	return 0;
}

int ast_register_cleanup(void (*func)(void));
int ast_register_cleanup(void (*func)(void))
{
	return 0;
}

int __ast_cli_register_multiple(struct ast_cli_entry *e, int len);
int __ast_cli_register_multiple(struct ast_cli_entry *e, int len)
{
	return 0;
}
int ast_cli_unregister_multiple(struct ast_cli_entry *e, int len);
int ast_cli_unregister_multiple(struct ast_cli_entry *e, int len)
{
	return 0;
}