1 /** 2 * Copyright (C) 2008 Happy Fish / YuQing 3 * 4 * FastDFS may be copied only under the terms of the GNU General 5 * Public License V3, which may be found in the FastDFS source kit. 6 * Please visit the FastDFS Home Page http://www.fastken.com/ for more detail. 7 **/ 8 9 #include <netdb.h> 10 #include <unistd.h> 11 #include <errno.h> 12 #include "fdht_global.h" 13 14 int g_fdht_connect_timeout = DEFAULT_CONNECT_TIMEOUT; 15 int g_fdht_network_timeout = DEFAULT_NETWORK_TIMEOUT; 16 char g_fdht_base_path[MAX_PATH_SIZE] = {'/', 't', 'm', 'p', '\0'}; 17 Version g_fdht_version = {1, 14}; 18 19