[0] | 1 | //req.h: |
---|
| 2 | |
---|
[668] | 3 | /* |
---|
[5961] | 4 | * Copyright (C) Philipp 'ph3-der-loewe' Schafft - 2008-2014 |
---|
[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]); |
---|
[5608] | 32 | int req_on_quit (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
[0] | 33 | |
---|
[3926] | 34 | int req_on_identify (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
| 35 | int req_on_auth (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
[0] | 36 | |
---|
[3926] | 37 | int req_on_whoami (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
[1162] | 38 | |
---|
[3926] | 39 | int req_on_new_stream (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
| 40 | int req_on_exec_stream (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
| 41 | int req_on_con_stream (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
| 42 | int req_on_passfh (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
[0] | 43 | |
---|
[1493] | 44 | #ifdef ROAR_SUPPORT_META |
---|
[3926] | 45 | int req_on_set_meta (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
| 46 | int req_on_get_meta (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
| 47 | int req_on_list_meta (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
[1493] | 48 | #endif |
---|
[0] | 49 | |
---|
[3926] | 50 | int req_on_get_standby (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
| 51 | int req_on_set_standby (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
[0] | 52 | |
---|
[3926] | 53 | int req_on_exit (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
[0] | 54 | |
---|
[5031] | 55 | int req_on_gettimeofday(int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
[4431] | 56 | int req_on_server_info (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
| 57 | |
---|
[3926] | 58 | int req_on_server_oinfo(int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
[0] | 59 | |
---|
[4500] | 60 | int req_on_caps (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
| 61 | |
---|
[3926] | 62 | int req_on_list_clients(int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
| 63 | int req_on_list_streams(int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
[0] | 64 | |
---|
[3926] | 65 | int req_on_get_client (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
| 66 | int req_on_get_stream (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
[0] | 67 | |
---|
[3926] | 68 | int req_on_get_stream_para (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
| 69 | int req_on_set_stream_para (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
[465] | 70 | |
---|
[3926] | 71 | int req_on_kick (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
| 72 | int req_on_attach (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
[0] | 73 | |
---|
[3926] | 74 | int req_on_set_vol (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
| 75 | int req_on_get_vol (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
[17] | 76 | |
---|
[3926] | 77 | int req_on_add_data (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
[0] | 78 | |
---|
[3926] | 79 | int req_on_beep (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
[0] | 80 | |
---|
[4343] | 81 | int req_on_wait (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
| 82 | |
---|
[3926] | 83 | //int req_on_ (int client, struct roar_message * mes, char ** data, uint32_t flags[2]); |
---|
[0] | 84 | |
---|
| 85 | #endif |
---|
| 86 | |
---|
| 87 | //ll |
---|