]> code.delx.au - pulseaudio/blobdiff - polyp/props.h
Make the whole stuff LGPL only
[pulseaudio] / polyp / props.h
index f19e9260f8184152e56f4195824f1ccb1b294695..9b379cf16e0171716b31438dafe2a5007287023e 100644 (file)
@@ -7,7 +7,7 @@
   This file is part of polypaudio.
  
   polypaudio is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License as published
+  it under the terms of the GNU Lesser General Public License as published
   by the Free Software Foundation; either version 2 of the License,
   or (at your option) any later version.
  
@@ -16,7 +16,7 @@
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
   General Public License for more details.
  
-  You should have received a copy of the GNU General Public License
+  You should have received a copy of the GNU Lesser General Public License
   along with polypaudio; if not, write to the Free Software
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
   USA.
@@ -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);