Skip to content

Commit 601cf16

Browse files
committed
wip: 進捗率 43 % くらい
1 parent 0853e3a commit 601cf16

File tree

1 file changed

+40
-40
lines changed

1 file changed

+40
-40
lines changed

reference/curl/constants_curl_setopt.xml

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 9bbcd47e469474bbee6ab59061d49bbb9266692e Maintainer: nsfisis Status: working -->
3+
<!-- EN-Revision: 9bbcd47e469474bbee6ab59061d49bbb9266692e Maintainer: nsfisis Status: ready -->
44
<variablelist role="constant_list">
55
<title><function>curl_setopt</function></title>
66
<varlistentry xml:id="constant.curlopt-abstract-unix-socket">
@@ -1245,7 +1245,7 @@
12451245
<member><constant>CURLAUTH_ANY</constant></member>
12461246
<member><constant>CURLAUTH_ANYSAFE</constant></member>
12471247
</simplelist>
1248-
2つ以上の認証方法を指定した場合、cURL はサーバがどの認証方法をサポートしているか
1248+
2つ以上の認証方法を指定した場合、cURL はサーバーがどの認証方法をサポートしているか
12491249
問い合わせ、最適なものを選択します。
12501250
<constant>CURLAUTH_ANY</constant> は全ビットをオンにします。cURL は自動的に
12511251
最も安全だと思われるものを選択します。
@@ -3358,7 +3358,7 @@
33583358
</term>
33593359
<listitem>
33603360
<para>
3361-
A <type>callable</type> that will be called when SSH host key verification is needed.
3361+
SSH ホストキーの検証が必要になった場合に呼ばれる <type>callable</type> を指定します。
33623362
このコールバックは、以下のシグニチャである必要があります。
33633363
<methodsynopsis>
33643364
<type>int</type><methodname><replaceable>callback</replaceable></methodname>
@@ -3380,28 +3380,28 @@
33803380
<term><parameter>keyType</parameter></term>
33813381
<listitem>
33823382
<simpara>
3383-
One of the <constant>CURLKHTYPE_<replaceable>*</replaceable></constant> key types.
3383+
<constant>CURLKHTYPE_<replaceable>*</replaceable></constant> のうちいずれかのキーの種類。
33843384
</simpara>
33853385
</listitem>
33863386
</varlistentry>
33873387
<varlistentry>
33883388
<term><parameter>key</parameter></term>
33893389
<listitem>
33903390
<simpara>
3391-
The key to check.
3391+
チェックするキー。
33923392
</simpara>
33933393
</listitem>
33943394
</varlistentry>
33953395
<varlistentry>
33963396
<term><parameter>keyLength</parameter></term>
33973397
<listitem>
33983398
<simpara>
3399-
The length of the key in bytes.
3399+
キーのバイト長。
34003400
</simpara>
34013401
</listitem>
34023402
</varlistentry>
34033403
</variablelist>
3404-
This callback overrides <constant>CURLOPT_SSH_KNOWNHOSTS</constant>.
3404+
このコールバックは <constant>CURLOPT_SSH_KNOWNHOSTS</constant> を上書きします。
34053405
PHP 8.3.0 以降かつ cURL 7.84.0 以降で利用可能です。
34063406
</para>
34073407
</listitem>
@@ -4451,9 +4451,9 @@
44514451
</term>
44524452
<listitem>
44534453
<para>
4454-
サーバからのレスポンスを cURL が待機するタイムアウト秒数を指定します。この設定が使われるのは、
4455-
<acronym>FTP</acronym> サーバ、<acronym>SFTP</acronym> サーバ、<acronym>IMAP</acronym> サーバ
4456-
<acronym>SCP</acronym> サーバ、<acronym>SMTP</acronym> サーバ、<acronym>POP3</acronym> サーバです
4454+
サーバーからのレスポンスを cURL が待機するタイムアウト秒数を指定します。この設定が使われるのは、
4455+
<acronym>FTP</acronym> サーバー、<acronym>SFTP</acronym> サーバー、<acronym>IMAP</acronym> サーバー
4456+
<acronym>SCP</acronym> サーバー、<acronym>SMTP</acronym> サーバー、<acronym>POP3</acronym> サーバーです
44574457
このオプションは、cURL 7.85.0 で非推奨となった
44584458
<constant>CURLOPT_FTP_RESPONSE_TIMEOUT</constant> を置き換えます。
44594459
PHP 8.4.0 以降で利用可能です。
@@ -4481,11 +4481,11 @@
44814481
</term>
44824482
<listitem>
44834483
<para>
4484-
A <type>callable</type> with the following signature that gets called after the
4485-
connection is established, but before the request payload (for example, the
4486-
GET/POST/DELETE request of an HTTP connection) is sent, and can be used to abort
4487-
or allow the connection depending on the source and destination IP address and
4488-
port numbers:
4484+
以下のシグニチャを持つ <type>callable</type> を指定します。
4485+
このコールバックは、接続が確立され、リクエストペイロード
4486+
(例えば、HTTP 接続における GET/POST/DELETE リクエスト) が送られる前に呼ばれます。
4487+
送信元/送信先 IP アドレスやポート番号に応じて接続を中止したり許可したりするのに
4488+
用いることができます。
44894489
<methodsynopsis>
44904490
<type>int</type><methodname><replaceable>callback</replaceable></methodname>
44914491
<methodparam><type>CurlHandle</type><parameter>curlHandle</parameter></methodparam>
@@ -4507,43 +4507,43 @@
45074507
<term><parameter>destination_ip</parameter></term>
45084508
<listitem>
45094509
<simpara>
4510-
The primary IP of the remote server established with this connection.
4511-
For <acronym>FTP</acronym>, this is the IP for the control connection.
4512-
IPv6 addresses are represented without surrounding brackets.
4510+
この接続で確立されたリモートサーバーのプライマリー IP アドレス。
4511+
<acronym>FTP</acronym> の場合は、制御用接続の IP アドレスになります。
4512+
IPv6 のアドレスは、角括弧で囲わずに表現されます。
45134513
</simpara>
45144514
</listitem>
45154515
</varlistentry>
45164516
<varlistentry>
45174517
<term><parameter>local_ip</parameter></term>
45184518
<listitem>
45194519
<simpara>
4520-
The originating IP for this connection.
4521-
IPv6 addresses are represented without surrounding brackets.
4520+
この接続の送信元 IP アドレス。
4521+
IPv6 のアドレスは、角括弧で囲わずに表現されます。
45224522
</simpara>
45234523
</listitem>
45244524
</varlistentry>
45254525
<varlistentry>
45264526
<term><parameter>destination_port</parameter></term>
45274527
<listitem>
45284528
<simpara>
4529-
The primary port number on the remote server established with this connection.
4530-
For <acronym>FTP</acronym>, this is the port for the control connection.
4531-
This can be a <acronym>TCP</acronym> or a <acronym>UDP</acronym> port number depending on the protocol.
4529+
この接続で確立されたリモートサーバーのプライマリーポート番号。
4530+
<acronym>FTP</acronym> の場合は、制御用接続のポート番号になります。
4531+
プロトコルに応じて、<acronym>TCP</acronym> または <acronym>UDP</acronym> のポート番号になります。
45324532
</simpara>
45334533
</listitem>
45344534
</varlistentry>
45354535
<varlistentry>
45364536
<term><parameter>local_port</parameter></term>
45374537
<listitem>
45384538
<simpara>
4539-
The originating port number for this connection.
4540-
This can be a <acronym>TCP</acronym> or a <acronym>UDP</acronym> port number depending on the protocol.
4539+
この接続の送信元ポート番号。
4540+
プロトコルに応じて、<acronym>TCP</acronym> または <acronym>UDP</acronym> のポート番号になります。
45414541
</simpara>
45424542
</listitem>
45434543
</varlistentry>
45444544
</variablelist>
4545-
Return <constant>CURL_PREREQFUNC_OK</constant> to allow the request, or
4546-
<constant>CURL_PREREQFUNC_ABORT</constant> to abort the transfer.
4545+
リクエストを許可する場合は <constant>CURL_PREREQFUNC_OK</constant> を、
4546+
転送を中止する場合は <constant>CURL_PREREQFUNC_ABORT</constant> を返してください。
45474547
PHP 8.4.0 以降かつ cURL 7.80.0 以降で利用可能です。
45484548
</para>
45494549
</listitem>
@@ -4557,9 +4557,9 @@
45574557
<para>
45584558
PHP 8.4.0 以降で利用可能です。
45594559
このオプションを利用するには <constant>CURLOPT_VERBOSE</constant> オプションを有効にする必要があります。
4560-
A <type>callable</type> to replace the standard cURL verbose output.
4561-
This callback gets called during various stages of the request with verbose debug information.
4562-
このコールバックは、以下のシグニチャである必要があります
4560+
cURL 標準の詳細出力を置き換える <type>callable</type> を指定します。
4561+
このコールバックは、リクエストのさまざまな段階で詳細なデバッグ情報とともに呼び出されます。
4562+
これは以下のシグニチャである必要があります
45634563
<methodsynopsis>
45644564
<type>void</type><methodname><replaceable>callback</replaceable></methodname>
45654565
<methodparam><type>CurlHandle</type><parameter>curlHandle</parameter></methodparam>
@@ -4579,7 +4579,7 @@
45794579
<term><parameter>type</parameter></term>
45804580
<listitem>
45814581
<simpara>
4582-
One of the following constants indicating the type of the <parameter>data</parameter> value:
4582+
<parameter>data</parameter> の値の種類を表す以下の定数のいずれか:
45834583
</simpara>
45844584
<variablelist xml:id="constant.curl-debugfunction.constants" role="constant_list">
45854585
<varlistentry xml:id="constant.curlinfo-text">
@@ -4589,7 +4589,7 @@
45894589
</term>
45904590
<listitem>
45914591
<simpara>
4592-
Informational text.
4592+
なんらかの情報を表すテキスト。
45934593
</simpara>
45944594
</listitem>
45954595
</varlistentry>
@@ -4600,7 +4600,7 @@
46004600
</term>
46014601
<listitem>
46024602
<simpara>
4603-
Header (or header-like) data received from the peer.
4603+
相手から受信したヘッダー (あるいはヘッダーのような) データ。
46044604
</simpara>
46054605
</listitem>
46064606
</varlistentry>
@@ -4611,7 +4611,7 @@
46114611
</term>
46124612
<listitem>
46134613
<simpara>
4614-
Header (or header-like) data sent to the peer.
4614+
相手に送信したヘッダー (あるいはヘッダーのような) データ。
46154615
</simpara>
46164616
</listitem>
46174617
</varlistentry>
@@ -4622,8 +4622,8 @@
46224622
</term>
46234623
<listitem>
46244624
<simpara>
4625-
Unprocessed protocol data received from the peer.
4626-
Even if the data is encoded or compressed, it is not provided decoded nor decompressed to this callback.
4625+
相手から受信した未処理のプロトコルデータ。
4626+
データがエンコードされていたり圧縮されていたりしたとしても、デコードされたデータや展開されたデータがコールバックへ渡されることはありません。
46274627
</simpara>
46284628
</listitem>
46294629
</varlistentry>
@@ -4634,7 +4634,7 @@
46344634
</term>
46354635
<listitem>
46364636
<simpara>
4637-
Protocol data sent to the peer.
4637+
相手に送信したプロトコルデータ。
46384638
</simpara>
46394639
</listitem>
46404640
</varlistentry>
@@ -4645,7 +4645,7 @@
46454645
</term>
46464646
<listitem>
46474647
<simpara>
4648-
<acronym>SSL</acronym>/<acronym>TLS</acronym> (binary) data received from the peer.
4648+
相手から受信した <acronym>SSL</acronym>/<acronym>TLS</acronym> の (バイナリ) データ。
46494649
</simpara>
46504650
</listitem>
46514651
</varlistentry>
@@ -4656,7 +4656,7 @@
46564656
</term>
46574657
<listitem>
46584658
<simpara>
4659-
<acronym>SSL</acronym>/<acronym>TLS</acronym> (binary) data sent to the peer.
4659+
相手に送信した <acronym>SSL</acronym>/<acronym>TLS</acronym> の (バイナリ) データ。
46604660
</simpara>
46614661
</listitem>
46624662
</varlistentry>
@@ -4667,7 +4667,7 @@
46674667
<term><parameter>data</parameter></term>
46684668
<listitem>
46694669
<simpara>
4670-
Verbose debug data of the type indicate by the <parameter>type</parameter> parameter.
4670+
<parameter>type</parameter> パラメータで示された種類の詳細なデバッグデータ。
46714671
</simpara>
46724672
</listitem>
46734673
</varlistentry>

0 commit comments

Comments
 (0)