Show uptime

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@951 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2003-05-02 15:37:34 +00:00
parent 163898dae7
commit fba6a02260
6 changed files with 130 additions and 1 deletions

View File

@@ -27,6 +27,8 @@ extern int option_initcrypto;
extern int option_nocolor;
extern int fully_booted;
extern char defaultlanguage[];
extern time_t ast_startuptime;
extern time_t ast_lastreloadtime;
#define VERBOSE_PREFIX_1 " "
#define VERBOSE_PREFIX_2 " == "

View File

@@ -30,8 +30,10 @@ extern "C" {
#define AST_RTP_DTMF (1 << 0)
/*! 'Comfort Noise' (RFC3389) */
#define AST_RTP_CN (1 << 1)
/*! DTMF (Cisco Proprietary) */
#define AST_RTP_CISCO_DTMF (1 << 2)
/*! Maximum RTP-specific code */
#define AST_RTP_MAX AST_RTP_CN
#define AST_RTP_MAX AST_RTP_CISCO_DTMF
struct ast_rtp_protocol {
struct ast_rtp *(*get_rtp_info)(struct ast_channel *chan); /* Get RTP struct, or NULL if unwilling to transfer */