"Fossies" - the Fresh Open Source Software Archive 
Member "libspf2-1.2.10/src/include/spf_win32_internal.h" (28 Jan 2012, 869 Bytes) of package /linux/privat/libspf2-1.2.10.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 "spf_win32_internal.h" see the
Fossies "Dox" file reference documentation.
1 /*
2 * This program is free software; you can redistribute it and/or modify
3 * it under the terms of either:
4 *
5 * a) The GNU Lesser General Public License as published by the Free
6 * Software Foundation; either version 2.1, or (at your option) any
7 * later version,
8 *
9 * OR
10 *
11 * b) The two-clause BSD license.
12 *
13 * These licenses can be found with the distribution in the file LICENSES
14 */
15
16
17 #ifdef _WIN32
18
19 #ifndef INC_SPF_WIN32_INTERNAL
20 #define INC_SPF_WIN32_INTERNAL
21
22 #include "spf_win32.h"
23
24 #define STDC_HEADERS
25
26 #define inline __inline
27
28 #define NETDB_SUCCESS ERROR_SUCCESS
29
30 #define IN_LOOPBACKNET 127
31
32 #define snprintf _snprintf
33 #define vsnprintf _vsnprintf
34
35 char *inet_ntop(int af, const void *src, char *dst, size_t size);
36 int inet_pton(int af, const char *src, void *dst);
37
38 int gethostnameFQDN(char* name, int namelen);
39
40 #endif
41
42 #endif