nexmon – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 /* inet_addr.h
2 *
3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <gerald@wireshark.org>
5 * Copyright 1998 Gerald Combs
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version 2
10 * of the License, or (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20 */
21  
22 #ifndef __WS_INET_ADDR_H__
23 #define __WS_INET_ADDR_H__
24  
25 #include "ws_symbol_export.h"
26  
27 #include <glib.h>
28  
29 #include "inet_ipv6.h"
30  
31 #define WS_INET6_ADDRSTRLEN 46
32  
33  
34 WS_DLL_PUBLIC const gchar *
35 ws_inet_ntop4(gconstpointer src, gchar *dst, guint dst_size);
36  
37 WS_DLL_PUBLIC gboolean
38 ws_inet_pton4(const gchar *src, guint32 *dst);
39  
40 WS_DLL_PUBLIC const gchar *
41 ws_inet_ntop6(gconstpointer src, gchar *dst, guint dst_size);
42  
43 WS_DLL_PUBLIC gboolean
44 ws_inet_pton6(const gchar *src, struct e_in6_addr *dst);
45  
46 #endif