📄 transceiver.h
字号:
/* -*- linux-c -*- Copyright (C) 2004 Tom Szilagyi This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. $Id: transceiver.h,v 1.3 2005/01/11 18:54:18 tszilagyi Exp $*/#ifndef _TRANSCEIVER_H#define _TRANSCEIVER_H/* valid remote command codes */#define RCMD_PING 1#define RCMD_BACK 2#define RCMD_PLAY 3#define RCMD_PAUSE 4#define RCMD_STOP 5#define RCMD_FWD 6#define RCMD_LOAD 7#define RCMD_ENQUEUE 8#define RCMD_QUIT 9#define RCMD_VOLADJ 10int create_socket(const char * filename);char receive_message(int fd, char * cmd_arg);void setup_app_socket(void);void close_app_socket(void);void send_message(const char * filename, char * message, int len);void send_message_to_session(int session_id, char * message, int len);#endif /* _TRANSCEIVER_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -