- Timestamp:
- 2014-09-27T14:54:35Z (10 years ago)
- Branches:
- master
- Children:
- ebe2c5e, f329dfc
- Parents:
- d348377
- Location:
- lib
- Files:
-
- 1 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/events.h
rd348377 re252d8c 37 37 38 38 #include <sys/types.h> 39 #ifndef _WIN3240 39 #include <sys/socket.h> 41 40 #include <netdb.h> 42 41 #include <netinet/in.h> 43 #endif44 42 #include <glib.h> 45 43 #include <gmodule.h> -
lib/events_glib.c
rd348377 re252d8c 31 31 #include <string.h> 32 32 #include <sys/types.h> 33 #ifndef _WIN3234 33 #include <sys/socket.h> 35 34 #include <netdb.h> … … 37 36 #include <arpa/inet.h> 38 37 #include <unistd.h> 39 #else40 #include "sock.h"41 #define ETIMEDOUT WSAETIMEDOUT42 #define EINPROGRESS WSAEINPROGRESS43 #endif44 38 #include <fcntl.h> 45 39 #include <errno.h> -
lib/misc.c
rd348377 re252d8c 420 420 void random_bytes( unsigned char *buf, int count ) 421 421 { 422 #ifndef _WIN32423 422 static int use_dev = -1; 424 423 … … 470 469 471 470 if( !use_dev ) 472 #endif473 471 { 474 472 int i; -
lib/proxy.c
rd348377 re252d8c 26 26 #include <string.h> 27 27 #include <sys/types.h> 28 #ifndef _WIN3229 28 #include <sys/socket.h> 30 29 #include <netdb.h> … … 32 31 #include <arpa/inet.h> 33 32 #include <unistd.h> 34 #else35 #include "sock.h"36 #define ETIMEDOUT WSAETIMEDOUT37 #define EINPROGRESS WSAEINPROGRESS38 #endif39 33 #include <fcntl.h> 40 34 #include <errno.h> … … 76 70 len = sizeof(error); 77 71 78 #ifndef _WIN3279 72 if (getsockopt(source, SOL_SOCKET, SO_ERROR, &error, &len) < 0 || error) { 80 73 if ((phb->gai_cur = phb->gai_cur->ai_next)) { … … 101 94 return FALSE; 102 95 } 103 #endif104 96 freeaddrinfo(phb->gai); 105 97 sock_make_blocking(source); -
lib/proxy.h
rd348377 re252d8c 28 28 29 29 #include <sys/types.h> 30 #ifndef _WIN3231 30 #include <sys/socket.h> 32 31 #include <netdb.h> 33 32 #include <netinet/in.h> 34 #endif35 33 #include <glib.h> 36 34 #include <gmodule.h>
Note: See TracChangeset
for help on using the changeset viewer.