[Groonga-commit] groonga/groonga at 5943df4 [master] Add document of grn_content_type

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Oct 23 22:50:00 JST 2014


Kouhei Sutou	2014-10-23 22:50:00 +0900 (Thu, 23 Oct 2014)

  New Revision: 5943df46ac52a217886bf917f1094c179dd25b9a
  https://github.com/groonga/groonga/commit/5943df46ac52a217886bf917f1094c179dd25b9a

  Message:
    Add document of grn_content_type
    
    TODO:
      * Update file list
      * Check build error (I don't build it yet. Sorry.)

  Added files:
    doc/source/reference/api/grn_content_type.rst

  Added: doc/source/reference/api/grn_content_type.rst (+39 -0) 100644
===================================================================
--- /dev/null
+++ doc/source/reference/api/grn_content_type.rst    2014-10-23 22:50:00 +0900 (c164138)
@@ -0,0 +1,39 @@
+.. -*- rst -*-
+
+.. highlightlang:: c
+
+``grn_content_type``
+====================
+
+Summary
+-------
+
+:c:type:`grn_content_type` shows input type and output
+type. Currently, it is used only for output type.
+
+Normally, you don't need to use this type. It is used internally in
+:c:func:`grn_ctx_send()`.
+
+Reference
+---------
+
+.. c:type:: grn_content_type
+
+   Here are available values:
+
+   `GRN_CONTENT_NONE`
+     It means that outputting nothing or using the original format.
+     :doc:`/reference/commands/dump` uses the type.
+
+   `GRN_CONTENT_TSV`
+     It means tab separated values format.
+
+   `GRN_CONTENT_JSON`
+     It means JSON format.
+
+   `GRN_CONTENT_XML`
+     It means XML format.
+
+   `GRN_CONTENT_MSGPACK`
+     It means MessagePack format. You need MessagePack library on building
+     Groonga. If you don't have MessagePack library, you can't use this type.
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index