File: portsentry_util.h

package info (click to toggle)
portsentry 1.2-12
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 504 kB
  • ctags: 156
  • sloc: ansic: 2,279; makefile: 199; sh: 183; perl: 94; csh: 31
file content (27 lines) | stat: -rw-r--r-- 1,360 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/************************************************************************/
/*                                                                      */
/* PortSentry								*/
/*                                                                      */
/* Created: 10-12-1997                                                  */
/* Modified: 05-23-2003                                                 */
/*                                                                      */
/* Send all changes/modifications/bugfixes to:				*/
/* craigrowland at users dot sourceforge dot net    			*/
/*                                                                      */
/*                                                                      */
/* This software is Copyright(c) 1997-2003 Craig Rowland	        */
/*                                                                      */
/* This software is covered under the Common Public License v1.0	*/
/* See the enclosed LICENSE file for more information.			*/
/* $Id: portsentry_util.h,v 1.10 2003/05/23 17:42:07 crowland Exp crowland $ */
/************************************************************************/


/* IP address length plus null */
#define IPMAXBUF 16



char * SafeStrncpy (char *, const char *, size_t ); 
char * CleanIpAddr (char *, const char *);
int CleanAndResolve (char *, const char *);