"Fossies" - the Fresh Open Source Software Archive

Member "portsentry-2.0b1/portsentry_io.h" (8 Apr 2002, 2566 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_io.h" see the Fossies "Dox" file reference documentation.

    1 /************************************************************************/
    2 /*                                                                      */
    3 /* Psionic PortSentry                           */
    4 /*                                                                      */
    5 /* Created: 10-12-1997                                                  */
    6 /* Modified: 03-05-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_io.h,v 1.17 2002/03/06 04:53:43 crowland Exp crowland $ */
   26 /************************************************************************/
   27 
   28 /* prototypes */
   29 void Log (char *,...);
   30 void ExitNow (int);
   31 void Start (void);
   32 void PrintStats(void);
   33 int DaemonSeed (void);
   34 int NeverBlock (char *, char *);
   35 int WriteBlocked (char *, char *, char *, char *, int , int, char *, char *);
   36 int CheckConfig (void);
   37 int BindSocket (int, int);
   38 int OpenTCPSocket (void);
   39 int OpenUDPSocket (void);
   40 int KillRoute (char *, int, char *, char *);
   41 int KillHostsDeny (char *, int, char *, char *);
   42 int KillRunCmd (char *, int, char *, char *);
   43 int ConfigTokenRetrieve (char *, char *);
   44 int IsBlocked (char *, char *);
   45 int SubstString (const char *, const char *, const char *, char *);
   46 int CheckFlag (char *);
   47 int CompareIPs(char *, char *, int);
   48 void SignalCatcher(int);