vcl svm: provide apps access to fifo chunks
[vpp.git] / src / vcl / vppcom.h
index 61df64a..f438668 100644 (file)
@@ -199,15 +199,15 @@ extern int vppcom_session_index (vcl_session_handle_t session_handle);
 extern int vppcom_session_worker (vcl_session_handle_t session_handle);
 
 extern int vppcom_session_read_segments (uint32_t session_handle,
-                                        vppcom_data_segments_t ds);
+                                        vppcom_data_segment_t * ds,
+                                        uint32_t n_segments,
+                                        uint32_t max_bytes);
 extern void vppcom_session_free_segments (uint32_t session_handle,
-                                         vppcom_data_segments_t ds);
+                                         uint32_t n_bytes);
 extern int vppcom_session_tls_add_cert (uint32_t session_handle, char *cert,
                                        uint32_t cert_len);
 extern int vppcom_session_tls_add_key (uint32_t session_handle, char *key,
                                       uint32_t key_len);
-extern int vppcom_data_segment_copy (void *buf, vppcom_data_segments_t ds,
-                                    uint32_t max_bytes);
 extern int vppcom_unformat_proto (uint8_t * proto, char *proto_str);
 extern int vppcom_session_is_connectable_listener (uint32_t session_handle);
 extern int vppcom_session_listener (uint32_t session_handle);