Add 'extern "C"' wrappers and #include guards to various header files.
[obnox/wireshark/wip.git] / capture_ui_utils.h
index a7531b5b60772785f186ee28fbba0a75fc7c5df1..f2c6f4c117a1f2c007dc34873339244c83ed398e 100644 (file)
 
 #include "capture_opts.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
 /** @file
  *  GList of available capture interfaces.
  */
@@ -99,4 +103,8 @@ char *build_capture_combo_name(GList *if_list, gchar *if_name);
  */
 const char *get_iface_description_for_interface(capture_options *capture_opts, guint i);
 
-#endif
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
+#endif /* __CAPTURE_UI_UTILS_H__ */