save history when stoping now

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16312 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2010-01-14 21:00:32 +00:00
parent 99b45eb1fb
commit f4a50a5e91
5 changed files with 29 additions and 1 deletions
+1
View File
@@ -88,6 +88,7 @@ SWITCH_DECLARE(void) switch_console_free_matches(switch_console_callback_match_t
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_DECLARE(void) switch_console_save_history(void);
SWITCH_END_EXTERN_C
#endif
+3 -1
View File
@@ -1437,7 +1437,9 @@ typedef enum {
SCSC_DEBUG_LEVEL,
SCSC_FLUSH_DB_HANDLES,
SCSC_SHUTDOWN_NOW,
SCSC_CALIBRATE_CLOCK
SCSC_CALIBRATE_CLOCK,
SCSC_SAVE_HISTORY,
SCSC_CRASH
} switch_session_ctl_t;
typedef enum {