add C++ safety to header file

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2242 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Lennart Poettering 2008-04-11 16:30:14 +00:00
parent 7dad6350e3
commit e832b0c7fa

View file

@ -24,7 +24,10 @@
USA. USA.
***/ ***/
#include <pulsecore/macro.h> #include <pulse/cdecl.h>
#include <pulse/gccmacro.h>
PA_C_DECL_BEGIN
/* Defined properties: /* Defined properties:
* *
@ -100,8 +103,8 @@
#define PA_PROP_DEVICE_CONNECTOR "device.connector" #define PA_PROP_DEVICE_CONNECTOR "device.connector"
#define PA_PROP_DEVICE_ACCESS_MODE "device.access_mode" #define PA_PROP_DEVICE_ACCESS_MODE "device.access_mode"
#define PA_PROP_DEVICE_MASTER_DEVICE "device.master_device" #define PA_PROP_DEVICE_MASTER_DEVICE "device.master_device"
#define PA_PROP_DEVICE_BUFFER_NFRAGMENTS "device.buffer.nfragments" #define PA_PROP_DEVICE_BUFFERING_BUFFER_SIZE "device.buffering.buffer_size"
#define PA_PROP_DEVICE_BUFFER_FRAGMENT_SIZE "device.buffer.fragment_size" #define PA_PROP_DEVICE_BUFFERING_FRAGMENT_SIZE "device.buffering.fragment_size"
/** A property list object. Basically a dictionary with UTF-8 strings /** A property list object. Basically a dictionary with UTF-8 strings
* as keys and arbitrary data as values. \since 0.9.11 */ * as keys and arbitrary data as values. \since 0.9.11 */
@ -176,7 +179,7 @@ int pa_proplist_unset_many(pa_proplist *p, const char * const keys[]);
* list do not have any particular order. \since 0.9.11 */ * list do not have any particular order. \since 0.9.11 */
const char *pa_proplist_iterate(pa_proplist *p, void **state); const char *pa_proplist_iterate(pa_proplist *p, void **state);
/** Format the property list nicely as a human readable string. \since /** Format the property list nicely as a human readable string. Call pa_xfree() on the result. \since
* 0.9.11 */ * 0.9.11 */
char *pa_proplist_to_string(pa_proplist *p); char *pa_proplist_to_string(pa_proplist *p);
@ -191,4 +194,6 @@ void pa_proplist_clear(pa_proplist *p);
* the specific list. \since 0.9.11 */ * the specific list. \since 0.9.11 */
pa_proplist* pa_proplist_copy(pa_proplist *template); pa_proplist* pa_proplist_copy(pa_proplist *template);
PA_C_DECL_END
#endif #endif