1    | #ifndef READ_PROTOCOL_WHOIS
2    | #define READ_PROTOCOL_WHOIS
3    | 
4    | /***************************************
5    |   $Revision: 1.3 $
6    | 
7    |   Protocol whois module (pw).  Whois protocol.
8    | 
9    |   Status: NOT REVUED, NOT TESTED
10   | 
11   |   +html+ <DL COMPACT>
12   |   +html+ <DT>Online References:
13   |   +html+ <DD><UL>
14   |   +html+ </UL>
15   |   +html+ </DL>
16   |   +html+ <PRE>
17   |   +html+ </PRE>
18   |  
19   |   ******************/ /******************
20   |   Copyright (c) 1999                              RIPE NCC
21   |  
22   |   All Rights Reserved
23   |   
24   |   Permission to use, copy, modify, and distribute this software and its
25   |   documentation for any purpose and without fee is hereby granted,
26   |   provided that the above copyright notice appear in all copies and that
27   |   both that copyright notice and this permission notice appear in
28   |   supporting documentation, and that the name of the author not be
29   |   used in advertising or publicity pertaining to distribution of the
30   |   software without specific, written prior permission.
31   |   
32   |   THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
33   |   ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS; IN NO EVENT SHALL
34   |   AUTHOR BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY
35   |   DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
36   |   AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
37   |   OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
38   |   ***************************************/
39   | #include "query_command.h"
40   | /*+ String sizes +*/
41   | #define STR_S   63
42   | #define STR_M   255
43   | #define STR_L   1023
44   | #define STR_XL  4095
45   | #define STR_XXL 16383
46   | 
47   | /*+ Maximum size of input that can be recieved from the client. +*/
48   | #define MAX_INPUT_SIZE  1024
49   | 
50   | void PW_interact(int sock);
51   | 
52   | #endif /* READ_PROTOCOL_WHOIS */