mirror of
https://github.com/Maschell/dynamic_libs.git
synced 2024-11-17 18:29:24 +01:00
Merge branch 'lib' of https://github.com/Maschell/dynamic_libs into lib
This commit is contained in:
commit
709f6feee8
@ -127,6 +127,7 @@ EXPORT_VAR(u32 *, pMEMFreeToDefaultHeap);
|
||||
|
||||
EXPORT_DECL(void *, MEMAllocFromAllocator, void * allocator, u32 size);
|
||||
EXPORT_DECL(void, MEMFreeToAllocator, void * allocator, void* address);
|
||||
|
||||
EXPORT_DECL(s32, MEMGetBaseHeapHandle, s32 mem_arena);
|
||||
EXPORT_DECL(u32, MEMGetTotalFreeSizeForExpHeap, s32 heap);
|
||||
EXPORT_DECL(u32, MEMGetAllocatableSizeForExpHeapEx, s32 heap, s32 align);
|
||||
|
@ -44,6 +44,8 @@ EXPORT_DECL(s32, sendto, s32 s, const void *buffer, s32 size, s32 flags, const s
|
||||
EXPORT_DECL(s32, setsockopt, s32 s, s32 level, s32 optname, void *optval, s32 optlen);
|
||||
EXPORT_DECL(char *, inet_ntoa, struct in_addr in);
|
||||
EXPORT_DECL(s32, inet_aton, const char *cp, struct in_addr *inp);
|
||||
EXPORT_DECL(const char *, inet_ntop, s32 af, const void *src, char *dst, s32 size);
|
||||
EXPORT_DECL(s32, inet_pton, s32 af, const char *src, void *dst);
|
||||
EXPORT_DECL(s32, socketlasterr, void);
|
||||
|
||||
EXPORT_DECL(s32, NSSLWrite, s32 connection, const void* buf, s32 len,s32 * written);
|
||||
@ -88,6 +90,8 @@ void InitSocketFunctionPointers(void){
|
||||
OS_FIND_EXPORT(nsysnet_handle, setsockopt);
|
||||
OS_FIND_EXPORT(nsysnet_handle, inet_ntoa);
|
||||
OS_FIND_EXPORT(nsysnet_handle, inet_aton);
|
||||
OS_FIND_EXPORT(nsysnet_handle, inet_ntop);
|
||||
OS_FIND_EXPORT(nsysnet_handle, inet_pton);
|
||||
|
||||
OS_FIND_EXPORT(nsysnet_handle, NSSLWrite);
|
||||
OS_FIND_EXPORT(nsysnet_handle, NSSLRead);
|
||||
|
@ -110,6 +110,8 @@ extern s32 (* NSSLCreateConnection)(s32 context, const char* host, s32 hotlen,s3
|
||||
|
||||
extern char * (*inet_ntoa)(struct in_addr in);
|
||||
extern s32 (*inet_aton)(const char *cp, struct in_addr *inp);
|
||||
extern const char * (*inet_ntop)(s32 af, const void *src, char *dst, s32 size);
|
||||
extern s32 (*inet_pton)(s32 af, const char *src, void *dst);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user