mirror of
https://github.com/libssh2/libssh2.git
synced 2026-10-24 03:48:58 +03:00
932 B
932 B
c, SPDX-License-Identifier, Title, Section, Source, See-also
| c | SPDX-License-Identifier | Title | Section | Source | See-also | |
|---|---|---|---|---|---|---|
| Copyright (C) The libssh2 project and its contributors. | BSD-3-Clause | libssh2_publickey_add | 3 | libssh2 |
|
NAME
libssh2_publickey_add - convenience macro for libssh2_publickey_add_ex(3) calls
SYNOPSIS
#include <libssh2.h>
int libssh2_publickey_add(LIBSSH2_PUBLICKEY *pkey,
const unsigned char *name,
const unsigned char *blob, unsigned long blob_len,
char overwrite, unsigned long num_attrs,
const libssh2_publickey_attribute attrs[]);
DESCRIPTION
This is a macro defined in a public libssh2 header file that is using the underlying function libssh2_publickey_add_ex(3).
RETURN VALUE
See libssh2_publickey_add_ex(3)
ERRORS
See libssh2_publickey_add_ex(3)
AVAILABILITY
Added in libssh2 0.12