"Fossies" - the Fresh Open Source Software Archive

Member "portsentry-2.0b1/portsentry_util.h" (8 Apr 2002, 2059 Bytes) of package /linux/privat/old/portsentry-2.0b1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "portsentry_util.h" see the Fossies "Dox" file reference documentation.

    1 /************************************************************************/
    2 /*                                                                      */
    3 /* Psionic PortSentry                           */
    4 /*                                                                      */
    5 /* Created: 10-12-1997                                                  */
    6 /* Modified: 06-26-2002                                                 */
    7 /*                                                                      */
    8 /* Send all changes/modifications/bugfixes to sentrysupport@psionic.com */
    9 /*                                                                      */
   10 /*                                                                      */
   11 /* This software is Copyright(c) 1997-2002 Psionic Technologies, Inc.   */
   12 /*                                                                      */
   13 /* Disclaimer:                                                          */
   14 /*                                                                      */
   15 /* All software distributed by Psionic Technologies is distributed  */
   16 /* AS IS and carries NO WARRANTY or GUARANTEE OF ANY KIND. End users of */
   17 /* the software acknowledge that they will not hold Psionic Software    */
   18 /* liable for failure or non-function of the software product. YOU ARE  */
   19 /* USING THIS PRODUCT AT YOUR OWN RISK.                 */
   20 /*                                                                      */
   21 /* Licensing restrictions apply. Commercial re-sell is prohibited under */
   22 /* certain conditions. See the license that came with this package or   */
   23 /* visit http://www.psionic.com for more information.           */
   24 /*                                                                      */
   25 /* $Id: portsentry_util.h,v 1.10 2002/03/27 22:32:14 crowland Exp crowland $ */
   26 /************************************************************************/
   27 
   28 
   29 /* IP address length plus null */
   30 #define IPMAXBUF 16
   31 
   32 
   33 char * SafeStrncpy (char *, const char *, size_t ); 
   34 char * CleanIpAddr (char *, const char *);
   35 int CleanAndResolve (char *, const char *);
   36