Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
capture_win_ifnames.h
Go to the documentation of this file.
1
13#ifndef CAPTURE_WIN_IFNAMES_H
14#define CAPTURE_WIN_IFNAMES_H
15
16/*
17 * If a string is a GUID in {}, fill in a GUID structure with the GUID
18 * value and return true; otherwise, if the string is not a valid GUID
19 * in {}, return false.
20 */
21extern bool parse_as_guid(const char *guid_text, GUID *guid);
22
23/* Get the friendly name for the given GUID */
24extern char *get_interface_friendly_name_from_device_guid(__in GUID *guid);
25
26/*
27 * Given an interface name, try to extract the GUID from it and parse it.
28 * If that fails, return NULL; if that succeeds, attempt to get the
29 * friendly name for the interface in question. If that fails, return
30 * NULL, otherwise return the friendly name, allocated with g_malloc()
31 * (so that it must be freed with g_free()).
32 */
33extern char *get_windows_interface_friendly_name(const char *interface_devicename);
34
35#endif