Source File modules/pw/protocol_whois.h

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