diff options
author | Sunguk Lee | 2018-11-30 19:54:49 +0900 |
---|---|---|
committer | GitHub | 2018-11-30 19:54:49 +0900 |
commit | 7733811dd9c548a29dcd8c35dcc996ad161501e3 (patch) | |
tree | fbb8d34b5b6d72b60b4ad0154bf1ac1d7fe57119 /include/user/net/net_syscalls.h | |
parent | appmgr: add some const keywords (diff) | |
parent | Add net_syscalls.h and sceNetConnectForSyscalls (diff) | |
download | vds-libraries-7733811dd9c548a29dcd8c35dcc996ad161501e3.tar.gz |
Merge pull request #368 from Princess-of-Sleeping/master
Add ksceNetConnect and sceNetConnectForSyscalls
Diffstat (limited to 'include/user/net/net_syscalls.h')
-rw-r--r-- | include/user/net/net_syscalls.h | 16 |
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_ */ |