summaryrefslogtreecommitdiff
path: root/include/asterisk.h
diff options
context:
space:
mode:
authorSteve Murphy <murf@digium.com>2008-01-10 00:50:39 +0000
committerSteve Murphy <murf@digium.com>2008-01-10 00:50:39 +0000
commit71ad27409c0b5f57136b427d1d0746d99546a572 (patch)
treee8c3511448116e83144320e191f6ccf3725af0ec /include/asterisk.h
parent247ca0a827b41b1b6487f90667be114f9dbe06bf (diff)
The fixes in this commit are mainly to allow compiling of trunk with --enable-dev-mode, mutex profiling, lock debugging, etc. Mainly, the version.c needs to be in the OBJS line; asterisk.h was chosen to have the prototypes for ast_get_version, ast_get_version_num; and the ASTERISK_FILE_VERSION macro needs to be used after including asterisk.h in a few files. I hope I did the right thing. If not, let me know.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97656 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk.h')
-rw-r--r--include/asterisk.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asterisk.h b/include/asterisk.h
index 9d5c1ae8a..a27d2ad56 100644
--- a/include/asterisk.h
+++ b/include/asterisk.h
@@ -50,6 +50,9 @@
int ast_set_priority(int); /*!< Provided by asterisk.c */
+const char *ast_get_version(void);
+const char *ast_get_version_num(void);
+
/*!
* \brief Register a function to be executed before Asterisk exits.
* \param func The callback function to use.