X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvpp-api%2Fvapi%2Fvapi.h;h=2a401c21189560cf9681ff042aa037c93a69779a;hb=dab732a18c39d13af1770b55d7cef2359ea66412;hp=fc48e7d402c5e7f1314d22e82f92ddc49e2a56bc;hpb=ef8db3679746792403589fb54fa0bbb9e13245dd;p=vpp.git diff --git a/src/vpp-api/vapi/vapi.h b/src/vpp-api/vapi/vapi.h index fc48e7d402c..2a401c21189 100644 --- a/src/vpp-api/vapi/vapi.h +++ b/src/vpp-api/vapi/vapi.h @@ -96,13 +96,15 @@ extern "C" * @param max_outstanding_requests max number of outstanding requests queued * @param response_queue_size size of the response queue * @param mode mode of operation - blocking or nonblocking + * @param handle_keepalives - if true, automatically handle memclnt_keepalive * * @return VAPI_OK on success, other error code on error */ vapi_error_e vapi_connect (vapi_ctx_t ctx, const char *name, const char *chroot_prefix, int max_outstanding_requests, - int response_queue_size, vapi_mode_e mode); + int response_queue_size, vapi_mode_e mode, + bool handle_keepalives); /** * @brief disconnect from vpp