mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
SPDX tags make the licensing information easy to understand and clear, and they are machine parseable. See https://spdx.dev for more information.
27 lines
632 B
C
27 lines
632 B
C
/* PipeWire */
|
|
/* SPDX-FileCopyrightText: Copyright © 2020 Wim Taymans */
|
|
/* SPDX-License-Identifier: MIT */
|
|
|
|
#ifndef PULSE_SERVER_EXTENSION_H
|
|
#define PULSE_SERVER_EXTENSION_H
|
|
|
|
#include <stdint.h>
|
|
|
|
struct client;
|
|
struct message;
|
|
|
|
struct extension_sub {
|
|
const char *name;
|
|
uint32_t command;
|
|
int (*process)(struct client *client, uint32_t command, uint32_t tag, struct message *m);
|
|
};
|
|
|
|
struct extension {
|
|
const char *name;
|
|
uint32_t index;
|
|
int (*process)(struct client *client, uint32_t tag, struct message *m);
|
|
};
|
|
|
|
const struct extension *extension_find(uint32_t index, const char *name);
|
|
|
|
#endif /* PULSE_SERVER_EXTENSION_H */
|