summaryrefslogtreecommitdiffstats
path: root/src/vcl/vppcom.h
diff options
context:
space:
mode:
authorAritra Basu <aritrbas@cisco.com>2024-08-27 18:05:17 -0700
committerAritra Basu <aritrbas@cisco.com>2024-08-29 13:51:05 -0700
commitf0e81d247b7cd13b621262f29ed1ae6366b68b78 (patch)
tree2f5f7bc47c7bca3bea151f61e2d7bc819430400d /src/vcl/vppcom.h
parente9bc3320192d72f817379aa4621c1dff15bdee29 (diff)
vcl: add support to write segments
Type: improvement Change-Id: Icfdaed6b70b83668127656930afcb4ac3c63b234 Signed-off-by: Aritra Basu <aritrbas@cisco.com>
Diffstat (limited to 'src/vcl/vppcom.h')
-rw-r--r--src/vcl/vppcom.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vcl/vppcom.h b/src/vcl/vppcom.h
index 386d7d0c3f7..3de2934adc1 100644
--- a/src/vcl/vppcom.h
+++ b/src/vcl/vppcom.h
@@ -259,6 +259,9 @@ extern int vppcom_session_read_segments (uint32_t session_handle,
vppcom_data_segment_t * ds,
uint32_t n_segments,
uint32_t max_bytes);
+extern int vppcom_session_write_segments (uint32_t session_handle,
+ vppcom_data_segment_t * ds,
+ uint32_t n_segments);
extern void vppcom_session_free_segments (uint32_t session_handle,
uint32_t n_bytes);
extern int vppcom_add_cert_key_pair (vppcom_cert_key_pair_t *ckpair);