📄 client.h
字号:
/* $Header: /home/cvs/wavplay/client.h,v 1.2 1999/12/04 00:01:20 wwg Exp $ * Warren W. Gay VE3WWG Wed Feb 26 22:01:36 1997 * * CLIENT.C HEADER FILE: * * X LessTif WAV Play : * * Copyright (C) 1997 Warren W. Gay VE3WWG * * 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 version 2 of the License. * * 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 (see enclosed file COPYING). * * 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. * * Send correspondance to: * * Warren W. Gay VE3WWG * 5536 Montevideo Road #17 * Mississauga, Ontario L5N 2P4 * * Email: * wwg@ica.net (current ISP of the month :-) ) * bx249@freenet.toronto.on.ca (backup) * * $Log: client.h,v $ * Revision 1.2 1999/12/04 00:01:20 wwg * Implement wavplay-1.4 release changes * * Revision 1.1.1.1 1999/11/21 19:50:56 wwg * Import wavplay-1.3 into CVS * * Revision 1.1 1997/04/14 01:01:16 wwg * Initial revision * * Revision 1.1 1997/04/14 00:11:03 wwg * Initial revision * * $Log: client.h,v $ * Revision 1.2 1999/12/04 00:01:20 wwg * Implement wavplay-1.4 release changes * * Revision 1.1.1.1 1999/11/21 19:50:56 wwg * Import wavplay-1.3 into CVS * * Revision 1.1 1997/04/14 01:01:16 wwg * Initial revision * */#ifndef _client_h_#define _client_h_ "@(#)client.h $Revision: 1.2 $"extern int tosvr_cmd(MSGTYP cmd,int flags,ErrFunc erf); /* Simple server command */extern int tosvr_start(ErrFunc erf); /* Start server */extern int tosvr_bye(int flags,ErrFunc erf); /* Tell server to exit */#define tosvr_bye(flags,erf) tosvr_cmd(ToSvr_Bye,flags,erf) /* Tell server to exit */#define tosvr_play(flags,erf) tosvr_cmd(ToSvr_Play,flags,erf) /* Tell server to play */#define tosvr_pause(flags,erf) tosvr_cmd(ToSvr_Pause,flags,erf) /* Tell server to pause */#define tosvr_stop(flags,erf) tosvr_cmd(ToSvr_Stop,flags,erf) /* Tell server to stop */#define tosvr_restore(flags,erf) tosvr_cmd(ToSvr_Restore,flags,erf) /* Tell server to restore settings */#define tosvr_semreset(flags,erf) tosvr_cmd(ToSvr_SemReset,flags,erf) /* Tell server to reset semaphores */extern int tosvr_path(const char *path,int flags,ErrFunc erf); /* Tell server a pathname */extern int tosvr_bits(int flags,ErrFunc erf,int bits); /* Tell server bits override */extern int tosvr_start_sample(int flags, ErrFunc eft, UInt32 sample); /* Tell server to start at sample */extern int tosvr_sampling_rate(int flags,ErrFunc erf,UInt32 sampling_rate);extern int tosvr_chan(int flags,ErrFunc erf,Chan chan); /* Override Mono/Stereo */extern int tosvr_record(int flags,ErrFunc erf, Chan chan_mode,UInt32 sampling_rate,UInt16 data_bits); /* Start recording */extern int tosvr_debug(int flags,ErrFunc erf,int bDebugMode); /* Set debug mode in server */extern pid_t svrPID; /* Forked process ID of server */extern int svrIPC; /* IPC ID of message queue */#endif /* _client_h_ *//* $Source: /home/cvs/wavplay/client.h,v $ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -