From 261a4830fb28f7ae690176cdfbe21607d27d9bcb Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 25 May 2009 23:50:18 +0200 Subject: sample: introduce pa_proplist_setp() --- src/pulse/proplist.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/pulse/proplist.h') diff --git a/src/pulse/proplist.h b/src/pulse/proplist.h index 2e7e5ad0..7d680d06 100644 --- a/src/pulse/proplist.h +++ b/src/pulse/proplist.h @@ -231,6 +231,14 @@ void pa_proplist_free(pa_proplist* p); * UTF-8. \since 0.9.11 */ int pa_proplist_sets(pa_proplist *p, const char *key, const char *value); +/** Append a new string entry to the property list, possibly + * overwriting an already existing entry with the same key. An + * internal copy of the data passed is made. Will accept only valid + * UTF-8. The string passed in must contain a '='. Left hand side of + * the '=' is used as key name, the right hand side as string + * data. \since 0.9.16 */ +int pa_proplist_setp(pa_proplist *p, const char *pair); + /** Append a new string entry to the property list, possibly * overwriting an already existing entry with the same key. An * internal copy of the data passed is made. Will accept only valid -- cgit