/** * 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. **/ //tracker_nio.h #ifndef _TRACKER_NIO_H #define _TRACKER_NIO_H #include #include #include #include "fastcommon/fast_task_queue.h" #ifdef __cplusplus extern "C" { #endif void recv_notify_read(int sock, short event, void *arg); int send_add_event(struct fast_task_info *pTask); void task_finish_clean_up(struct fast_task_info *pTask); #ifdef __cplusplus } #endif #endif