00001 #ifndef CLASSLIB_SYSAPI_HOST_INFO_H
00002 # define CLASSLIB_SYSAPI_HOST_INFO_H
00003
00004
00005
00006 # include "classlib/sysapi/system.h"
00007 # include <cctype>
00008 # ifdef _WIN32
00009 # include <windows.h>
00010 # include <wininet.h>
00011 # else
00012 # include <netdb.h>
00013 # include <unistd.h>
00014 # include <sys/param.h>
00015 # endif
00016
00017
00018
00019
00020
00021
00022
00023 #if !HAVE_GETHOSTNAME_DECL && ! defined _WIN32
00024 extern "C" int gethostname (char *, STDC::size_t);
00025 #endif
00026
00027
00028
00029
00030
00031 #endif // CLASSLIB_SYSAPI_HOST_INFO_H