mirror of
				https://github.com/libssh2/libssh2.git
				synced 2025-10-30 12:05:34 +03:00 
			
		
		
		
	- All files have prominent copyright and SPDX identifier - If not embedded in the file, in the .reuse/dep5 file - All used licenses are in LICENSES/ (not shipped in tarballs) - A new REUSE CI job verify that all files are OK Assisted-by: Viktor Szakats Closes #1084
		
			
				
	
	
		
			29 lines
		
	
	
		
			867 B
		
	
	
	
		
			Groff
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			867 B
		
	
	
	
		
			Groff
		
	
	
	
	
	
| .\" Copyright (C) The libssh2 project and its contributors.
 | |
| .\" SPDX-License-Identifier: BSD-3-Clause
 | |
| .TH libssh2_publickey_add_ex 3 "1 Jun 2007" "libssh2" "libssh2"
 | |
| .SH NAME
 | |
| libssh2_publickey_add_ex - Add a public key entry
 | |
| .SH SYNOPSIS
 | |
| .nf
 | |
| #include <libssh2.h>
 | |
| 
 | |
| int
 | |
| libssh2_publickey_add_ex(LIBSSH2_PUBLICKEY *pkey,
 | |
|                          const unsigned char *name, unsigned long name_len,
 | |
|                          const unsigned char *blob, unsigned long blob_len,
 | |
|                          char overwrite, unsigned long num_attrs,
 | |
|                          const libssh2_publickey_attribute attrs[])
 | |
| .fi
 | |
| .SH DESCRIPTION
 | |
| TBD
 | |
| .SH RETURN VALUE
 | |
| Returns 0 on success, negative on failure.
 | |
| .SH ERRORS
 | |
| LIBSSH2_ERROR_BAD_USE
 | |
| LIBSSH2_ERROR_ALLOC,
 | |
| LIBSSH2_ERROR_EAGAIN
 | |
| LIBSSH2_ERROR_SOCKET_SEND,
 | |
| LIBSSH2_ERROR_SOCKET_TIMEOUT,
 | |
| LIBSSH2_ERROR_PUBLICKEY_PROTOCOL,
 | |
| .SH SEE ALSO
 |