fastdfs/storage/fdht_client/fdht_global.h

38 lines
735 B
C

/**
* Copyright (C) 2008 Happy Fish / YuQing
*
* FastDFS may be copied only under the terms of the GNU General
* Public License V3, which may be found in the FastDFS source kit.
* Please visit the FastDFS Home Page http://www.fastken.com/ for more detail.
**/
//fdht_global.h
#ifndef _FDHT_GLOBAL_H
#define _FDHT_GLOBAL_H
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <pthread.h>
#include "fastcommon/common_define.h"
#include "fdht_define.h"
#include "fdht_types.h"
#ifdef __cplusplus
extern "C" {
#endif
extern int g_fdht_connect_timeout;
extern int g_fdht_network_timeout;
extern char g_fdht_base_path[MAX_PATH_SIZE];
extern Version g_fdht_version;
#ifdef __cplusplus
}
#endif
#endif