aboutsummaryrefslogtreecommitdiffstats
path: root/src/vpp-api/client/stat_client.h
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2019-06-14 10:26:14 +0200
committerDamjan Marion <dmarion@me.com>2019-06-14 11:52:50 +0000
commitb63dbc537c02b1978345744ab34765b2d75011a6 (patch)
treef091896b18f53b2eb3b2af6ca44bd323567c03de /src/vpp-api/client/stat_client.h
parenta6bee0a11a07e4e1e4ac67e5041e9ad197766ba2 (diff)
stats: add version field to stat segment base header
Add a version in the base header of the stat segment To make support for multiple reader implementations safer. Change-Id: I6816e2a51a98c2df1e621e80d4ef0b4ba4e9f47b Type: feature Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'src/vpp-api/client/stat_client.h')
-rw-r--r--src/vpp-api/client/stat_client.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vpp-api/client/stat_client.h b/src/vpp-api/client/stat_client.h
index 901ec325522..12faddb7bce 100644
--- a/src/vpp-api/client/stat_client.h
+++ b/src/vpp-api/client/stat_client.h
@@ -78,6 +78,8 @@ double stat_segment_heartbeat (void);
char *stat_segment_index_to_name_r (uint32_t index, stat_client_main_t * sm);
char *stat_segment_index_to_name (uint32_t index);
+uint64_t stat_segment_version (void);
+uint64_t stat_segment_version_r (stat_client_main_t * sm);
#endif /* included_stat_client_h */