2
Copyright (C) 2004 Tom Szilagyi
4
This program is free software; you can redistribute it and/or modify
5
it under the terms of the GNU General Public License as published by
6
the Free Software Foundation; either version 2 of the License, or
7
(at your option) any later version.
9
This program is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
GNU General Public License for more details.
14
You should have received a copy of the GNU General Public License
15
along with this program; if not, write to the Free Software
16
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18
$Id: transceiver.h 524 2007-01-06 15:39:18Z pasp $
22
#ifndef _TRANSCEIVER_H
23
#define _TRANSCEIVER_H
26
/* valid remote command codes */
34
#define RCMD_ENQUEUE 8
36
#define RCMD_VOLADJ 10
38
int create_socket(const char * filename);
39
char receive_message(int fd, char * cmd_arg);
40
void setup_app_socket(void);
41
void close_app_socket(void);
42
void send_message(const char * filename, char * message, int len);
43
void send_message_to_session(int session_id, char * message, int len);
47
#endif /* _TRANSCEIVER_H */
49
// vim: shiftwidth=8:tabstop=8:softtabstop=8 :