mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
proplist: Change proplist_name_valid() to be public function pa_proplist_key_valid().
I want to check the validity in pa_tagstruct_get_proplist(), and I think also client applications might have use for this function.
This commit is contained in:
parent
9b3d5acbbc
commit
e17f18d89a
3 changed files with 18 additions and 14 deletions
|
|
@ -279,6 +279,9 @@ pa_proplist* pa_proplist_new(void);
|
|||
/** Free the property list. \since 0.9.11 */
|
||||
void pa_proplist_free(pa_proplist* p);
|
||||
|
||||
/** Returns a non-zero value if the key is valid. \since 3.0 */
|
||||
int pa_proplist_key_valid(const char *key);
|
||||
|
||||
/** 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue