Path: blob/master/thirdparty/linuxbsd_headers/pulse/version.h
9905 views
#ifndef fooversionhfoo /*-*-C-*-*/1#define fooversionhfoo23/***4This file is part of PulseAudio.56Copyright 2004-2006 Lennart Poettering7Copyright 2006 Pierre Ossman <[email protected]> for Cendio AB89PulseAudio is free software; you can redistribute it and/or modify10it under the terms of the GNU Lesser General Public License as published11by the Free Software Foundation; either version 2 of the License,12or (at your option) any later version.1314PulseAudio is distributed in the hope that it will be useful, but15WITHOUT ANY WARRANTY; without even the implied warranty of16MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU17General Public License for more details.1819You should have received a copy of the GNU Lesser General Public License20along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.21***/2223/* WARNING: Make sure to edit the real source file version.h.in! */2425#include <pulse/cdecl.h>2627/** \file28* Define header version */2930PA_C_DECL_BEGIN3132/** Return the version of the header files. Keep in mind that this is33a macro and not a function, so it is impossible to get the pointer of34it. */35#define pa_get_headers_version() ("11.1.0")3637/** Return the version of the library the current application is38* linked to. */39const char* pa_get_library_version(void);4041/** The current API version. Version 6 relates to Polypaudio42* 0.6. Prior versions (i.e. Polypaudio 0.5.1 and older) have43* PA_API_VERSION undefined. Please note that this is only ever44* increased on incompatible API changes! */45#define PA_API_VERSION 124647/** The current protocol version. Version 8 relates to Polypaudio48* 0.8/PulseAudio 0.9. */49#define PA_PROTOCOL_VERSION 325051/** The major version of PA. \since 0.9.15 */52#define PA_MAJOR 115354/** The minor version of PA. \since 0.9.15 */55#define PA_MINOR 15657/** The micro version of PA (will always be 0 from v1.0 onwards). \since 0.9.15 */58#define PA_MICRO 05960/** Evaluates to TRUE if the PulseAudio library version is equal or61* newer than the specified. \since 0.9.16 */62#define PA_CHECK_VERSION(major,minor,micro) \63((PA_MAJOR > (major)) || \64(PA_MAJOR == (major) && PA_MINOR > (minor)) || \65(PA_MAJOR == (major) && PA_MINOR == (minor) && PA_MICRO >= (micro)))6667PA_C_DECL_END6869#endif707172