]> code.delx.au - pulseaudio/blob - src/pulse/version.h.in
big s/polyp/pulse/g
[pulseaudio] / src / pulse / version.h.in
1 #ifndef fooversionhfoo /*-*-C-*-*/
2 #define fooversionhfoo
3
4 /* $Id$ */
5
6 /***
7 This file is part of PulseAudio.
8
9 PulseAudio is free software; you can redistribute it and/or modify
10 it under the terms of the GNU Lesser General Public License as published
11 by the Free Software Foundation; either version 2 of the License,
12 or (at your option) any later version.
13
14 PulseAudio is distributed in the hope that it will be useful, but
15 WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 General Public License for more details.
18
19 You should have received a copy of the GNU Lesser General Public License
20 along with PulseAudio; if not, write to the Free Software
21 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
22 USA.
23 ***/
24
25 /* WARNING: Make sure to edit the real source file version.h.in! */
26
27 #include <pulse/cdecl.h>
28
29 /** \file
30 * Define header version */
31
32 PA_C_DECL_BEGIN
33
34 /** Return the version of the header files. Keep in mind that this is
35 a macro and not a function, so it is impossible to get the pointer of
36 it. */
37 #define pa_get_headers_version() ("@PACKAGE_VERSION@")
38
39 /** Return the version of the library the current application is linked to. */
40 const char* pa_get_library_version(void);
41
42 /** The current API version. Version 6 relates to pulseaudio
43 * 0.6. Prior versions (i.e. Polypaudio 0.5.1 and older) have
44 * PA_API_VERSION undefined. */
45 #define PA_API_VERSION @PA_API_VERSION@
46
47 /** The current protocol version. Version 8 relates to pulseaudio 0.8.
48 * \since 0.8 */
49 #define PA_PROTOCOL_VERSION @PA_PROTOCOL_VERSION@
50
51 PA_C_DECL_END
52
53 #endif