mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
command: clean up a little
This commit is contained in:
parent
d26d7a8040
commit
4bef583b75
3 changed files with 68 additions and 36 deletions
|
|
@ -32,10 +32,17 @@ extern "C" {
|
|||
#include "pipewire/pipewire.h"
|
||||
#include "pipewire/introspect.h"
|
||||
|
||||
struct pw_command;
|
||||
|
||||
typedef bool (*pw_command_func_t) (struct pw_command *command, struct pw_core *core, char **err);
|
||||
|
||||
/** \cond */
|
||||
struct pw_command {
|
||||
uint32_t id; /**< id of command */
|
||||
struct spa_list link; /**< link in list of commands */
|
||||
const char *name; /**< command name */
|
||||
pw_command_func_t func;
|
||||
char **args;
|
||||
int n_args;
|
||||
};
|
||||
|
||||
struct pw_protocol {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue