12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- #ifndef HEADER_CURL_SERVER_SOCKADDR_H
- #define HEADER_CURL_SERVER_SOCKADDR_H
- #include "server_setup.h"
- #ifdef HAVE_SYS_UN_H
- #include <sys/un.h>
- #endif
- typedef union {
- struct sockaddr sa;
- struct sockaddr_in sa4;
- #ifdef USE_IPV6
- struct sockaddr_in6 sa6;
- #endif
- #ifdef USE_UNIX_SOCKETS
- struct sockaddr_un sau;
- #endif
- } srvr_sockaddr_union_t;
- #endif
|