Asterisk - The Open Source Telephony Project GIT-master-7e7a603
Functions
ast_version.h File Reference

Asterisk version information. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

const char * ast_get_build_opts (void)
 
const char * ast_get_build_opts_all (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 ABI-breaking Asterisk build options

Referenced by handle_show_settings(), and prometheus_config_post_apply().

◆ ast_get_build_opts_all()

const char * ast_get_build_opts_all ( void  )

Retrieve all of the the Asterisk build options

Referenced by handle_show_settings().

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