specbuf.cc

来自「larbin是一种开源的网络爬虫/网络蜘蛛」· CC 代码 · 共 33 行

CC
33
字号
// Larbin// Sebastien Ailleret// 09-12-01 -> 10-12-01/* this module defines how specific pages are handled * the following functions must be defined : * - initSpecific : this function is called when larbin is launched. This *     must be a function because it is defined in file.h. * - constrSpec : this function is called in the constructor of class html * - newSpec : a new specific page has been discovered * - pipeSpec : some data has arrived on the stream * - endInput : the end of the input : be careful, this function *     might not be called in case of timeout or other reasons * - getPage : someone needs the content of the page * - getSize : gives the size of the document * - destructSpec : this function is called in the destructor of class html * * All this function are only called if SPECIFICSEARCH is defined * constrSpec is called for every page * other functions are only called if state==SPECIFIC */#ifdef SAVE_SPECIFIC#include "fetch/savespecbuf.cc"#elif defined(DYNAMIC_SPECIFIC)#include "fetch/dynamicspecbuf.cc"#else // DEFAULT_SPECIFIC#include "fetch/defaultspecbuf.cc"#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?