[asterisk-commits] russell: branch russell/jack r96720 - /team/russell/jack/include/asterisk/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Jan 5 16:29:25 CST 2008


Author: russell
Date: Sat Jan  5 16:29:25 2008
New Revision: 96720

URL: http://svn.digium.com/view/asterisk?view=rev&rev=96720
Log:
add the right version.h

Modified:
    team/russell/jack/include/asterisk/version.h

Modified: team/russell/jack/include/asterisk/version.h
URL: http://svn.digium.com/view/asterisk/team/russell/jack/include/asterisk/version.h?view=diff&rev=96720&r1=96719&r2=96720
==============================================================================
--- team/russell/jack/include/asterisk/version.h (original)
+++ team/russell/jack/include/asterisk/version.h Sat Jan  5 16:29:25 2008
@@ -1,7 +1,44 @@
 /*
- * version.h 
- * Automatically generated
+ * Asterisk -- An open source telephony toolkit.
+ *
+ * Copyright (C) 2008, Digium, Inc.
+ *
+ * Russell Bryant <russell at digium.com>
+ *
+ * See http://www.asterisk.org for more information about
+ * the Asterisk project. Please do not directly contact
+ * any of the maintainers of this project for assistance;
+ * the project provides a web site, mailing lists and IRC
+ * channels for your use.
+ *
+ * This program is free software, distributed under the terms of
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
  */
-#define ASTERISK_VERSION "SVN-russell-jack-r96690M-/trunk"
-#define ASTERISK_VERSION_NUM 999999
 
+/*!
+ * \file
+ * \brief Asterisk version information
+ * \author Russell Bryant <russell at digium.com>
+ */
+
+#ifndef __AST_VERSION_H
+#define __AST_VERSION_H
+
+/*!
+ * \brief Retrieve the Asterisk version string.
+ */
+const char *ast_get_version(void);
+
+/*!
+ * \brief Retrieve the numeric Asterisk version
+ *
+ * Format ABBCC
+ * AABB - Major version (1.4 would be 104)
+ * CC - Minor version
+ *
+ * 1.4.17 would be 10417.
+ */
+const char *ast_get_version_num(void);
+
+#endif /* __AST_VERSION_H */




More information about the asterisk-commits mailing list