Asterisk - The Open Source Telephony Project GIT-master-f36a736
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 <russell@digium.com>
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 <russell@digium.com>
23 */
24
25#ifndef __AST_VERSION_H
26#define __AST_VERSION_H
27
28/*!
29 * \brief Retrieve the Asterisk version string.
30 */
31const 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 */
42const char *ast_get_version_num(void);
43
44/*! Retrieve the ABI-breaking Asterisk build options */
45const char *ast_get_build_opts(void);
46
47/*! Retrieve all of the the Asterisk build options */
48const char *ast_get_build_opts_all(void);
49
50#endif /* __AST_VERSION_H */
const char * ast_get_build_opts(void)
const char * ast_get_version(void)
Retrieve the Asterisk version string.
const char * ast_get_build_opts_all(void)
const char * ast_get_version_num(void)
Retrieve the numeric Asterisk version.