forked from Mirrors/privacore-open-source-search-engine
		
	
		
			
				
	
	
		
			26 lines
		
	
	
		
			734 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			734 B
		
	
	
	
		
			C++
		
	
	
	
	
	
// Matt Wells, copyright Nov 2001
 | 
						|
 | 
						|
#ifndef GB_LINKSPAM_H
 | 
						|
#define GB_LINKSPAM_H
 | 
						|
 | 
						|
#include <inttypes.h>
 | 
						|
 | 
						|
class Url;
 | 
						|
 | 
						|
bool setLinkSpam (const Url       *linker             ,
 | 
						|
                   int32_t             siteNumInlinks     ,
 | 
						|
		   class Xml       *xml                ,
 | 
						|
		   class Links     *links              ,
 | 
						|
		   bool             isContentTruncated );
 | 
						|
 | 
						|
bool isLinkSpam  ( const  Url       *linker         ,
 | 
						|
		   int32_t             siteNumInlinks ,
 | 
						|
		   class Xml       *xml            ,
 | 
						|
		   class Links     *links          ,
 | 
						|
		   int32_t             maxDocLen      , 
 | 
						|
		   const char           **note           ,
 | 
						|
		   const Url          *linkee         ,
 | 
						|
		   int32_t             linkNode       );
 | 
						|
 | 
						|
#endif // GB_LINKSPAM_H
 |