aboutsummaryrefslogtreecommitdiff
path: root/docs/libcurl/curl_easy_setopt.3
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2014-05-05 16:00:43 +0200
committerDaniel Stenberg <daniel@haxx.se>2014-05-05 16:01:03 +0200
commit9987106f53c829bf3fe9409d9ec291bb609531d1 (patch)
tree0631bbf755e8de5b8c95ea9f8ad213f34356933d /docs/libcurl/curl_easy_setopt.3
parente673f55c451772233344dde5a0923c21fc80caed (diff)
curl_easy_setopt.3: added the proto for CURLOPT_SSH_KNOWNHOSTS
Diffstat (limited to 'docs/libcurl/curl_easy_setopt.3')
-rw-r--r--docs/libcurl/curl_easy_setopt.38
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/libcurl/curl_easy_setopt.3 b/docs/libcurl/curl_easy_setopt.3
index a1748ab57..bd66e0fa3 100644
--- a/docs/libcurl/curl_easy_setopt.3
+++ b/docs/libcurl/curl_easy_setopt.3
@@ -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