X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvcl%2Fvppcom.h;h=f4386682a1b77795abaf92ddd4971369cf46f9c4;hb=d68faf8559da72aa6ad0526d5a86fb16587b1508;hp=61df64a6852303123f096cb7c13795e700dfc022;hpb=a880b276d9998fa06c92355c4144fe3ca574c915;p=vpp.git diff --git a/src/vcl/vppcom.h b/src/vcl/vppcom.h index 61df64a6852..f4386682a1b 100644 --- a/src/vcl/vppcom.h +++ b/src/vcl/vppcom.h @@ -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);