diff options
author | Gerald Combs <gerald@wireshark.org> | 2015-02-03 08:39:14 -0800 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2015-02-04 02:06:01 +0000 |
commit | 89e6f4c468eaa9b479d7c1a24ca83223f23f5c95 (patch) | |
tree | 61938de3b7f33a7c811c477b2b46e10eab053256 /ui/proto_hier_stats.h | |
parent | 342ba909f910abf48825c069fd2c8b060d56f700 (diff) |
Qt: Add the Protocol Hierarchy statistics dialog.
Change-Id: I6872e323daca4798c638d764873f54c4c0dc0006
Reviewed-on: https://code.wireshark.org/review/6934
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/proto_hier_stats.h')
-rw-r--r-- | ui/proto_hier_stats.h | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/ui/proto_hier_stats.h b/ui/proto_hier_stats.h index c3ba23b8a0..6bfdadb540 100644 --- a/ui/proto_hier_stats.h +++ b/ui/proto_hier_stats.h @@ -22,6 +22,14 @@ #ifndef __UI_PROTO_HIER_STATS_H__ #define __UI_PROTO_HIER_STATS_H__ +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + +/** @file + * Protocol Hierarchy Statistics + */ + #include <epan/proto.h> typedef struct { @@ -41,11 +49,15 @@ typedef struct { double last_time; /* seconds (msec resolution) of last packet */ } ph_stats_t; - -ph_stats_t *ph_stats_new(void); +struct _capture_file; +ph_stats_t *ph_stats_new(struct _capture_file *cf); void ph_stats_free(ph_stats_t *ps); +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif /* __UI_PROTO_HIER_STATS_H__ */ /* |