summaryrefslogtreecommitdiffstats
path: root/polyp/polyplib-version.h.in
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-09-29 19:13:55 +0000
committerLennart Poettering <lennart@poettering.net>2004-09-29 19:13:55 +0000
commitd09240118ce0170c2fc5f504589646746902eb96 (patch)
treea9028255331ec92347c734869ef708ac527c475f /polyp/polyplib-version.h.in
parent6dfab4ec7b8d8702d425b2ec9b5f1aff5c8290cd (diff)
really fix API version API
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@249 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/polyplib-version.h.in')
-rw-r--r--polyp/polyplib-version.h.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/polyp/polyplib-version.h.in b/polyp/polyplib-version.h.in
index b44dc008..75798693 100644
--- a/polyp/polyplib-version.h.in
+++ b/polyp/polyplib-version.h.in
@@ -22,6 +22,8 @@
USA.
***/
+/* WARNING: Make sure to edit the real source file polyplib-version.h.in! */
+
/** \file
* Define header version */
@@ -30,4 +32,12 @@ a macro and not a function, so it is impossible to get the pointer of
it. */
#define pa_get_headers_version() ("@PACKAGE_VERSION@")
+/** Return the version of the library the current application is linked to. */
+const char* pa_get_library_version(void);
+
+/** The current API version. Version 6 relates to polypaudio
+ * 0.6. Prior versions (i.e. Polypaudio 0.5.1 and older) have
+ * PA_API_VERSION undefined. */
+#define PA_API_VERSION @PA_API_VERSION@
+
#endif