x*: fixing whitespaces
[transsip.git] / src / clicmds.h
blob48595227e4b2ac5e1eb01b8dd3caf49dcf21bf3a
1 /*
2 * transsip - the telephony toolkit
3 * By Daniel Borkmann <daniel@transsip.org>
4 * Copyright 2011, 2012 Daniel Borkmann <dborkma@tik.ee.ethz.ch>,
5 * Swiss federal institute of technology (ETH Zurich)
6 * Subject to the GPL, version 2.
7 */
9 #ifndef CLICMDS_H
10 #define CLICMDS_H
12 #include <readline/readline.h>
14 extern int cmd_help(char *args);
15 extern int cmd_quit(char *args);
16 extern int cmd_stat(char *args);
17 extern int cmd_call(char *args);
18 extern int cmd_hangup(char *args);
19 extern int cmd_take(char *arg);
21 struct shell_cmd {
22 char *name;
23 rl_icpfunc_t *callback;
24 char *doc;
25 struct shell_cmd *sub_cmd;
28 #endif /* CLICMDS_H */