#include "asterisk.h"
#include "asterisk/ast_version.h"
Go to the source code of this file.
Functions | |
const char * | ast_get_version (void) |
Retrieve the Asterisk version string. | |
const char * | ast_get_version_num (void) |
Retrieve the numeric Asterisk version. | |
Variables | |
static const char | asterisk_version [] = "1.6.2.18" |
static const char | asterisk_version_num [] = "10602" |
const char* ast_get_version | ( | void | ) |
Retrieve the Asterisk version string.
Definition at line 14 of file version.c.
References asterisk_version.
Referenced by acf_version_exec(), action_coresettings(), ast_var_Version(), handle_show_settings(), handle_version(), httpd_helper_thread(), netconsole(), phoneprov_callback(), reload_config(), setup_env(), show_cli_help(), show_version(), and static_callback().
{ return asterisk_version; }
const char* ast_get_version_num | ( | void | ) |
Retrieve the numeric Asterisk version.
Format ABBCC AABB - Major version (1.4 would be 104) CC - Minor version
1.4.17 would be 10417.
Definition at line 19 of file version.c.
References asterisk_version_num.
Referenced by acf_version_exec(), and ast_var_Version().
{ return asterisk_version_num; }
const char asterisk_version[] = "1.6.2.18" [static] |
Definition at line 10 of file version.c.
Referenced by ast_get_version().
const char asterisk_version_num[] = "10602" [static] |
Definition at line 12 of file version.c.
Referenced by ast_get_version_num().