mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 12:42:02 +00:00
add api.getTime()
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12149 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -104,11 +104,13 @@ SWITCH_DECLARE(void) consoleCleanLog(char *msg);
|
||||
class API {
|
||||
protected:
|
||||
char *last_data;
|
||||
char time_buf[64];
|
||||
public:
|
||||
SWITCH_DECLARE_CONSTRUCTOR API(void);
|
||||
virtual SWITCH_DECLARE_CONSTRUCTOR ~ API();
|
||||
SWITCH_DECLARE(const char *) execute(const char *command, const char *data);
|
||||
SWITCH_DECLARE(const char *) executeString(const char *command);
|
||||
SWITCH_DECLARE(char *) getTime(void);
|
||||
};
|
||||
|
||||
|
||||
@@ -398,6 +400,7 @@ SWITCH_DECLARE_NONSTD(switch_status_t) dtmf_callback(switch_core_session_t *sess
|
||||
void *input, switch_input_type_t itype, void *buf, unsigned int buflen);
|
||||
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user