summaryrefslogtreecommitdiff
path: root/include/lldb/Host/Host.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/lldb/Host/Host.h')
-rw-r--r--include/lldb/Host/Host.h21
1 files changed, 18 insertions, 3 deletions
diff --git a/include/lldb/Host/Host.h b/include/lldb/Host/Host.h
index 1d667dee5a200..fe0f6f62b3bc4 100644
--- a/include/lldb/Host/Host.h
+++ b/include/lldb/Host/Host.h
@@ -510,13 +510,28 @@ public:
const char *symbol_name,
Error &error);
- static uint32_t
- MakeDirectory (const char* path, mode_t mode);
+ static Error
+ MakeDirectory (const char* path, uint32_t mode);
+
+ static Error
+ GetFilePermissions (const char* path, uint32_t &file_permissions);
+
+ static Error
+ SetFilePermissions (const char* path, uint32_t file_permissions);
+ static Error
+ Symlink (const char *src, const char *dst);
+
+ static Error
+ Readlink (const char *path, char *buf, size_t buf_len);
+
+ static Error
+ Unlink (const char *path);
+
static lldb::user_id_t
OpenFile (const FileSpec& file_spec,
uint32_t flags,
- mode_t mode,
+ uint32_t mode,
Error &error);
static bool