mirror of
https://github.com/privacore/open-source-search-engine.git
synced 2025-07-15 02:36:08 -04:00
Remove commented out include lines
This commit is contained in:
59
main.cpp
59
main.cpp
@ -25,10 +25,7 @@
|
||||
#include "Tagdb.h"
|
||||
#include "Catdb.h"
|
||||
#include "Users.h"
|
||||
//#include "Tfndb.h"
|
||||
#include "Spider.h"
|
||||
//#include "Doledb.h"
|
||||
//#include "Checksumdb.h"
|
||||
#include "Clusterdb.h"
|
||||
#include "Sections.h"
|
||||
#include "Statsdb.h"
|
||||
@ -43,92 +40,48 @@
|
||||
#include <sys/resource.h> // setrlimit
|
||||
#include "Stats.h"
|
||||
#include "Spider.h"
|
||||
//#include "GBVersion.h"
|
||||
#include "Speller.h" // g_speller
|
||||
//#include "Thesaurus.h" // g_thesaurus
|
||||
//#include "Synonyms.h" // g_synonyms
|
||||
#include "Wiki.h" // g_wiki
|
||||
#include "Wiktionary.h" // g_wiktionary
|
||||
#include "Scraper.h" // g_scraper
|
||||
//#include "QueryRouter.h"
|
||||
#include "Categories.h"
|
||||
#include "CountryCode.h"
|
||||
#include "Pos.h"
|
||||
#include "Title.h"
|
||||
#include "Speller.h"
|
||||
//#include "Syncdb.h"
|
||||
|
||||
// include all msgs that have request handlers, cuz we register them with g_udp
|
||||
#include "Msg0.h"
|
||||
#include "Msg1.h"
|
||||
#include "Msg4.h"
|
||||
//#include "Msg6.h"
|
||||
//#include "Msg7.h"
|
||||
//#include "Msg11.h"
|
||||
//#include "Msg12.h"
|
||||
#include "Msg13.h"
|
||||
#include "Msg20.h"
|
||||
#include "Msg22.h"
|
||||
//#include "Msg23.h"
|
||||
#include "Msg2a.h"
|
||||
#include "Msg39.h"
|
||||
#include "Msg40.h" // g_resultsCache
|
||||
#include "Msg9b.h"
|
||||
#include "Msg17.h"
|
||||
//#include "Msg34.h"
|
||||
//#include "Msg35.h"
|
||||
//#include "Msg24.h"
|
||||
//#include "Msg28.h"
|
||||
//#include "Msg30.h"
|
||||
//#include "MsgB.h"
|
||||
//#include "Msg3e.h"
|
||||
#include "Parms.h"
|
||||
//#include "Msg50.h"
|
||||
//#include "MsgF.h"
|
||||
//#include "Msg33.h"
|
||||
//#include "mmseg.h" // open_lexicon(), etc. for Chinese parsing
|
||||
//#include "PageTopDocs.h"
|
||||
//#include "PageNetTest.h"
|
||||
//#include "Sync.h"
|
||||
#include "Pages.h"
|
||||
//#include "Msg1c.h"
|
||||
//#include "Msg2e.h"
|
||||
//#include "Msg6a.h"
|
||||
#include "Unicode.h"
|
||||
|
||||
//#include <pthread.h>
|
||||
#include "AutoBan.h"
|
||||
//#include "SiteBonus.h"
|
||||
#include "Msg1f.h"
|
||||
#include "Profiler.h"
|
||||
//#include "HashTableT.h"
|
||||
//#include "Classifier.h"
|
||||
#include "Blaster.h"
|
||||
#include "Proxy.h"
|
||||
//#include "HtmlCarver.h"
|
||||
|
||||
//#include "Matchers.h"
|
||||
#include "linkspam.h"
|
||||
#include "Process.h"
|
||||
#include "sort.h"
|
||||
//#include "SiteBonus.h"
|
||||
#include "Ads.h"
|
||||
#include "LanguagePages.h"
|
||||
//#include "Msg3b.h"
|
||||
#include "RdbBuckets.h"
|
||||
//#include "PageTurk.h"
|
||||
//#include "QAClient.h"
|
||||
//#include "Diff.h"
|
||||
#include "Placedb.h"
|
||||
#include "Test.h"
|
||||
#include "seo.h"
|
||||
#include "SpiderProxy.h"
|
||||
//#include "Facebook.h"
|
||||
//#include "Accessdb.h"
|
||||
|
||||
// from qa.cpp
|
||||
//bool qainject ( ) ;
|
||||
//bool qatest ( ) ;
|
||||
|
||||
// call this to shut everything down
|
||||
bool mainShutdown ( bool urgent ) ;
|
||||
@ -372,18 +325,6 @@ extern void resetUnicode ( );
|
||||
|
||||
extern void tryToSyncWrapper ( int fd , void *state ) ;
|
||||
|
||||
#if 0
|
||||
void stack_test();
|
||||
void stack_test(){
|
||||
char *dummy[7000000];
|
||||
dummy[0] = '\0';
|
||||
dummy[6999999] = '\0';
|
||||
printf("dummy: 0x%x = 0x%x",
|
||||
(unsigned int)&(dummy[0]), (unsigned int)&(dummy[6999999]));
|
||||
|
||||
}
|
||||
#endif
|
||||
|
||||
int main2 ( int argc , char *argv[] ) ;
|
||||
|
||||
int main ( int argc , char *argv[] ) {
|
||||
|
Reference in New Issue
Block a user