Skip to content

Commit 1631275

Browse files
committed
wip: 進捗率 38 % くらい
1 parent eb4e08f commit 1631275

File tree

1 file changed

+52
-55
lines changed

1 file changed

+52
-55
lines changed

reference/curl/constants_curl_setopt.xml

Lines changed: 52 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@
339339
<listitem>
340340
<para>
341341
cURL が保持しているすべてのクッキーを保存するファイル名を <type>string</type> で指定します。
342-
書込はcURL ハンドルが破棄されたときにおこなわれます。
342+
書込は cURL ハンドルが破棄されたときにおこなわれます。
343343
cURL 7.9.0 以降で利用可能です。
344344
<warning>
345345
<simpara>
@@ -755,8 +755,8 @@
755755
</term>
756756
<listitem>
757757
<para>
758-
Pass a <type>callable</type> that will be used for wildcard matching.
759-
The signature of the callback should be:
758+
ワイルドカードのマッチングに用いられる <type>callable</type> を渡します。
759+
コールバックのシグニチャは以下のとおりです。
760760
<methodsynopsis>
761761
<type>int</type><methodname><replaceable>callback</replaceable></methodname>
762762
<methodparam><type>resource</type><parameter>curlHandle</parameter></methodparam>
@@ -768,31 +768,30 @@
768768
<term><parameter>curlHandle</parameter></term>
769769
<listitem>
770770
<simpara>
771-
The cURL handle.
771+
cURL ハンドル。
772772
</simpara>
773773
</listitem>
774774
</varlistentry>
775775
<varlistentry>
776776
<term><parameter>pattern</parameter></term>
777777
<listitem>
778778
<simpara>
779-
The wildcard pattern.
779+
ワイルドカードパターン。
780780
</simpara>
781781
</listitem>
782782
</varlistentry>
783783
<varlistentry>
784784
<term><parameter>string</parameter></term>
785785
<listitem>
786786
<simpara>
787-
The <type>string</type> to run the wildcard pattern matching on.
787+
ワイルドカードパターンとマッチしているか判定する <type>string</type>
788788
</simpara>
789789
</listitem>
790790
</varlistentry>
791791
</variablelist>
792-
The callback should return
793-
<constant>CURL_FNMATCHFUNC_MATCH</constant> if pattern matches the <type>string</type>,
794-
<constant>CURL_FNMATCHFUNC_NOMATCH</constant> if not
795-
or <constant>CURL_FNMATCHFUNC_FAIL</constant> if an error occurred.
792+
この関数は、パターンが <type>string</type> とマッチしていれば <constant>CURL_FNMATCHFUNC_MATCH</constant> を、
793+
していなければ <constant>CURL_FNMATCHFUNC_NOMATCH</constant> を、
794+
エラー時は <constant>CURL_FNMATCHFUNC_FAIL</constant> を返さなければなりません。
796795
cURL 7.21.0 以降で利用可能です。
797796
</para>
798797
</listitem>
@@ -819,8 +818,8 @@
819818
</term>
820819
<listitem>
821820
<para>
822-
Set to &true; to force the connection to explicitly
823-
close when it has finished processing, and not be pooled for reuse.
821+
&true; を指定すると、処理が完了したとき明示的に接続を閉じ、
822+
再利用のためにプールしないようになります。
824823
cURL 7.7.0 以降で利用可能です。
825824
</para>
826825
</listitem>
@@ -832,8 +831,8 @@
832831
</term>
833832
<listitem>
834833
<para>
835-
Set to &true; to force the use of a new connection
836-
instead of a cached one.
834+
&true; を指定すると、キャッシュされた接続を使う代わりに
835+
必ず新しい接続を用います。
837836
cURL 7.7.0 以降で利用可能です。
838837
</para>
839838
</listitem>
@@ -845,8 +844,8 @@
845844
</term>
846845
<listitem>
847846
<para>
848-
Set to &true; to append to the remote file instead of
849-
overwriting it.
847+
&true; を指定すると、リモートのファイルを上書きするのではなく、
848+
追記するようになります。
850849
cURL 7.1.0 以降で利用可能ですが、cURL 7.16.4 以降は非推奨となりました。
851850
</para>
852851
</listitem>
@@ -1132,7 +1131,7 @@
11321131
</term>
11331132
<listitem>
11341133
<para>
1135-
以下のシグニチャに従う <type>callable</type> を指定します。
1134+
以下のシグニチャの <type>callable</type> を指定します。
11361135
<methodsynopsis>
11371136
<type>int</type><methodname><replaceable>callback</replaceable></methodname>
11381137
<methodparam><type>resource</type><parameter>curlHandle</parameter></methodparam>
@@ -1156,7 +1155,7 @@
11561155
</listitem>
11571156
</varlistentry>
11581157
</variablelist>
1159-
このコールバックは、書き込んだバイト数を返すべきです
1158+
このコールバックは、書き込んだバイト数を返さなければなりません
11601159
cURL 7.7.2 以降で利用可能です。
11611160
</para>
11621161
</listitem>
@@ -1236,7 +1235,7 @@
12361235
</term>
12371236
<listitem>
12381237
<para>
1239-
A bitmask of HTTP authentication method(s) to use. The options are:
1238+
使用する HTTP 認証方法のビットマスクです。選択肢は以下のとおりです。
12401239
<simplelist type="inline">
12411240
<member><constant>CURLAUTH_BASIC</constant></member>
12421241
<member><constant>CURLAUTH_DIGEST</constant></member>
@@ -1245,13 +1244,13 @@
12451244
<member><constant>CURLAUTH_AWS_SIGV4</constant></member>
12461245
<member><constant>CURLAUTH_ANY</constant></member>
12471246
<member><constant>CURLAUTH_ANYSAFE</constant></member>
1248-
</simplelist>.
1249-
If more than one method is used, cURL will poll the server to see
1250-
what methods it supports and pick the best one.
1251-
<constant>CURLAUTH_ANY</constant> sets all bits. cURL will automatically select
1252-
the one it finds most secure.
1253-
<constant>CURLAUTH_ANYSAFE</constant> sets all bits except <constant>CURLAUTH_BASIC</constant>.
1254-
cURL will automatically select the one it finds most secure.
1247+
</simplelist>
1248+
2つ以上の認証方法を指定した場合、cURL はサーバがどの認証方法をサポートしているか
1249+
問い合わせ、最適なものを選択します。
1250+
<constant>CURLAUTH_ANY</constant> は全ビットをオンにします。cURL は自動的に
1251+
最も安全だと思われるものを選択します。
1252+
<constant>CURLAUTH_ANYSAFE</constant> は、<constant>CURLAUTH_BASIC</constant> を除いた全ビットをオンにします。
1253+
cURL は自動的に最も安全だと思われるものを選択します。
12551254
cURL 7.10.6 以降で利用可能です。
12561255
</para>
12571256
</listitem>
@@ -1390,8 +1389,8 @@
13901389
</term>
13911390
<listitem>
13921391
<para>
1393-
Set to a <type>string</type> with the name of the outgoing network interface to use.
1394-
This can be an interface name, an IP address or a host name.
1392+
使用する送信ネットワークインターフェースの名前を <type>string</type> で指定します。
1393+
インターフェース名、IP アドレス、ホスト名のいずれかが指定できます。
13951394
cURL 7.1.0 以降で利用可能です。
13961395
</para>
13971396
</listitem>
@@ -1963,7 +1962,7 @@
19631962
</term>
19641963
<listitem>
19651964
<para>
1966-
A <type>callable</type> with the following signature:
1965+
以下のシグニチャの <type>callable</type> を指定します。
19671966
<methodsynopsis>
19681967
<type>string</type><methodname><replaceable>callback</replaceable></methodname>
19691968
<methodparam><type>resource</type><parameter>curlHandle</parameter></methodparam>
@@ -1975,7 +1974,7 @@
19751974
<term><parameter>curlHandle</parameter></term>
19761975
<listitem>
19771976
<simpara>
1978-
The cURL handle.
1977+
cURL ハンドル。
19791978
</simpara>
19801979
</listitem>
19811980
</varlistentry>
@@ -2198,7 +2197,7 @@
21982197
</term>
21992198
<listitem>
22002199
<para>
2201-
A <type>callable</type> with the following signature:
2200+
以下のシグニチャの <type>callable</type> を指定します。
22022201
<methodsynopsis>
22032202
<type>int</type><methodname><replaceable>callback</replaceable></methodname>
22042203
<methodparam><type>resource</type><parameter>curlHandle</parameter></methodparam>
@@ -2212,7 +2211,7 @@
22122211
<term><parameter>curlHandle</parameter></term>
22132212
<listitem>
22142213
<simpara>
2215-
The cURL handle.
2214+
cURL ハンドル。
22162215
</simpara>
22172216
</listitem>
22182217
</varlistentry>
@@ -2918,7 +2917,7 @@
29182917
</term>
29192918
<listitem>
29202919
<para>
2921-
A <type>callable</type> with the following signature:
2920+
以下のシグニチャの <type>callable</type> を指定します。
29222921
<methodsynopsis>
29232922
<type>string</type><methodname><replaceable>callback</replaceable></methodname>
29242923
<methodparam><type>resource</type><parameter>curlHandle</parameter></methodparam>
@@ -2930,7 +2929,7 @@
29302929
<term><parameter>curlHandle</parameter></term>
29312930
<listitem>
29322931
<simpara>
2933-
The cURL handle.
2932+
cURL ハンドル。
29342933
</simpara>
29352934
</listitem>
29362935
</varlistentry>
@@ -3360,7 +3359,7 @@
33603359
<listitem>
33613360
<para>
33623361
A <type>callable</type> that will be called when SSH host key verification is needed.
3363-
The callback must have the following signature:
3362+
このコールバックは、以下のシグニチャである必要があります。
33643363
<methodsynopsis>
33653364
<type>int</type><methodname><replaceable>callback</replaceable></methodname>
33663365
<methodparam><type>resource</type><parameter>curlHandle</parameter></methodparam>
@@ -3373,7 +3372,7 @@
33733372
<term><parameter>curlHandle</parameter></term>
33743373
<listitem>
33753374
<simpara>
3376-
The cURL handle.
3375+
cURL ハンドル。
33773376
</simpara>
33783377
</listitem>
33793378
</varlistentry>
@@ -4226,8 +4225,8 @@
42264225
</term>
42274226
<listitem>
42284227
<para>
4229-
The URL to fetch. This can also be set when initializing a
4230-
session with <function>curl_init</function>.
4228+
取得する URL を指定します。この設定は <function>curl_init</function> で
4229+
セッションを初期化する際にも指定できます。
42314230
cURL 7.1.0 以降で利用可能です。
42324231
</para>
42334232
</listitem>
@@ -4256,8 +4255,7 @@
42564255
</term>
42574256
<listitem>
42584257
<para>
4259-
The contents of the <literal>User-Agent: </literal> header to be
4260-
used in a HTTP request.
4258+
HTTP リクエストで使われる <literal>User-Agent: </literal> ヘッダーの内容を指定します。
42614259
cURL 7.1.0 以降で利用可能です。
42624260
</para>
42634261
</listitem>
@@ -4281,9 +4279,8 @@
42814279
</term>
42824280
<listitem>
42834281
<para>
4284-
A username and password formatted as
4285-
<literal>[username]:[password]</literal> to use for the
4286-
connection.
4282+
<literal>[username]:[password]</literal> の形で
4283+
接続に用いるユーザー名とパスワードを指定します。
42874284
cURL 7.1.0 以降で利用可能です。
42884285
</para>
42894286
</listitem>
@@ -4327,7 +4324,7 @@
43274324
</term>
43284325
<listitem>
43294326
<para>
4330-
A <type>callable</type> with the following signature:
4327+
以下のシグニチャの <type>callable</type> を指定します。
43314328
<methodsynopsis>
43324329
<type>int</type><methodname><replaceable>callback</replaceable></methodname>
43334330
<methodparam><type>resource</type><parameter>curlHandle</parameter></methodparam>
@@ -4338,7 +4335,7 @@
43384335
<term><parameter>curlHandle</parameter></term>
43394336
<listitem>
43404337
<simpara>
4341-
The cURL handle.
4338+
cURL ハンドル。
43424339
</simpara>
43434340
</listitem>
43444341
</varlistentry>
@@ -4391,7 +4388,7 @@
43914388
</term>
43924389
<listitem>
43934390
<para>
4394-
A <type>callable</type> with the following signature:
4391+
以下のシグニチャの <type>callable</type> を指定します。
43954392
<methodsynopsis>
43964393
<type>int</type><methodname><replaceable>callback</replaceable></methodname>
43974394
<methodparam><type>resource</type><parameter>curlHandle</parameter></methodparam>
@@ -4405,7 +4402,7 @@
44054402
<term><parameter>curlHandle</parameter></term>
44064403
<listitem>
44074404
<simpara>
4408-
The cURL handle.
4405+
cURL ハンドル。
44094406
</simpara>
44104407
</listitem>
44114408
</varlistentry>
@@ -4455,11 +4452,11 @@
44554452
</term>
44564453
<listitem>
44574454
<para>
4458-
A timeout in seconds cURL will wait for a response from an
4459-
<acronym>FTP</acronym>, <acronym>SFTP</acronym>, <acronym>IMAP</acronym>,
4460-
<acronym>SCP</acronym>, <acronym>SMTP</acronym>, or a <acronym>POP3</acronym> server.
4461-
This option replaces the existing <constant>CURLOPT_FTP_RESPONSE_TIMEOUT</constant>
4462-
option which is deprecated in cURL 7.85.0.
4455+
サーバからのレスポンスを cURL が待機するタイムアウト秒数を指定します。この設定が使われるのは、
4456+
<acronym>FTP</acronym> サーバ、<acronym>SFTP</acronym> サーバ、<acronym>IMAP</acronym> サーバ、
4457+
<acronym>SCP</acronym> サーバ、<acronym>SMTP</acronym> サーバ、<acronym>POP3</acronym> サーバです。
4458+
このオプションは、cURL 7.85.0 で非推奨となった
4459+
<constant>CURLOPT_FTP_RESPONSE_TIMEOUT</constant> を置き換えます。
44634460
PHP 8.4.0 以降で利用可能です。
44644461
</para>
44654462
</listitem>
@@ -4503,7 +4500,7 @@
45034500
<term><parameter>curlHandle</parameter></term>
45044501
<listitem>
45054502
<simpara>
4506-
The cURL handle.
4503+
cURL ハンドル。
45074504
</simpara>
45084505
</listitem>
45094506
</varlistentry>
@@ -4563,7 +4560,7 @@
45634560
This option requires <constant>CURLOPT_VERBOSE</constant> option enabled.
45644561
A <type>callable</type> to replace the standard cURL verbose output.
45654562
This callback gets called during various stages of the request with verbose debug information.
4566-
The callback should match the following signature:
4563+
このコールバックは、以下のシグニチャである必要があります。
45674564
<methodsynopsis>
45684565
<type>void</type><methodname><replaceable>callback</replaceable></methodname>
45694566
<methodparam><type>CurlHandle</type><parameter>curlHandle</parameter></methodparam>
@@ -4575,7 +4572,7 @@
45754572
<term><parameter>curlHandle</parameter></term>
45764573
<listitem>
45774574
<simpara>
4578-
The cURL handle.
4575+
cURL ハンドル。
45794576
</simpara>
45804577
</listitem>
45814578
</varlistentry>

0 commit comments

Comments
 (0)