[Groonga-commit] groonga/groonga at 1e30f6e [master] Add missing file

Zurück zum Archiv-Index

Kouhei Sutou null+****@clear*****
Thu Apr 5 15:59:43 JST 2018


Kouhei Sutou	2018-04-05 15:59:43 +0900 (Thu, 05 Apr 2018)

  New Revision: 1e30f6e02381d1188415b45fd0eed2ae31c9862d
  https://github.com/groonga/groonga/commit/1e30f6e02381d1188415b45fd0eed2ae31c9862d

  Message:
    Add missing file

  Added files:
    lib/grn_table.h

  Added: lib/grn_table.h (+50 -0) 100644
===================================================================
--- /dev/null
+++ lib/grn_table.h    2018-04-05 15:59:43 +0900 (71a19e243)
@@ -0,0 +1,50 @@
+/* -*- c-basic-offset: 2 -*- */
+/*
+  Copyright(C) 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 "grn.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef struct {
+  grn_obj *proc;
+  void *options;
+  grn_option_revision options_revision;
+  grn_close_func options_close_func;
+} grn_table_tokenizer;
+
+void grn_table_tokenizer_init(grn_ctx *ctx,
+                              grn_table_tokenizer *tokenizer,
+                              grn_id tokenizer_id);
+void grn_table_tokenizer_set_proc(grn_ctx *ctx,
+                                  grn_table_tokenizer *tokenizer,
+                                  grn_obj *proc);
+void grn_table_tokenizer_set_options(grn_ctx *ctx,
+                                     grn_table_tokenizer *tokenizer,
+                                     void *options,
+                                     grn_option_revision revision,
+                                     grn_close_func close_func);
+void grn_table_tokenizer_fin(grn_ctx *ctx,
+                             grn_table_tokenizer *tokenizer);
+
+#ifdef __cplusplus
+}
+#endif
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180405/9f972ee3/attachment-0001.htm 



More information about the Groonga-commit mailing list
Zurück zum Archiv-Index