libspf2  1.2.11
spf_win32_internal.h
Go to the documentation of this file.
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
void *size_t size
Definition: malloc.c:8
u_int const u_char * src
Definition: __ns_get16.c:16