aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil/inet_aton.h
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2010-05-28 20:19:55 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2010-05-28 20:19:55 +0000
commit47e2d75820ee02066a61e341034aace6d28063c1 (patch)
treed70498d786146b2e819ee680cc26ba8c90fd167e /wsutil/inet_aton.h
parent17807a6b21c50a72e3bc11ddf0ff7bc2b313823a (diff)
Move some code (including the optional objects) into libwsutil
svn path=/trunk/; revision=33012
Diffstat (limited to 'wsutil/inet_aton.h')
-rw-r--r--wsutil/inet_aton.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/wsutil/inet_aton.h b/wsutil/inet_aton.h
new file mode 100644
index 0000000000..c527ad584b
--- /dev/null
+++ b/wsutil/inet_aton.h
@@ -0,0 +1,34 @@
+/* inet_aton.h
+ *
+ * $Id$
+ *
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
+ * Copyright 1998 Gerald Combs
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+/*
+ * Version of "inet_aton()", for the benefit of OSes that don't have it.
+ */
+
+#ifndef __INET_ATON_H__
+#define __INET_ATON_H__
+
+struct in_addr;
+extern int inet_aton(const char* cp_arg, struct in_addr *addr);
+
+#endif