[0] | 1 | //req.h: |
---|
| 2 | |
---|
[668] | 3 | /* |
---|
[3811] | 4 | * Copyright (C) Philipp 'ph3-der-loewe' Schafft - 2008-2010 |
---|
[668] | 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 |
---|
[3517] | 21 | * the Free Software Foundation, 51 Franklin Street, Fifth Floor, |
---|
| 22 | * Boston, MA 02110-1301, USA. |
---|
[668] | 23 | * |
---|
| 24 | */ |
---|
| 25 | |
---|
[0] | 26 | #ifndef _REQ_H_ |
---|
| 27 | #define _REQ_H_ |
---|
| 28 | |
---|
| 29 | #include <roaraudio.h> |
---|
| 30 | |
---|
[3926] | 31 | int req_on_noop (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
[0] | 32 | |
---|
[3926] | 33 | int req_on_identify (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
| 34 | int req_on_auth (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
[0] | 35 | |
---|
[3926] | 36 | int req_on_whoami (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
[1162] | 37 | |
---|
[3926] | 38 | int req_on_new_stream (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
| 39 | int req_on_exec_stream (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
| 40 | int req_on_con_stream (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
| 41 | int req_on_passfh (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
[0] | 42 | |
---|
[1493] | 43 | #ifdef ROAR_SUPPORT_META |
---|
[3926] | 44 | int req_on_set_meta (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
| 45 | int req_on_get_meta (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
| 46 | int req_on_list_meta (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
[1493] | 47 | #endif |
---|
[0] | 48 | |
---|
[3926] | 49 | int req_on_get_standby (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
| 50 | int req_on_set_standby (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
[0] | 51 | |
---|
[3926] | 52 | int req_on_exit (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
[0] | 53 | |
---|
[3926] | 54 | int req_on_server_oinfo(int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
[0] | 55 | |
---|
[3926] | 56 | int req_on_list_clients(int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
| 57 | int req_on_list_streams(int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
[0] | 58 | |
---|
[3926] | 59 | int req_on_get_client (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
| 60 | int req_on_get_stream (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
[0] | 61 | |
---|
[3926] | 62 | int req_on_get_stream_para (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
| 63 | int req_on_set_stream_para (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
[465] | 64 | |
---|
[3926] | 65 | int req_on_kick (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
| 66 | int req_on_attach (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
[0] | 67 | |
---|
[3926] | 68 | int req_on_set_vol (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
| 69 | int req_on_get_vol (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
[17] | 70 | |
---|
[3926] | 71 | int req_on_add_data (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
[0] | 72 | |
---|
[3926] | 73 | int req_on_beep (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
[0] | 74 | |
---|
[3926] | 75 | //int req_on_ (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
[0] | 76 | |
---|
| 77 | #endif |
---|
| 78 | |
---|
| 79 | //ll |
---|