1 1.1 abhinav /* $NetBSD: custom_apropos_tokenizer.h,v 1.1 2017/06/18 16:24:10 abhinav Exp $ */ 2 1.1 abhinav /*- 3 1.1 abhinav * Copyright (c) 2017 Abhinav Upadhyay <abhinav (at) NetBSD.org> 4 1.1 abhinav * All rights reserved. 5 1.1 abhinav * 6 1.1 abhinav * Redistribution and use in source and binary forms, with or without 7 1.1 abhinav * modification, are permitted provided that the following conditions 8 1.1 abhinav * are met: 9 1.1 abhinav * 10 1.1 abhinav * 1. Redistributions of source code must retain the above copyright 11 1.1 abhinav * notice, this list of conditions and the following disclaimer. 12 1.1 abhinav * 2. Redistributions in binary form must reproduce the above copyright 13 1.1 abhinav * notice, this list of conditions and the following disclaimer in 14 1.1 abhinav * the documentation and/or other materials provided with the 15 1.1 abhinav * distribution. 16 1.1 abhinav * 17 1.1 abhinav * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 18 1.1 abhinav * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 19 1.1 abhinav * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 20 1.1 abhinav * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 21 1.1 abhinav * COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 22 1.1 abhinav * INCIDENTAL, SPECIAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING, 23 1.1 abhinav * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 1.1 abhinav * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 25 1.1 abhinav * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 26 1.1 abhinav * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 27 1.1 abhinav * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28 1.1 abhinav * SUCH DAMAGE. 29 1.1 abhinav */ 30 1.1 abhinav 31 1.1 abhinav #ifndef CUSTOM_APROPOS_TOKENIZER_H 32 1.1 abhinav #define CUSTOM_APROPOS_TOKENIZER_H 33 1.1 abhinav 34 1.1 abhinav #include "fts3_tokenizer.h" 35 1.1 abhinav 36 1.1 abhinav void get_custom_apropos_tokenizer(sqlite3_tokenizer_module const **); 37 1.1 abhinav 38 1.1 abhinav #endif 39