plugins: http_static. Migrate to use api string type.
[vpp.git] / src / plugins / http_static / http_static.api
index 1866e38..dc3dcac 100644 (file)
@@ -1,8 +1,8 @@
 
 /** \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
@@ -29,7 +29,7 @@ autoreply define http_static_enable {
     u32 private_segment_size;
 
     /* Root of the html path */
-    u8 www_root[256];
+    string www_root[limit=256];
     /* The bind URI */
-    u8 uri[256];
+    string uri[limit=256];
 };