Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
plugins: http_static. Migrate to use api string type.
[vpp.git]
/
src
/
plugins
/
http_static
/
http_static.api
diff --git
a/src/plugins/http_static/http_static.api
b/src/plugins/http_static/http_static.api
index
1866e38
..
dc3dcac
100644
(file)
--- a/
src/plugins/http_static/http_static.api
+++ b/
src/plugins/http_static/http_static.api
@@
-1,8
+1,8
@@
/** \file
/** \file
- This file defines static http servercontrol-plane API messages
+ This file defines static http server
control-plane API messages
*/
*/
-option version = "
1
.0.0";
+option version = "
2
.0.0";
/** \brief Configure and enable the static http server
@param client_index - opaque cookie to identify the sender
/** \brief Configure and enable the static http server
@param client_index - opaque cookie to identify the sender
@@
-29,7
+29,7
@@
autoreply define http_static_enable {
u32 private_segment_size;
/* Root of the html path */
u32 private_segment_size;
/* Root of the html path */
-
u8 www_root[
256];
+
string www_root[limit=
256];
/* The bind URI */
/* The bind URI */
-
u8 uri[
256];
+
string uri[limit=
256];
};
};