summaryrefslogtreecommitdiff
path: root/ext/mysql/libmysql/my_net.h
blob: ac4af6595b62c570df2275e88ed462b31c7a75c9 (plain)
1
2
3
4
5
6
7
8
9
10
/* thread safe version of some common functions */

/* for thread safe my_inet_ntoa */
#if !defined(MSDOS) && !defined(__WIN32__)
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#endif 

void my_inet_ntoa(struct in_addr in, char *buf);