| PipeWire
    0.2.7
    | 
| Public Member Functions | |
| SPA_EXPORT void | pw_command_free (struct pw_command *command) | 
| Free command.  More... | |
| SPA_EXPORT struct pw_command * | pw_command_parse (const char *line, char **err) | 
| Parses a command line.  More... | |
| SPA_EXPORT int | pw_command_run (struct pw_command *command, struct pw_core *core, char **err) | 
| Run a command.  More... | |
A configuration command
| SPA_EXPORT void pw_command_free | ( | struct pw_command * | command | ) | 
Free command.
| command | a command to free | 
Free all resources assicated with command.
References pw_utils::pw_free_strv().
| SPA_EXPORT struct pw_command * pw_command_parse | ( | const char * | line, | 
| char ** | err | ||
| ) | 
Parses a command line.
| line | command line to parse | |
| [out] | err | Return location for an error | 
Parses a command line, line, and return the parsed command. A command can later be executed with pw_command_run()
| SPA_EXPORT int pw_command_run | ( | struct pw_command * | command, | 
| struct pw_core * | core, | ||
| char ** | err | ||
| ) | 
Run a command.
| command | A pw_command | 
| core | A pw_core | 
| err | Return location for an error string, or NULL |