]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - include/lldb/Host/linux/AbstractSocket.h
Vendor import of lldb trunk r290819:
[FreeBSD/FreeBSD.git] / include / lldb / Host / linux / AbstractSocket.h
1 //===-- AbstractSocket.h ----------------------------------------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9
10 #ifndef liblldb_AbstractSocket_h_
11 #define liblldb_AbstractSocket_h_
12
13 #include "lldb/Host/posix/DomainSocket.h"
14
15 namespace lldb_private {
16 class AbstractSocket : public DomainSocket {
17 public:
18   AbstractSocket(bool child_processes_inherit, Error &error);
19
20 protected:
21   size_t GetNameOffset() const override;
22   void DeleteSocketFile(llvm::StringRef name) override;
23 };
24 }
25
26 #endif // ifndef liblldb_AbstractSocket_h_