Lumenarium/src_v2/platform/linux/lumenarium_linux_network.h

67 lines
974 B
C
Raw Normal View History

2022-05-13 11:45:40 +00:00
#ifndef LUMENARIUM_LINUX_NETWORK_H
#define LUMENARIUM_LINUX_NETWORK_H 1
Socket_Handle
os_socket_create(s32 domain, s32 type, s32 protocol)
{
invalid_code_path;
return (Socket_Handle){0};
2022-05-13 11:45:40 +00:00
}
bool
os_socket_bind()
{
invalid_code_path;
return false;
}
bool
os_socket_connect()
{
invalid_code_path;
return false;
}
bool
os_socket_close()
{
invalid_code_path;
return false;
}
Data
os_socket_recv()
{
invalid_code_path;
return (Data){};
2022-05-13 11:45:40 +00:00
}
s32
os_socket_set_listening()
{
invalid_code_path;
return 0;
}
s32
os_socket_send()
{
invalid_code_path;
return 0;
}
s32
os_socket_send_to(Socket_Handle handle, u32 addr, u32 port, Data data, s32 flags)
{
invalid_code_path;
return 0;
}
s32
os_socket_set_opt(Socket_Handle handle, int level, int option_name, u8* option_value, s32 option_len)
{
invalid_code_path;
return 0;
}
#endif // LUMENARIUM_LINUX_NETWORK_H