Asterisk - The Open Source Telephony Project  GIT-master-44aef04
Functions
ast_version.h File Reference

Asterisk version information. More...

Go to the source code of this file.

Functions

const char * ast_get_build_opts (void)
 
const char * ast_get_version (void)
 Retrieve the Asterisk version string. More...
 
const char * ast_get_version_num (void)
 Retrieve the numeric Asterisk version. More...
 

Detailed Description

Asterisk version information.

Author
Russell Bryant russe.nosp@m.ll@d.nosp@m.igium.nosp@m..com

Definition in file ast_version.h.

Function Documentation

◆ ast_get_build_opts()

const char* ast_get_build_opts ( void  )

Retrieve the Asterisk build options

Referenced by handle_show_settings(), and prometheus_config_post_apply().

◆ ast_get_version()

const char* ast_get_version ( void  )

◆ ast_get_version_num()

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.

Referenced by acf_version_exec(), and ast_var_Version().