00001 /* 00002 * Asterisk -- An open source telephony toolkit. 00003 * 00004 * Copyright (C) 2008, Digium, Inc. 00005 * 00006 * Russell Bryant <russell@digium.com> 00007 * 00008 * See http://www.asterisk.org for more information about 00009 * the Asterisk project. Please do not directly contact 00010 * any of the maintainers of this project for assistance; 00011 * the project provides a web site, mailing lists and IRC 00012 * channels for your use. 00013 * 00014 * This program is free software, distributed under the terms of 00015 * the GNU General Public License Version 2. See the LICENSE file 00016 * at the top of the source tree. 00017 */ 00018 00019 /*! 00020 * \file 00021 * \brief Asterisk version information 00022 * \author Russell Bryant <russell@digium.com> 00023 */ 00024 00025 #ifndef __AST_VERSION_H 00026 #define __AST_VERSION_H 00027 00028 /*! 00029 * \brief Retrieve the Asterisk version string. 00030 */ 00031 const char *ast_get_version(void); 00032 00033 /*! 00034 * \brief Retrieve the numeric Asterisk version 00035 * 00036 * Format ABBCC 00037 * AABB - Major version (1.4 would be 104) 00038 * CC - Minor version 00039 * 00040 * 1.4.17 would be 10417. 00041 */ 00042 const char *ast_get_version_num(void); 00043 00044 #endif /* __AST_VERSION_H */