today i begin to analyse the code of XBT,having prepared for long.
first i started with BT Test.cpp,in which there are two header files--server.h & stafx.h.then i change into server.h,also i was surprised to find that there are many header files,here i will show them all in order to trace my progress:
block_list.h
bt_file.h
bt_tracker.h
config.h
http_link.h
profiles.h
scheduler.h
version_check_handler.h
<stream_writer.h>
besides,there are 8 cpp files corresponding to the header files.
so,i vim the block.h ,in which there just define a class,Cblock_list and two funcs,load(),save().these two funcs are realized in the block_list.cpp
but there is one question that i still havent solved,there is a header file ,named <xif_key.h> , in block_list.h,however i can't find this file,i used grep,
but in vain.
later i will try again ,it must be something wrong with my usage with grep.
that all for today,there is a class waiting for me ~~