summaryrefslogtreecommitdiff
path: root/include/user
diff options
context:
space:
mode:
authorSunguk Lee2018-11-30 19:54:49 +0900
committerGitHub2018-11-30 19:54:49 +0900
commit7733811dd9c548a29dcd8c35dcc996ad161501e3 (patch)
treefbb8d34b5b6d72b60b4ad0154bf1ac1d7fe57119 /include/user
parentappmgr: add some const keywords (diff)
parentAdd net_syscalls.h and sceNetConnectForSyscalls (diff)
downloadvds-libraries-7733811dd9c548a29dcd8c35dcc996ad161501e3.tar.gz
Merge pull request #368 from Princess-of-Sleeping/master
Add ksceNetConnect and sceNetConnectForSyscalls
Diffstat (limited to 'include/user')
-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_ */