xref: /onnv-gate/usr/src/cmd/ipf/lib/common/initparse.c (revision 0:68f95e015346)
1*0Sstevel@tonic-gate /*
2*0Sstevel@tonic-gate  * Copyright (C) 1993-2001 by Darren Reed.
3*0Sstevel@tonic-gate  *
4*0Sstevel@tonic-gate  * See the IPFILTER.LICENCE file for details on licencing.
5*0Sstevel@tonic-gate  *
6*0Sstevel@tonic-gate  * $Id: initparse.c,v 1.6 2002/01/28 06:50:46 darrenr Exp $
7*0Sstevel@tonic-gate  */
8*0Sstevel@tonic-gate #include "ipf.h"
9*0Sstevel@tonic-gate 
10*0Sstevel@tonic-gate 
11*0Sstevel@tonic-gate char	thishost[MAXHOSTNAMELEN];
12*0Sstevel@tonic-gate 
13*0Sstevel@tonic-gate 
initparse(void)14*0Sstevel@tonic-gate void initparse __P((void))
15*0Sstevel@tonic-gate {
16*0Sstevel@tonic-gate 	gethostname(thishost, sizeof(thishost));
17*0Sstevel@tonic-gate 	thishost[sizeof(thishost) - 1] = '\0';
18*0Sstevel@tonic-gate }
19