mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
pulse-server: add an option to check module arguments
Add a list of valid keys to the module info. When set, check if the module arguments only contain the allowed keys and give an error otherwise.
This commit is contained in:
parent
b094057b0b
commit
3c812f672b
4 changed files with 61 additions and 9 deletions
|
|
@ -23,6 +23,7 @@ struct module_info {
|
|||
int (*load) (struct module *module);
|
||||
int (*unload) (struct module *module);
|
||||
|
||||
const char* const *valid_args;
|
||||
const struct spa_dict *properties;
|
||||
size_t data_size;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue