Kouhei Sutou
null+****@clear*****
Tue May 8 13:41:52 JST 2018
Kouhei Sutou 2018-05-08 13:41:52 +0900 (Tue, 08 May 2018) New Revision: 772c260ac342221513b8c86df77a49d745d8dacb https://github.com/groonga/groonga/commit/772c260ac342221513b8c86df77a49d745d8dacb Message: Add a missing file Added files: include/groonga/tokenizer_query_deprecated.h Modified files: include/groonga/Makefile.am Modified: include/groonga/Makefile.am (+1 -0) =================================================================== --- include/groonga/Makefile.am 2018-05-08 12:49:05 +0900 (5187333e8) +++ include/groonga/Makefile.am 2018-05-08 13:41:52 +0900 (fdbf6c213) @@ -37,6 +37,7 @@ groonga_include_HEADERS = \ token.h \ tokenizer.h \ token_filter.h \ + token_query_deprecated.h \ type.h \ nfkc.h \ normalizer.h \ Added: include/groonga/tokenizer_query_deprecated.h (+51 -0) 100644 =================================================================== --- /dev/null +++ include/groonga/tokenizer_query_deprecated.h 2018-05-08 13:41:52 +0900 (ba483d49a) @@ -0,0 +1,51 @@ +/* -*- c-basic-offset: 2 -*- */ +/* + Copyright(C) 2012-2018 Brazil + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License version 2.1 as published by the Free Software Foundation. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +*/ + +#pragma once + +#include <groonga/plugin.h> +#include <groonga/token.h> + +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + +/* + grn_tokenizer_query is a structure for storing a query. See the following + functions. + + Deprecated since 8.0.2. Use accessors to get data. + */ +typedef struct _grn_tokenizer_query_deprecated grn_tokenizer_query; + +struct _grn_tokenizer_query_deprecated { + grn_obj *normalized_query; + char *query_buf; + const char *ptr; + unsigned int length; + grn_encoding encoding; + unsigned int flags; + grn_bool have_tokenized_delimiter; + /* Deprecated since 4.0.8. Use tokenize_mode instead. */ + grn_token_mode token_mode; + grn_tokenize_mode tokenize_mode; +}; + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* __cplusplus */ -------------- next part -------------- HTML����������������������������... URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180508/5d6ea771/attachment-0001.htm