xapian-core  1.4.22
Functions
keyword.h File Reference

Efficient keyword to enum lookup. More...

#include <string.h>
+ Include dependency graph for keyword.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int keyword (const unsigned char *tab, const char *s, size_t len)
 
int keyword2 (const unsigned char *tab, const char *s, size_t len)
 2 byte offset variant. More...
 

Detailed Description

Efficient keyword to enum lookup.

Definition in file keyword.h.

Function Documentation

◆ keyword()

int keyword ( const unsigned char *  tab,
const char *  s,
size_t  len 
)

Definition at line 32 of file keyword.cc.

◆ keyword2()

int keyword2 ( const unsigned char *  tab,
const char *  s,
size_t  len 
)

2 byte offset variant.

Definition at line 56 of file keyword.cc.

Referenced by Xapian::stem_internal_factory().