Asterisk - The Open Source Telephony Project  21.4.1
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_build_opts_all (void)
 
const char * ast_get_version (void)
 Retrieve the Asterisk version string.
 
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

const char* ast_get_build_opts ( void  )

Retrieve the ABI-breaking Asterisk build options

Definition at line 28 of file version.c.

Referenced by handle_show_settings(), and prometheus_config_post_apply().

29 {
30  return asterisk_build_opts;
31 }
const char* ast_get_build_opts_all ( void  )

Retrieve all of the the Asterisk build options

Definition at line 33 of file version.c.

Referenced by handle_show_settings().

34 {
35  return asterisk_build_opts_all;
36 }
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 23 of file version.c.

24 {
25  return asterisk_version_num;
26 }