Develop and Download Open Source Software

Browse CVS Repository

Contents of /pmxfilter/source/pmxfilter.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1.1.1 - (show annotations) (download) (as text) (vendor branch)
Wed Dec 29 14:53:25 2004 UTC (19 years, 2 months ago) by iwata
Branch: MAIN, iwata
CVS Tags: v_0_0_1, start, HEAD
Changes since 1.1: +0 -0 lines
File MIME type: text/x-chdr
no message

1 /*----------------------------------------------------------------------------------------------
2 Copyright (c) 2004, Noboru Iwata
3 All rights reserved.
4
5 Redistribution and use in source and binary forms, with or without modification,
6 are permitted provided that the following conditions are met:
7
8 * Redistributions of source code must retain the above copyright notice,
9 this list of conditions and the following disclaimer.
10 * Redistributions in binary form must reproduce the above copyright notice,
11 this list of conditions and the following disclaimer in the documentation
12 and/or other materials provided with the distribution.
13 * Neither the name of the <ORGANIZATION> nor the names of its contributors
14 may be used to endorse or promote products derived from this software without
15 specific prior written permission.
16
17 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
18 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
19 THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20 IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
21 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
22 BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
23 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
25 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
26 EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
28 program : pmxfilter
29
30 ---------------------------------------------------------------------------------------------*/
31
32 #define FALSE 0
33 #define TRUE 1
34 #define MSGLEN 4096
35
36 typedef int BOOL;
37 typedef int SOCKET;
38 typedef long DWORD;
39 typedef unsigned long ULONG;
40 typedef char * LPSTR;
41
42 BOOL sub_SocInit(char *host,unsigned short port);
43 void sub_SocEnd(void);
44 int sub_cRecv(long t);
45 int sub_cSend(const char *str,int len);
46 extern char rcvMsg[];
47

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26