mirror of
https://github.com/Maschell/libutils.git
synced 2024-11-06 05:05:08 +01:00
f02d7da869
Remove some features (kernel, function patcher) to be a userland only lib.
22 lines
362 B
C
22 lines
362 B
C
#ifndef _UTILS_NET_H_
|
|
#define _UTILS_NET_H_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include <wut_types.h>
|
|
|
|
s32 recvwait(s32 sock, void *buffer, s32 len);
|
|
u8 recvbyte(s32 sock);
|
|
u32 recvword(s32 sock);
|
|
s32 checkbyte(s32 sock);
|
|
s32 sendwait(s32 sock, const void *buffer, s32 len);
|
|
s32 sendbyte(s32 sock, unsigned char byte);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|