summaryrefslogtreecommitdiff
path: root/include/user/net/net_syscalls.h
diff options
context:
space:
mode:
authorPrincess of Sleeping2018-11-19 22:33:19 +0900
committerGitHub2018-11-19 22:33:19 +0900
commitcfb4fa42b8d7adce183dfcf5f84aed72ee8391bf (patch)
treefbb8d34b5b6d72b60b4ad0154bf1ac1d7fe57119 /include/user/net/net_syscalls.h
parentAdd ksceNetConnect (diff)
downloadvds-libraries-cfb4fa42b8d7adce183dfcf5f84aed72ee8391bf.tar.gz
Add net_syscalls.h and sceNetConnectForSyscalls
Diffstat (limited to '')
-rw-r--r--include/user/net/net_syscalls.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/user/net/net_syscalls.h b/include/user/net/net_syscalls.h
new file mode 100644
index 0000000..6a6693d
--- /dev/null
+++ b/include/user/net/net_syscalls.h
@@ -0,0 +1,16 @@
+#ifndef _PSP2_NET_NET_SYSCALLS_H_
+#define _PSP2_NET_NET_SYSCALLS_H_
+
+#include <psp2/net/net.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+int sceNetConnectForSyscalls(int s, const SceNetSockaddr *name, unsigned int namelen);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _PSP2_NET_NET_SYSCALLS_H_ */