Home | History | Annotate | Download | only in pulse
      1 #ifndef fooversionhfoo /*-*-C-*-*/
      2 #define fooversionhfoo
      3 
      4 /* $Id: version.h.in 1426 2007-02-13 15:35:19Z ossman $ */
      5 
      6 /***
      7   This file is part of PulseAudio.
      8 
      9   Copyright 2004-2006 Lennart Poettering
     10   Copyright 2006 Pierre Ossman <ossman (at) 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() ("0.9.10")
     41 
     42 /** Return the version of the library the current application is linked to. */
     43 const char* pa_get_library_version(void);
     44 
     45 /** The current API version. Version 6 relates to Polypaudio
     46  * 0.6. Prior versions (i.e. Polypaudio 0.5.1 and older) have
     47  * PA_API_VERSION undefined.  */
     48 #define PA_API_VERSION 11
     49 
     50 /** The current protocol version. Version 8 relates to Polypaudio 0.8/PulseAudio 0.9.
     51  * \since 0.8 */
     52 #define PA_PROTOCOL_VERSION 12
     53 
     54 PA_C_DECL_END
     55 
     56 #endif
     57