summaryrefslogtreecommitdiffstats
path: root/plugins/gethostbyname.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/gethostbyname.c')
-rw-r--r--plugins/gethostbyname.c55
1 files changed, 33 insertions, 22 deletions
diff --git a/plugins/gethostbyname.c b/plugins/gethostbyname.c
index d1b768b..c8f39ed 100644
--- a/plugins/gethostbyname.c
+++ b/plugins/gethostbyname.c
@@ -1,25 +1,36 @@
1/* 1/******************************************************************************
2 * This file is a ghastly hack because nobody can agree on 2*
3 * gethostbyname_r()'s prototype. 3* Nagios gethostbyname_r()'s prototype.
4 * 4*
5 * Copyright (C) 2001,2002 Brian Stafford <brian@stafford.uklinux.net> 5* License: GPL
6 * 6* Copyright (C) 2001,2002 Brian Stafford <brian@stafford.uklinux.net>
7 * This library is free software; you can redistribute it and/or 7*
8 * modify it under the terms of the GNU Lesser General Public 8* Last Modified: $Date$
9 * License as published by the Free Software Foundation; either 9*
10 * version 2.1 of the License, or (at your option) any later version. 10* Description:
11 * 11*
12 * This library is distributed in the hope that it will be useful, 12* This file is a ghastly hack because nobody can agree on
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13* gethostbyname_r()'s prototype.
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14*
15 * Lesser General Public License for more details. 15* License Information:
16 * 16*
17 * You should have received a copy of the GNU Lesser General Public 17* This program is free software; you can redistribute it and/or modify
18 * License along with this library; if not, write to the Free Software 18* it under the terms of the GNU General Public License as published by
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19* the Free Software Foundation; either version 2 of the License, or
20 * 20* (at your option) any later version.
21 * $Id$ 21*
22 */ 22* This program is distributed in the hope that it will be useful,
23* but WITHOUT ANY WARRANTY; without even the implied warranty of
24* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25* GNU General Public License for more details.
26*
27* You should have received a copy of the GNU General Public License
28* along with this program; if not, write to the Free Software
29* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
30*
31* $Id$
32*
33*****************************************************************************/
23 34
24#ifdef HAVE_CONFIG_H 35#ifdef HAVE_CONFIG_H
25#include <config.h> 36#include <config.h>