On request from Albert Chin:
[metze/wireshark/wip.git] / capture_sync.h
index 4abbfb17582568d0b699db7d5176d24d386451b3..ff1bd31ab4567ca0bbb5e5087a2bb505cc5ab66e 100644 (file)
@@ -65,11 +65,14 @@ sync_pipe_kill(int fork_child);
 
 /** Get an interface list using dumpcap */
 extern int
-sync_interface_list_open(gchar **msg);
+sync_interface_list_open(gchar **data, gchar **primary_msg,
+                         gchar **secondary_msg);
 
-/** Get a linktype list using dumpcap */
+/** Get interface capabilities using dumpcap */
 extern int
-sync_linktype_list_open(gchar *ifname, gchar **msg);
+sync_if_capabilities_open(const gchar *ifname, gboolean monitor_mode,
+                          gchar **data, gchar **primary_msg,
+                          gchar **secondary_msg);
 
 /** Start getting interface statistics using dumpcap. */
 extern int
@@ -81,7 +84,7 @@ sync_interface_stats_close(int *read_fd, int *fork_child, gchar **msg);
 
 /** Read a line from a pipe, similar to fgets.  Non-blocking. */
 extern int
-sync_pipe_gets_nonblock(int pipe, char *bytes, int max);
+sync_pipe_gets_nonblock(int pipe_fd, char *bytes, int max);
 
 
 #endif /* capture_sync.h */