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

206 lines
4.1 KiB
C++

#include <cstdint>
#include <cstddef>
#include "SceTypes.hpp"
#include "prx/libc/include/General.hpp"
extern "C" {
int APS5_VABI sceNetAccept(int s, void* addr, uint32_t* addrlen) {
(void)s;
(void)addr;
(void)addrlen;
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI 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 APS5_VABI 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 APS5_VABI sceNetEpollCreate(const char* name, int flags) {
(void)name;
(void)flags;
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceNetEpollDestroy(int eid) {
(void)eid;
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI 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 APS5_VABI sceNetEtherNtostr(const NetEtherAddr* n, char* str, size_t len) {
(void)n;
(void)str;
(void)len;
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceNetGetMacAddress(NetEtherAddr* addr, int flags) {
(void)addr;
(void)flags;
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI 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 APS5_VABI sceNetGetsockname(int s, void* addr, uint32_t* addrlen) {
(void)s;
(void)addr;
(void)addrlen;
NotImplemented_nid_no_patch(__func__);
return 0;
}
uint32_t APS5_VABI sceNetHtonl_nid_postfix(uint32_t host32) {
(void)host32;
NotImplemented_nid_no_patch(__func__);
return 0;
}
uint16_t APS5_VABI 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 APS5_VABI sceNetInetPton(int af, const char* src, void* dst) {
(void)af;
(void)src;
(void)dst;
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceNetInit_nid_postfix(void) {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceNetListen(int s, int backlog) {
(void)s;
(void)backlog;
NotImplemented_nid_no_patch(__func__);
return 0;
}
uint32_t APS5_VABI sceNetNtohl_nid_postfix(uint32_t net32) {
(void)net32;
NotImplemented_nid_no_patch(__func__);
return 0;
}
uint16_t APS5_VABI sceNetNtohs_nid_postfix(uint16_t net16) {
(void)net16;
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceNetPoolCreate(const char* name, int size, int flags) {
(void)name;
(void)size;
(void)flags;
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceNetPoolDestroy(int memid) {
(void)memid;
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceNetResolverCreate(const char* name, int memid, int flags) {
(void)name;
(void)memid;
(void)flags;
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI 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 APS5_VABI 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 APS5_VABI sceNetShutdown(int s, int how) {
(void)s;
(void)how;
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI 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 APS5_VABI sceNetSocketClose(int s) {
(void)s;
NotImplemented_nid_no_patch(__func__);
return 0;
}
}