libsimple 0.9.0

Rust bindings to simple, a SQLite3 fts5 tokenizer which supports Chinese and PinYin.
#ifndef SIMPLE_HIGHLIGHT_H_
#define SIMPLE_HIGHLIGHT_H_

#include "sqlite3ext.h"

extern "C" void simple_highlight(const Fts5ExtensionApi *pApi, /* API offered by current FTS version */
                                 Fts5Context *pFts,            /* First arg to pass to pApi functions */
                                 sqlite3_context *pCtx,        /* Context for returning result/error */
                                 int nVal,                     /* Number of values in apVal[] array */
                                 sqlite3_value **apVal         /* Array of trailing arguments */
);

extern "C" void simple_snippet(const Fts5ExtensionApi *pApi, /* API offered by current FTS version */
                               Fts5Context *pFts,            /* First arg to pass to pApi functions */
                               sqlite3_context *pCtx,        /* Context for returning result/error */
                               int nVal,                     /* Number of values in apVal[] array */
                               sqlite3_value **apVal         /* Array of trailing arguments */
);

extern "C" void simple_highlight_pos(const Fts5ExtensionApi *pApi, /* API offered by current FTS version */
                                     Fts5Context *pFts,            /* First arg to pass to pApi functions */
                                     sqlite3_context *pCtx,        /* Context for returning result/error */
                                     int nVal,                     /* Number of values in apVal[] array */
                                     sqlite3_value **apVal         /* Array of trailing arguments */
);

#endif  // SIMPLE_HIGHLIGHT_H_