libssh2_knownhost_del.3 (822B)
1.\" 2.\" Copyright (c) 2009 by Daniel Stenberg 3.\" 4.TH libssh2_knownhost_del 3 "28 May 2009" "libssh2" "libssh2" 5.SH NAME 6libssh2_knownhost_del - delete a known host entry 7.SH SYNOPSIS 8.nf 9#include <libssh2.h> 10 11int 12libssh2_knownhost_del(LIBSSH2_KNOWNHOSTS *hosts, 13 struct libssh2_knownhost *entry); 14.fi 15.SH DESCRIPTION 16Delete a known host entry from the collection of known hosts. 17 18\fIentry\fP is a pointer to a struct that you can extract with 19\fIlibssh2_knownhost_check(3)\fP or \fIlibssh2_knownhost_get(3)\fP. 20.SH RETURN VALUE 21Returns a regular libssh2 error code, where negative values are error codes 22and 0 indicates success. 23.SH AVAILABILITY 24Added in libssh2 1.2 25.SH SEE ALSO 26.BR libssh2_knownhost_init(3) 27.BR libssh2_knownhost_free(3) 28.BR libssh2_knownhost_add(3) 29.BR libssh2_knownhost_check(3)