"Fossies" - the Fresh Open Source Software Archive 
Member "tcpflow-1.6.1/src/inet_ntop.h" (19 Feb 2021, 460 Bytes) of package /linux/misc/tcpflow-1.6.1.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style:
standard) with prefixed line numbers and
code folding option.
Alternatively you can here
view or
download the uninterpreted source code file.
For more information about "inet_ntop.h" see the
Fossies "Dox" file reference documentation.
1 #ifndef TCPFLOW_INET_NTOP_H
2 #define TCPFLOW_INET_NTOP_H
3
4 #ifdef HAVE_ARPA_INET_H
5 # include <arpa/inet.h>
6 #endif
7
8 #ifndef HAVE_INET_NTOP
9 const char *inet_ntop(int af, const void *src,char *dst, socklen_t size);
10 #endif
11
12 #if defined(__MINGW32__)
13 // <ws2tcpip.h> has this prototype for ws2_32 dll, but has type-conflicts with winsock2.h
14 WINSOCK_API_LINKAGE LPCWSTR WSAAPI inet_ntop(INT Family, PVOID pAddr, LPWSTR pStringBuf, size_t StringBufSIze);
15 #endif
16
17 #endif