PulseAudio  9.0
version.h
Go to the documentation of this file.
00001 #ifndef fooversionhfoo /*-*-C-*-*/
00002 #define fooversionhfoo
00003 
00004 /***
00005   This file is part of PulseAudio.
00006 
00007   Copyright 2004-2006 Lennart Poettering
00008   Copyright 2006 Pierre Ossman <ossman@cendio.se> for Cendio AB
00009 
00010   PulseAudio is free software; you can redistribute it and/or modify
00011   it under the terms of the GNU Lesser General Public License as published
00012   by the Free Software Foundation; either version 2 of the License,
00013   or (at your option) any later version.
00014 
00015   PulseAudio is distributed in the hope that it will be useful, but
00016   WITHOUT ANY WARRANTY; without even the implied warranty of
00017   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
00018   General Public License for more details.
00019 
00020   You should have received a copy of the GNU Lesser General Public License
00021   along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
00022 ***/
00023 
00024 /* WARNING: Make sure to edit the real source file version.h.in! */
00025 
00026 #include <pulse/cdecl.h>
00027 
00031 PA_C_DECL_BEGIN
00032 
00036 #define pa_get_headers_version() ("9.0.0")
00037 
00040 const char* pa_get_library_version(void);
00041 
00046 #define PA_API_VERSION 12
00047 
00050 #define PA_PROTOCOL_VERSION 31
00051 
00053 #define PA_MAJOR 9
00054 
00056 #define PA_MINOR 0
00057 
00059 #define PA_MICRO 0
00060 
00063 #define PA_CHECK_VERSION(major,minor,micro)                             \
00064     ((PA_MAJOR > (major)) ||                                            \
00065      (PA_MAJOR == (major) && PA_MINOR > (minor)) ||                     \
00066      (PA_MAJOR == (major) && PA_MINOR == (minor) && PA_MICRO >= (micro)))
00067 
00068 PA_C_DECL_END
00069 
00070 #endif