1libssh2_publickey_add_ex(3)     libssh2 manual     libssh2_publickey_add_ex(3)
2
3
4

NAME

6       libssh2_publickey_add_ex - Add a public key entry
7

SYNOPSIS

9       #include <libssh2.h>
10
11       int  libssh2_publickey_add_ex(LIBSSH2_PUBLICKEY  *pkey,  const unsigned
12       char *name,
13                                unsigned long name_len,  const  unsigned  char
14       *blob,
15                                unsigned long blob_len, char overwrite,
16                                unsigned long num_attrs,
17                                const libssh2_publickey_attribute attrs[])
18
19

DESCRIPTION

21       TBD
22

RETURN VALUE

24       Returns 0 on success, negative on failure.
25

ERRORS

27       LIBSSH2_ERROR_BAD_USE  LIBSSH2_ERROR_ALLOC,  LIBSSH2_ERROR_EAGAIN  LIB‐
28       SSH2_ERROR_SOCKET_SEND,       LIBSSH2_ERROR_SOCKET_TIMEOUT,        LIB‐
29       SSH2_ERROR_PUBLICKEY_PROTOCOL,
30

SEE ALSO

32libssh2 0.15                      1 Jun 2007       libssh2_publickey_add_ex(3)
Impressum