more tab completion cleanup

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15977 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2009-12-15 23:05:49 +00:00
parent e240bd9fac
commit 86304c0247
4 changed files with 66 additions and 6 deletions
+3 -1
View File
@@ -85,7 +85,9 @@ SWITCH_DECLARE(switch_status_t) switch_console_run_complete_func(const char *fun
const char *last_word, switch_console_callback_match_t **matches);
SWITCH_DECLARE(void) switch_console_push_match(switch_console_callback_match_t **matches, const char *new_val);
SWITCH_DECLARE(void) switch_console_free_matches(switch_console_callback_match_t **matches);
SWITCH_DECLARE(unsigned char) switch_console_complete(const char *line, const char *last_word, FILE *console_out, switch_stream_handle_t *stream, switch_xml_t xml);
SWITCH_DECLARE(unsigned char) switch_console_complete(const char *line, const char *last_word,
FILE *console_out, switch_stream_handle_t *stream, switch_xml_t xml);
SWITCH_DECLARE(void) switch_console_sort_matches(switch_console_callback_match_t *matches);
SWITCH_END_EXTERN_C
#endif
+1
View File
@@ -1494,6 +1494,7 @@ typedef struct switch_console_callback_match_node switch_console_callback_match_
struct switch_console_callback_match {
struct switch_console_callback_match_node *head;
struct switch_console_callback_match_node *end;
int count;
int dynamic;
};
typedef struct switch_console_callback_match switch_console_callback_match_t;