.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
---|
1 | 2 | /* |
---|
2 | 3 | * ALSA sequencer Client Manager |
---|
3 | 4 | * Copyright (c) 1998-1999 by Frank van de Pol <fvdpol@coil.demon.nl> |
---|
4 | | - * |
---|
5 | | - * |
---|
6 | | - * This program is free software; you can redistribute it and/or modify |
---|
7 | | - * it under the terms of the GNU General Public License as published by |
---|
8 | | - * the Free Software Foundation; either version 2 of the License, or |
---|
9 | | - * (at your option) any later version. |
---|
10 | | - * |
---|
11 | | - * This program is distributed in the hope that it will be useful, |
---|
12 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
13 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
14 | | - * GNU General Public License for more details. |
---|
15 | | - * |
---|
16 | | - * You should have received a copy of the GNU General Public License |
---|
17 | | - * along with this program; if not, write to the Free Software |
---|
18 | | - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
---|
19 | | - * |
---|
20 | 5 | */ |
---|
21 | 6 | #ifndef __SND_SEQ_CLIENTMGR_H |
---|
22 | 7 | #define __SND_SEQ_CLIENTMGR_H |
---|
.. | .. |
---|
93 | 78 | /* dispatch event to client(s) */ |
---|
94 | 79 | int snd_seq_dispatch_event(struct snd_seq_event_cell *cell, int atomic, int hop); |
---|
95 | 80 | |
---|
96 | | -/* exported to other modules */ |
---|
97 | | -int snd_seq_kernel_client_enqueue(int client, struct snd_seq_event *ev, int atomic, int hop); |
---|
98 | | -int snd_seq_kernel_client_enqueue_blocking(int client, struct snd_seq_event * ev, |
---|
99 | | - struct file *file, int atomic, int hop); |
---|
100 | 81 | int snd_seq_kernel_client_write_poll(int clientid, struct file *file, poll_table *wait); |
---|
101 | 82 | int snd_seq_client_notify_subscription(int client, int port, |
---|
102 | 83 | struct snd_seq_port_subscribe *info, int evtype); |
---|
103 | 84 | |
---|
| 85 | +/* only for OSS sequencer */ |
---|
| 86 | +bool snd_seq_client_ioctl_lock(int clientid); |
---|
| 87 | +void snd_seq_client_ioctl_unlock(int clientid); |
---|
| 88 | + |
---|
104 | 89 | extern int seq_client_load[15]; |
---|
105 | 90 | |
---|
106 | 91 | #endif |
---|