]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
curl_easy_setopt.3: added the proto for CURLOPT_SSH_KNOWNHOSTS
authorDaniel Stenberg <daniel@haxx.se>
Mon, 5 May 2014 14:00:43 +0000 (16:00 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 5 May 2014 14:01:03 +0000 (16:01 +0200)
docs/libcurl/curl_easy_setopt.3

index a1748ab578032166985d82445c9ad2901b52b36b..bd66e0fa375c31d66f16c03bf4ad618777fe6272 100644 (file)
@@ -2793,6 +2793,14 @@ known_host matching has been done, to allow the application to act and decide
 for libcurl how to proceed. The callback will only be called if
 \fICURLOPT_SSH_KNOWNHOSTS\fP is also set.
 
+.nf
+int curl_sshkeycallback (CURL *easy,     /* easy handle */
+                         const struct curl_khkey *knownkey, /* known */
+                         const struct curl_khkey *foundkey, /* found */
+                         enum curl_khmatch, /* libcurl's view on the keys */
+                         void *clientp);
+.fi
+
 The curl_sshkeycallback function gets passed the CURL handle, the key from the
 known_hosts file, the key from the remote site, info from libcurl on the
 matching status and a custom pointer (set with \fICURLOPT_SSH_KEYDATA\fP). It