• Main Page
  • Related Pages
  • Data Structures
  • Files
  • Examples
  • File List
  • Globals

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, write to the Free Software
00022   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
00023   USA.
00024 ***/
00025 
00026 /* WARNING: Make sure to edit the real source file version.h.in! */
00027 
00028 #include <pulse/cdecl.h>
00029 
00033 PA_C_DECL_BEGIN
00034 
00038 #define pa_get_headers_version() ("0.9.22")
00039 
00042 const char* pa_get_library_version(void);
00043 
00048 #define PA_API_VERSION 12
00049 
00052 #define PA_PROTOCOL_VERSION 16
00053 
00055 #define PA_MAJOR 0
00056 
00058 #define PA_MINOR 9
00059 
00061 #define PA_MICRO 22
00062 
00065 #define PA_CHECK_VERSION(major,minor,micro)                             \
00066     ((PA_MAJOR > (major)) ||                                            \
00067      (PA_MAJOR == (major) && PA_MINOR > (minor)) ||                     \
00068      (PA_MAJOR == (major) && PA_MINOR == (minor) && PA_MICRO >= (micro)))
00069 
00070 PA_C_DECL_END
00071 
00072 #endif

Generated on Fri Nov 26 2010 for PulseAudio by  doxygen 1.7.2