Revert "API: Add service definitions for events and singleton messages."
[vpp.git] / src / vlibmemory / memclnt.api
index 6d6a1fe..fb08f51 100644 (file)
@@ -14,7 +14,7 @@
  * limitations under the License.
  */
 
-vl_api_version 1.0.0
+option version = "1.0.0";
 
 /*
  * Create a client registration 
@@ -183,6 +183,23 @@ define memfd_segment_create_reply
   u32 master_fd;
 };
 
+/*
+ * Initialize shm api over socket api
+ */
+define sock_init_shm {
+    u32 client_index;
+    u32 context;
+    u32 requested_size;
+    u8 nitems;
+    u64 configs[nitems];
+};
+
+define sock_init_shm_reply {
+    u32 client_index;
+    u32 context;
+    i32 retval;
+};
+
 /*
  * Memory client ping / response
  * Only sent on inactive connections