svn: /phpdoc/en/trunk/reference/curl/ constants.xml functions/curl-setopt.xml

From: Date: Wed, 15 Feb 2012 13:52:34 +0000
Subject: svn: /phpdoc/en/trunk/reference/curl/ constants.xml functions/curl-setopt.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-9601@lists.php.net to get a copy of this message
joris Wed, 15 Feb 2012 13:52:34 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=323229 Log: - Added SSH/SFTP/SCP related constants to the curl documentation Changed paths: U phpdoc/en/trunk/reference/curl/constants.xml U phpdoc/en/trunk/reference/curl/functions/curl-setopt.xml Modified: phpdoc/en/trunk/reference/curl/constants.xml =================================================================== --- phpdoc/en/trunk/reference/curl/constants.xml 2012-02-15 13:15:34 UTC (rev 323228) +++ phpdoc/en/trunk/reference/curl/constants.xml 2012-02-15 13:52:34 UTC (rev 323229) @@ -1064,7 +1064,7 @@ </listitem> </varlistentry> </variablelist> - + <variablelist> <varlistentry> <term> @@ -1208,6 +1208,7 @@ </listitem> </varlistentry> </variablelist> + <variablelist> <varlistentry> <term> @@ -3028,6 +3029,165 @@ </listitem> </varlistentry> </variablelist> + + <variablelist> + <varlistentry> + <term> + <constant>CURLOPT_KEYPASSWD</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + + </simpara> + </listitem> + </varlistentry> + </variablelist> + + <variablelist> + <varlistentry> + <term> + <constant>CURLOPT_SSH_AUTH_TYPES</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + + </simpara> + </listitem> + </varlistentry> + </variablelist> + <variablelist> + <varlistentry> + <term> + <constant>CURLOPT_SSH_HOST_PUBLIC_KEY_MD5</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + + </simpara> + </listitem> + </varlistentry> + </variablelist> + <variablelist> + <varlistentry> + <term> + <constant>CURLOPT_SSH_PRIVATE_KEYFILE</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + + </simpara> + </listitem> + </varlistentry> + </variablelist> + <variablelist> + <varlistentry> + <term> + <constant>CURLOPT_SSH_PUBLIC_KEYFILE</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + + </simpara> + </listitem> + </varlistentry> + </variablelist> + <variablelist> + <varlistentry> + <term> + <constant>CURLSSH_AUTH_ANY</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + + </simpara> + </listitem> + </varlistentry> + </variablelist> + <variablelist> + <varlistentry> + <term> + <constant>CURLSSH_AUTH_DEFAULT</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + + </simpara> + </listitem> + </varlistentry> + </variablelist> + <variablelist> + <varlistentry> + <term> + <constant>CURLSSH_AUTH_HOST</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + + </simpara> + </listitem> + </varlistentry> + </variablelist> + <variablelist> + <varlistentry> + <term> + <constant>CURLSSH_AUTH_KEYBOARD</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + + </simpara> + </listitem> + </varlistentry> + </variablelist> + <variablelist> + <varlistentry> + <term> + <constant>CURLSSH_AUTH_NONE</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + + </simpara> + </listitem> + </varlistentry> + </variablelist> + <variablelist> + <varlistentry> + <term> + <constant>CURLSSH_AUTH_PASSWORD</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + + </simpara> + </listitem> + </varlistentry> + </variablelist> + <variablelist> + <varlistentry> + <term> + <constant>CURLSSH_AUTH_PUBLICKEY</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + + </simpara> + </listitem> + </varlistentry> + </variablelist> + </appendix> <!-- Keep this comment at the end of the file Modified: phpdoc/en/trunk/reference/curl/functions/curl-setopt.xml =================================================================== --- phpdoc/en/trunk/reference/curl/functions/curl-setopt.xml 2012-02-15 13:15:34 UTC (rev 323228) +++ phpdoc/en/trunk/reference/curl/functions/curl-setopt.xml 2012-02-15 13:52:34 UTC (rev 323229) @@ -755,6 +755,20 @@ Added in cURL 7.15.5. Available since PHP 5.4.0. </entry> </row> + <row> + <entry valign="top"><constant>CURLOPT_SSH_AUTH_TYPES</constant></entry> + <entry valign="top"> + A bitmask consisting of one or more of + <constant>CURLSSH_AUTH_PUBLICKEY</constant>, + <constant>CURLSSH_AUTH_PASSWORD</constant>, + <constant>CURLSSH_AUTH_HOST</constant>, + <constant>CURLSSH_AUTH_KEYBOARD</constant>. Set to + <constant>CURLSSH_AUTH_ANY</constant> to let libcurl pick one. + </entry> + <entry valign="top"> + Added in cURL 7.16.1. + </entry> + </row> </tbody> </tgroup> </informaltable> @@ -890,6 +904,16 @@ <entry valign="top"> </entry> </row> + <row> + <entry valign="top"><constant>CURLOPT_KEYPASSWD</constant></entry> + <entry valign="top"> + The password required to use the <constant>CURLOPT_SSLKEY</constant> + or <constant>CURLOPT_SSH_PRIVATE_KEYFILE</constant> private key. + </entry> + <entry valign="top"> + Added in cURL 7.16.1. + </entry> + </row> <row> <entry valign="top"><constant>CURLOPT_KRB4LEVEL</constant></entry> <entry valign="top"> @@ -976,6 +1000,42 @@ <entry valign="top"> </entry> </row> + <row> + <entry valign="top"><constant>CURLOPT_SSH_HOST_PUBLIC_KEY_MD5</constant></entry> + <entry valign="top"> + A string containing 32 hexadecimal digits. The string should be the + MD5 checksum of the remote host's public key, and libcurl will reject + the connection to the host unless the md5sums match. + This option is only for SCP and SFTP transfers. + </entry> + <entry valign="top"> + Added in cURL 7.17.1. + </entry> + </row> + <row> + <entry valign="top"><constant>CURLOPT_SSH_PUBLIC_KEYFILE</constant></entry> + <entry valign="top"> + The file name for your public key. If not used, libcurl defaults to + $HOME/.ssh/id_dsa.pub if the HOME environment variable is set, + and just "id_dsa.pub" in the current directory if HOME is not set. + </entry> + <entry valign="top"> + Added in cURL 7.16.1. + </entry> + </row> + <row> + <entry valign="top"><constant>CURLOPT_SSH_PRIVATE_KEYFILE</constant></entry> + <entry valign="top"> + The file name for your private key. If not used, libcurl defaults to + $HOME/.ssh/id_dsa if the HOME environment variable is set, + and just "id_dsa" in the current directory if HOME is not set. + If the file is password-protected, set the password with + <constant>CURLOPT_KEYPASSWD</constant>. + </entry> + <entry valign="top"> + Added in cURL 7.16.1. + </entry> + </row> <row> <entry valign="top"><constant>CURLOPT_SSL_CIPHER_LIST</constant></entry> <entry valign="top">

« previous php.doc.cvs (#9601) next »