path: root/include
diff options
authorAlfred E. Heggestad <>2016-11-27 18:07:42 +0100
committerAlfred E. Heggestad <>2016-11-27 18:07:42 +0100
commit1203abd362a212b6cb6a02ff54f466d3a23dbf83 (patch)
tree6d3db4240e76a90def031b1bc2c312b09643697d /include
parente1e5337644671c7df1703a0916242868bcccd1fc (diff)
cmd: check for duplicated entries
- registering duplicate short commands is no longer possible - disable a couple of short commands, use long command instead (short commands should only be used for very frequently used things) - menu: properly register/unregister digit handlers for active calls thanks to Juha Heinanen for reporting an issue with the 'a' key
Diffstat (limited to 'include')
1 files changed, 2 insertions, 0 deletions
diff --git a/include/baresip.h b/include/baresip.h
index 4acc0cd..1b0343a 100644
--- a/include/baresip.h
+++ b/include/baresip.h
@@ -692,6 +692,8 @@ int cmd_process_long(struct commands *commands, const char *str, size_t len,
int cmd_print(struct re_printf *pf, const struct commands *commands);
const struct cmd *cmd_find_long(const struct commands *commands,
const char *name);
+struct cmds *cmds_find(const struct commands *commands,
+ const struct cmd *cmdv);