mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-14 07:14:14 +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:
1 parent
1ca5e2265e
commit
072ec6a7f2
12 files changed
+403
-84
No files matched your search
@@ -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