ip_proto.h now requires expert.h.
[metze/wireshark/wip.git] / summary.h
index c38fedfc4e82a220402cb68acde2de8fbf1202ca..b1cf07ea8c510defc051fa2f9f572fc98a5ba75d 100644 (file)
--- a/summary.h
+++ b/summary.h
@@ -19,7 +19,7 @@
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 #ifndef __SUMMARY_H__
 #include "capture.h"
 #endif
 
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
 typedef struct iface_options_tag {
     char    *name;
     char    *descr;
@@ -77,7 +81,7 @@ typedef struct _summary_tally {
     gchar        *opt_comment;      /**< comment from SHB block */
     gchar        *shb_hardware;     /**< Capture HW from SHB block */
     gchar        *shb_os;           /**< The OS the capture was made on from SHB block */
-    gchar        *shb_user_appl;    /**< The application that made the capture from SHB block */
+    const gchar  *shb_user_appl;    /**< The application that made the capture from SHB block */
     /* capture related, use summary_fill_in_capture() to get values */
     GArray       *ifaces;
     gboolean      legacy;
@@ -91,4 +95,8 @@ extern void
 summary_fill_in_capture(capture_file *cf, capture_options *capture_opts, summary_tally *st);
 #endif
 
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
 #endif /* summary.h */