open-source-search-engine/Entities.h

20 lines
557 B
C
Raw Normal View History

2013-08-03 00:12:24 +04:00
#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
2014-11-11 01:45:11 +03:00
int32_t getEntity_a ( char *s , int32_t maxLen , uint32_t *c );
2013-08-03 00:12:24 +04:00
2014-11-11 01:45:11 +03:00
//int32_t getEntity_utf8 (char *s , int32_t maxLen , int32_t *d , int32_t *ds ) ;
2013-08-03 00:12:24 +04:00
#endif