diff options
author | Ole Troan <ot@cisco.com> | 2019-04-23 17:11:01 +0200 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2019-04-29 12:07:02 +0000 |
commit | 9ac113815511f3ce37b56a1331d6491fc36f7db5 (patch) | |
tree | 574f66ce291ee75de2545a051be77a11bbaa43e2 /src/vpp/api/vpe.api | |
parent | de146e5d5f7e919b423feeff3159c4ecd564c353 (diff) |
API: Add support for limits to language.
string name [limit = 64];
Meta-data to do argument validation.
Change-Id: I1f3e0f09b2d5285224399413d25206f77bd3f4b1
Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'src/vpp/api/vpe.api')
-rw-r--r-- | src/vpp/api/vpe.api | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/vpp/api/vpe.api b/src/vpp/api/vpe.api index a2a677926e1..94732bbc236 100644 --- a/src/vpp/api/vpe.api +++ b/src/vpp/api/vpe.api @@ -183,10 +183,10 @@ define show_version_reply { u32 context; i32 retval; - string program; - string version; - string build_date; - string build_directory; + string program [limit = 32]; + string version [limit = 32]; + string build_date [limit = 32]; + string build_directory [limit = 256]; }; |