libspf2 1.2.10
|
00001 /* 00002 * This program is free software; you can redistribute it and/or modify 00003 * it under the terms of either: 00004 * 00005 * a) The GNU Lesser General Public License as published by the Free 00006 * Software Foundation; either version 2.1, or (at your option) any 00007 * later version, 00008 * 00009 * OR 00010 * 00011 * b) The two-clause BSD license. 00012 * 00013 * These licenses can be found with the distribution in the file LICENSES 00014 */ 00015 00016 00017 #ifdef _WIN32 00018 00019 #ifndef INC_SPF_WIN32_INTERNAL 00020 #define INC_SPF_WIN32_INTERNAL 00021 00022 #include "spf_win32.h" 00023 00024 #define STDC_HEADERS 00025 00026 #define inline __inline 00027 00028 #define NETDB_SUCCESS ERROR_SUCCESS 00029 00030 #define IN_LOOPBACKNET 127 00031 00032 #define snprintf _snprintf 00033 #define vsnprintf _vsnprintf 00034 00035 char *inet_ntop(int af, const void *src, char *dst, size_t size); 00036 int inet_pton(int af, const char *src, void *dst); 00037 00038 int gethostnameFQDN(char* name, int namelen); 00039 00040 #endif 00041 00042 #endif