summaryrefslogtreecommitdiffstats
path: root/src/pulse/proplist.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-01-14 00:06:26 +0100
committerLennart Poettering <lennart@poettering.net>2009-01-14 00:06:26 +0100
commit18725265087dd7f8a8bf8e460b848826361d3f50 (patch)
tree16f62234463e9c0fa4daedde9441c5d5c269a4b2 /src/pulse/proplist.h
parentef5a2b5f2c5eca12946c538dc2a6b686b3f2f3ed (diff)
add pa_proplist_size() and pa_proplist_isempty()
Diffstat (limited to 'src/pulse/proplist.h')
-rw-r--r--src/pulse/proplist.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/pulse/proplist.h b/src/pulse/proplist.h
index 217a770a..5d65ff3c 100644
--- a/src/pulse/proplist.h
+++ b/src/pulse/proplist.h
@@ -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