summaryrefslogtreecommitdiffstats
path: root/polyp/polyplib.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-08-18 01:00:18 +0000
committerLennart Poettering <lennart@poettering.net>2004-08-18 01:00:18 +0000
commitbefd734aac2c925df9c5701d1ddfb3063b45ac76 (patch)
tree332283b5349fd64c558d6b1d12ce0714d0f51227 /polyp/polyplib.h
parentac595189fdc311ae30fa8061cd5bbaeb72fc0ef1 (diff)
add version routines to polyplib
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@139 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/polyplib.h')
-rw-r--r--polyp/polyplib.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/polyp/polyplib.h b/polyp/polyplib.h
index daaed649..f4e41934 100644
--- a/polyp/polyplib.h
+++ b/polyp/polyplib.h
@@ -22,6 +22,7 @@
USA.
***/
+#include "cdecl.h"
#include "mainloop-api.h"
#include "sample.h"
#include "polyplib-def.h"
@@ -30,11 +31,12 @@
#include "polyplib-introspect.h"
#include "polyplib-subscribe.h"
#include "polyplib-scache.h"
+#include "polyplib-version.h"
/** \file
* Include all polyplib header file at once. The following files are included: \ref mainloop-api.h, \ref sample.h,
* \ref polyplib-def.h, \ref polyplib-context.h, \ref polyplib-stream.h,
- * \ref polyplib-introspect.h, \ref polyplib-subscribe.h and \ref polyplib-scache.h
+ * \ref polyplib-introspect.h, \ref polyplib-subscribe.h and \ref polyplib-scache.h \ref polyplib-version.h
* at once */
/** \mainpage
@@ -81,4 +83,11 @@
* synchronous API is available as "polyplib-simple".
*/
+PA_C_DECL_BEGIN
+
+/** Return the version of the library the current application is linked to */
+const char* pa_get_library_version(void);
+
+PA_C_DECL_END
+
#endif