From Harald Welte:
[obnox/wireshark/wip.git] / capture_info.h
index be77e038038047b2994f1a6199509fabe7d37471..0fd08cdd7b302227f7ddc8bc3fded30c1a02561c 100644 (file)
@@ -24,7 +24,7 @@
 
 
 /** @file
- *  
+ *
  * capture info functions
  *
  */
 #ifndef __CAPTURE_INFO_H__
 #define __CAPTURE_INFO_H__
 
+#include "capture_opts.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
 
 /* open the info - init values (wtap, counts), create dialog */
-extern void capture_info_open(const char *iface);
+extern void capture_info_open(capture_options *capture_opts);
 
 /* new file arrived - (eventually close old wtap), open wtap */
 extern gboolean capture_info_new_file(const char *new_filename);
@@ -62,7 +67,7 @@ typedef struct {
 /** Create the capture info dialog */
 extern void capture_info_ui_create(
 capture_info    *cinfo,
-const gchar     *iface);
+capture_options        *capture_opts);
 
 /** Update the capture info counters in the dialog */
 extern void capture_info_ui_update(
@@ -72,5 +77,8 @@ capture_info    *cinfo);
 extern void capture_info_ui_destroy(
 capture_info    *cinfo);
 
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
 
 #endif /* capture_info.h */