Logo Search packages:      
Sourcecode: wireshark version File versions

const char* get_if_name ( const char *  if_text  ) 

Given text that contains an interface name possibly prefixed by an interface description, extract the interface name.

Parameters:
if_text A string containing the interface description + name. This is usually the data from one of the list elements returned by build_capture_combo_list().
Returns:
The raw interface name, without description (must NOT be g_free'd later)


Generated by  Doxygen 1.6.0   Back to index