xref: /llvm-project/lldb/include/lldb/Host/linux/AbstractSocket.h (revision c1dff7152592f1beee9059ee8e2cb3cc68baea4d)
1 //===-- AbstractSocket.h ----------------------------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef liblldb_AbstractSocket_h_
10 #define liblldb_AbstractSocket_h_
11 
12 #include "lldb/Host/posix/DomainSocket.h"
13 
14 namespace lldb_private {
15 class AbstractSocket : public DomainSocket {
16 public:
17   AbstractSocket();
18 
19 protected:
20   size_t GetNameOffset() const override;
21   void DeleteSocketFile(llvm::StringRef name) override;
22 };
23 }
24 
25 #endif // ifndef liblldb_AbstractSocket_h_
26