sctp: move to plugins, disabled by default
[vpp.git] / src / vpp-api / vapi / vapi.h
index fc48e7d..08d016b 100644 (file)
@@ -21,6 +21,7 @@
 #include <string.h>
 #include <stdbool.h>
 #include <vppinfra/types.h>
+#include <vlibapi/api_types.h>
 #include <vapi/vapi_common.h>
 #include <svm/queue.h>
 
@@ -96,13 +97,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