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