open-source-search-engine/Msgaa.h

43 lines
692 B
C
Raw Normal View History

2013-08-03 00:12:24 +04:00
#ifndef _MSGAA_H_
#define _MSGAA_H_
#include "gb-include.h"
#include "Url.h"
#include "SearchInput.h"
#define MAX_QBUF_SIZE (MAX_URL_LEN+200)
class Msgaa {
public:
Msgaa();
~Msgaa();
bool addSitePathDepth ( class TagRec *gr ,
class Url *url ,
char *coll ,
void *state ,
void (* callback)(void *state) ) ;
bool gotResults ( ) ;
SearchInput m_si;
class TagRec *m_gr;
class Url *m_url;
char *m_coll;
void *m_state;
void (*m_callback) (void *state );
2014-11-11 01:45:11 +03:00
int32_t m_sitePathDepth;
2013-08-03 00:12:24 +04:00
class Msg40 *m_msg40;
2014-11-11 01:45:11 +03:00
int32_t m_pathDepth;
2013-08-03 00:12:24 +04:00
char m_qbuf[MAX_QBUF_SIZE];
2014-11-11 01:45:11 +03:00
//int32_t m_niceness;
2013-08-03 00:12:24 +04:00
2014-11-11 01:45:11 +03:00
int32_t m_oldSitePathDepth;
int32_t m_newSitePathDepth;
2013-08-03 00:12:24 +04:00
};
#endif