libssh2_publickey_add_ex.3 (765B)
1.TH libssh2_publickey_add_ex 3 "1 Jun 2007" "libssh2" "libssh2" 2.SH NAME 3libssh2_publickey_add_ex - Add a public key entry 4.SH SYNOPSIS 5.nf 6#include <libssh2.h> 7 8int 9libssh2_publickey_add_ex(LIBSSH2_PUBLICKEY *pkey, 10 const unsigned char *name, unsigned long name_len, 11 const unsigned char *blob, unsigned long blob_len, 12 char overwrite, unsigned long num_attrs, 13 const libssh2_publickey_attribute attrs[]) 14.fi 15.SH DESCRIPTION 16TBD 17.SH RETURN VALUE 18Returns 0 on success, negative on failure. 19.SH ERRORS 20LIBSSH2_ERROR_BAD_USE 21LIBSSH2_ERROR_ALLOC, 22LIBSSH2_ERROR_EAGAIN 23LIBSSH2_ERROR_SOCKET_SEND, 24LIBSSH2_ERROR_SOCKET_TIMEOUT, 25LIBSSH2_ERROR_PUBLICKEY_PROTOCOL, 26.SH SEE ALSO