odyssey/src/mm_socket.h

19 lines
373 B
C
Raw Normal View History

2017-04-11 13:47:02 +00:00
#ifndef MM_SOCKET_H_
#define MM_SOCKET_H_
/*
* machinarium.
*
* cooperative multitasking engine.
*/
int mm_socket(int, int, int);
int mm_socket_set_nonblock(int, int);
int mm_socket_set_nodelay(int, int);
int mm_socket_set_keepalive(int, int, int);
int mm_socket_set_nosigpipe(int, int);
int mm_socket_error(int);
int mm_socket_connect(int, struct sockaddr*);
#endif