Asterisk - The Open Source Telephony Project  18.5.0
ast_version.h
Go to the documentation of this file.
1 /*
2  * Asterisk -- An open source telephony toolkit.
3  *
4  * Copyright (C) 2008, Digium, Inc.
5  *
6  * Russell Bryant <[email protected]>
7  *
8  * See http://www.asterisk.org for more information about
9  * the Asterisk project. Please do not directly contact
10  * any of the maintainers of this project for assistance;
11  * the project provides a web site, mailing lists and IRC
12  * channels for your use.
13  *
14  * This program is free software, distributed under the terms of
15  * the GNU General Public License Version 2. See the LICENSE file
16  * at the top of the source tree.
17  */
18 
19 /*!
20  * \file
21  * \brief Asterisk version information
22  * \author Russell Bryant <[email protected]>
23  */
24 
25 #ifndef __AST_VERSION_H
26 #define __AST_VERSION_H
27 
28 /*!
29  * \brief Retrieve the Asterisk version string.
30  */
31 const char *ast_get_version(void);
32 
33 /*!
34  * \brief Retrieve the numeric Asterisk version
35  *
36  * Format ABBCC
37  * AABB - Major version (1.4 would be 104)
38  * CC - Minor version
39  *
40  * 1.4.17 would be 10417.
41  */
42 const char *ast_get_version_num(void);
43 
44 /*! Retrieve the Asterisk build options */
45 const char *ast_get_build_opts(void);
46 
47 #endif /* __AST_VERSION_H */
const char * ast_get_version(void)
Retrieve the Asterisk version string.
Definition: version.c:16
const char * ast_get_build_opts(void)
Definition: version.c:26
const char * ast_get_version_num(void)
Retrieve the numeric Asterisk version.
Definition: version.c:21