1 /* capture_unix_ifnames.h
2 * Routines supporting the use of UN*X friendly interface names, if any,
7 * Wireshark - Network traffic analyzer
8 * By Gerald Combs <gerald@wireshark.org>
9 * Copyright 1998 Gerald Combs
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License
13 * as published by the Free Software Foundation; either version 2
14 * of the License, or (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
26 #ifndef CAPTURE_UNIX_IFNAMES_H
27 #define CAPTURE_UNIX_IFNAMES_H
29 /* returns the interface friendly name for a device name; if it is unable to
30 * resolve the name, NULL is returned */
31 char *get_unix_interface_friendly_name(const char *ifname);