AnyPS5/core/libs/prx/libSceNet/Export.cpp

206 lines
3.9 KiB
C++

#include <cstdint>
#include <cstddef>
#include "SceTypes.hpp"
#include "prx/libc/include/General.hpp"
extern "C" {
int sceNetAccept(int s, void* addr, uint32_t* addrlen) {
(void)s;
(void)addr;
(void)addrlen;
NotImplemented_nid_no_patch(__func__);
return 0;
}
int sceNetBind_nid_postfix(int s, const void* addr, uint32_t addrlen) {
(void)s;
(void)addr;
(void)addrlen;
NotImplemented_nid_no_patch(__func__);
return 0;
}
int sceNetEpollControl(int eid, int op, int id, const NetEpollEvent* event) {
(void)eid;
(void)op;
(void)id;
(void)event;
NotImplemented_nid_no_patch(__func__);
return 0;
}
int sceNetEpollCreate(const char* name, int flags) {
(void)name;
(void)flags;
NotImplemented_nid_no_patch(__func__);
return 0;
}
int sceNetEpollDestroy(int eid) {
(void)eid;
NotImplemented_nid_no_patch(__func__);
return 0;
}
int sceNetEpollWait(int eid, NetEpollEvent* events, int maxevents, int timeout) {
(void)eid;
(void)events;
(void)maxevents;
(void)timeout;
NotImplemented_nid_no_patch(__func__);
return 0;
}
int sceNetEtherNtostr(const NetEtherAddr* n, char* str, size_t len) {
(void)n;
(void)str;
(void)len;
NotImplemented_nid_no_patch(__func__);
return 0;
}
int sceNetGetMacAddress(NetEtherAddr* addr, int flags) {
(void)addr;
(void)flags;
NotImplemented_nid_no_patch(__func__);
return 0;
}
int sceNetGetSockInfo(int s, void* info, int n, int flags) {
(void)s;
(void)info;
(void)n;
(void)flags;
NotImplemented_nid_no_patch(__func__);
return 0;
}
int sceNetGetsockname(int s, void* addr, uint32_t* addrlen) {
(void)s;
(void)addr;
(void)addrlen;
NotImplemented_nid_no_patch(__func__);
return 0;
}
uint32_t sceNetHtonl_nid_postfix(uint32_t host32) {
(void)host32;
NotImplemented_nid_no_patch(__func__);
return 0;
}
uint16_t sceNetHtons_nid_postfix(uint16_t host16) {
(void)host16;
NotImplemented_nid_no_patch(__func__);
return 0;
}
const char* sceNetInetNtop(int af, const void* src, char* dst, uint32_t size) {
(void)af;
(void)src;
(void)dst;
(void)size;
NotImplemented_nid_no_patch(__func__);
return nullptr;
}
int sceNetInetPton(int af, const char* src, void* dst) {
(void)af;
(void)src;
(void)dst;
NotImplemented_nid_no_patch(__func__);
return 0;
}
int sceNetInit_nid_postfix(void) {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int sceNetListen(int s, int backlog) {
(void)s;
(void)backlog;
NotImplemented_nid_no_patch(__func__);
return 0;
}
uint32_t sceNetNtohl_nid_postfix(uint32_t net32) {
(void)net32;
NotImplemented_nid_no_patch(__func__);
return 0;
}
uint16_t sceNetNtohs_nid_postfix(uint16_t net16) {
(void)net16;
NotImplemented_nid_no_patch(__func__);
return 0;
}
int sceNetPoolCreate(const char* name, int size, int flags) {
(void)name;
(void)size;
(void)flags;
NotImplemented_nid_no_patch(__func__);
return 0;
}
int sceNetPoolDestroy(int memid) {
(void)memid;
NotImplemented_nid_no_patch(__func__);
return 0;
}
int sceNetResolverCreate(const char* name, int memid, int flags) {
(void)name;
(void)memid;
(void)flags;
NotImplemented_nid_no_patch(__func__);
return 0;
}
int sceNetResolverStartNtoa(int rid, const char* hostname, void* addr, int timeout, int retry, int flags) {
(void)rid;
(void)hostname;
(void)addr;
(void)timeout;
(void)retry;
(void)flags;
NotImplemented_nid_no_patch(__func__);
return 0;
}
int sceNetSetsockopt(int s, int level, int optname, const void* optval, uint32_t optlen) {
(void)s;
(void)level;
(void)optname;
(void)optval;
(void)optlen;
NotImplemented_nid_no_patch(__func__);
return 0;
}
int sceNetShutdown(int s, int how) {
(void)s;
(void)how;
NotImplemented_nid_no_patch(__func__);
return 0;
}
int sceNetSocket(const char* name, int family, int type, int protocol) {
(void)name;
(void)family;
(void)type;
(void)protocol;
NotImplemented_nid_no_patch(__func__);
return 0;
}
int sceNetSocketClose(int s) {
(void)s;
NotImplemented_nid_no_patch(__func__);
return 0;
}
}