diff options
Diffstat (limited to 'include/lldb/Host/Socket.h')
-rw-r--r-- | include/lldb/Host/Socket.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/lldb/Host/Socket.h b/include/lldb/Host/Socket.h index 0f3aa073001c..77069ae35f79 100644 --- a/include/lldb/Host/Socket.h +++ b/include/lldb/Host/Socket.h @@ -56,16 +56,16 @@ public: // Initialize a Tcp Socket object in listening mode. listen and accept are implemented // separately because the caller may wish to manipulate or query the socket after it is // initialized, but before entering a blocking accept. - static Error TcpListen(llvm::StringRef host_and_port, Socket *&socket, Predicate<uint16_t>* predicate); - static Error TcpConnect(llvm::StringRef host_and_port, Socket *&socket); - static Error UdpConnect(llvm::StringRef host_and_port, Socket *&send_socket, Socket *&recv_socket); - static Error UnixDomainConnect(llvm::StringRef host_and_port, Socket *&socket); - static Error UnixDomainAccept(llvm::StringRef host_and_port, Socket *&socket); + static Error TcpListen(llvm::StringRef host_and_port, bool child_processes_inherit, Socket *&socket, Predicate<uint16_t>* predicate); + static Error TcpConnect(llvm::StringRef host_and_port, bool child_processes_inherit, Socket *&socket); + static Error UdpConnect(llvm::StringRef host_and_port, bool child_processes_inherit, Socket *&send_socket, Socket *&recv_socket); + static Error UnixDomainConnect(llvm::StringRef host_and_port, bool child_processes_inherit, Socket *&socket); + static Error UnixDomainAccept(llvm::StringRef host_and_port, bool child_processes_inherit, Socket *&socket); // Blocks on a listening socket until a connection is received. This method assumes that // |this->m_socket| is a listening socket, created via either TcpListen() or via the native // constructor that takes a NativeSocket, which itself was created via a call to |listen()| - Error BlockingAccept(llvm::StringRef host_and_port, Socket *&socket); + Error BlockingAccept(llvm::StringRef host_and_port, bool child_processes_inherit, Socket *&socket); int GetOption (int level, int option_name, int &option_value); int SetOption (int level, int option_name, int option_value); |