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