summaryrefslogtreecommitdiff
path: root/userland/sftp/handle.h
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2024-12-31 16:14:25 +0100
committerAnton Kling <anton@kling.gg>2024-12-31 16:14:25 +0100
commitd572e3148c16587ab3a2f8bd22b29fef369ccab6 (patch)
treef48907067945c469b59921395068c0dd0ada6913 /userland/sftp/handle.h
parent4b1577f80962e8cce055fdb4d6f641187df0bbe0 (diff)
sftp: Add sftp serverHEADmaster
Diffstat (limited to 'userland/sftp/handle.h')
-rw-r--r--userland/sftp/handle.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/userland/sftp/handle.h b/userland/sftp/handle.h
new file mode 100644
index 0000000..c0ef6ff
--- /dev/null
+++ b/userland/sftp/handle.h
@@ -0,0 +1,5 @@
+#include <tb/sv.h>
+
+char* handle_create(struct sv path, int is_dir, int flags, int mode);
+int handle_get_fd(struct sv key, int *fd, char **pathname);
+int handle_close(struct sv key);