summaryrefslogtreecommitdiffstats
path: root/src/vpp/api/vpe_types.api
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2019-07-08 08:51:15 -0400
committerNeale Ranns <nranns@cisco.com>2019-07-28 14:22:11 +0000
commit3cf9e67f5963e5f317e849892a6ec55be70a782d (patch)
treed9bda9132d556653f1af0a3dff7b6baf194af36c /src/vpp/api/vpe_types.api
parent2648e4474eee9df539d644cf22e67cd04385f0ba (diff)
api: add vl_api_version_t type
Type: feature Depends-on: https://gerrit.fd.io/r/20484 Change-Id: Ifc8d7e00d7254db40856a088fdd352d9773f71d5 Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'src/vpp/api/vpe_types.api')
-rw-r--r--src/vpp/api/vpe_types.api13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/vpp/api/vpe_types.api b/src/vpp/api/vpe_types.api
new file mode 100644
index 00000000000..f1d6e5456cd
--- /dev/null
+++ b/src/vpp/api/vpe_types.api
@@ -0,0 +1,13 @@
+
+typeonly define version
+{
+ u32 major;
+ u32 minor;
+ u32 patch;
+
+ /* since we can't guarantee that only fixed length args will follow the typedef,
+ string type not supported for typedef for now. */
+ u8 pre_release[17]; /* 16 + "\0" */
+ u8 build_metadata[17]; /* 16 + "\0" */
+};
+