Sat Mar 10 01:54:45 2012

Asterisk developer's documentation


ast_version.h File Reference

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.


Detailed Description

Asterisk version information.

Author:
Russell Bryant <russell@digium.com>

Definition in file ast_version.h.


Function Documentation

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_http_send(), ast_var_Version(), cli_fax_show_version(), env_init(), handle_show_settings(), handle_version(), netconsole(), reload_config(), setup_env(), show_cli_help(), and show_version().

00015 {
00016    return asterisk_version;
00017 }

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().

00020 {
00021    return asterisk_version_num;
00022 }


Generated on Sat Mar 10 01:54:45 2012 for Asterisk - The Open Source Telephony Project by  doxygen 1.4.7