| 1 | /** |
| 2 | * This file has no copyright assigned and is placed in the Public Domain. |
| 3 | * This file is part of the mingw-w64 runtime package. |
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. |
| 5 | */ |
| 6 | |
| 7 | #ifndef _AFUNIX_ |
| 8 | #define _AFUNIX_ |
| 9 | |
| 10 | #define UNIX_PATH_MAX 108 |
| 11 | |
| 12 | typedef struct sockaddr_un { |
| 13 | ADDRESS_FAMILY sun_family; |
| 14 | char sun_path[UNIX_PATH_MAX]; |
| 15 | } SOCKADDR_UN, *PSOCKADDR_UN; |
| 16 | |
| 17 | #define SIO_AF_UNIX_GETPEERPID _WSAIOR(IOC_VENDOR, 256) |
| 18 | #define SIO_AF_UNIX_SETBINDPARENTPATH _WSAIOW(IOC_VENDOR, 257) |
| 19 | #define SIO_AF_UNIX_SETCONNPARENTPATH _WSAIOW(IOC_VENDOR, 258) |
| 20 | |
| 21 | #endif /* _AFUNIX_ */ |