TEXTSEARCH_REGISTER

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

textsearch_register - register a textsearch module  

SYNOPSIS

"SYNOPSIS"

int textsearch_register (struct ts_ops * ops);  

ARGUMENTS

ops
operations lookup table
 

DESCRIPTION

This function must be called by textsearch modules to announce their presence. The specified &ops must have name set to a unique identifier and the callbacks find, init, get_pattern, and get_pattern_len must be implemented.

Returns 0 or -EEXISTS if another module has already registered with same name.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:02:54 GMT, October 09, 2005