Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
API: Use string type instead of u8.
[vpp.git]
/
src
/
vpp
/
api
/
vpe.api
diff --git
a/src/vpp/api/vpe.api
b/src/vpp/api/vpe.api
index
488af17
..
24d44bd
100644
(file)
--- a/
src/vpp/api/vpe.api
+++ b/
src/vpp/api/vpe.api
@@
-93,8
+93,7
@@
define cli_inband
{
u32 client_index;
u32 context;
{
u32 client_index;
u32 context;
- u32 length;
- u8 cmd[length];
+ string cmd;
};
/** \brief vpe parser cli string response
};
/** \brief vpe parser cli string response
@@
-112,8
+111,7
@@
define cli_inband_reply
{
u32 context;
i32 retval;
{
u32 context;
i32 retval;
- u32 length;
- u8 reply[length];
+ string reply;
};
/** \brief Get node index using name request
};
/** \brief Get node index using name request
@@
-187,10
+185,10
@@
define show_version_reply
{
u32 context;
i32 retval;
{
u32 context;
i32 retval;
-
u8 program[32]
;
-
u8 version[32]
;
-
u8 build_date[32]
;
-
u8 build_directory[256]
;
+
string program
;
+
string version
;
+
string build_date
;
+
string build_directory
;
};
};