#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements.  See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License.  You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
msgid ""
msgstr ""
"Project-Id-Version: Apache Traffic Server 4.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-11-08 17:57+0900\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#: ../../reference/api/TSPluginInit.en.rst:21
msgid "TSPluginInit"
msgstr "TSPluginInit"

#: ../../reference/api/TSPluginInit.en.rst:24
msgid "Synopsis"
msgstr "概要"

#: ../../reference/api/TSPluginInit.en.rst:26
msgid "`#include <ts/ts.h>`"
msgstr "`#include <ts/ts.h>`"

#: ../../reference/api/TSPluginInit.en.rst:32
msgid "Description"
msgstr "解説"

#: ../../reference/api/TSPluginInit.en.rst:34
msgid ""
":func:`TSPluginInit` must be defined by all plugins. Traffic Server calls "
"this initialization routine when it loads the plugin and sets argc and argv "
"appropriately based on the values in plugin.config. argc is a count of the "
"number of arguments in the argument vector, argv. The count is at least one "
"because the first argument in the argument vector is the plugins name, "
"which must exist in order for the plugin to be loaded. argv is the vector "
"of arguments. The number of arguments in the vector is argc, and argv[0] "
"always contains the name of the plugin shared library.  :func:"
"`TSPluginRegister` registers the appropriate SDK version for your plugin.  "
"Use this function to make sure that the version of Traffic Server on which "
"your plugin is running supports the plugin."
msgstr ""
":func:`TSPluginInit` はすべてのプラグインで定義されなければなりません。 "
"Traffic Server はプラグインを読み込み argc と argv を plugin.config の値をも"
"とに適切に設定する際にこの初期化ルーチンを呼びます。argc は引数配列 argv に"
"ある引数の数です。引数配列の最初の引数はプラグイン名であり、プラグインが読み"
"込まれるために必ず存在するのでこの数は少なくとも一つになります。argv は引数"
"の配列です。配列内の引数の数は argc となり、argv[0] は常にプラグイン共有ライ"
"ブラリの名前を含んでいます。:func:`TSPluginRegister` はプラグインにとって適"
"切な SDK のバージョンを登録します。プラグインが動作する Traffic Server の"
"バージョンがそのプラグインをサポートすることを確認するためにこの関数を使用し"
"てください。"

#: ../../reference/api/TSPluginInit.en.rst:48
msgid "Return values"
msgstr "戻り値"

#: ../../reference/api/TSPluginInit.en.rst:50
msgid ""
":func:`TSPluginRegister` returns :const:`TS_ERROR` if the plugin "
"registration failed."
msgstr ""
":func:`TSPluginRegister` はプラグインの登録に失敗すると :const:`TS_ERROR` を"
"返します。"

#: ../../reference/api/TSPluginInit.en.rst:53
msgid "Examples"
msgstr "例"

#: ../../reference/api/TSPluginInit.en.rst:73
msgid "See also"
msgstr "参考"

#: ../../reference/api/TSPluginInit.en.rst:75
msgid ":manpage:`TSAPI(3ts)`, :manpage:`TSInstallDirGet(3ts)`"
msgstr ":manpage:`TSAPI(3ts)`, :manpage:`TSInstallDirGet(3ts)`"
