summaryrefslogtreecommitdiff
path: root/Kernel/Process.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-02-14 14:17:38 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-02-14 14:17:38 +0100
commit2f35e54f80a3e94319ee4157e6d8be666a303eaf (patch)
treecb67487efb8e6c6ceba8dfbe035eb23f312fb2ca /Kernel/Process.h
parentdc200923f2cd05bfea742205e6ff8adaf979a64f (diff)
downloadserenity-2f35e54f80a3e94319ee4157e6d8be666a303eaf.zip
Kernel: Begin implementing UNIX domain sockets.
Diffstat (limited to 'Kernel/Process.h')
-rw-r--r--Kernel/Process.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Kernel/Process.h b/Kernel/Process.h
index 68c2cbc480..addf30fe10 100644
--- a/Kernel/Process.h
+++ b/Kernel/Process.h
@@ -218,6 +218,11 @@ public:
int sys$rmdir(const char* pathname);
int sys$read_tsc(dword* lsw, dword* msw);
int sys$chmod(const char* pathname, mode_t);
+ int sys$socket(int domain, int type, int protocol);
+ int sys$bind(int sockfd, const sockaddr* addr, socklen_t);
+ int sys$listen(int sockfd, int backlog);
+ int sys$accept(int sockfd, sockaddr*, socklen_t);
+ int sys$connect(int sockfd, const sockaddr*, socklen_t);
DisplayInfo set_video_resolution(int width, int height);