vmci.hpp
Go to the documentation of this file.
1 /* SPDX-License-Identifier: MPL-2.0 */
2 
3 #ifndef __ZMQ_VMCI_HPP_INCLUDED__
4 #define __ZMQ_VMCI_HPP_INCLUDED__
5 
6 #include <string>
7 
8 #include "platform.hpp"
9 #include "fd.hpp"
10 #include "ctx.hpp"
11 
12 #if defined ZMQ_HAVE_VMCI
13 
14 #if defined ZMQ_HAVE_WINDOWS
15 #include "windows.hpp"
16 #else
17 #include <sys/time.h>
18 #endif
19 
20 namespace zmq
21 {
22 void tune_vmci_buffer_size (ctx_t *context_,
23  fd_t sockfd_,
24  uint64_t default_size_,
25  uint64_t min_size_,
26  uint64_t max_size_);
27 
28 #if defined ZMQ_HAVE_WINDOWS
29 void tune_vmci_connect_timeout (ctx_t *context_, fd_t sockfd_, DWORD timeout_);
30 #else
31 void tune_vmci_connect_timeout (ctx_t *context_,
32  fd_t sockfd_,
33  struct timeval timeout_);
34 #endif
35 
36 fd_t vmci_open_socket (const char *address_,
37  const options_t &options_,
38  vmci_address_t *out_vmci_addr_);
39 }
40 
41 #endif
42 
43 #endif
context_
MockGeneratorContext context_
Definition: csharp_bootstrap_unittest.cc:125
ctx.hpp
zmq
Definition: zmq.hpp:229
windows.hpp
fd.hpp
fd_t
zmq_fd_t fd_t
Definition: libzmq/tests/testutil.hpp:98
options_
DebugStringOptions options_
Definition: src/google/protobuf/descriptor.cc:2410


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:01