43 lines
614 B
C
43 lines
614 B
C
#include <net.h>
|
|
#include <errno.h>
|
|
#include <stddef.h>
|
|
|
|
int net_read(struct net_socket *const h, void *const buf, const size_t n)
|
|
{
|
|
return -1;
|
|
}
|
|
|
|
int net_write(struct net_socket *const h, const void *const buf, const size_t n)
|
|
{
|
|
return -1;
|
|
}
|
|
|
|
int net_close(struct net_socket *const h)
|
|
{
|
|
return -1;
|
|
}
|
|
|
|
int net_update(struct net_socket *const h)
|
|
{
|
|
return -1;
|
|
}
|
|
|
|
struct net_socket *net_connect(const union net_connect *const c)
|
|
{
|
|
return NULL;
|
|
}
|
|
|
|
struct net_socket *net_server(const union net_server *const c)
|
|
{
|
|
return NULL;
|
|
}
|
|
|
|
int net_init(void)
|
|
{
|
|
return -1;
|
|
}
|
|
|
|
void net_deinit(void)
|
|
{
|
|
}
|