mirror of
https://github.com/gigablast/open-source-search-engine.git
synced 2024-11-20 18:57:32 +03:00
20 lines
557 B
C
20 lines
557 B
C
#ifndef ENTITIES_H__
|
|
#define ENTITIES_H__
|
|
|
|
// Matt Wells, copyright Jul 2001
|
|
|
|
// . i only support characters from 0-255
|
|
// . i do not plan on having unicode support, but may think about it later
|
|
// . Partap seems like a chump...I'll probably make him do it
|
|
|
|
//#include "TermTable.h" // for hashing entity encodings
|
|
#include "Unicode.h"
|
|
|
|
// call these two
|
|
// JAB: const-ness for the optimizer
|
|
int32_t getEntity_a ( char *s , int32_t maxLen , uint32_t *c );
|
|
|
|
//int32_t getEntity_utf8 (char *s , int32_t maxLen , int32_t *d , int32_t *ds ) ;
|
|
|
|
#endif
|