xapian-core  1.4.27
Functions
keyword.cc File Reference

Efficient keyword to enum lookup. More...

#include <config.h>
#include "keyword.h"
#include <string.h>
+ Include dependency graph for keyword.cc:

Go to the source code of this file.

Functions

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

Detailed Description

Efficient keyword to enum lookup.

Definition in file keyword.cc.

Function Documentation

◆ keyword()

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

Definition at line 32 of file keyword.cc.

◆ keyword2()

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

2 byte offset variant.

Definition at line 56 of file keyword.cc.

Referenced by Xapian::stem_internal_factory().