source: roaraudio/roard/include/req.h @ 1043:1ca27ba72398

Last change on this file since 1043:1ca27ba72398 was 1043:1ca27ba72398, checked in by phi, 15 years ago

added support to set flags via roarctl, update meta data on change of meta flag

File size: 2.9 KB
Line 
1//req.h:
2
3/*
4 *      Copyright (C) Philipp 'ph3-der-loewe' Schafft - 2008
5 *
6 *  This file is part of roard a part of RoarAudio,
7 *  a cross-platform sound system for both, home and professional use.
8 *  See README for details.
9 *
10 *  This file is free software; you can redistribute it and/or modify
11 *  it under the terms of the GNU General Public License version 3
12 *  as published by the Free Software Foundation.
13 *
14 *  RoarAudio is distributed in the hope that it will be useful,
15 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
16 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 *  GNU General Public License for more details.
18 *
19 *  You should have received a copy of the GNU General Public License
20 *  along with this software; see the file COPYING.  If not, write to
21 *  the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
22 *
23 */
24
25#ifndef _REQ_H_
26#define _REQ_H_
27
28#include <roaraudio.h>
29
30int req_on_noop        (int client, struct roar_message * mes, char * data);
31
32int req_on_identify    (int client, struct roar_message * mes, char * data);
33int req_on_auth        (int client, struct roar_message * mes, char * data);
34
35int req_on_new_stream  (int client, struct roar_message * mes, char * data);
36int req_on_exec_stream (int client, struct roar_message * mes, char * data);
37int req_on_con_stream  (int client, struct roar_message * mes, char * data);
38int req_on_passfh      (int client, struct roar_message * mes, char * data);
39
40int req_on_set_meta    (int client, struct roar_message * mes, char * data);
41int req_on_get_meta    (int client, struct roar_message * mes, char * data);
42int req_on_list_meta   (int client, struct roar_message * mes, char * data);
43
44int req_on_get_standby (int client, struct roar_message * mes, char * data);
45int req_on_set_standby (int client, struct roar_message * mes, char * data);
46
47int req_on_exit        (int client, struct roar_message * mes, char * data);
48
49int req_on_server_oinfo(int client, struct roar_message * mes, char * data);
50
51int req_on_list_clients(int client, struct roar_message * mes, char * data);
52int req_on_list_streams(int client, struct roar_message * mes, char * data);
53
54int req_on_get_client  (int client, struct roar_message * mes, char * data);
55int req_on_get_stream  (int client, struct roar_message * mes, char * data);
56
57int req_on_get_stream_para (int client, struct roar_message * mes, char * data);
58int req_on_set_stream_para (int client, struct roar_message * mes, char * data);
59
60int req_on_kick        (int client, struct roar_message * mes, char * data);
61int req_on_attach      (int client, struct roar_message * mes, char * data);
62
63int req_on_set_vol     (int client, struct roar_message * mes, char * data);
64int req_on_get_vol     (int client, struct roar_message * mes, char * data);
65
66int req_on_add_data    (int client, struct roar_message * mes, char * data);
67
68
69//int req_on_ (int client, struct roar_message * mes, char * data);
70
71#endif
72
73//ll
Note: See TracBrowser for help on using the repository browser.