summaryrefslogtreecommitdiffstats
path: root/polyp/props.h
diff options
context:
space:
mode:
Diffstat (limited to 'polyp/props.h')
-rw-r--r--polyp/props.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/polyp/props.h b/polyp/props.h
index f19e9260..954d2540 100644
--- a/polyp/props.h
+++ b/polyp/props.h
@@ -43,6 +43,9 @@ int pa_property_set(struct pa_core *c, const char *name, void *data);
/* Remove the specified property. Return non-zero on failure */
int pa_property_remove(struct pa_core *c, const char *name);
+/* A combination of pa_property_remove() and pa_property_set() */
+int pa_property_replace(struct pa_core *c, const char *name, void *data);
+
/* Free all memory used by the property system */
void pa_property_cleanup(struct pa_core *c);