Asterisk version information. More...

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. | |
Asterisk version information.
Definition in file ast_version.h.
| const char* ast_get_version | ( | void | ) |
Retrieve the Asterisk version string.
Definition at line 14 of file version.c.
References asterisk_version.
Referenced by ast_var_Version(), handle_show_settings(), netconsole(), handle_version(), show_version(), show_cli_help(), env_init(), reload_config(), acf_version_exec(), ast_http_send(), action_coresettings(), setup_env(), and cli_fax_show_version().
{
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 ast_var_Version(), and acf_version_exec().
{
return asterisk_version_num;
}