161 #define LWSFTS_F_QUERY_AUTOCOMPLETE (1 << 0)
162 #define LWSFTS_F_QUERY_FILES (1 << 1)
163 #define LWSFTS_F_QUERY_FILE_LINES (1 << 2)
164 #define LWSFTS_F_QUERY_QUOTE_LINE (1 << 3)
struct lws_fts_result_filepath * next
struct lwsac * results_head
const char * only_filepath
struct lws_fts_result_autocomplete * next
struct lws_fts_result_filepath * filepath_head
struct lws_fts_result_autocomplete * autocomplete_head
LWS_VISIBLE LWS_EXTERN int lws_fts_serialize(struct lws_fts *t)
LWS_VISIBLE LWS_EXTERN void lws_fts_destroy(struct lws_fts **trie)
LWS_VISIBLE LWS_EXTERN struct lws_fts_file * lws_fts_open(const char *filepath)
LWS_VISIBLE LWS_EXTERN int lws_fts_file_index(struct lws_fts *t, const char *filepath, int filepath_len, int priority)
LWS_VISIBLE LWS_EXTERN struct lws_fts_result * lws_fts_search(struct lws_fts_file *jtf, struct lws_fts_search_params *ftsp)
LWS_VISIBLE LWS_EXTERN struct lws_fts * lws_fts_create(int fd)
LWS_VISIBLE LWS_EXTERN int lws_fts_fill(struct lws_fts *t, uint32_t file_index, const char *buf, size_t len)
LWS_VISIBLE LWS_EXTERN void lws_fts_close(struct lws_fts_file *jtf)