diff options
Diffstat (limited to 'src/pulse/proplist.h')
-rw-r--r-- | src/pulse/proplist.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/pulse/proplist.h b/src/pulse/proplist.h index 4f1a1ec4..5d65ff3c 100644 --- a/src/pulse/proplist.h +++ b/src/pulse/proplist.h @@ -214,7 +214,7 @@ const char *pa_proplist_iterate(pa_proplist *p, void **state); char *pa_proplist_to_string(pa_proplist *p); /** Allocate a new property list and assign key/value from a human readable string. \since - * 0.9.14 */ + * 0.9.15 */ pa_proplist *pa_proplist_from_string(const char *str); /** Returns 1 if an entry for the specified key is existant in the @@ -228,6 +228,12 @@ void pa_proplist_clear(pa_proplist *p); * the specific list. \since 0.9.11 */ pa_proplist* pa_proplist_copy(pa_proplist *t); +/** Return the number of entries on the property list. \since 0.9.15 */ +unsigned pa_proplist_size(pa_proplist *t); + +/** Returns 0 when the proplist is empty, positive otherwise \since 0.9.15 */ +int pa_proplist_isempty(pa_proplist *t); + PA_C_DECL_END #endif |