mirror of
https://github.com/privacore/open-source-search-engine.git
synced 2025-06-26 00:06:07 -04:00
31 lines
944 B
C++
31 lines
944 B
C++
// Matt Wells, copyright Nov 2001
|
|
|
|
#ifndef GB_LINKSPAM_H
|
|
#define GB_LINKSPAM_H
|
|
|
|
#include "gb-include.h"
|
|
#include "ip.h"
|
|
|
|
class Url;
|
|
|
|
bool setLinkSpam ( int32_t ip ,
|
|
const Url *linker ,
|
|
int32_t siteNumInlinks ,
|
|
class Xml *xml ,
|
|
class Links *links ,
|
|
bool isContentTruncated ,
|
|
int32_t niceness );
|
|
|
|
bool isLinkSpam ( const Url *linker ,
|
|
int32_t ip ,
|
|
int32_t siteNumInlinks ,
|
|
class Xml *xml ,
|
|
class Links *links ,
|
|
int32_t maxDocLen ,
|
|
const char **note ,
|
|
const Url *linkee ,
|
|
int32_t linkNode ,
|
|
int32_t niceness );
|
|
|
|
#endif // GB_LINKSPAM_H
|