/** * 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.csource.org/ for more detail. **/ //tracker_relationship.h #ifndef _TRACKER_RELATIONSHIP_H_ #define _TRACKER_RELATIONSHIP_H_ #include #include #include "tracker_types.h" #ifdef __cplusplus extern "C" { #endif extern bool g_if_leader_self; //if I am leader int tracker_relationship_init(); int tracker_relationship_destroy(); #ifdef __cplusplus } #endif #endif