blob: 78a567a6b909532253e802ccd5df7e53d3d98c9e [file] [log] [blame]
Andrew Walbran3d2c1972020-04-07 12:24:26 +01001//===-- 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
14namespace lldb_private {
15class AbstractSocket : public DomainSocket {
16public:
17 AbstractSocket(bool child_processes_inherit);
18
19protected:
20 size_t GetNameOffset() const override;
21 void DeleteSocketFile(llvm::StringRef name) override;
22};
23}
24
25#endif // ifndef liblldb_AbstractSocket_h_