diff --git a/miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/lib/pkgconfig/libsolv.pc b/miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/lib/pkgconfig/libsolv.pc
new file mode 100644
index 0000000000000000000000000000000000000000..0e1d657ead888623b2a9f22d7d8a7e1ba3fc09df
--- /dev/null
+++ b/miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/lib/pkgconfig/libsolv.pc
@@ -0,0 +1,8 @@
+libdir=/home/task_176035639968744/conda-bld/libsolv-suite_1760357031527/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla/lib
+includedir=/home/task_176035639968744/conda-bld/libsolv-suite_1760357031527/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla/include
+
+Name: libsolv
+Description: Library for solving packages
+Version: 0.7.30
+Libs: -L${libdir} -lsolv
+Cflags: -I${includedir}
diff --git a/miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/lib/pkgconfig/libsolvext.pc b/miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/lib/pkgconfig/libsolvext.pc
new file mode 100644
index 0000000000000000000000000000000000000000..86ad20acd0589b4fff7994b45512c2270528b7db
--- /dev/null
+++ b/miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/lib/pkgconfig/libsolvext.pc
@@ -0,0 +1,9 @@
+libdir=/home/task_176035639968744/conda-bld/libsolv-suite_1760357031527/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla/lib
+includedir=/home/task_176035639968744/conda-bld/libsolv-suite_1760357031527/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla/include
+
+Name: libsolvext
+Description: Library for reading repositories
+Version: 0.7.30
+Requires: libsolv
+Libs: -L${libdir} -lsolvext
+Cflags: -I${includedir}
diff --git a/miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/cmake/Modules/FindLibSolv.cmake b/miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/cmake/Modules/FindLibSolv.cmake
new file mode 100644
index 0000000000000000000000000000000000000000..166e79dcd16202c369013027a81e6d47b4df481a
--- /dev/null
+++ b/miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/cmake/Modules/FindLibSolv.cmake
@@ -0,0 +1,95 @@
+# FindLibSolv - Find libsolv headers and libraries.
+#
+# Sample:
+#
+# SET( LibSolv_USE_STATIC_LIBS OFF )
+# FIND_PACKAGE( LibSolv REQUIRED ext )
+# IF( LibSolv_FOUND )
+# INCLUDE_DIRECTORIES( ${LibSolv_INCLUDE_DIRS} )
+# TARGET_LINK_LIBRARIES( ... ${LibSolv_LIBRARIES} )
+# ENDIF()
+#
+# Variables used by this module need to be set before calling find_package
+# (not that they are cmale cased like the modiulemane itself):
+#
+# LibSolv_USE_STATIC_LIBS Can be set to ON to force the use of the static
+# libsolv libraries. Defaults to OFF.
+#
+# Supported components:
+#
+# ext Also include libsolvext
+#
+# Variables provided by this module:
+#
+# LibSolv_FOUND Include dir, libsolv and all extra libraries
+# specified in the COMPONENTS list were found.
+#
+# LibSolv_LIBRARIES Link to these to use all the libraries you specified.
+#
+# LibSolv_INCLUDE_DIRS Include directories.
+#
+# For each component you specify in find_package(), the following (UPPER-CASE)
+# variables are set to pick and choose components instead of just using LibSolv_LIBRARIES:
+#
+# LIBSOLV_FOUND TRUE if libsolv was found
+# LIBSOLV_LIBRARY libsolv libraries
+#
+# LIBSOLV_${COMPONENT}_FOUND TRUE if the library component was found
+# LIBSOLV_${COMPONENT}_LIBRARY The libraries for the specified component
+#
+
+# Support preference of static libs by adjusting CMAKE_FIND_LIBRARY_SUFFIXES
+IF(LibSolv_USE_STATIC_LIBS)
+ SET( _ORIG_CMAKE_FIND_LIBRARY_SUFFIXES ${CMAKE_FIND_LIBRARY_SUFFIXES})
+ SET(CMAKE_FIND_LIBRARY_SUFFIXES .a )
+ENDIF()
+
+# Look for the header files
+UNSET(LibSolv_INCLUDE_DIRS CACHE)
+FIND_PATH(LibSolv_INCLUDE_DIRS NAMES solv/solvable.h)
+
+# Look for the core library
+UNSET(LIBSOLV_LIBRARY CACHE)
+FIND_LIBRARY(LIBSOLV_LIBRARY NAMES solv)
+FIND_PACKAGE_HANDLE_STANDARD_ARGS(LibSolv DEFAULT_MSG LIBSOLV_LIBRARY LibSolv_INCLUDE_DIRS)
+MARK_AS_ADVANCED(
+ LIBSOLV_FOUND
+ LIBSOLV_LIBRARY
+)
+
+# Prepare return values and collectiong more components
+SET(LibSolv_FOUND ${LIBSOLV_FOUND})
+SET(LibSolv_LIBRARIES ${LIBSOLV_LIBRARY})
+MARK_AS_ADVANCED(
+ LibSolv_FOUND
+ LibSolv_LIBRARIES
+ LibSolv_INCLUDE_DIRS
+)
+
+# Look for components
+FOREACH(COMPONENT ${LibSolv_FIND_COMPONENTS})
+ STRING(TOUPPER ${COMPONENT} _UPPERCOMPONENT)
+ UNSET(LIBSOLV_${_UPPERCOMPONENT}_LIBRARY CACHE)
+ FIND_LIBRARY(LIBSOLV_${_UPPERCOMPONENT}_LIBRARY NAMES solv${COMPONENT})
+ SET(LibSolv_${COMPONENT}_FIND_REQUIRED ${LibSolv_FIND_REQUIRED})
+ SET(LibSolv_${COMPONENT}_FIND_QUIETLY ${LibSolv_FIND_QUIETLY})
+ FIND_PACKAGE_HANDLE_STANDARD_ARGS(LibSolv_${COMPONENT} DEFAULT_MSG LIBSOLV_${_UPPERCOMPONENT}_LIBRARY)
+ MARK_AS_ADVANCED(
+ LIBSOLV_${_UPPERCOMPONENT}_FOUND
+ LIBSOLV_${_UPPERCOMPONENT}_LIBRARY
+ )
+ IF(LIBSOLV_${_UPPERCOMPONENT}_FOUND)
+ SET(LibSolv_LIBRARIES ${LibSolv_LIBRARIES} ${LIBSOLV_${_UPPERCOMPONENT}_LIBRARY})
+ ELSE()
+ SET(LibSolv_FOUND FALSE)
+ ENDIF()
+ENDFOREACH()
+
+# restore CMAKE_FIND_LIBRARY_SUFFIXES
+IF(Solv_USE_STATIC_LIBS)
+ SET(CMAKE_FIND_LIBRARY_SUFFIXES ${_ORIG_CMAKE_FIND_LIBRARY_SUFFIXES} )
+ENDIF()
+
+IF(LibSolv_FOUND AND NOT LibSolv_FIND_QUIETLY)
+ MESSAGE(STATUS "Found LibSolv: ${LibSolv_INCLUDE_DIRS} ${LibSolv_LIBRARIES}")
+ENDIF()
diff --git a/miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man1/dumpsolv.1 b/miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man1/dumpsolv.1
new file mode 100644
index 0000000000000000000000000000000000000000..eed45fef954f8489cdceab74bf80e1f34d48814c
--- /dev/null
+++ b/miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man1/dumpsolv.1
@@ -0,0 +1,45 @@
+'\" t
+.\" Title: dumpsolv
+.\" Author: [see the "Author" section]
+.\" Generator: DocBook XSL Stylesheets v1.78.1
+.\" Date: 07/25/2017
+.\" Manual: LIBSOLV
+.\" Source: libsolv
+.\" Language: English
+.\"
+.TH "DUMPSOLV" "1" "07/25/2017" "libsolv" "LIBSOLV"
+.\" -----------------------------------------------------------------
+.\" * Define some portability stuff
+.\" -----------------------------------------------------------------
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" http://bugs.debian.org/507673
+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.ie \n(.g .ds Aq \(aq
+.el .ds Aq '
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.\" -----------------------------------------------------------------
+.\" * MAIN CONTENT STARTS HERE *
+.\" -----------------------------------------------------------------
+.SH "NAME"
+dumpsolv \- print a solv file into a human readable format
+.SH "SYNOPSIS"
+.sp
+\fBdumpsolv\fR [\fIOPTIONS\fR] [\fIFILE\&.solv\fR]
+.SH "DESCRIPTION"
+.sp
+The dumpsolv tool reads a solv files and writes its contents to standard output\&. If no input file is given, it reads the solv file from standard input\&.
+.PP
+\fB\-j\fR
+.RS 4
+Write the contents in JSON format\&.
+.RE
+.SH "AUTHOR"
+.sp
+Michael Schroeder
diff --git a/miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man1/installcheck.1 b/miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man1/installcheck.1
new file mode 100644
index 0000000000000000000000000000000000000000..492bd801ee1ebba3b6df0d8fb555416a4160b7bc
--- /dev/null
+++ b/miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man1/installcheck.1
@@ -0,0 +1,42 @@
+'\" t
+.\" Title: installcheck
+.\" Author: [see the "Author" section]
+.\" Generator: DocBook XSL Stylesheets vsnapshot
+.\" Date: 09/14/2018
+.\" Manual: LIBSOLV
+.\" Source: libsolv
+.\" Language: English
+.\"
+.TH "INSTALLCHECK" "1" "09/14/2018" "libsolv" "LIBSOLV"
+.\" -----------------------------------------------------------------
+.\" * Define some portability stuff
+.\" -----------------------------------------------------------------
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" http://bugs.debian.org/507673
+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.ie \n(.g .ds Aq \(aq
+.el .ds Aq '
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.\" -----------------------------------------------------------------
+.\" * MAIN CONTENT STARTS HERE *
+.\" -----------------------------------------------------------------
+.SH "NAME"
+installcheck \- find out which packages cannot be installed
+.SH "SYNOPSIS"
+.sp
+\fBinstallcheck\fR \fIARCH\fR \fIREPO1\fR \fIREPO2\fR\&... \fB\-\-nocheck\fR \fINREPO1\fR \fINREPO2\fR\&...
+.SH "DESCRIPTION"
+.sp
+The installcheck tool checks if all packages in \fIREPO1\fR\&...\fIREPON\fR are installable\&. A package is installable if there is a set of packages from the repositories that satisfies its dependencies\&. The repositories after the \fB\-\-nocheck\fR option are only used for dependency resolving, but the tool does not check if the packages in them are installable\&.
+.sp
+A Repository can be a solv file, a rpmmd \fBprimary\&.xml\&.gz\fR file, a SUSE \fBpackages\fR or \fBpackages\&.gz\fR file, or a Debian \fBPackages\fR or \fBPackages\&.gz\fR file\&.
+.SH "AUTHOR"
+.sp
+Michael Schroeder
diff --git a/miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man1/mergesolv.1 b/miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man1/mergesolv.1
new file mode 100644
index 0000000000000000000000000000000000000000..65fd7562a53dd4a684cb6147d72413d0ac0c72ed
--- /dev/null
+++ b/miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man1/mergesolv.1
@@ -0,0 +1,45 @@
+'\" t
+.\" Title: mergesolv
+.\" Author: [see the "Author" section]
+.\" Generator: DocBook XSL Stylesheets vsnapshot
+.\" Date: 09/14/2018
+.\" Manual: LIBSOLV
+.\" Source: libsolv
+.\" Language: English
+.\"
+.TH "MERGESOLV" "1" "09/14/2018" "libsolv" "LIBSOLV"
+.\" -----------------------------------------------------------------
+.\" * Define some portability stuff
+.\" -----------------------------------------------------------------
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" http://bugs.debian.org/507673
+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.ie \n(.g .ds Aq \(aq
+.el .ds Aq '
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.\" -----------------------------------------------------------------
+.\" * MAIN CONTENT STARTS HERE *
+.\" -----------------------------------------------------------------
+.SH "NAME"
+mergesolv \- merge multiple files in solv format into a single one
+.SH "SYNOPSIS"
+.sp
+\fBmergesolv\fR [\fIOPTIONS\fR] \fIFILE1\&.solv\fR \fIFILE2\&.solv\fR \&...
+.SH "DESCRIPTION"
+.sp
+The mergesolv tool reads all solv files specified on the command line, and writes a merged version to standard output\&.
+.PP
+\fB\-X\fR
+.RS 4
+Autoexpand SUSE pattern and product provides into packages\&.
+.RE
+.SH "AUTHOR"
+.sp
+Michael Schroeder
diff --git a/miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man1/repo2solv.1 b/miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man1/repo2solv.1
new file mode 100644
index 0000000000000000000000000000000000000000..0a8c3cf1dac019fb497cb372b989c2b6ad74d12b
--- /dev/null
+++ b/miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man1/repo2solv.1
@@ -0,0 +1,79 @@
+'\" t
+.\" Title: repo2solv
+.\" Author: [see the "Author" section]
+.\" Generator: DocBook XSL Stylesheets vsnapshot
+.\" Date: 10/22/2018
+.\" Manual: LIBSOLV
+.\" Source: libsolv
+.\" Language: English
+.\"
+.TH "REPO2SOLV" "1" "10/22/2018" "libsolv" "LIBSOLV"
+.\" -----------------------------------------------------------------
+.\" * Define some portability stuff
+.\" -----------------------------------------------------------------
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" http://bugs.debian.org/507673
+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.ie \n(.g .ds Aq \(aq
+.el .ds Aq '
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.\" -----------------------------------------------------------------
+.\" * MAIN CONTENT STARTS HERE *
+.\" -----------------------------------------------------------------
+.SH "NAME"
+repo2solv \- convert repository metadata into a solv file
+.SH "SYNOPSIS"
+.sp
+\fBrepo2solv\fR [\fIOPTIONS\fR] \fIDIR\fR
+.SH "DESCRIPTION"
+.sp
+The repo2solv tool converts repository metadata in the directory \fIDIR\fR into a solv file written to standard output\&.
+.sp
+Note that repo2solv does not verify signatures or checksum, it is expected that this is done by the tool that downloads the metadata\&.
+.sp
+If no metadata is detected, repo2solv assumes the "plaindir" format and generates the solv file from all rpm files it finds\&.
+.PP
+\fB\-o\fR \fIOUTFILE\fR
+.RS 4
+Write the solv file to
+\fIOUTFILE\fR
+instead of stdout\&.
+.RE
+.PP
+\fB\-R\fR
+.RS 4
+Also recurse into subdirectories in "plaindir" mode\&.
+.RE
+.PP
+\fB\-F\fR
+.RS 4
+Put the complete filelist in the output\&. The default is to just include the "importent" parts of the file list, except for "plaindir" mode, which always includes all files\&.
+.RE
+.PP
+\fB\-C\fR
+.RS 4
+Add changelog entires to the output\&.
+.RE
+.PP
+\fB\-A\fR
+.RS 4
+Add appdata pseudo packages to the output\&. This is an experimental feature\&.
+.RE
+.PP
+\fB\-X\fR
+.RS 4
+Autoexpand SUSE pattern and product provides into packages\&.
+.RE
+.SH "SEE ALSO"
+.sp
+dumpsolv(1)
+.SH "AUTHOR"
+.sp
+Michael Schroeder
diff --git a/miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man1/solv.1 b/miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man1/solv.1
new file mode 100644
index 0000000000000000000000000000000000000000..aae1c6d50e9d997d8f5b08affee405fbdb2f890e
--- /dev/null
+++ b/miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man1/solv.1
@@ -0,0 +1,102 @@
+'\" t
+.\" Title: solv
+.\" Author: [see the "Author" section]
+.\" Generator: DocBook XSL Stylesheets vsnapshot
+.\" Date: 10/22/2018
+.\" Manual: LIBSOLV
+.\" Source: libsolv
+.\" Language: English
+.\"
+.TH "SOLV" "1" "10/22/2018" "libsolv" "LIBSOLV"
+.\" -----------------------------------------------------------------
+.\" * Define some portability stuff
+.\" -----------------------------------------------------------------
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" http://bugs.debian.org/507673
+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.ie \n(.g .ds Aq \(aq
+.el .ds Aq '
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.\" -----------------------------------------------------------------
+.\" * MAIN CONTENT STARTS HERE *
+.\" -----------------------------------------------------------------
+.SH "NAME"
+solv \- example package manager based on libsolv
+.SH "SYNOPSIS"
+.sp
+\fBsolv\fR install [OPTIONS] PKG\&...
+.sp
+\fBsolv\fR erase [OPTIONS] PKG\&...
+.sp
+\fBsolv\fR list [OPTIONS] PKG\&...
+.sp
+\fBsolv\fR info [OPTIONS] PKG\&...
+.sp
+\fBsolv\fR search [OPTIONS] STRING\&...
+.sp
+\fBsolv\fR verify [OPTIONS] PKG\&...
+.sp
+\fBsolv\fR update [OPTIONS] PKG\&...
+.sp
+\fBsolv\fR dist\-upgrade [OPTIONS] PKG\&...
+.sp
+\fBsolv\fR repolist [OPTIONS]
+.SH "DESCRIPTION"
+.sp
+The solv tool demos some features of the libsolv library\&. It is not meant to replace a real package manager, for example it does not cache downloaded packages\&.
+.PP
+\fB\-\-root\fR \fIROOTDIR\fR
+.RS 4
+Install packages using
+\fIROOTDIR\fR
+as root of the filesystem\&. This also means that the package database of
+\fIROOTDIR\fR
+will be used\&.
+.RE
+.PP
+\fB\-\-clean\fR
+.RS 4
+Also get rid of no longer needed packages when erasing, like libraries that have been used by the erased packages\&.
+.RE
+.PP
+\fB\-\-best\fR
+.RS 4
+Force usage of the best package (normally the one with the highest version) for install and update operations\&.
+.RE
+.PP
+\fB\-\-testcase\fR
+.RS 4
+Write a testcase after dependency solving\&.
+.RE
+.sp
+The following options can be used to filter the packages\&. If the same option is used multiple times, the result is ORed together\&.
+.PP
+\fB\-i\fR
+.RS 4
+Limit the packages to installed ones\&.
+.RE
+.PP
+\fB\-r\fR \fIREPO\fR
+.RS 4
+Limit the packages to the specified repository\&.
+.RE
+.PP
+\fB\-\-arch\fR \fIARCHITECTURE\fR
+.RS 4
+Limit the packages to the specified package architecture\&.
+.RE
+.PP
+\fB\-\-type\fR \fITYPE\fR
+.RS 4
+Limit the packages to the specified package type\&.
+.RE
+.SH "AUTHOR"
+.sp
+Michael Schroeder
diff --git a/miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man1/testsolv.1 b/miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man1/testsolv.1
new file mode 100644
index 0000000000000000000000000000000000000000..b487f27cb108e09a061fc53ac5322461efdf5ef6
--- /dev/null
+++ b/miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man1/testsolv.1
@@ -0,0 +1,62 @@
+'\" t
+.\" Title: testsolv
+.\" Author: [see the "Author" section]
+.\" Generator: DocBook XSL Stylesheets vsnapshot
+.\" Date: 03/25/2024
+.\" Manual: LIBSOLV
+.\" Source: libsolv
+.\" Language: English
+.\"
+.TH "TESTSOLV" "1" "03/25/2024" "libsolv" "LIBSOLV"
+.\" -----------------------------------------------------------------
+.\" * Define some portability stuff
+.\" -----------------------------------------------------------------
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" http://bugs.debian.org/507673
+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.ie \n(.g .ds Aq \(aq
+.el .ds Aq '
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.\" -----------------------------------------------------------------
+.\" * MAIN CONTENT STARTS HERE *
+.\" -----------------------------------------------------------------
+.SH "NAME"
+testsolv \- run a libsolv testcase through the solver
+.SH "SYNOPSIS"
+.sp
+\fBtestsolv\fR [\fIOPTIONS\fR] \fITESTCASE\fR
+.SH "DESCRIPTION"
+.sp
+The testsolv tools can be used to run a testcase\&. Testcases can either be manually created to test specific features, or they can be written by libsolv\(cqs testcase_write function\&. This is useful to evaluate bug reports about the solver\&.
+.PP
+\fB\-v\fR
+.RS 4
+Increase the debug level of the solver\&. This option can be specified multiple times to further increase the amount of debug data\&.
+.RE
+.PP
+\fB\-r\fR
+.RS 4
+Write the output in testcase format instead of human readable text\&. The output can then be used in the result section of the test case\&. If the
+\fB\-r\fR
+option is given twice, the output is formatted for verbatim inclusion\&.
+.RE
+.PP
+\fB\-l\fR \fIPKGSPEC\fR
+.RS 4
+Instead of running the solver, list packages in the repositories\&.
+.RE
+.PP
+\fB\-s\fR \fISOLUTIONSPEC\fR
+.RS 4
+This is used in the solver test suite to test the calculated solutions to encountered problems\&.
+.RE
+.SH "AUTHOR"
+.sp
+Michael Schroeder
diff --git a/miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man3/libsolv-bindings.3 b/miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man3/libsolv-bindings.3
new file mode 100644
index 0000000000000000000000000000000000000000..d5533d0d922d5c1bc40562f92b9b06bf78224688
--- /dev/null
+++ b/miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man3/libsolv-bindings.3
@@ -0,0 +1,7084 @@
+'\" t
+.\" Title: Libsolv-Bindings
+.\" Author: [see the "Author" section]
+.\" Generator: DocBook XSL Stylesheets vsnapshot
+.\" Date: 07/09/2024
+.\" Manual: LIBSOLV
+.\" Source: libsolv
+.\" Language: English
+.\"
+.TH "LIBSOLV\-BINDINGS" "3" "07/09/2024" "libsolv" "LIBSOLV"
+.\" -----------------------------------------------------------------
+.\" * Define some portability stuff
+.\" -----------------------------------------------------------------
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" http://bugs.debian.org/507673
+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.ie \n(.g .ds Aq \(aq
+.el .ds Aq '
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.\" -----------------------------------------------------------------
+.\" * MAIN CONTENT STARTS HERE *
+.\" -----------------------------------------------------------------
+.SH "NAME"
+libsolv-bindings \- access libsolv from perl/python/ruby
+.SH "DESCRIPTION"
+.sp
+Libsolv\(cqs language bindings offer an abstract, object orientated interface to the library\&. The supported languages are currently perl, python, ruby and tcl\&. All example code (except in the specifics sections, of course) lists first the \(lqC\-ish\(rq interface, then the syntax for perl, python, and ruby (in that order)\&.
+.SH "PERL SPECIFICS"
+.sp
+Libsolv\(cqs perl bindings can be loaded with the following statement:
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBuse solv\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Objects are either created by calling the new() method on a class or they are returned by calling methods on other objects\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+my \fI$pool\fR \fB= solv::Pool\->new()\fR;
+my \fI$repo\fR \fB=\fR \fI$pool\fR\fB\->add_repo("my_first_repo")\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Swig encapsulates all objects as tied hashes, thus the attributes can be accessed by treating the object as standard hash reference:
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fI$pool\fR\fB\->{appdata} = 42\fR;
+\fBprintf "appdata is %d\en",\fR \fI$pool\fR\fB\->{appdata}\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+A special exception to this are iterator objects, they are encapsulated as tied arrays so that it is possible to iterate with a for() statement:
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+my \fI$iter\fR \fB=\fR \fI$pool\fR\fB\->solvables_iter()\fR;
+\fBfor my\fR \fI$solvable\fR \fB(\fR\fI@$iter\fR\fB) { \&.\&.\&. }\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+As a downside of this approach, iterator objects cannot have attributes\&.
+.sp
+If an array needs to be passed to a method it is usually done by reference, if a method returns an array it returns it on the perl stack:
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+my \fI@problems\fR \fB=\fR \fI$solver\fR\fB\->solve(\e\fR\fI@jobs\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Due to a bug in swig, stringification does not work for libsolv\(cqs objects\&. Instead, you have to call the object\(cqs str() method\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBprint\fR \fI$dep\fR\fB\->str() \&. "\e\fR\fIn\fR\fB"\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Swig implements all constants as numeric variables (instead of the more natural constant subs), so don\(cqt forget the leading \(lq$\(rq when accessing a constant\&. Also do not forget to prepend the namespace of the constant:
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fI$pool\fR\fB\->set_flag($solv::Pool::POOL_FLAG_OBSOLETEUSESCOLORS, 1)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.SH "PYTHON SPECIFICS"
+.sp
+The python bindings can be loaded with:
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBimport solv\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Objects are either created by calling the constructor method for a class or they are returned by calling methods on other objects\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fIpool\fR \fB= solv\&.Pool()\fR
+\fIrepo\fR \fB=\fR \fIpool\fR\fB\&.add_repo("my_first_repo")\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Attributes can be accessed as usual:
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fIpool\fR\fB\&.appdata = 42\fR
+\fBprint "appdata is %d" % (\fR\fIpool\fR\fB\&.appdata)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Iterators also work as expected:
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBfor\fR \fIsolvable\fR \fBin\fR \fIpool\fR\fB\&.solvables_iter():\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Arrays are passed and returned as list objects:
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fIjobs\fR \fB= []\fR
+\fIproblems\fR \fB=\fR \fIsolver\fR\fB\&.solve(\fR\fIjobs\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The bindings define stringification for many classes, some also have a \fIrepr\fR method to ease debugging\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBprint\fR \fIdep\fR
+\fBprint repr(\fR\fIrepo\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Constants are attributes of the corresponding classes:
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fIpool\fR\fB\&.set_flag(solv\&.Pool\&.POOL_FLAG_OBSOLETEUSESCOLORS, 1)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.SH "RUBY SPECIFICS"
+.sp
+The ruby bindings can be loaded with:
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBrequire \*(Aqsolv\*(Aq\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Objects are either created by calling the new method on a class or they are returned by calling methods on other objects\&. Note that all classes start with an uppercase letter in ruby, so the class is called \(lqSolv\(rq\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fIpool\fR \fB= Solv::Pool\&.new\fR
+\fIrepo\fR \fB=\fR \fIpool\fR\fB\&.add_repo("my_first_repo")\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Attributes can be accessed as usual:
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fIpool\fR\fB\&.appdata = 42\fR
+\fBputs "appdata is #{\fR\fIpool\fR\fB\&.appdata}"\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Iterators also work as expected:
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBfor\fR \fIsolvable\fR \fBin\fR \fIpool\fR\fB\&.solvables_iter() do \&.\&.\&.\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Arrays are passed and returned as array objects:
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fIjobs\fR \fB= []\fR
+\fIproblems\fR \fB=\fR \fIsolver\fR\fB\&.solve(\fR\fIjobs\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Most classes define a to_s method, so objects can be easily stringified\&. Many also define an inspect() method\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBputs\fR \fIdep\fR
+\fBputs\fR \fIrepo\fR\fB\&.inspect\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Constants live in the namespace of the class they belong to:
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fIpool\fR\fB\&.set_flag(Solv::Pool::POOL_FLAG_OBSOLETEUSESCOLORS, 1)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Note that boolean methods have an added trailing \(lq?\(rq, to be consistent with other ruby modules:
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBputs "empty" if\fR \fIrepo\fR\fB\&.isempty?\fR
+.fi
+.if n \{\
+.RE
+.\}
+.SH "TCL SPECIFICS"
+.sp
+Libsolv\(cqs tcl bindings can be loaded with the following statement:
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBpackage require solv\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Objects are either created by calling class name prefixed with \(lqnew_\(rq, or they are returned by calling methods on other objects\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBset pool [solv::new_Pool]\fR
+\fBset repo [\fR\fI$pool\fR \fBadd_repo "my_first_repo"]\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Swig provides a \(lqcget\(rq method to read object attributes, and a \(lqconfigure\(rq method to write them:
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fI$pool\fR \fBconfigure \-appdata 42\fR
+\fBputs "appdata is [\fR\fI$pool\fR \fBcget \-appdata]"\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The tcl bindings provide a little helper to work with iterators in a foreach style:
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBset iter [\fR\fI$pool\fR \fBsolvables_iter]\fR
+\fBsolv::iter s\fR \fI$iter\fR \fB{ \&.\&.\&. }\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+libsolv\(cqs arrays are mapped to tcl\(cqs lists:
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBset jobs [list\fR \fI$job1 $job2\fR\fB]\fR
+\fBset problems [\fR\fI$solver\fR \fBsolve\fR \fI$jobs\fR\fB]\fR
+\fBputs "We have [llength\fR \fI$problems\fR\fB] problems\&.\&.\&."\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Stringification is done by calling the object\(cqs \(lqstr\(rq method\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBputs [\fR\fI$dep\fR \fBstr]\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+There is one exception: you have to use \(lqstringify\(rq for Datamatch objects, as swig reports a clash with the \(lqstr\(rq attribute\&.
+.sp
+Some classes also support a \(lq==\(rq method for equality tests, and a \(lq!=\(rq method\&.
+.sp
+Swig implements all constants as numeric variables, constants belonging to a libsolv class are prefixed with the class name:
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fI$pool\fR \fBset_flag\fR \fI$solv::Pool_POOL_FLAG_OBSOLETEUSESCOLORS\fR \fB1\fR
+\fBputs [\fR\fI$solvable\fR \fBlookup_str\fR \fI$solv::SOLVABLE_SUMMARY\fR\fB]\fR
+.fi
+.if n \{\
+.RE
+.\}
+.SH "LUA SPECIFICS"
+.sp
+Libsolv\(cqs lua bindings can be loaded with the following statement:
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBrequire("solv")\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Objects are either created by calling the constructor method for a class or they are returned by calling methods on other objects\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fIpool\fR \fB= solv\&.Pool()\fR
+\fIrepo\fR \fB=\fR \fIpool\fR\fB:add_repo("my_first_repo")\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Note the \(lq:method\(rq syntax that makes lua add the object as first argument\&.
+.sp
+Attributes can be accessed as usual:
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fIpool\fR\fB\&.appdata = 42\fR
+\fBprint("appdata is "\&.\&.pool\&.appdata)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Iterators also work as expected:
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBfor\fR \fIsolvable\fR \fBin\fR \fIpool\fR\fB\&.solvables do \&.\&.\&.\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Note that some functions return a table instead of an iterator, so you need to use \(lqipairs\(rq for iteration:
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBfor\fR \fI_\fR\fB,solvable\fR \fBin ipairs(\fR\fIjob\fR\fB\&.solvables()) do \&.\&.\&.\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Arrays are passed and returned as tables:
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fIjobs\fR \fB= {}\fR
+\fIproblems\fR \fB=\fR \fIsolver\fR\fB\&.solve(\fR\fIjobs\fR\fB)\fR
+\fBif #problems != 0 then \&.\&.\&.\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The bindings define a \(lq__tostring\(rq method for many classes:
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBprint(\fR\fIdep\fR\fB)\fR
+\fBprint(("Package: %\fR\fIs\fR\fB"):format(\fR\fIsolvable\fR\fB))\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Constants live in the namespace of the class they belong to:
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fIpool\fR\fB:set_flag(Solv\&.Pool\&.POOL_FLAG_OBSOLETEUSESCOLORS, 1)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.SH "THE SOLV CLASS"
+.sp
+This is the main namespace of the library, you cannot create objects of this type but it contains some useful constants\&.
+.SS "CONSTANTS"
+.sp
+Relational flag constants, the first three can be or\-ed together
+.PP
+\fBREL_LT\fR
+.RS 4
+the \(lqless than\(rq bit
+.RE
+.PP
+\fBREL_EQ\fR
+.RS 4
+the \(lqequals to\(rq bit
+.RE
+.PP
+\fBREL_GT\fR
+.RS 4
+the \(lqgreater than\(rq bit
+.RE
+.PP
+\fBREL_ARCH\fR
+.RS 4
+used for relations that describe an extra architecture filter, the version part of the relation is interpreted as architecture\&.
+.RE
+.sp
+Special Solvable Ids
+.PP
+\fBSOLVID_META\fR
+.RS 4
+Access the meta section of a repository or repodata area\&. This is like an extra Solvable that has the Id SOLVID_META\&.
+.RE
+.PP
+\fBSOLVID_POS\fR
+.RS 4
+Use the data position stored inside of the pool instead of accessing some solvable by Id\&. The bindings have the Datapos objects as an abstraction mechanism, so you most likely do not need this constant\&.
+.RE
+.sp
+Constant string Ids
+.PP
+\fBID_NULL\fR
+.RS 4
+Always zero
+.RE
+.PP
+\fBID_EMPTY\fR
+.RS 4
+Always one, describes the empty string
+.RE
+.PP
+\fBSOLVABLE_NAME\fR
+.RS 4
+The keyname Id of the name of the solvable\&.
+.RE
+.PP
+\fB\&...\fR
+.RS 4
+see the libsolv\-constantids manpage for a list of fixed Ids\&.
+.RE
+.SH "THE POOL CLASS"
+.sp
+The pool is libsolv\(cqs central resource manager\&. A pool consists of Solvables, Repositories, Dependencies, each indexed by Ids\&.
+.SS "CLASS METHODS"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBPool *Pool()\fR
+my \fI$pool\fR \fB= solv::Pool\->new()\fR;
+\fIpool\fR \fB= solv\&.Pool()\fR
+\fIpool\fR \fB= Solv::Pool\&.new()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Create a new pool instance\&. In most cases you just need one pool\&. Note that the returned object "owns" the pool, i\&.e\&. if the object is freed, the pool is also freed\&. You can use the disown method to break this ownership relation\&.
+.SS "ATTRIBUTES"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid *appdata;\fR /* read/write */
+\fI$pool\fR\fB\->{appdata}\fR
+\fIpool\fR\fB\&.appdata\fR
+\fIpool\fR\fB\&.appdata\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Application specific data that may be used in any way by the code using the pool\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSolvable solvables[];\fR /* read only */
+my \fI$solvable\fR \fB=\fR \fI$pool\fR\fB\->{solvables}\->[\fR\fI$solvid\fR\fB]\fR;
+\fIsolvable\fR \fB=\fR \fIpool\fR\fB\&.solvables[\fR\fIsolvid\fR\fB]\fR
+\fIsolvable\fR \fB=\fR \fIpool\fR\fB\&.solvables[\fR\fIsolvid\fR\fB]\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Look up a Solvable by its id\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBRepo repos[];\fR /* read only */
+my \fI$repo\fR \fB=\fR \fI$pool\fR\fB\->{repos}\->[\fR\fI$repoid\fR\fB]\fR;
+\fIrepo\fR \fB=\fR \fIpool\fR\fB\&.repos[\fR\fIrepoid\fR\fB]\fR
+\fIrepo\fR \fB=\fR \fIpool\fR\fB\&.repos[\fR\fIrepoid\fR\fB]\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Look up a Repository by its id\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBRepo *installed;\fR /* read/write */
+\fI$pool\fR\fB\->{installed} =\fR \fI$repo\fR;
+\fIpool\fR\fB\&.installed =\fR \fIrepo\fR
+\fIpool\fR\fB\&.installed =\fR \fIrepo\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Define which repository contains all the installed packages\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBconst char *errstr;\fR /* read only */
+my \fI$err\fR \fB=\fR \fI$pool\fR\fB\->{errstr}\fR;
+\fIerr\fR \fB=\fR \fIpool\fR\fB\&.errstr\fR
+\fIerr\fR \fB=\fR \fIpool\fR\fB\&.errstr\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return the last error string that was stored in the pool\&.
+.SS "CONSTANTS"
+.PP
+\fBPOOL_FLAG_PROMOTEEPOCH\fR
+.RS 4
+Promote the epoch of the providing dependency to the requesting dependency if it does not contain an epoch\&. Used at some time in old rpm versions, modern systems should never need this\&.
+.RE
+.PP
+\fBPOOL_FLAG_FORBIDSELFCONFLICTS\fR
+.RS 4
+Disallow the installation of packages that conflict with themselves\&. Debian always allows self\-conflicting packages, rpm used to forbid them but switched to also allowing them since rpm\-4\&.9\&.0\&.
+.RE
+.PP
+\fBPOOL_FLAG_OBSOLETEUSESPROVIDES\fR
+.RS 4
+Make obsolete type dependency match against provides instead of just the name and version of packages\&. Very old versions of rpm used the name/version, then it got switched to provides and later switched back again to just name/version\&.
+.RE
+.PP
+\fBPOOL_FLAG_IMPLICITOBSOLETEUSESPROVIDES\fR
+.RS 4
+An implicit obsoletes is the internal mechanism to remove the old package on an update\&. The default is to remove all packages with the same name, rpm\-5 switched to also removing packages providing the same name\&.
+.RE
+.PP
+\fBPOOL_FLAG_OBSOLETEUSESCOLORS\fR
+.RS 4
+Rpm\(cqs multilib implementation distinguishes between 32bit and 64bit packages (the terminology is that they have a different color)\&. If obsoleteusescolors is set, packages with different colors will not obsolete each other\&.
+.RE
+.PP
+\fBPOOL_FLAG_IMPLICITOBSOLETEUSESCOLORS\fR
+.RS 4
+Same as POOL_FLAG_OBSOLETEUSESCOLORS, but used to find out if packages of the same name can be installed in parallel\&. For current Fedora systems, POOL_FLAG_OBSOLETEUSESCOLORS should be false and POOL_FLAG_IMPLICITOBSOLETEUSESCOLORS should be true (this is the default if FEDORA is defined when libsolv is compiled)\&.
+.RE
+.PP
+\fBPOOL_FLAG_NOINSTALLEDOBSOLETES\fR
+.RS 4
+Since version 4\&.9\&.0 rpm considers the obsoletes of installed packages when checking for dependency conflicts, thus you may not install a package that is obsoleted by some other installed package unless you also erase the other package\&.
+.RE
+.PP
+\fBPOOL_FLAG_HAVEDISTEPOCH\fR
+.RS 4
+Mandriva added a new field called distepoch that gets checked in version comparison if the epoch/version/release of two packages are the same\&.
+.RE
+.PP
+\fBPOOL_FLAG_NOOBSOLETESMULTIVERSION\fR
+.RS 4
+If a package is installed in multiversion mode, rpm used to ignore both the implicit obsoletes and the obsolete dependency of a package\&. This was changed to ignoring just the implicit obsoletes, thus you may install multiple versions of the same name, but obsoleted packages still get removed\&.
+.RE
+.PP
+\fBPOOL_FLAG_ADDFILEPROVIDESFILTERED\fR
+.RS 4
+Make the addfileprovides method only add files from the standard locations (i\&.e\&. the \(lqbin\(rq and \(lqetc\(rq directories)\&. This is useful if you have only few packages that use non\-standard file dependencies, but you still want the fast speed that addfileprovides() generates\&.
+.RE
+.PP
+\fBPOOL_FLAG_NOWHATPROVIDESAUX\fR
+.RS 4
+Disable the creation of the auxiliary whatprovides index\&. This saves a bit of memory but also makes the whatprovides lookups a bit slower\&.
+.RE
+.PP
+\fBPOOL_FLAG_WHATPROVIDESWITHDISABLED\fR
+.RS 4
+Make the whatprovides index also contain disabled packages\&. This means that you do not need to recreate the index if a package is enabled/disabled, i\&.e\&. the pool→considered bitmap is changed\&.
+.RE
+.SS "METHODS"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid free()\fR
+\fI$pool\fR\fB\->free()\fR;
+\fIpool\fR\fB\&.free()\fR
+\fIpool\fR\fB\&.free()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Force a free of the pool\&. After this call, you must not access any object that still references the pool\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid disown()\fR
+\fI$pool\fR\fB\->disown()\fR;
+\fIpool\fR\fB\&.disown()\fR
+\fIpool\fR\fB\&.disown()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Break the ownership relation between the binding object and the pool\&. After this call, the pool will not get freed even if the object goes out of scope\&. This also means that you must manually call the free method to free the pool data\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid setdebuglevel(int\fR \fIlevel\fR\fB)\fR
+\fI$pool\fR\fB\->setdebuglevel(\fR\fI$level\fR\fB)\fR;
+\fIpool\fR\fB\&.setdebuglevel(\fR\fIlevel\fR\fB)\fR
+\fIpool\fR\fB\&.setdebuglevel(\fR\fIlevel\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Set the debug level\&. A value of zero means no debug output, the higher the value, the more output is generated\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBint set_flag(int\fR \fIflag\fR\fB, int\fR \fIvalue\fR\fB)\fR
+my \fI$oldvalue\fR \fB=\fR \fI$pool\fR\fB\->set_flag(\fR\fI$flag\fR\fB,\fR \fI$value\fR\fB)\fR;
+\fIoldvalue\fR \fB=\fR \fIpool\fR\fB\&.set_flag(\fR\fIflag\fR\fB,\fR \fIvalue\fR\fB)\fR
+\fIoldvalue\fR \fB=\fR \fIpool\fR\fB\&.set_flag(\fR\fIflag\fR\fB,\fR \fIvalue\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBint get_flag(int\fR \fIflag\fR\fB)\fR
+my \fI$value\fR \fB=\fR \fI$pool\fR\fB\->get_flag(\fR\fI$flag\fR\fB)\fR;
+\fIvalue\fR \fB=\fR \fIpool\fR\fB\&.get_flag(\fR\fIflag\fR\fB)\fR
+\fIvalue\fR \fB=\fR \fIpool\fR\fB\&.get_flag(\fR\fIflag\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Set/get a pool specific flag\&. The flags define how the system works, e\&.g\&. how the package manager treats obsoletes\&. The default flags should be sane for most applications, but in some cases you may want to tweak a flag, for example if you want to solve package dependencies for some other system\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid set_rootdir(const char *\fR\fIrootdir\fR\fB)\fR
+\fI$pool\fR\fB\->set_rootdir(\fR\fIrootdir\fR\fB)\fR;
+\fIpool\fR\fB\&.set_rootdir(\fR\fIrootdir\fR\fB)\fR
+\fIpool\fR\fB\&.set_rootdir(\fR\fIrootdir\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBconst char *get_rootdir()\fR
+my \fI$rootdir\fR \fB=\fR \fI$pool\fR\fB\->get_rootdir()\fR;
+\fIrootdir\fR \fB=\fR \fIpool\fR\fB\&.get_rootdir()\fR
+\fIrootdir\fR \fB=\fR \fIpool\fR\fB\&.get_rootdir()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Set/get the rootdir to use\&. This is useful if you want package management to work only in some directory, for example if you want to setup a chroot jail\&. Note that the rootdir will only be prepended to file paths if the \fBREPO_USE_ROOTDIR\fR flag is used\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid setarch(const char *\fR\fIarch\fR \fB= 0)\fR
+\fI$pool\fR\fB\->setarch()\fR;
+\fIpool\fR\fB\&.setarch()\fR
+\fIpool\fR\fB\&.setarch()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Set the architecture for your system\&. The architecture is used to determine which packages are installable\&. It defaults to the result of \(lquname \-m\(rq\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBRepo add_repo(const char *\fR\fIname\fR\fB)\fR
+\fI$repo\fR \fB=\fR \fI$pool\fR\fB\->add_repo(\fR\fI$name\fR\fB)\fR;
+\fIrepo\fR \fB=\fR \fIpool\fR\fB\&.add_repo(\fR\fIname\fR\fB)\fR
+\fIrepo\fR \fB=\fR \fIpool\fR\fB\&.add_repo(\fR\fIname\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Add a Repository with the specified name to the pool\&. The repository is empty on creation, use the repository methods to populate it with packages\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBRepoiterator repos_iter()\fR
+\fBfor my\fR \fI$repo\fR \fB(\fR\fI@\fR\fB{\fR\fI$pool\fR\fB\->repos_iter()})\fR
+\fBfor\fR \fIrepo\fR \fBin\fR \fIpool\fR\fB\&.repos_iter():\fR
+\fBfor\fR \fIrepo\fR \fBin\fR \fIpool\fR\fB\&.repos_iter()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Iterate over the existing repositories\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSolvableiterator solvables_iter()\fR
+\fBfor my\fR \fI$solvable\fR \fB(\fR\fI@\fR\fB{\fR\fI$pool\fR\fB\->solvables_iter()})\fR
+\fBfor\fR \fIsolvable\fR \fBin\fR \fIpool\fR\fB\&.solvables_iter():\fR
+\fBfor\fR \fIsolvable\fR \fBin\fR \fIpool\fR\fB\&.solvables_iter()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Iterate over the existing solvables\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBDep Dep(const char *\fR\fIstr\fR\fB, bool\fR \fIcreate\fR \fB= 1)\fR
+my \fI$dep\fR \fB=\fR \fI$pool\fR\fB\->Dep(\fR\fI$string\fR\fB)\fR;
+\fIdep\fR \fB=\fR \fIpool\fR\fB\&.Dep(\fR\fIstring\fR\fB)\fR
+\fIdep\fR \fB=\fR \fIpool\fR\fB\&.Dep(\fR\fIstring\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Create an object describing a string or dependency\&. If the string is currently not in the pool and \fIcreate\fR is false, \fBundef\fR/\fBNone\fR/\fBnil\fR is returned\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid addfileprovides()\fR
+\fI$pool\fR\fB\->addfileprovides()\fR;
+\fIpool\fR\fB\&.addfileprovides()\fR
+\fIpool\fR\fB\&.addfileprovides()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId *addfileprovides_queue()\fR
+my \fI@ids\fR \fB=\fR \fI$pool\fR\fB\->addfileprovides_queue()\fR;
+\fIids\fR \fB=\fR \fIpool\fR\fB\&.addfileprovides_queue()\fR
+\fIids\fR \fB=\fR \fIpool\fR\fB\&.addfileprovides_queue()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Some package managers like rpm allow dependencies on files contained in other packages\&. To allow libsolv to deal with those dependencies in an efficient way, you need to call the addfileprovides method after creating and reading all repositories\&. This method will scan all dependency for file names and then scan all packages for matching files\&. If a filename has been matched, it will be added to the provides list of the corresponding package\&. The addfileprovides_queue variant works the same way but returns an array containing all file dependencies\&. This information can be stored in the meta section of the repositories to speed up the next time the repository is loaded and addfileprovides is called\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid createwhatprovides()\fR
+\fI$pool\fR\fB\->createwhatprovides()\fR;
+\fIpool\fR\fB\&.createwhatprovides()\fR
+\fIpool\fR\fB\&.createwhatprovides()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Create the internal \(lqwhatprovides\(rq hash over all of the provides of all installable packages\&. This method must be called before doing any lookups on provides\&. It\(cqs encouraged to do it right after all repos are set up, usually right after the call to addfileprovides()\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSolvable *whatprovides(DepId\fR \fIdep\fR\fB)\fR
+my \fI@solvables\fR \fB=\fR \fI$pool\fR\fB\->whatprovides(\fR\fI$dep\fR\fB)\fR;
+\fIsolvables\fR \fB=\fR \fIpool\fR\fB\&.whatprovides(\fR\fIdep\fR\fB)\fR
+\fIsolvables\fR \fB=\fR \fIpool\fR\fB\&.whatprovides(\fR\fIdep\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return all solvables that provide the specified dependency\&. You can use either a Dep object or a simple Id as argument\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSolvable *best_solvables(Solvable *\fR\fIsolvables\fR\fB, int\fR \fIflags\fR \fB= 0)\fR
+my \fI@solvables\fR \fB=\fR \fI$pool\fR\fB\->best_solvables(\fR\fI$solvables\fR\fB)\fR;
+\fIsolvables\fR \fB=\fR \fIpool\fR\fB\&.best_solvables(\fR\fIsolvables\fR\fB)\fR
+\fIsolvables\fR \fB=\fR \fIpool\fR\fB\&.best_solvables(\fR\fIsolvables\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Filter list of solvables by repo priority, architecture and version\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSolvable *whatcontainsdep(Id\fR \fIkeyname\fR\fB, DepId\fR \fIdep\fR\fB, Id\fR \fImarker\fR \fB= \-1)\fR
+my \fI@solvables\fR \fB=\fR \fI$pool\fR\fB\->whatcontainsdep(\fR\fI$keyname\fR\fB,\fR \fI$dep\fR\fB)\fR;
+\fIsolvables\fR \fB=\fR \fIpool\fR\fB\&.whatcontainsdep(\fR\fIkeyname\fR\fB,\fR \fIdep\fR\fB)\fR
+\fIsolvables\fR \fB=\fR \fIpool\fR\fB\&.whatcontainsdep(\fR\fIkeyname\fR\fB,\fR \fIdep\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return all solvables for which keyname contains the dependency\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSolvable *whatmatchesdep(Id\fR \fIkeyname\fR\fB, DepId\fR \fIdep\fR\fB, Id\fR \fImarker\fR \fB= \-1)\fR
+my \fI@solvables\fR \fB=\fR \fI$pool\fR\fB\->whatmatchesdep(\fR\fI$keyname\fR\fB,\fR \fI$sdep\fR\fB)\fR;
+\fIsolvables\fR \fB=\fR \fIpool\fR\fB\&.whatmatchesdep(\fR\fIkeyname\fR\fB,\fR \fIdep\fR\fB)\fR
+\fIsolvables\fR \fB=\fR \fIpool\fR\fB\&.whatmatchesdep(\fR\fIkeyname\fR\fB,\fR \fIdep\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return all solvables that have dependencies in keyname that match the dependency\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSolvable *whatmatchessolvable(Id\fR \fIkeyname\fR\fB, Solvable\fR \fIsolvable\fR\fB, Id\fR \fImarker\fR \fB= \-1)\fR
+my \fI@solvables\fR \fB=\fR \fI$pool\fR\fB\->whatmatchessolvable(\fR\fI$keyname\fR\fB,\fR \fI$solvable\fR\fB)\fR;
+\fIsolvables\fR \fB=\fR \fIpool\fR\fB\&.whatmatchessolvable(\fR\fIkeyname\fR\fB,\fR \fIsolvable\fR\fB)\fR
+\fIsolvables\fR \fB=\fR \fIpool\fR\fB\&.whatmatchessolvable(\fR\fIkeyname\fR\fB,\fR \fIsolvable\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return all solvables that match package dependencies against solvable\(cqs provides\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId *matchprovidingids(const char *\fR\fImatch\fR\fB, int\fR \fIflags\fR\fB)\fR
+my \fI@ids\fR \fB=\fR \fI$pool\fR\fB\->matchprovidingids(\fR\fI$match\fR\fB,\fR \fI$flags\fR\fB)\fR;
+\fIids\fR \fB=\fR \fIpool\fR\fB\&.matchprovidingids(\fR\fImatch\fR\fB,\fR \fIflags\fR\fB)\fR
+\fIids\fR \fB=\fR \fIpool\fR\fB\&.matchprovidingids(\fR\fImatch\fR\fB,\fR \fIflags\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Search the names of all provides and return the ones matching the specified string\&. See the Dataiterator class for the allowed flags\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId towhatprovides(Id *\fR\fIids\fR\fB)\fR
+my \fI$offset\fR \fB=\fR \fI$pool\fR\fB\->towhatprovides(\e\fR\fI@ids\fR\fB)\fR;
+\fIoffset\fR \fB=\fR \fIpool\fR\fB\&.towhatprovides(\fR\fIids\fR\fB)\fR
+\fIoffset\fR \fB=\fR \fIpool\fR\fB\&.towhatprovides(\fR\fIids\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+\(lqInternalize\(rq an array containing Ids\&. The returned value can be used to create solver jobs working on a specific set of packages\&. See the Solver class for more information\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid set_namespaceproviders(DepId\fR \fIns\fR\fB, DepId\fR \fIevr\fR\fB, bool\fR \fIvalue\fR \fB= 1)\fR
+\fI$pool\fR\fB\->set_namespaceproviders(\fR\fI$ns\fR\fB,\fR \fI$evr\fR\fB, 1)\fR;
+\fIpool\fR\fB\&.set_namespaceproviders(\fR\fIns\fR\fB,\fR \fIevr\fR\fB,\fR \fITrue\fR\fB)\fR
+\fIpool\fR\fB\&.set_namespaceproviders(\fR\fIns\fR\fB,\fR \fIevr\fR\fB,\fR \fItrue\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Manually set a namespace provides entry in the whatprovides index\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid flush_namespaceproviders(DepId\fR \fIns\fR\fB, DepId\fR \fIevr\fR\fB)\fR
+\fI$pool\fR\fB\->flush_namespaceproviders(\fR\fI$ns\fR\fB,\fR \fI$evr\fR\fB)\fR;
+\fI$pool\fR\fB\&.flush_namespaceproviders(\fR\fIns\fR\fB,\fR \fIevr\fR\fB)\fR
+\fI$pool\fR\fB\&.flush_namespaceproviders(\fR\fIns\fR\fB,\fR \fIevr\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Flush the cache of all namespaceprovides matching the specified namespace dependency\&. You can use zero as a wildcard argument\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBbool isknownarch(DepId\fR \fIid\fR\fB)\fR
+my \fI$bool\fR \fB=\fR \fI$pool\fR\fB\->isknownarch(\fR\fI$id\fR\fB)\fR;
+\fIbool\fR \fB=\fR \fIpool\fR\fB\&.isknownarch(\fR\fIid\fR\fB)\fR
+\fIbool\fR \fB=\fR \fIpool\fR\fB\&.isknownarch?(\fR\fIid\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return true if the specified Id describes a known architecture\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSolver Solver()\fR
+my \fI$solver\fR \fB=\fR \fI$pool\fR\fB\->Solver()\fR;
+\fIsolver\fR \fB=\fR \fIpool\fR\fB\&.Solver()\fR
+\fIsolver\fR \fB=\fR \fIpool\fR\fB\&.Solver()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Create a new solver object\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBJob Job(int\fR \fIhow\fR\fB, Id\fR \fIwhat\fR\fB)\fR
+my \fI$job\fR \fB=\fR \fI$pool\fR\fB\->Job(\fR\fI$how\fR\fB,\fR \fI$what\fR\fB)\fR;
+\fIjob\fR \fB=\fR \fIpool\fR\fB\&.Job(\fR\fIhow\fR\fB,\fR \fIwhat\fR\fB)\fR
+\fIjob\fR \fB=\fR \fIpool\fR\fB\&.Job(\fR\fIhow\fR\fB,\fR \fIwhat\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Create a new Job object\&. Kind of low level, in most cases you would instead use a Selection or Dep job constructor\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSelection Selection()\fR
+my \fI$sel\fR \fB=\fR \fI$pool\fR\fB\->Selection()\fR;
+\fIsel\fR \fB=\fR \fIpool\fR\fB\&.Selection()\fR
+\fIsel\fR \fB=\fR \fIpool\fR\fB\&.Selection()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Create an empty selection\&. Useful as a starting point for merging other selections\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSelection Selection_all()\fR
+my \fI$sel\fR \fB=\fR \fI$pool\fR\fB\->Selection_all()\fR;
+\fIsel\fR \fB=\fR \fIpool\fR\fB\&.Selection_all()\fR
+\fIsel\fR \fB=\fR \fIpool\fR\fB\&.Selection_all()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Create a selection containing all packages\&. Useful as starting point for intersecting other selections or for update/distupgrade jobs\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSelection select(const char *\fR\fIname\fR\fB, int\fR \fIflags\fR\fB)\fR
+my \fI$sel\fR \fB=\fR \fI$pool\fR\fB\->select(\fR\fI$name\fR\fB,\fR \fI$flags\fR\fB)\fR;
+\fIsel\fR \fB=\fR \fIpool\fR\fB\&.select(\fR\fIname\fR\fB,\fR \fIflags\fR\fB)\fR
+\fIsel\fR \fB=\fR \fIpool\fR\fB\&.select(\fR\fIname\fR\fB,\fR \fIflags\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Create a selection by matching packages against the specified string\&. See the Selection class for a list of flags and how to create solver jobs from a selection\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSelection matchdeps(const char *\fR\fIname\fR\fB, int\fR \fIflags\fR\fB, Id\fR \fIkeyname\fR\fB, Id\fR \fImarker\fR \fB= \-1)\fR
+my \fI$sel\fR \fB=\fR \fI$pool\fR\fB\->matchdeps(\fR\fI$name\fR\fB,\fR \fI$flags\fR\fB,\fR \fI$keyname\fR\fB)\fR;
+\fIsel\fR \fB=\fR \fIpool\fR\fB\&.matchdeps(\fR\fIname\fR\fB,\fR \fIflags\fR\fB,\fR \fIkeyname\fR\fB)\fR
+\fIsel\fR \fB=\fR \fIpool\fR\fB\&.matchdeps(\fR\fIname\fR\fB,\fR \fIflags\fR\fB,\fR \fIkeyname\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Create a selection by matching package dependencies against the specified string\&. This can be used if you want to match other dependency types than \(lqprovides\(rq\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSelection matchdepid(DepId\fR \fIdep\fR\fB, int\fR \fIflags\fR\fB, Id\fR \fIkeyname\fR\fB, Id\fR \fImarker\fR \fB= \-1)\fR
+my \fI$sel\fR \fB=\fR \fI$pool\fR\fB\->matchdepid(\fR\fI$dep\fR\fB,\fR \fI$flags\fR\fB,\fR \fI$keyname\fR\fB)\fR;
+\fIsel\fR \fB=\fR \fIpool\fR\fB\&.matchdepid(\fR\fIdep\fR\fB,\fR \fIflags\fR\fB,\fR \fIkeyname\fR\fB)\fR
+\fIsel\fR \fB=\fR \fIpool\fR\fB\&.matchdepid(\fR\fIdep\fR\fB,\fR \fIflags\fR\fB,\fR \fIkeyname\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Create a selection by matching package dependencies against the specified dependency\&. This may be faster than matchdeps and also works with complex dependencies\&. The downside is that you cannot use globs or case insensitive matching\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSelection matchsolvable(Solvable\fR \fIsolvable\fR\fB, int\fR \fIflags\fR\fB, Id\fR \fIkeyname\fR\fB, Id\fR \fImarker\fR \fB= \-1)\fR
+my \fI$sel\fR \fB=\fR \fI$pool\fR\fB\->matchsolvable(\fR\fI$solvable\fR\fB,\fR \fI$flags\fR\fB,\fR \fI$keyname\fR\fB)\fR;
+\fIsel\fR \fB=\fR \fIpool\fR\fB\&.matchsolvable(\fR\fIsolvable\fR\fB,\fR \fIflags\fR\fB,\fR \fIkeyname\fR\fB)\fR
+\fIsel\fR \fB=\fR \fIpool\fR\fB\&.matchsolvable(\fR\fIsolvable\fR\fB,\fR \fIflags\fR\fB,\fR \fIkeyname\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Create a selection by matching package dependencies against the specified solvable\(cqs provides\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid setpooljobs(Jobs *\fR\fIjobs\fR\fB)\fR
+\fI$pool\fR\fB\->setpooljobs(\e\fR\fI@jobs\fR\fB)\fR;
+\fIpool\fR\fB\&.setpooljobs(\fR\fIjobs\fR\fB)\fR
+\fIpool\fR\fB\&.setpooljobs(\fR\fIjobs\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBJob *getpooljobs()\fR
+\fI@jobs\fR \fB=\fR \fI$pool\fR\fB\->getpooljobs()\fR;
+\fIjobs\fR \fB=\fR \fIpool\fR\fB\&.getpooljobs()\fR
+\fIjobs\fR \fB=\fR \fIpool\fR\fB\&.getpooljobs()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Get/Set fixed jobs stored in the pool\&. Those jobs are automatically appended to all solver jobs, they are meant for fixed configurations like which packages can be multiversion installed, which packages were userinstalled, or which packages must not be erased\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid set_loadcallback(Callable *\fR\fIcallback\fR\fB)\fR
+\fI$pool\fR\fB\->setloadcallback(\e\fR\fI&callbackfunction\fR\fB)\fR;
+\fIpool\fR\fB\&.setloadcallback(\fR\fIcallbackfunction\fR\fB)\fR
+\fIpool\fR\fB\&.setloadcallback { |\fR\fIrepodata\fR\fB| \&.\&.\&. }\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Set the callback function called when repository metadata needs to be loaded on demand\&. To make use of this feature, you need to create repodata stubs that tell the library which data is available but not loaded\&. If later on the data needs to be accessed, the callback function is called with a repodata argument\&. You can then load the data (maybe fetching it first from a remote server)\&. The callback should return true if the data has been made available\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+/* bindings only */
+\fI$pool\fR\fB\->appdata_disown()\fR
+\fIpool\fR\fB\&.appdata_disown()\fR
+\fIpool\fR\fB\&.appdata_disown()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Decrement the reference count of the appdata object\&. This can be used to break circular references (e\&.g\&. if the pool\(cqs appdata value points to some meta data structure that contains a pool handle)\&. If used incorrectly, this method can lead to application crashes, so beware\&. (This method is a no\-op for ruby and tcl\&.)
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId *get_considered_list()\fR
+my \fI@ids\fR \fB=\fR \fI$pool\fR\fB\->get_considered_list()\fR;
+\fIids\fR \fB=\fR \fIpool\fR\fB\&.get_considered_list()\fR
+\fIids\fR \fB=\fR \fIpool\fR\fB\&.get_considered_list()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid set_considered_list(Id *\fR\fIids\fR\fB)\fR
+\fI$pool\fR\fB\->set_considered_list(\e\fR\fI@ids\fR\fB)\fR;
+\fIpool\fR\fB\&.set_considered_list(\fR\fIids\fR\fB)\fR
+\fIpool\fR\fB\&.set_considered_list(\fR\fIids\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Get/set the list of solvables that are eligible for installation\&. Note that you need to recreate the whatprovides hash after changing the list\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId *get_disabled_list()\fR
+my \fI@ids\fR \fB=\fR \fI$pool\fR\fB\->get_disabled_list()\fR;
+\fIids\fR \fB=\fR \fIpool\fR\fB\&.get_disabled_list()\fR
+\fIids\fR \fB=\fR \fIpool\fR\fB\&.get_disabled_list()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid set_disabled_list(Id *\fR\fIids\fR\fB)\fR
+\fI$pool\fR\fB\->set_disabled_list(\e\fR\fI@ids\fR\fB)\fR;
+\fIpool\fR\fB\&.set_disabled_list(\fR\fIids\fR\fB)\fR
+\fIpool\fR\fB\&.set_disabled_list(\fR\fIids\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Get/set the list of solvables that are not eligible for installation\&. This is basically the inverse of the \(lqconsidered\(rq methods above, i\&.e\&. calling \(lqset_disabled_list()\(rq with an empty list will make all solvables eligible for installation\&. Note you need to recreate the whatprovides hash after changing the list\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBconst char *solvableset2str(Solvable *\fR\fIsolvables\fR\fB)\fR
+my \fI$str\fR \fB=\fR \fI$pool\fR\fB\->solvableset2str(\fR\fI$solvables\fR\fB)\fR;
+\fIstr\fR \fB=\fR \fIpool\fR\fB\&.solvableset2str(\fR\fIsolvables\fR\fB)\fR
+\fIstr\fR \fB=\fR \fIpool\fR\fB\&.solvableset2str(\fR\fIsolvables\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return a string describing a list of solvables\&. The method tries to reduce the output by using version ranges if possible\&.
+.SS "DATA RETRIEVAL METHODS"
+.sp
+In the following functions, the \fIkeyname\fR argument describes what to retrieve\&. For the standard cases you can use the available Id constants\&. For example,
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fB$solv::SOLVABLE_SUMMARY\fR
+\fBsolv\&.SOLVABLE_SUMMARY\fR
+\fBSolv::SOLVABLE_SUMMARY\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+selects the \(lqSummary\(rq entry of a solvable\&. The \fIsolvid\fR argument selects the desired solvable by Id\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBconst char *lookup_str(Id\fR \fIsolvid\fR\fB, Id\fR \fIkeyname\fR\fB)\fR
+my \fI$string\fR \fB=\fR \fI$pool\fR\fB\->lookup_str(\fR\fI$solvid\fR\fB,\fR \fI$keyname\fR\fB)\fR;
+\fIstring\fR \fB=\fR \fIpool\fR\fB\&.lookup_str(\fR\fIsolvid\fR\fB,\fR \fIkeyname\fR\fB)\fR
+\fIstring\fR \fB=\fR \fIpool\fR\fB\&.lookup_str(\fR\fIsolvid\fR\fB,\fR \fIkeyname\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId lookup_id(Id\fR \fIsolvid\fR\fB, Id\fR \fIkeyname\fR\fB)\fR
+my \fI$id\fR \fB=\fR \fI$pool\fR\fB\->lookup_id(\fR\fI$solvid\fR\fB,\fR \fI$keyname\fR\fB)\fR;
+\fIid\fR \fB=\fR \fIpool\fR\fB\&.lookup_id(\fR\fIsolvid\fR\fB,\fR \fIkeyname\fR\fB)\fR
+\fIid\fR \fB=\fR \fIpool\fR\fB\&.lookup_id(\fR\fIsolvid\fR\fB,\fR \fIkeyname\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBunsigned long long lookup_num(Id\fR \fIsolvid\fR\fB, Id\fR \fIkeyname\fR\fB, unsigned long long\fR \fInotfound\fR \fB= 0)\fR
+my \fI$num\fR \fB=\fR \fI$pool\fR\fB\->lookup_num(\fR\fI$solvid\fR\fB,\fR \fI$keyname\fR\fB)\fR;
+\fInum\fR \fB=\fR \fIpool\fR\fB\&.lookup_num(\fR\fIsolvid\fR\fB,\fR \fIkeyname\fR\fB)\fR
+\fInum\fR \fB=\fR \fIpool\fR\fB\&.lookup_num(\fR\fIsolvid\fR\fB,\fR \fIkeyname\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBbool lookup_void(Id\fR \fIsolvid\fR\fB, Id\fR \fIkeyname\fR\fB)\fR
+my \fI$bool\fR \fB=\fR \fI$pool\fR\fB\->lookup_void(\fR\fI$solvid\fR\fB,\fR \fI$keyname\fR\fB)\fR;
+\fIbool\fR \fB=\fR \fIpool\fR\fB\&.lookup_void(\fR\fIsolvid\fR\fB,\fR \fIkeyname\fR\fB)\fR
+\fIbool\fR \fB=\fR \fIpool\fR\fB\&.lookup_void(\fR\fIsolvid\fR\fB,\fR \fIkeyname\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId *lookup_idarray(Id\fR \fIsolvid\fR\fB, Id\fR \fIkeyname\fR\fB)\fR
+my \fI@ids\fR \fB=\fR \fI$pool\fR\fB\->lookup_idarray(\fR\fI$solvid\fR\fB,\fR \fI$keyname\fR\fB)\fR;
+\fIids\fR \fB=\fR \fIpool\fR\fB\&.lookup_idarray(\fR\fIsolvid\fR\fB,\fR \fIkeyname\fR\fB)\fR
+\fIids\fR \fB=\fR \fIpool\fR\fB\&.lookup_idarray(\fR\fIsolvid\fR\fB,\fR \fIkeyname\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBChksum lookup_checksum(Id\fR \fIsolvid\fR\fB, Id\fR \fIkeyname\fR\fB)\fR
+my \fI$chksum\fR \fB=\fR \fI$pool\fR\fB\->lookup_checksum(\fR\fI$solvid\fR\fB,\fR \fI$keyname\fR\fB)\fR;
+\fIchksum\fR \fB=\fR \fIpool\fR\fB\&.lookup_checksum(\fR\fIsolvid\fR\fB,\fR \fIkeyname\fR\fB)\fR
+\fIchksum\fR \fB=\fR \fIpool\fR\fB\&.lookup_checksum(\fR\fIsolvid\fR\fB,\fR \fIkeyname\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Lookup functions\&. Return the data element stored in the specified solvable\&. You should probably use the methods of the Solvable class instead\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBDataiterator Dataiterator(Id\fR \fIkeyname\fR\fB, const char *\fR\fImatch\fR \fB= 0, int\fR \fIflags\fR \fB= 0)\fR
+my \fI$di\fR \fB=\fR \fI$pool\fR\fB\->Dataiterator(\fR\fI$keyname\fR\fB,\fR \fI$match\fR\fB,\fR \fI$flags\fR\fB)\fR;
+\fIdi\fR \fB=\fR \fIpool\fR\fB\&.Dataiterator(\fR\fIkeyname\fR\fB,\fR \fImatch\fR\fB,\fR \fIflags\fR\fB)\fR
+\fIdi\fR \fB=\fR \fIpool\fR\fB\&.Dataiterator(\fR\fIkeyname\fR\fB,\fR \fImatch\fR\fB,\fR \fIflags\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBDataiterator Dataiterator_solvid(Id\fR \fIsolvid\fR\fB, Id\fR \fIkeyname\fR\fB, const char *\fR\fImatch\fR \fB= 0, int\fR \fIflags\fR \fB= 0)\fR
+my \fI$di\fR \fB=\fR \fI$pool\fR\fB\->Dataiterator(\fR\fI$solvid\fR\fB,\fR \fI$keyname\fR\fB,\fR \fI$match\fR\fB,\fR \fI$flags\fR\fB)\fR;
+\fIdi\fR \fB=\fR \fIpool\fR\fB\&.Dataiterator(\fR\fIsolvid\fR\fB,\fR \fIkeyname\fR\fB,\fR \fImatch\fR\fB,\fR \fIflags\fR\fB)\fR
+\fIdi\fR \fB=\fR \fIpool\fR\fB\&.Dataiterator(\fR\fIsolvid\fR\fB,\fR \fIkeyname\fR\fB,\fR \fImatch\fR\fB,\fR \fIflags\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBfor my\fR \fI$d\fR \fB(\fR\fI@$di\fR\fB)\fR
+\fBfor\fR \fId\fR \fBin\fR \fIdi\fR\fB:\fR
+\fBfor\fR \fId\fR \fBin\fR \fIdi\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Iterate over the matching data elements\&. See the Dataiterator class for more information\&. The Dataiterator method iterates over all solvables in the pool, whereas the Dataiterator_solvid only iterates over the specified solvable\&.
+.SS "ID METHODS"
+.sp
+The following methods deal with Ids, i\&.e\&. integers representing objects in the pool\&. They are considered \(lqlow level\(rq, in most cases you would not use them but instead the object orientated methods\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBRepo id2repo(Id\fR \fIid\fR\fB)\fR
+\fI$repo\fR \fB=\fR \fI$pool\fR\fB\->id2repo(\fR\fI$id\fR\fB)\fR;
+\fIrepo\fR \fB=\fR \fIpool\fR\fB\&.id2repo(\fR\fIid\fR\fB)\fR
+\fIrepo\fR \fB=\fR \fIpool\fR\fB\&.id2repo(\fR\fIid\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Lookup an existing Repository by id\&. You can also do this by using the \fBrepos\fR attribute\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSolvable id2solvable(Id\fR \fIid\fR\fB)\fR
+\fI$solvable\fR \fB=\fR \fI$pool\fR\fB\->id2solvable(\fR\fI$id\fR\fB)\fR;
+\fIsolvable\fR \fB=\fR \fIpool\fR\fB\&.id2solvable(\fR\fIid\fR\fB)\fR
+\fIsolvable\fR \fB=\fR \fIpool\fR\fB\&.id2solvable(\fR\fIid\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Lookup an existing Repository by id\&. You can also do this by using the \fBsolvables\fR attribute\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBconst char *solvid2str(Id\fR \fIid\fR\fB)\fR
+my \fI$str\fR \fB=\fR \fI$pool\fR\fB\->solvid2str(\fR\fI$id\fR\fB)\fR;
+\fIstr\fR \fB=\fR \fIpool\fR\fB\&.solvid2str(\fR\fIid\fR\fB)\fR
+\fIstr\fR \fB=\fR \fIpool\fR\fB\&.solvid2str(\fR\fIid\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return a string describing the Solvable with the specified id\&. The string consists of the name, version, and architecture of the Solvable\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBconst char *solvidset2str(Id *\fR\fIsolvids\fR\fB)\fR
+my \fI$str\fR \fB=\fR \fI$pool\fR\fB\->solvidset2str(\e\fR\fI@solvids\fR\fB)\fR;
+\fIstr\fR \fB=\fR \fIpool\fR\fB\&.solvidset2str(\fR\fIsolvids\fR\fB)\fR
+\fIstr\fR \fB=\fR \fIpool\fR\fB\&.solvidset2str(\fR\fIsolvids\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return a string describing a list of solvables\&. The method tries to reduce the output by using version ranges if possible\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId str2id(const char *\fR\fIstr\fR\fB, bool\fR \fIcreate\fR \fB= 1)\fR
+my \fI$id\fR \fB=\fR \fIpool\fR\fB\->str2id(\fR\fI$string\fR\fB)\fR;
+\fIid\fR \fB=\fR \fIpool\fR\fB\&.str2id(\fR\fIstring\fR\fB)\fR
+\fIid\fR \fB=\fR \fIpool\fR\fB\&.str2id(\fR\fIstring\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBconst char *id2str(Id\fR \fIid\fR\fB)\fR
+\fI$string\fR \fB=\fR \fIpool\fR\fB\->id2str(\fR\fI$id\fR\fB)\fR;
+\fIstring\fR \fB=\fR \fIpool\fR\fB\&.id2str(\fR\fIid\fR\fB)\fR
+\fIstring\fR \fB=\fR \fIpool\fR\fB\&.id2str(\fR\fIid\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Convert a string into an Id and back\&. If the string is currently not in the pool and \fIcreate\fR is false, zero is returned\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId rel2id(Id\fR \fIname\fR\fB, Id\fR \fIevr\fR\fB, int\fR \fIflags\fR\fB, bool\fR \fIcreate\fR \fB= 1)\fR
+my \fI$id\fR \fB=\fR \fIpool\fR\fB\->rel2id(\fR\fI$nameid\fR\fB,\fR \fI$evrid\fR\fB,\fR \fI$flags\fR\fB)\fR;
+\fIid\fR \fB=\fR \fIpool\fR\fB\&.rel2id(\fR\fInameid\fR\fB,\fR \fIevrid\fR\fB,\fR \fIflags\fR\fB)\fR
+\fIid\fR \fB=\fR \fIpool\fR\fB\&.rel2id(\fR\fInameid\fR\fB,\fR \fIevrid\fR\fB,\fR \fIflags\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Create a \(lqrelational\(rq dependency\&. Such dependencies consist of a name part, \fIflags\fR describing the relation, and a version part\&. The flags are:
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fB$solv::REL_EQ | $solv::REL_GT | $solv::REL_LT\fR
+\fBsolv\&.REL_EQ | solv\&.REL_GT | solv\&.REL_LT\fR
+\fBSolv::REL_EQ | Solv::REL_GT | Solv::REL_LT\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Thus, if you want a \(lq<=\(rq relation, you would use \fBREL_LT | REL_EQ\fR\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId id2langid(Id\fR \fIid\fR\fB, const char *\fR\fIlang\fR\fB, bool\fR \fIcreate\fR \fB= 1)\fR
+my \fI$id\fR \fB=\fR \fI$pool\fR\fB\->id2langid(\fR\fI$id\fR\fB,\fR \fI$language\fR\fB)\fR;
+\fIid\fR \fB=\fR \fIpool\fR\fB\&.id2langid(\fR\fIid\fR\fB,\fR \fIlanguage\fR\fB)\fR
+\fIid\fR \fB=\fR \fIpool\fR\fB\&.id2langid(\fR\fIid\fR\fB,\fR \fIlanguage\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Create a language specific Id from some other id\&. This function simply converts the id into a string, appends a dot and the specified language to the string and converts the result back into an Id\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBconst char *dep2str(Id\fR \fIid\fR\fB)\fR
+\fI$string\fR \fB=\fR \fIpool\fR\fB\->dep2str(\fR\fI$id\fR\fB)\fR;
+\fIstring\fR \fB=\fR \fIpool\fR\fB\&.dep2str(\fR\fIid\fR\fB)\fR
+\fIstring\fR \fB=\fR \fIpool\fR\fB\&.dep2str(\fR\fIid\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Convert a dependency id into a string\&. If the id is just a string, this function has the same effect as id2str()\&. For relational dependencies, the result is the correct \(lqname relation evr\(rq string\&.
+.SH "THE DEPENDENCY CLASS"
+.sp
+The dependency class is an object orientated way to work with strings and dependencies\&. Internally, dependencies are represented as Ids, i\&.e\&. simple numbers\&. Dependency objects can be constructed by using the Pool\(cqs Dep() method\&.
+.SS "ATTRIBUTES"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBPool *pool;\fR /* read only */
+\fI$dep\fR\fB\->{pool}\fR
+\fIdep\fR\fB\&.pool\fR
+\fIdep\fR\fB\&.pool\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Back reference to the pool this dependency belongs to\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId id;\fR /* read only */
+\fI$dep\fR\fB\->{id}\fR
+\fIdep\fR\fB\&.id\fR
+\fIdep\fR\fB\&.id\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The id of this dependency\&.
+.SS "METHODS"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBDep Rel(int\fR \fIflags\fR\fB, DepId\fR \fIevrid\fR\fB, bool\fR \fIcreate\fR \fB= 1)\fR
+my \fI$reldep\fR \fB=\fR \fI$dep\fR\fB\->Rel(\fR\fI$flags\fR\fB,\fR \fI$evrdep\fR\fB)\fR;
+\fIreldep\fR \fB=\fR \fIdep\fR\fB\&.Rel(\fR\fIflags\fR\fB,\fR \fIevrdep\fR\fB)\fR
+\fIreldep\fR \fB=\fR \fIdep\fR\fB\&.Rel(\fR\fIflags\fR\fB,\fR \fIevrdep\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Create a relational dependency from the caller dependency, the flags, and a dependency describing the \(lqversion\(rq part\&. See the pool\(cqs rel2id method for a description of the flags\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSelection Selection_name(int\fR \fIsetflags\fR \fB= 0)\fR
+my \fI$sel\fR \fB=\fR \fI$dep\fR\fB\->Selection_name()\fR;
+\fIsel\fR \fB=\fR \fIdep\fR\fB\&.Selection_name()\fR
+\fIsel\fR \fB=\fR \fIdep\fR\fB\&.Selection_name()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Create a Selection from a dependency\&. The selection consists of all packages that have a name equal to the dependency\&. If the dependency is of a relational type, the packages version must also fulfill the dependency\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSelection Selection_provides(int\fR \fIsetflags\fR \fB= 0)\fR
+my \fI$sel\fR \fB=\fR \fI$dep\fR\fB\->Selection_provides()\fR;
+\fIsel\fR \fB=\fR \fIdep\fR\fB\&.Selection_provides()\fR
+\fIsel\fR \fB=\fR \fIdep\fR\fB\&.Selection_provides()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Create a Selection from a dependency\&. The selection consists of all packages that have at least one provides matching the dependency\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBconst char *str()\fR
+my \fI$str\fR \fB=\fR \fI$dep\fR\fB\->str()\fR;
+\fIstr\fR \fB=\fR \fI$dep\fR\fB\&.str()\fR
+\fIstr\fR \fB=\fR \fI$dep\fR\fB\&.str()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return a string describing the dependency\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fB\fR
+my \fI$str\fR \fB=\fR \fI$dep\fR\fB\->str\fR;
+\fIstr\fR \fB= str(\fR\fIdep\fR\fB)\fR
+\fIstr\fR \fB=\fR \fIdep\fR\fB\&.to_s\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Same as calling the str() method\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fB\fR
+\fBif (\fR\fI$dep1\fR \fB==\fR \fI$dep2\fR\fB)\fR
+\fBif\fR \fIdep1\fR \fB==\fR \fIdep2\fR\fB:\fR
+\fBif\fR \fIdep1\fR \fB==\fR \fIdep2\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Two dependencies are equal if they are part of the same pool and have the same ids\&.
+.SH "THE REPOSITORY CLASS"
+.sp
+A Repository describes a group of packages, normally coming from the same source\&. Repositories are created by the Pool\(cqs add_repo() method\&.
+.SS "ATTRIBUTES"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBPool *pool;\fR /* read only */
+\fI$repo\fR\fB\->{pool}\fR
+\fIrepo\fR\fB\&.pool\fR
+\fIrepo\fR\fB\&.pool\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Back reference to the pool this dependency belongs to\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId id;\fR /* read only */
+\fI$repo\fR\fB\->{id}\fR
+\fIrepo\fR\fB\&.id\fR
+\fIrepo\fR\fB\&.id\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The id of the repository\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBconst char *name;\fR /* read/write */
+\fI$repo\fR\fB\->{name}\fR
+\fIrepo\fR\fB\&.name\fR
+\fIrepo\fR\fB\&.name\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The repositories name\&. To libsolv, the name is just a string with no specific meaning\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBint priority;\fR /* read/write */
+\fI$repo\fR\fB\->{priority}\fR
+\fIrepo\fR\fB\&.priority\fR
+\fIrepo\fR\fB\&.priority\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The priority of the repository\&. A higher number means that packages of this repository will be chosen over other repositories, even if they have a greater package version\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBint subpriority;\fR /* read/write */
+\fI$repo\fR\fB\->{subpriority}\fR
+\fIrepo\fR\fB\&.subpriority\fR
+\fIrepo\fR\fB\&.subpriority\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The sub\-priority of the repository\&. This value is compared when the priorities of two repositories are the same\&. It is useful to make the library prefer on\-disk repositories to remote ones\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBint nsolvables;\fR /* read only */
+\fI$repo\fR\fB\->{nsolvables}\fR
+\fIrepo\fR\fB\&.nsolvables\fR
+\fIrepo\fR\fB\&.nsolvables\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The number of solvables in this repository\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid *appdata;\fR /* read/write */
+\fI$repo\fR\fB\->{appdata}\fR
+\fIrepo\fR\fB\&.appdata\fR
+\fIrepo\fR\fB\&.appdata\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Application specific data that may be used in any way by the code using the repository\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBDatapos *meta;\fR /* read only */
+\fI$repo\fR\fB\->{meta}\fR
+\fIrepo\fR\fB\&.meta\fR
+\fIrepo\fR\fB\&.meta\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return a Datapos object of the repodata\(cqs metadata\&. You can use the lookup methods of the Datapos class to lookup metadata attributes, like the repository timestamp\&.
+.SS "CONSTANTS"
+.PP
+\fBREPO_REUSE_REPODATA\fR
+.RS 4
+Reuse the last repository data area (\(lqrepodata\(rq) instead of creating a new area\&.
+.RE
+.PP
+\fBREPO_NO_INTERNALIZE\fR
+.RS 4
+Do not internalize the added repository data\&. This is useful if you plan to add more data because internalization is a costly operation\&.
+.RE
+.PP
+\fBREPO_LOCALPOOL\fR
+.RS 4
+Use the repodata\(cqs pool for Id storage instead of the global pool\&. Useful if you don\(cqt want to pollute the global pool with many unneeded ids, like when storing the filelist\&.
+.RE
+.PP
+\fBREPO_USE_LOADING\fR
+.RS 4
+Use the repodata that is currently being loaded instead of creating a new one\&. This only makes sense if used in a load callback\&.
+.RE
+.PP
+\fBREPO_EXTEND_SOLVABLES\fR
+.RS 4
+Do not create new solvables for the new data, but match existing solvables and add the data to them\&. Repository metadata is often split into multiple parts, with one primary file describing all packages and other parts holding information that is normally not needed, like the changelog\&.
+.RE
+.PP
+\fBREPO_USE_ROOTDIR\fR
+.RS 4
+Prepend the pool\(cqs rootdir to the path when doing file operations\&.
+.RE
+.PP
+\fBREPO_NO_LOCATION\fR
+.RS 4
+Do not add a location element to the solvables\&. Useful if the solvables are not in the final position, so you can add the correct location later in your code\&.
+.RE
+.PP
+\fBSOLV_ADD_NO_STUBS\fR
+.RS 4
+Do not create stubs for repository parts that can be downloaded on demand\&.
+.RE
+.PP
+\fBSUSETAGS_RECORD_SHARES\fR
+.RS 4
+This is specific to the add_susetags() method\&. Susetags allows one to refer to already read packages to save disk space\&. If this data sharing needs to work over multiple calls to add_susetags, you need to specify this flag so that the share information is made available to subsequent calls\&.
+.RE
+.SS "METHODS"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid free(bool\fR \fIreuseids\fR \fB= 0)\fR
+\fI$repo\fR\fB\->free()\fR;
+\fIrepo\fR\fB\&.free()\fR
+\fIrepo\fR\fB\&.free()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Free the repository and all solvables it contains\&. If \fIreuseids\fR is set to true, the solvable ids and the repository id may be reused by the library when added new solvables\&. Thus you should leave it false if you are not sure that somebody holds a reference\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid empty(bool\fR \fIreuseids\fR \fB= 0)\fR
+\fI$repo\fR\fB\->empty()\fR;
+\fIrepo\fR\fB\&.empty()\fR
+\fIrepo\fR\fB\&.empty()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Free all the solvables in a repository\&. The repository will be empty after this call\&. See the free() method for the meaning of \fIreuseids\fR\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBbool isempty()\fR
+\fI$repo\fR\fB\->isempty()\fR
+\fIrepo\fR\fB\&.empty()\fR
+\fIrepo\fR\fB\&.empty?\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return true if there are no solvables in this repository\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid internalize()\fR
+\fI$repo\fR\fB\->internalize()\fR;
+\fIrepo\fR\fB\&.internalize()\fR
+\fIrepo\fR\fB\&.internalize()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Internalize added data\&. Data must be internalized before it is available to the lookup and data iterator functions\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBbool write(FILE *\fR\fIfp\fR\fB)\fR
+\fI$repo\fR\fB\->write(\fR\fI$fp\fR\fB)\fR
+\fIrepo\fR\fB\&.write(\fR\fIfp\fR\fB)\fR
+\fIrepo\fR\fB\&.write(\fR\fIfp\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Write a repo as a \(lqsolv\(rq file\&. These files can be read very fast and thus are a good way to cache repository data\&. Returns false if there was some error writing the file\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSolvableiterator solvables_iter()\fR
+\fBfor my\fR \fI$solvable\fR \fB(\fR\fI@\fR\fB{\fR\fI$repo\fR\fB\->solvables_iter()})\fR
+\fBfor\fR \fIsolvable\fR \fBin\fR \fIrepo\fR\fB\&.solvables_iter():\fR
+\fBfor\fR \fIsolvable\fR \fBin\fR \fIrepo\fR\fB\&.solvables_iter()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Iterate over all solvables in a repository\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBRepodata add_repodata(int\fR \fIflags\fR \fB= 0)\fR
+my \fI$repodata\fR \fB=\fR \fI$repo\fR\fB\->add_repodata()\fR;
+\fIrepodata\fR \fB=\fR \fIrepo\fR\fB\&.add_repodata()\fR
+\fIrepodata\fR \fB=\fR \fIrepo\fR\fB\&.add_repodata()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Add a new repodata area to the repository\&. This is normally automatically done by the repo_add methods, so you need this method only in very rare circumstances\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid create_stubs()\fR
+\fI$repo\fR\fB\->create_stubs()\fR;
+\fIrepo\fR\fB\&.create_stubs()\fR
+\fIrepo\fR\fB\&.create_stubs()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Calls the create_stubs() repodata method for the last repodata of the repository\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBbool iscontiguous()\fR
+\fI$repo\fR\fB\->iscontiguous()\fR
+\fIrepo\fR\fB\&.iscontiguous()\fR
+\fIrepo\fR\fB\&.iscontiguous?\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return true if the solvables of this repository are all in a single block with no holes, i\&.e\&. they have consecutive ids\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBRepodata first_repodata()\fR
+my \fI$repodata\fR \fB=\fR \fI$repo\fR\fB\->first_repodata()\fR;
+\fIrepodata\fR \fB=\fR \fIrepo\fR\fB\&.first_repodata()\fR
+\fIrepodata\fR \fB=\fR \fIrepo\fR\fB\&.first_repodata()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Checks if all repodatas but the first repodata are extensions, and return the first repodata if this is the case\&. Useful if you want to do a store/retrieve sequence on the repository to reduce the memory using and enable paging, as this does not work if the repository contains multiple non\-extension repodata areas\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSelection Selection(int\fR \fIsetflags\fR \fB= 0)\fR
+my \fI$sel\fR \fB=\fR \fI$repo\fR\fB\->Selection()\fR;
+\fIsel\fR \fB=\fR \fIrepo\fR\fB\&.Selection()\fR
+\fIsel\fR \fB=\fR \fIrepo\fR\fB\&.Selection()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Create a Selection consisting of all packages in the repository\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBDataiterator Dataiterator(Id\fR \fIkey\fR\fB, const char *\fR\fImatch\fR \fB= 0, int\fR \fIflags\fR \fB= 0)\fR
+my \fI$di\fR \fB=\fR \fI$repo\fR\fB\->Dataiterator(\fR\fI$keyname\fR\fB,\fR \fI$match\fR\fB,\fR \fI$flags\fR\fB)\fR;
+\fIdi\fR \fB=\fR \fIrepo\fR\fB\&.Dataiterator(\fR\fIkeyname\fR\fB,\fR \fImatch\fR\fB,\fR \fIflags\fR\fB)\fR
+\fIdi\fR \fB=\fR \fIrepo\fR\fB\&.Dataiterator(\fR\fIkeyname\fR\fB,\fR \fImatch\fR\fB,\fR \fIflags\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBDataiterator Dataiterator_meta(Id\fR \fIkey\fR\fB, const char *\fR\fImatch\fR \fB= 0, int\fR \fIflags\fR \fB= 0)\fR
+my \fI$di\fR \fB=\fR \fI$repo\fR\fB\->Dataiterator_meta(\fR\fI$keyname\fR\fB,\fR \fI$match\fR\fB,\fR \fI$flags\fR\fB)\fR;
+\fIdi\fR \fB=\fR \fIrepo\fR\fB\&.Dataiterator_meta(\fR\fIkeyname\fR\fB,\fR \fImatch\fR\fB,\fR \fIflags\fR\fB)\fR
+\fIdi\fR \fB=\fR \fIrepo\fR\fB\&.Dataiterator_meta(\fR\fIkeyname\fR\fB,\fR \fImatch\fR\fB,\fR \fIflags\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBfor my\fR \fI$d\fR \fB(\fR\fI@$di\fR\fB)\fR
+\fBfor\fR \fId\fR \fBin\fR \fIdi\fR\fB:\fR
+\fBfor\fR \fId\fR \fBin\fR \fIdi\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Iterate over the matching data elements in this repository\&. See the Dataiterator class for more information\&. The Dataiterator() method iterates over all solvables in a repository, whereas the Dataiterator_meta method only iterates over the repository\(cqs meta data\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fB\fR
+my \fI$str\fR \fB=\fR \fI$repo\fR\fB\->str\fR;
+\fIstr\fR \fB= str(\fR\fIrepo\fR\fB)\fR
+\fIstr\fR \fB=\fR \fIrepo\fR\fB\&.to_s\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return the name of the repository, or "Repo#" if no name is set\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fB\fR
+\fBif (\fR\fI$repo1\fR \fB==\fR \fI$repo2\fR\fB)\fR
+\fBif\fR \fIrepo1\fR \fB==\fR \fIrepo2\fR\fB:\fR
+\fBif\fR \fIrepo1\fR \fB==\fR \fIrepo2\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Two repositories are equal if they belong to the same pool and have the same id\&.
+.SS "DATA ADD METHODS"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSolvable add_solvable()\fR
+\fI$repo\fR\fB\->add_solvable()\fR;
+\fIrepo\fR\fB\&.add_solvable()\fR
+\fIrepo\fR\fB\&.add_solvable()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Add a single empty solvable to the repository\&. Returns a Solvable object, see the Solvable class for more information\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBbool add_solv(const char *\fR\fIname\fR\fB, int\fR \fIflags\fR \fB= 0)\fR
+\fI$repo\fR\fB\->add_solv(\fR\fI$name\fR\fB)\fR;
+\fIrepo\fR\fB\&.add_solv(\fR\fIname\fR\fB)\fR
+\fIrepo\fR\fB\&.add_solv(\fR\fIname\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBbool add_solv(FILE *\fR\fIfp\fR\fB, int\fR \fIflags\fR \fB= 0)\fR
+\fI$repo\fR\fB\->add_solv(\fR\fI$fp\fR\fB)\fR;
+\fIrepo\fR\fB\&.add_solv(\fR\fIfp\fR\fB)\fR
+\fIrepo\fR\fB\&.add_solv(\fR\fIfp\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Read a \(lqsolv\(rq file and add its contents to the repository\&. These files can be written with the write() method and are normally used as fast cache for repository metadata\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBbool add_rpmdb(int\fR \fIflags\fR \fB= 0)\fR
+\fI$repo\fR\fB\->add_rpmdb()\fR;
+\fIrepo\fR\fB\&.add_rpmdb()\fR
+\fIrepo\fR\fB\&.add_rpmdb()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBbool add_rpmdb_reffp(FILE *\fR\fIreffp\fR\fB, int\fR \fIflags\fR \fB= 0)\fR
+\fI$repo\fR\fB\->add_rpmdb_reffp(\fR\fI$reffp\fR\fB)\fR;
+\fIrepo\fR\fB\&.add_rpmdb_reffp(\fR\fIreffp\fR\fB)\fR
+\fIrepo\fR\fB\&.add_rpmdb_reffp(\fR\fIreffp\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Add the contents of the rpm database to the repository\&. If a solv file containing an old version of the database is available, it can be passed as reffp to speed up reading\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSolvable add_rpm(const char *\fR\fIfilename\fR\fB, int\fR \fIflags\fR \fB= 0)\fR
+my \fI$solvable\fR \fB=\fR \fI$repo\fR\fB\->add_rpm(\fR\fI$filename\fR\fB)\fR;
+\fIsolvable\fR \fB=\fR \fIrepo\fR\fB\&.add_rpm(\fR\fIfilename\fR\fB)\fR
+\fIsolvable\fR \fB=\fR \fIrepo\fR\fB\&.add_rpm(\fR\fIfilename\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Add the metadata of a single rpm package to the repository\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBbool add_rpmdb_pubkeys(int\fR \fIflags\fR \fB= 0)\fR
+\fI$repo\fR\fB\->add_rpmdb_pubkeys()\fR;
+\fIrepo\fR\fB\&.add_rpmdb_pubkeys()\fR
+\fIrepo\fR\fB\&.add_rpmdb_pubkeys()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Add all pubkeys contained in the rpm database to the repository\&. Note that newer rpm versions also allow storing the pubkeys in some directory instead of the rpm database\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSolvable add_pubkey(const char *\fR\fIkeyfile\fR\fB, int\fR \fIflags\fR \fB= 0)\fR
+my \fI$solvable\fR \fB=\fR \fI$repo\fR\fB\->add_pubkey(\fR\fI$keyfile\fR\fB)\fR;
+\fIsolvable\fR \fB=\fR \fIrepo\fR\fB\&.add_pubkey(\fR\fIkeyfile\fR\fB)\fR
+\fIsolvable\fR \fB=\fR \fIrepo\fR\fB\&.add_pubkey(\fR\fIkeyfile\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Add a pubkey from a file to the repository\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBbool add_rpmmd(FILE *\fR\fIfp\fR\fB, const char *\fR\fIlanguage\fR\fB, int\fR \fIflags\fR \fB= 0)\fR
+\fI$repo\fR\fB\->add_rpmmd(\fR\fI$fp\fR\fB,\fR \fIundef\fR\fB)\fR;
+\fIrepo\fR\fB\&.add_rpmmd(\fR\fIfp\fR\fB,\fR \fINone\fR\fB)\fR
+\fIrepo\fR\fB\&.add_rpmmd(\fR\fIfp\fR\fB,\fR \fInil\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Add metadata stored in the "rpm\-md" format (i\&.e\&. from files in the \(lqrepodata\(rq directory) to a repository\&. Supported files are "primary", "filelists", "other", "suseinfo"\&. Do not forget to specify the \fBREPO_EXTEND_SOLVABLES\fR for extension files like "filelists" and "other"\&. Use the \fIlanguage\fR parameter if you have language extension files, otherwise simply use a \fBundef\fR/\fBNone\fR/\fBnil\fR parameter\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBbool add_repomdxml(FILE *\fR\fIfp\fR\fB, int\fR \fIflags\fR \fB= 0)\fR
+\fI$repo\fR\fB\->add_repomdxml(\fR\fI$fp\fR\fB)\fR;
+\fIrepo\fR\fB\&.add_repomdxml(\fR\fIfp\fR\fB)\fR
+\fIrepo\fR\fB\&.add_repomdxml(\fR\fIfp\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Add the repomd\&.xml meta description from the "rpm\-md" format to the repository\&. This file contains information about the repository like keywords, and also a list of all database files with checksums\&. The data is added to the "meta" section of the repository, i\&.e\&. no package gets created\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBbool add_updateinfoxml(FILE *\fR\fIfp\fR\fB, int\fR \fIflags\fR \fB= 0)\fR
+\fI$repo\fR\fB\->add_updateinfoxml(\fR\fI$fp\fR\fB)\fR;
+\fIrepo\fR\fB\&.add_updateinfoxml(\fR\fIfp\fR\fB)\fR
+\fIrepo\fR\fB\&.add_updateinfoxml(\fR\fIfp\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Add the updateinfo\&.xml file containing available maintenance updates to the repository\&. All updates are created as special packages that have a "patch:" prefix in their name\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBbool add_deltainfoxml(FILE *\fR\fIfp\fR\fB, int\fR \fIflags\fR \fB= 0)\fR
+\fI$repo\fR\fB\->add_deltainfoxml(\fR\fI$fp\fR\fB)\fR;
+\fIrepo\fR\fB\&.add_deltainfoxml(\fR\fIfp\fR\fB)\fR
+\fIrepo\fR\fB\&.add_deltainfoxml(\fR\fIfp\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Add the deltainfo\&.xml file (also called prestodelta\&.xml) containing available delta\-rpms to the repository\&. The data is added to the "meta" section, i\&.e\&. no package gets created\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBbool add_debdb(int\fR \fIflags\fR \fB= 0)\fR
+\fI$repo\fR\fB\->add_debdb()\fR;
+\fIrepo\fR\fB\&.add_debdb()\fR
+\fIrepo\fR\fB\&.add_debdb()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Add the contents of the debian installed package database to the repository\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBbool add_debpackages(FILE *\fR\fIfp\fR\fB, int\fR \fIflags\fR \fB= 0)\fR
+\fI$repo\fR\fB\->add_debpackages(\fR\fI$fp\fR\fB)\fR;
+\fIrepo\fR\fB\&.add_debpackages(\fR\fI$fp\fR\fB)\fR
+\fIrepo\fR\fB\&.add_debpackages(\fR\fI$fp\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Add the contents of the debian repository metadata (the "packages" file) to the repository\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSolvable add_deb(const char *\fR\fIfilename\fR\fB, int\fR \fIflags\fR \fB= 0)\fR
+my \fI$solvable\fR \fB=\fR \fI$repo\fR\fB\->add_deb(\fR\fI$filename\fR\fB)\fR;
+\fIsolvable\fR \fB=\fR \fIrepo\fR\fB\&.add_deb(\fR\fIfilename\fR\fB)\fR
+\fIsolvable\fR \fB=\fR \fIrepo\fR\fB\&.add_deb(\fR\fIfilename\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Add the metadata of a single deb package to the repository\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBbool add_mdk(FILE *\fR\fIfp\fR\fB, int\fR \fIflags\fR \fB= 0)\fR
+\fI$repo\fR\fB\->add_mdk(\fR\fI$fp\fR\fB)\fR;
+\fIrepo\fR\fB\&.add_mdk(\fR\fIfp\fR\fB)\fR
+\fIrepo\fR\fB\&.add_mdk(\fR\fIfp\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Add the contents of the mageia/mandriva repository metadata (the "synthesis\&.hdlist" file) to the repository\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBbool add_mdk_info(FILE *\fR\fIfp\fR\fB, int\fR \fIflags\fR \fB= 0)\fR
+\fI$repo\fR\fB\->add_mdk_info(\fR\fI$fp\fR\fB)\fR;
+\fIrepo\fR\fB\&.add_mdk_info(\fR\fIfp\fR\fB)\fR
+\fIrepo\fR\fB\&.add_mdk_info(\fR\fIfp\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Extend the packages from the synthesis file with the info\&.xml and files\&.xml data\&. Do not forget to specify \fBREPO_EXTEND_SOLVABLES\fR\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBbool add_arch_repo(FILE *\fR\fIfp\fR\fB, int\fR \fIflags\fR \fB= 0)\fR
+\fI$repo\fR\fB\->add_arch_repo(\fR\fI$fp\fR\fB)\fR;
+\fIrepo\fR\fB\&.add_arch_repo(\fR\fIfp\fR\fB)\fR
+\fIrepo\fR\fB\&.add_arch_repo(\fR\fIfp\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Add the contents of the archlinux repository metadata (the "\&.db\&.tar" file) to the repository\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBbool add_arch_local(const char *\fR\fIdir\fR\fB, int\fR \fIflags\fR \fB= 0)\fR
+\fI$repo\fR\fB\->add_arch_local(\fR\fI$dir\fR\fB)\fR;
+\fIrepo\fR\fB\&.add_arch_local(\fR\fIdir\fR\fB)\fR
+\fIrepo\fR\fB\&.add_arch_local(\fR\fIdir\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Add the contents of the archlinux installed package database to the repository\&. The \fIdir\fR parameter is usually set to "/var/lib/pacman/local"\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBbool add_content(FILE *\fR\fIfp\fR\fB, int\fR \fIflags\fR \fB= 0)\fR
+\fI$repo\fR\fB\->add_content(\fR\fI$fp\fR\fB)\fR;
+\fIrepo\fR\fB\&.add_content(\fR\fIfp\fR\fB)\fR
+\fIrepo\fR\fB\&.add_content(\fR\fIfp\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Add the \(lqcontent\(rq meta description from the susetags format to the repository\&. This file contains information about the repository like keywords, and also a list of all database files with checksums\&. The data is added to the "meta" section of the repository, i\&.e\&. no package gets created\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBbool add_susetags(FILE *\fR\fIfp\fR\fB, Id\fR \fIdefvendor\fR\fB, const char *\fR\fIlanguage\fR\fB, int\fR \fIflags\fR \fB= 0)\fR
+\fI$repo\fR\fB\->add_susetags(\fR\fI$fp\fR\fB,\fR \fI$defvendor\fR\fB,\fR \fI$language\fR\fB)\fR;
+\fIrepo\fR\fB\&.add_susetags(\fR\fIfp\fR\fB,\fR \fIdefvendor\fR\fB,\fR \fIlanguage\fR\fB)\fR
+\fIrepo\fR\fB\&.add_susetags(\fR\fIfp\fR\fB,\fR \fIdefvendor\fR\fB,\fR \fIlanguage\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Add repository metadata in the susetags format to the repository\&. Like with add_rpmmd, you can specify a language if you have language extension files\&. The \fIdefvendor\fR parameter provides a default vendor for packages with missing vendors, it is usually provided in the content file\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBbool add_products(const char *\fR\fIdir\fR\fB, int\fR \fIflags\fR \fB= 0)\fR
+\fI$repo\fR\fB\->add_products(\fR\fI$dir\fR\fB)\fR;
+\fIrepo\fR\fB\&.add_products(\fR\fIdir\fR\fB)\fR
+\fIrepo\fR\fB\&.add_products(\fR\fIdir\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Add the installed SUSE products database to the repository\&. The \fIdir\fR parameter is usually "/etc/products\&.d"\&.
+.SH "THE SOLVABLE CLASS"
+.sp
+A solvable describes all the information of one package\&. Each solvable belongs to one repository, it can be added and filled manually but in most cases solvables will get created by the repo_add methods\&.
+.SS "ATTRIBUTES"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBRepo *repo;\fR /* read only */
+\fI$solvable\fR\fB\->{repo}\fR
+\fIsolvable\fR\fB\&.repo\fR
+\fIsolvable\fR\fB\&.repo\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The repository this solvable belongs to\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBPool *pool;\fR /* read only */
+\fI$solvable\fR\fB\->{pool}\fR
+\fIsolvable\fR\fB\&.pool\fR
+\fIsolvable\fR\fB\&.pool\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The pool this solvable belongs to, same as the pool of the repo\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId id;\fR /* read only */
+\fI$solvable\fR\fB\->{id}\fR
+\fIsolvable\fR\fB\&.id\fR
+\fIsolvable\fR\fB\&.id\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The specific id of the solvable\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBchar *name;\fR /* read/write */
+\fI$solvable\fR\fB\->{name}\fR
+\fIsolvable\fR\fB\&.name\fR
+\fIsolvable\fR\fB\&.name\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBchar *evr;\fR /* read/write */
+\fI$solvable\fR\fB\->{evr}\fR
+\fIsolvable\fR\fB\&.evr\fR
+\fIsolvable\fR\fB\&.evr\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBchar *arch;\fR /* read/write */
+\fI$solvable\fR\fB\->{arch}\fR
+\fIsolvable\fR\fB\&.arch\fR
+\fIsolvable\fR\fB\&.arch\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBchar *vendor;\fR /* read/write */
+\fI$solvable\fR\fB\->{vendor}\fR
+\fIsolvable\fR\fB\&.vendor\fR
+\fIsolvable\fR\fB\&.vendor\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Easy access to often used attributes of solvables\&. They are internally stored as Ids\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId nameid;\fR /* read/write */
+\fI$solvable\fR\fB\->{nameid}\fR
+\fIsolvable\fR\fB\&.nameid\fR
+\fIsolvable\fR\fB\&.nameid\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId evrid;\fR /* read/write */
+\fI$solvable\fR\fB\->{evrid}\fR
+\fIsolvable\fR\fB\&.evrid\fR
+\fIsolvable\fR\fB\&.evrid\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId archid;\fR /* read/write */
+\fI$solvable\fR\fB\->{archid}\fR
+\fIsolvable\fR\fB\&.archid\fR
+\fIsolvable\fR\fB\&.archid\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId vendorid;\fR /* read/write */
+\fI$solvable\fR\fB\->{vendorid}\fR
+\fIsolvable\fR\fB\&.vendorid\fR
+\fIsolvable\fR\fB\&.vendorid\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Raw interface to the ids\&. Useful if you want to search for a specific id and want to avoid the string compare overhead\&.
+.SS "METHODS"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBconst char *lookup_str(Id\fR \fIkeyname\fR\fB)\fR
+my \fI$string\fR \fB=\fR \fI$solvable\fR\fB\->lookup_str(\fR\fI$keyname\fR\fB)\fR;
+\fIstring\fR \fB=\fR \fIsolvable\fR\fB\&.lookup_str(\fR\fIkeyname\fR\fB)\fR
+\fIstring\fR \fB=\fR \fIsolvable\fR\fB\&.lookup_str(\fR\fIkeyname\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId lookup_id(Id\fR \fIkeyname\fR\fB)\fR
+my \fI$id\fR \fB=\fR \fI$solvable\fR\fB\->lookup_id(\fR\fI$keyname\fR\fB)\fR;
+\fIid\fR \fB=\fR \fIsolvable\fR\fB\&.lookup_id(\fR\fIkeyname\fR\fB)\fR
+\fIid\fR \fB=\fR \fIsolvable\fR\fB\&.lookup_id(\fR\fIkeyname\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBunsigned long long lookup_num(Id\fR \fIkeyname\fR\fB, unsigned long long\fR \fInotfound\fR \fB= 0)\fR
+my \fI$num\fR \fB=\fR \fI$solvable\fR\fB\->lookup_num(\fR\fI$keyname\fR\fB)\fR;
+\fInum\fR \fB=\fR \fIsolvable\fR\fB\&.lookup_num(\fR\fIkeyname\fR\fB)\fR
+\fInum\fR \fB=\fR \fIsolvable\fR\fB\&.lookup_num(\fR\fIkeyname\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBbool lookup_void(Id\fR \fIkeyname\fR\fB)\fR
+my \fI$bool\fR \fB=\fR \fI$solvable\fR\fB\->lookup_void(\fR\fI$keyname\fR\fB)\fR;
+\fIbool\fR \fB=\fR \fIsolvable\fR\fB\&.lookup_void(\fR\fIkeyname\fR\fB)\fR
+\fIbool\fR \fB=\fR \fIsolvable\fR\fB\&.lookup_void(\fR\fIkeyname\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBChksum lookup_checksum(Id\fR \fIkeyname\fR\fB)\fR
+my \fI$chksum\fR \fB=\fR \fI$solvable\fR\fB\->lookup_checksum(\fR\fI$keyname\fR\fB)\fR;
+\fIchksum\fR \fB=\fR \fIsolvable\fR\fB\&.lookup_checksum(\fR\fIkeyname\fR\fB)\fR
+\fIchksum\fR \fB=\fR \fIsolvable\fR\fB\&.lookup_checksum(\fR\fIkeyname\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId *lookup_idarray(Id\fR \fIkeyname\fR\fB, Id\fR \fImarker\fR \fB= \-1)\fR
+my \fI@ids\fR \fB=\fR \fI$solvable\fR\fB\->lookup_idarray(\fR\fI$keyname\fR\fB)\fR;
+\fIids\fR \fB=\fR \fIsolvable\fR\fB\&.lookup_idarray(\fR\fIkeyname\fR\fB)\fR
+\fIids\fR \fB=\fR \fIsolvable\fR\fB\&.lookup_idarray(\fR\fIkeyname\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBDep *lookup_deparray(Id\fR \fIkeyname\fR\fB, Id\fR \fImarker\fR \fB= \-1)\fR
+my \fI@deps\fR \fB=\fR \fI$solvable\fR\fB\->lookup_deparray(\fR\fI$keyname\fR\fB)\fR;
+\fIdeps\fR \fB=\fR \fIsolvable\fR\fB\&.lookup_deparray(\fR\fIkeyname\fR\fB)\fR
+\fIdeps\fR \fB=\fR \fIsolvable\fR\fB\&.lookup_deparray(\fR\fIkeyname\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Generic lookup methods\&. Retrieve data stored for the specific keyname\&. The lookup_idarray() method will return an array of Ids, use lookup_deparray if you want an array of Dependency objects instead\&. Some Id arrays contain two parts of data divided by a specific marker, for example the provides array uses the SOLVABLE_FILEMARKER id to store both the ids provided by the package and the ids added by the addfileprovides method\&. The default, \-1, translates to the correct marker for the keyname and returns the first part of the array, use 1 to select the second part or 0 to retrieve all ids including the marker\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBconst char *lookup_location(unsigned int *\fR\fIOUTPUT\fR\fB)\fR
+my \fB(\fR\fI$location\fR\fB,\fR \fI$mediano\fR\fB) =\fR \fI$solvable\fR\fB\->lookup_location()\fR;
+\fIlocation\fR\fB,\fR \fImediano\fR \fB=\fR \fIsolvable\fR\fB\&.lookup_location()\fR
+\fIlocation\fR\fB,\fR \fImediano\fR \fB=\fR \fIsolvable\fR\fB\&.lookup_location()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return a tuple containing the on\-media location and an optional media number for multi\-part repositories (e\&.g\&. repositories spawning multiple DVDs)\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBconst char *lookup_sourcepkg()\fR
+my \fI$sourcepkg\fR \fB=\fR \fI$solvable\fR\fB\->lookup_sourcepkg()\fR;
+\fIsourcepkg\fR \fB=\fR \fIsolvable\fR\fB\&.lookup_sourcepkg()\fR
+\fIsourcepkg\fR \fB=\fR \fIsolvable\fR\fB\&.lookup_sourcepkg()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return a sourcepkg name associated with solvable\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBDataiterator Dataiterator(Id\fR \fIkeyname\fR\fB, const char *\fR\fImatch\fR \fB= 0, int\fR \fIflags\fR \fB= 0)\fR
+my \fI$di\fR \fB=\fR \fI$solvable\fR\fB\->Dataiterator(\fR\fI$keyname\fR\fB,\fR \fI$match\fR\fB,\fR \fI$flags\fR\fB)\fR;
+\fIdi\fR \fB=\fR \fIsolvable\fR\fB\&.Dataiterator(\fR\fIkeyname\fR\fB,\fR \fImatch\fR\fB,\fR \fIflags\fR\fB)\fR
+\fIdi\fR \fB=\fR \fIsolvable\fR\fB\&.Dataiterator(\fR\fIkeyname\fR\fB,\fR \fImatch\fR\fB,\fR \fIflags\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBfor my\fR \fI$d\fR \fB(\fR\fI@$di\fR\fB)\fR
+\fBfor\fR \fId\fR \fBin\fR \fIdi\fR\fB:\fR
+\fBfor\fR \fId\fR \fBin\fR \fIdi\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Iterate over the matching data elements\&. See the Dataiterator class for more information\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid add_deparray(Id\fR \fIkeyname\fR\fB, DepId\fR \fIdep\fR\fB, Id\fR \fImarker\fR \fB= \-1)\fR
+\fI$solvable\fR\fB\->add_deparray(\fR\fI$keyname\fR\fB,\fR \fI$dep\fR\fB)\fR;
+\fIsolvable\fR\fB\&.add_deparray(\fR\fIkeyname\fR\fB,\fR \fIdep\fR\fB)\fR
+\fIsolvable\fR\fB\&.add_deparray(\fR\fIkeyname\fR\fB,\fR \fIdep\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Add a new dependency to the attributes stored in keyname\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid unset(Id\fR \fIkeyname\fR\fB)\fR
+\fI$solvable\fR\fB\->unset(\fR\fI$keyname\fR\fB)\fR;
+\fIsolvable\fR\fB\&.unset(\fR\fIkeyname\fR\fB)\fR
+\fIsolvable\fR\fB\&.unset(\fR\fIkeyname\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Delete data stored for the specific keyname\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBbool installable()\fR
+\fI$solvable\fR\fB\->installable()\fR
+\fIsolvable\fR\fB\&.installable()\fR
+\fIsolvable\fR\fB\&.installable?\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return true if the solvable is installable on the system\&. Solvables are not installable if the system does not support their architecture\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBbool isinstalled()\fR
+\fI$solvable\fR\fB\->isinstalled()\fR
+\fIsolvable\fR\fB\&.isinstalled()\fR
+\fIsolvable\fR\fB\&.isinstalled?\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return true if the solvable is installed on the system\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBbool identical(Solvable *\fR\fIother\fR\fB)\fR
+\fI$solvable\fR\fB\->identical(\fR\fI$other\fR\fB)\fR
+\fIsolvable\fR\fB\&.identical(\fR\fIother\fR\fB)\fR
+\fIsolvable\fR\fB\&.identical?(\fR\fIother\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return true if the two solvables are identical\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBint evrcmp(Solvable *\fR\fIother\fR\fB)\fR
+\fI$solvable\fR\fB\->evrcmp(\fR\fI$other\fR\fB)\fR
+\fIsolvable\fR\fB\&.evrcmp(\fR\fIother\fR\fB)\fR
+\fIsolvable\fR\fB\&.evrcmp(\fR\fIother\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Returns \-1 if the epoch/version/release of the solvable is less than the one from the other solvable, 1 if it is greater, and 0 if they are equal\&. Note that "equal" does not mean that the evr is identical\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBint matchesdep(Id\fR \fIkeyname\fR\fB, DepId\fR \fIid\fR\fB, Id\fR \fImarker\fR \fB= \-1)\fR
+\fI$solvable\fR\fB\->matchesdep(\fR\fI$keyname\fR\fB,\fR \fI$dep\fR\fB)\fR
+\fIsolvable\fR\fB\&.matchesdep(\fR\fIkeyname\fR\fB,\fR \fIdep\fR\fB)\fR
+\fIsolvable\fR\fB\&.matchesdep?(\fR\fIkeyname\fR\fB,\fR \fIdep\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return true if the dependencies stored in keyname match the specified dependency\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSelection Selection(int\fR \fIsetflags\fR \fB= 0)\fR
+my \fI$sel\fR \fB=\fR \fI$solvable\fR\fB\->Selection()\fR;
+\fIsel\fR \fB=\fR \fIsolvable\fR\fB\&.Selection()\fR
+\fIsel\fR \fB=\fR \fIsolvable\fR\fB\&.Selection()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Create a Selection containing just the single solvable\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBconst char *str()\fR
+my \fI$str\fR \fB=\fR \fI$solvable\fR\fB\->str()\fR;
+\fIstr\fR \fB=\fR \fI$solvable\fR\fB\&.str()\fR
+\fIstr\fR \fB=\fR \fI$solvable\fR\fB\&.str()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return a string describing the solvable\&. The string consists of the name, version, and architecture of the Solvable\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fB\fR
+my \fI$str\fR \fB=\fR \fI$solvable\fR\fB\->str\fR;
+\fIstr\fR \fB= str(\fR\fIsolvable\fR\fB)\fR
+\fIstr\fR \fB=\fR \fIsolvable\fR\fB\&.to_s\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Same as calling the str() method\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fB\fR
+\fBif (\fR\fI$solvable1\fR \fB==\fR \fI$solvable2\fR\fB)\fR
+\fBif\fR \fIsolvable1\fR \fB==\fR \fIsolvable2\fR\fB:\fR
+\fBif\fR \fIsolvable1\fR \fB==\fR \fIsolvable2\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Two solvables are equal if they are part of the same pool and have the same ids\&.
+.SH "THE DATAITERATOR CLASS"
+.sp
+Dataiterators can be used to do complex string searches or to iterate over arrays\&. They can be created via the constructors in the Pool, Repo, and Solvable classes\&. The Repo and Solvable constructors will limit the search to the repository or the specific package\&.
+.SS "CONSTANTS"
+.PP
+\fBSEARCH_STRING\fR
+.RS 4
+Return a match if the search string matches the value\&.
+.RE
+.PP
+\fBSEARCH_STRINGSTART\fR
+.RS 4
+Return a match if the value starts with the search string\&.
+.RE
+.PP
+\fBSEARCH_STRINGEND\fR
+.RS 4
+Return a match if the value ends with the search string\&.
+.RE
+.PP
+\fBSEARCH_SUBSTRING\fR
+.RS 4
+Return a match if the search string can be matched somewhere in the value\&.
+.RE
+.PP
+\fBSEARCH_GLOB\fR
+.RS 4
+Do a glob match of the search string against the value\&.
+.RE
+.PP
+\fBSEARCH_REGEX\fR
+.RS 4
+Do a regular expression match of the search string against the value\&.
+.RE
+.PP
+\fBSEARCH_NOCASE\fR
+.RS 4
+Ignore case when matching strings\&. Works for all the above match types\&.
+.RE
+.PP
+\fBSEARCH_FILES\fR
+.RS 4
+Match the complete filenames of the file list, not just the base name\&.
+.RE
+.PP
+\fBSEARCH_COMPLETE_FILELIST\fR
+.RS 4
+When matching the file list, check every file of the package not just the subset from the primary metadata\&.
+.RE
+.PP
+\fBSEARCH_CHECKSUMS\fR
+.RS 4
+Allow the matching of checksum entries\&.
+.RE
+.SS "METHODS"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid prepend_keyname(Id\fR \fIkeyname\fR\fB)\fR;
+\fI$di\fR\fB\->prepend_keyname(\fR\fI$keyname\fR\fB)\fR;
+\fIdi\fR\fB\&.prepend_keyname(\fR\fIkeyname\fR\fB)\fR
+\fIdi\fR\fB\&.prepend_keyname(\fR\fIkeyname\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Do a sub\-search in the array stored in keyname\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid skip_solvable()\fR;
+\fI$di\fR\fB\->skip_solvable()\fR;
+\fIdi\fR\fB\&.skip_solvable()\fR
+\fIdi\fR\fB\&.skip_solvable()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Stop matching the current solvable and advance to the next one\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fB\fR
+\fBfor my\fR \fI$d\fR \fB(\fR\fI@$di\fR\fB)\fR
+\fBfor\fR \fId\fR \fBin\fR \fIdi\fR\fB:\fR
+\fBfor\fR \fId\fR \fBin\fR \fIdi\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Iterate through the matches\&. If there is a match, the object in d will be of type Datamatch\&.
+.SH "THE DATAMATCH CLASS"
+.sp
+Objects of this type will be created for every value matched by a dataiterator\&.
+.SS "ATTRIBUTES"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBPool *pool;\fR /* read only */
+\fI$d\fR\fB\->{pool}\fR
+\fId\fR\fB\&.pool\fR
+\fId\fR\fB\&.pool\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Back pointer to pool\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBRepo *repo;\fR /* read only */
+\fI$d\fR\fB\->{repo}\fR
+\fId\fR\fB\&.repo\fR
+\fId\fR\fB\&.repo\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The repository containing the matched object\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSolvable *solvable;\fR /* read only */
+\fI$d\fR\fB\->{solvable}\fR
+\fId\fR\fB\&.solvable\fR
+\fId\fR\fB\&.solvable\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The solvable containing the value that was matched\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId solvid;\fR /* read only */
+\fI$d\fR\fB\->{solvid}\fR
+\fId\fR\fB\&.solvid\fR
+\fId\fR\fB\&.solvid\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The id of the solvable that matched\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId\fR \fIkey_id\fR;
+\fI$d\fR\fB\->{\fR\fIkey_id\fR\fB}\fR
+\fId\fR\fB\&.key_id\fR
+\fId\fR\fB\&.key_id\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBconst char *\fR\fIkey_idstr\fR;
+\fI$d\fR\fB\->{\fR\fIkey_idstr\fR\fB}\fR
+\fId\fR\fB\&.key_idstr\fR
+\fId\fR\fB\&.key_idstr\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The keyname that matched, either as id or string\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId\fR \fItype_id\fR;
+\fI$d\fR\fB\->{\fR\fItype_id\fR\fB}\fR
+\fId\fR\fB\&.type_id\fR
+\fId\fR\fB\&.type_id\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBconst char *\fR\fItype_idstr\fR;
+\fI$d\fR\fB\->{\fR\fItype_idstr\fR\fB}\fR;
+\fId\fR\fB\&.type_idstr\fR
+\fId\fR\fB\&.type_idstr\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The key type of the value that was matched, either as id or string\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId\fR \fIid\fR;
+\fI$d\fR\fB\->{id}\fR
+\fId\fR\fB\&.id\fR
+\fId\fR\fB\&.id\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId\fR \fIidstr\fR;
+\fI$d\fR\fB\->{idstr}\fR
+\fId\fR\fB\&.idstr\fR
+\fId\fR\fB\&.idstr\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The Id of the value that was matched (only valid for id types), either as id or string\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBDep *dep;\fR /* read only */
+\fI$d\fR\fB\->{dep}\fR
+\fId\fR\fB\&.dep\fR
+\fId\fR\fB\&.dep\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The id of the value that was matched converted to a dependency object\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBconst char *\fR\fIstr\fR;
+\fI$d\fR\fB\->{str}\fR
+\fId\fR\fB\&.str\fR
+\fId\fR\fB\&.str\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The string value that was matched (only valid for string types)\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBunsigned long long\fR \fInum\fR;
+\fI$d\fR\fB\->{num}\fR
+\fId\fR\fB\&.num\fR
+\fId\fR\fB\&.num\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The numeric value that was matched (only valid for numeric types)\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBunsigned int\fR \fInum2\fR;
+\fI$d\fR\fB\->{num2}\fR
+\fId\fR\fB\&.num2\fR
+\fId\fR\fB\&.num2\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The secondary numeric value that was matched (only valid for types containing two values)\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBunsigned int\fR \fIbinary\fR;
+\fI$d\fR\fB\->{binary}\fR
+\fId\fR\fB\&.binary\fR
+\fId\fR\fB\&.binary\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The value in binary form, useful for checksums and other data that cannot be represented as a string\&.
+.SS "METHODS"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBDatapos pos()\fR
+my \fI$pos\fR \fB=\fR \fI$d\fR\fB\->pos()\fR;
+\fIpos\fR \fB=\fR \fId\fR\fB\&.pos()\fR
+\fIpos\fR \fB=\fR \fId\fR\fB\&.pos()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The position object of the current match\&. It can be used to do sub\-searches starting at the match (if it is of an array type)\&. See the Datapos class for more information\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBDatapos parentpos()\fR
+my \fI$pos\fR \fB=\fR \fI$d\fR\fB\->parentpos()\fR;
+\fIpos\fR \fB=\fR \fId\fR\fB\&.parentpos()\fR
+\fIpos\fR \fB=\fR \fId\fR\fB\&.parentpos()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The position object of the array containing the current match\&. It can be used to do sub\-searches, see the Datapos class for more information\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fB\fR
+my \fI$str\fR \fB=\fR \fI$d\fR\fB\->str\fR;
+\fIstr\fR \fB= str(\fR\fId\fR\fB)\fR
+\fIstr\fR \fB=\fR \fId\fR\fB\&.to_s\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return the stringification of the matched value\&. Stringification depends on the search flags, for file list entries it will return just the base name unless SEARCH_FILES is used, for checksums it will return an empty string unless SEARCH_CHECKSUMS is used\&. Numeric values are currently stringified to an empty string\&.
+.SH "THE SELECTION CLASS"
+.sp
+Selections are a way to easily deal with sets of packages\&. There are multiple constructors to create them, the most useful is probably the select() method in the Pool class\&.
+.SS "CONSTANTS"
+.PP
+\fBSELECTION_NAME\fR
+.RS 4
+Create the selection by matching package names\&.
+.RE
+.PP
+\fBSELECTION_PROVIDES\fR
+.RS 4
+Create the selection by matching package provides\&.
+.RE
+.PP
+\fBSELECTION_FILELIST\fR
+.RS 4
+Create the selection by matching package files\&.
+.RE
+.PP
+\fBSELECTION_CANON\fR
+.RS 4
+Create the selection by matching the canonical representation of the package\&. This is normally a combination of the name, the version, and the architecture of a package\&.
+.RE
+.PP
+\fBSELECTION_DOTARCH\fR
+.RS 4
+Allow an "\&." suffix when matching names or provides\&.
+.RE
+.PP
+\fBSELECTION_REL\fR
+.RS 4
+Allow the specification of a relation when matching names or dependencies, e\&.g\&. "name >= 1\&.2"\&.
+.RE
+.PP
+\fBSELECTION_GLOB\fR
+.RS 4
+Allow glob matching for package names, package provides, and file names\&.
+.RE
+.PP
+\fBSELECTION_NOCASE\fR
+.RS 4
+Ignore case when matching package names, package provides, and file names\&.
+.RE
+.PP
+\fBSELECTION_FLAT\fR
+.RS 4
+Return only one selection element describing the selected packages\&. The default is to create multiple elements for all globbed packages\&. Multiple elements are useful if you want to turn the selection into an install job, in that case you want an install job for every globbed package\&.
+.RE
+.PP
+\fBSELECTION_SKIP_KIND\fR
+.RS 4
+Remove a "packagekind:" prefix from the package names\&.
+.RE
+.PP
+\fBSELECTION_MATCH_DEPSTR\fR
+.RS 4
+When matching dependencies, do a string match on the result of dep2str instead of using the normal dependency intersect algorithm\&.
+.RE
+.PP
+\fBSELECTION_INSTALLED_ONLY\fR
+.RS 4
+Limit the package search to installed packages\&.
+.RE
+.PP
+\fBSELECTION_SOURCE_ONLY\fR
+.RS 4
+Limit the package search to source packages only\&.
+.RE
+.PP
+\fBSELECTION_WITH_SOURCE\fR
+.RS 4
+Extend the package search to also match source packages\&. The default is only to match binary packages\&.
+.RE
+.PP
+\fBSELECTION_WITH_DISABLED\fR
+.RS 4
+Extend the package search to also include disabled packages\&.
+.RE
+.PP
+\fBSELECTION_WITH_BADARCH\fR
+.RS 4
+Extend the package search to also include packages that are not installable on the configured architecture\&.
+.RE
+.PP
+\fBSELECTION_WITH_ALL\fR
+.RS 4
+Shortcut for selecting the three modifiers above\&.
+.RE
+.PP
+\fBSELECTION_ADD\fR
+.RS 4
+Add the result of the match to the current selection instead of replacing it\&.
+.RE
+.PP
+\fBSELECTION_SUBTRACT\fR
+.RS 4
+Remove the result of the match to the current selection instead of replacing it\&.
+.RE
+.PP
+\fBSELECTION_FILTER\fR
+.RS 4
+Intersect the result of the match to the current selection instead of replacing it\&.
+.RE
+.SS "ATTRIBUTES"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBPool *pool;\fR /* read only */
+\fI$d\fR\fB\->{pool}\fR
+\fId\fR\fB\&.pool\fR
+\fId\fR\fB\&.pool\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Back pointer to pool\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBint flags;\fR /* read only */
+\fI$sel\fR\fB\->{flags}\fR
+\fIflags\fR \fB=\fR \fIsel\fR\fB\&.flags\fR
+\fIflags\fR \fB=\fR \fIsel\fR\fB\&.flags\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The result flags of the selection\&. The flags are a subset of the ones used when creating the selection, they describe which method was used to get the result\&. For example, if you create the selection with \(lqSELECTION_NAME | SELECTION_PROVIDES\(rq, the resulting flags will either be SELECTION_NAME or SELECTION_PROVIDES depending if there was a package that matched the name or not\&. If there was no match at all, the flags will be zero\&.
+.SS "METHODS"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBbool isempty()\fR
+\fI$sel\fR\fB\->isempty()\fR
+\fIsel\fR\fB\&.isempty()\fR
+\fIsel\fR\fB\&.isempty?\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return true if the selection is empty, i\&.e\&. no package could be matched\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSelection clone(int\fR \fIflags\fR \fB= 0)\fR
+my \fI$cloned\fR \fB=\fR \fI$sel\fR\fB\->clone()\fR;
+\fIcloned\fR \fB=\fR \fIsel\fR\fB\&.clone()\fR
+\fIcloned\fR \fB=\fR \fIsel\fR\fB\&.clone()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return a copy of a selection\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid filter(Selection *\fR\fIother\fR\fB)\fR
+\fI$sel\fR\fB\->filter(\fR\fI$other\fR\fB)\fR;
+\fIsel\fR\fB\&.filter(\fR\fIother\fR\fB)\fR
+\fIsel\fR\fB\&.filter(\fR\fIother\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Intersect two selections\&. Packages will only stay in the selection if there are also included in the other selecting\&. Does an in\-place modification\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid add(Selection *\fR\fIother\fR\fB)\fR
+\fI$sel\fR\fB\->add(\fR\fI$other\fR\fB)\fR;
+\fIsel\fR\fB\&.add(\fR\fIother\fR\fB)\fR
+\fIsel\fR\fB\&.add(\fR\fIother\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Build the union of two selections\&. All packages of the other selection will be added to the set of packages of the selection object\&. Does an in\-place modification\&. Note that the selection flags are no longer meaningful after the add operation\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid subtract(Selection *\fR\fIother\fR\fB)\fR
+\fI$sel\fR\fB\->subtract(\fR\fI$other\fR\fB)\fR;
+\fIsel\fR\fB\&.subtract(\fR\fIother\fR\fB)\fR
+\fIsel\fR\fB\&.subtract(\fR\fIother\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Remove the packages of the other selection from the packages of the selection object\&. Does an in\-place modification\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid add_raw(Id\fR \fIhow\fR\fB, Id\fR \fIwhat\fR\fB)\fR
+\fI$sel\fR\fB\->add_raw(\fR\fI$how\fR\fB,\fR \fI$what\fR\fB)\fR;
+\fIsel\fR\fB\&.add_raw(\fR\fIhow\fR\fB,\fR \fIwhat\fR\fB)\fR
+\fIsel\fR\fB\&.add_raw(\fR\fIhow\fR\fB,\fR \fIwhat\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Add a raw element to the selection\&. Check the Job class for information about the how and what parameters\&. Note that the selection flags are no longer meaningful after the add_raw operation\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBJob *jobs(int\fR \fIaction\fR\fB)\fR
+my \fI@jobs\fR \fB=\fR \fI$sel\fR\fB\->jobs(\fR\fI$action\fR\fB)\fR;
+\fIjobs\fR \fB=\fR \fIsel\fR\fB\&.jobs(\fR\fIaction\fR\fB)\fR
+\fIjobs\fR \fB=\fR \fIsel\fR\fB\&.jobs(\fR\fIaction\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Convert a selection into an array of Job objects\&. The action parameter is or\-ed to the \(lqhow\(rq part of the job, it describes the type of job (e\&.g\&. install, erase)\&. See the Job class for the action and action modifier constants\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSolvable *solvables()\fR
+my \fI@solvables\fR \fB=\fR \fI$sel\fR\fB\->solvables()\fR;
+\fIsolvables\fR \fB=\fR \fIsel\fR\fB\&.solvables()\fR
+\fIsolvables\fR \fB=\fR \fIsel\fR\fB\&.solvables()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Convert a selection into an array of Solvable objects\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid select(const char *\fR\fIname\fR\fB, int\fR \fIflags\fR\fB)\fR
+\fI$sel\fR\fB\->select(\fR\fI$name\fR\fB,\fR \fI$flags\fR\fB)\fR;
+\fIsel\fR\fB\&.select(\fR\fIname\fR\fB,\fR \fIflags\fR\fB)\fR
+\fIsel\fR\fB\&.select(\fR\fIname\fR\fB,\fR \fIflags\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Do a select operation and combine the result with the current selection\&. You can choose the desired combination method by using either the SELECTION_ADD, SELECTION_SUBTRACT, or SELECTION_FILTER flag\&. If none of the flags are used, SELECTION_FILTER|SELECTION_WITH_ALL is assumed\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid matchdeps(const char *\fR\fIname\fR\fB, int\fR \fIflags\fR\fB, Id\fR \fIkeyname\fR\fB, Id\fR \fImarker\fR \fB= \-1)\fR
+\fI$sel\fR\fB\->matchdeps(\fR\fI$name\fR\fB,\fR \fI$flags\fR\fB,\fR \fI$keyname\fR\fB)\fR;
+\fIsel\fR\fB\&.matchdeps(\fR\fIname\fR\fB,\fR \fIflags\fR\fB,\fR \fIkeyname\fR\fB)\fR
+\fIsel\fR\fB\&.matchdeps(\fR\fIname\fR\fB,\fR \fIflags\fR\fB,\fR \fIkeyname\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Do a matchdeps operation and combine the result with the current selection\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid matchdepid(DepId\fR \fIdep\fR\fB, int\fR \fIflags\fR\fB, Id\fR \fIkeyname\fR\fB, Id\fR \fImarker\fR \fB= \-1)\fR
+\fI$sel\fR\fB\->matchdepid(\fR\fI$dep\fR\fB,\fR \fI$flags\fR\fB,\fR \fI$keyname\fR\fB)\fR;
+\fIsel\fR\fB\&.matchdepid(\fR\fIdep\fR\fB,\fR \fIflags\fR\fB,\fR \fIkeyname\fR\fB)\fR
+\fIsel\fR\fB\&.matchdepid(\fR\fIdep\fR\fB,\fR \fIflags\fR\fB,\fR \fIkeyname\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Do a matchdepid operation and combine the result with the current selection\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid matchsolvable(Solvable\fR \fIsolvable\fR\fB, int\fR \fIflags\fR\fB, Id\fR \fIkeyname\fR\fB, Id\fR \fImarker\fR \fB= \-1)\fR
+\fI$sel\fR\fB\->matchsolvable(\fR\fI$solvable\fR\fB,\fR \fI$flags\fR\fB,\fR \fI$keyname\fR\fB)\fR;
+\fIsel\fR\fB\&.matchsolvable(\fR\fIsolvable\fR\fB,\fR \fIflags\fR\fB,\fR \fIkeyname\fR\fB)\fR
+\fIsel\fR\fB\&.matchsolvable(\fR\fIsolvable\fR\fB,\fR \fIflags\fR\fB,\fR \fIkeyname\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Do a matchsolvable operation and combine the result with the current selection\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fB\fR
+my \fI$str\fR \fB=\fR \fI$sel\fR\fB\->str\fR;
+\fIstr\fR \fB= str(\fR\fIsel\fR\fB)\fR
+\fIstr\fR \fB=\fR \fIsel\fR\fB\&.to_s\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return a string describing the selection\&.
+.SH "THE JOB CLASS"
+.sp
+Jobs are the way to specify to the dependency solver what to do\&. Most of the times jobs will get created by calling the jobs() method on a Selection object, but there is also a Job() constructor in the Pool class\&.
+.SS "CONSTANTS"
+.sp
+Selection constants:
+.PP
+\fBSOLVER_SOLVABLE\fR
+.RS 4
+The \(lqwhat\(rq part is the id of a solvable\&.
+.RE
+.PP
+\fBSOLVER_SOLVABLE_NAME\fR
+.RS 4
+The \(lqwhat\(rq part is the id of a package name\&.
+.RE
+.PP
+\fBSOLVER_SOLVABLE_PROVIDES\fR
+.RS 4
+The \(lqwhat\(rq part is the id of a package provides\&.
+.RE
+.PP
+\fBSOLVER_SOLVABLE_ONE_OF\fR
+.RS 4
+The \(lqwhat\(rq part is an offset into the \(lqwhatprovides\(rq data, created by calling the towhatprovides() pool method\&.
+.RE
+.PP
+\fBSOLVER_SOLVABLE_REPO\fR
+.RS 4
+The \(lqwhat\(rq part is the id of a repository\&.
+.RE
+.PP
+\fBSOLVER_SOLVABLE_ALL\fR
+.RS 4
+The \(lqwhat\(rq part is ignored, all packages are selected\&.
+.RE
+.PP
+\fBSOLVER_SOLVABLE_SELECTMASK\fR
+.RS 4
+A mask containing all the above selection bits\&.
+.RE
+.sp
+Action constants:
+.PP
+\fBSOLVER_NOOP\fR
+.RS 4
+Do nothing\&.
+.RE
+.PP
+\fBSOLVER_INSTALL\fR
+.RS 4
+Install a package of the specified set of packages\&. It tries to install the best matching package (i\&.e\&. the highest version of the packages from the repositories with the highest priority)\&.
+.RE
+.PP
+\fBSOLVER_ERASE\fR
+.RS 4
+Erase all of the packages from the specified set\&. If a package is not installed, erasing it will keep it from getting installed\&.
+.RE
+.PP
+\fBSOLVER_UPDATE\fR
+.RS 4
+Update the matching installed packages to their best version\&. If none of the specified packages are installed, try to update the installed packages to the specified versions\&. See the section about targeted updates about more information\&.
+.RE
+.PP
+\fBSOLVER_WEAKENDEPS\fR
+.RS 4
+Allow one to break the dependencies of the matching packages\&. Handle with care\&.
+.RE
+.PP
+\fBSOLVER_MULTIVERSION\fR
+.RS 4
+Mark the matched packages for multiversion install\&. If they get to be installed because of some other job, the installation will keep the old version of the package installed (for rpm this is done by using \(lq\-i\(rq instead of \(lq\-U\(rq)\&.
+.RE
+.PP
+\fBSOLVER_LOCK\fR
+.RS 4
+Do not change the state of the matched packages, i\&.e\&. when they are installed they stay installed, if not they are not selected for installation\&.
+.RE
+.PP
+\fBSOLVER_DISTUPGRADE\fR
+.RS 4
+Update the matching installed packages to the best version included in one of the repositories\&. After this operation, all come from one of the available repositories except orphaned packages\&. Orphaned packages are packages that have no relation to the packages in the repositories, i\&.e\&. no package in the repositories have the same name or obsolete the orphaned package\&. This action brings the installed packages in sync with the ones in the repository\&. By default it also turns of arch/vendor/version locking for the affected packages to simulate a fresh installation\&. This means that distupgrade can actually downgrade packages if only lower versions of a package are available in the repositories\&. You can tweak this behavior with the SOLVER_FLAG_DUP_ solver flags\&.
+.RE
+.PP
+\fBSOLVER_DROP_ORPHANED\fR
+.RS 4
+Erase all the matching installed packages if they are orphaned\&. This only makes sense if there is a \(lqdistupgrade all packages\(rq job\&. The default is to erase orphaned packages only if they block the installation of other packages\&.
+.RE
+.PP
+\fBSOLVER_VERIFY\fR
+.RS 4
+Fix dependency problems of matching installed packages\&. The default is to ignore dependency problems for installed packages\&.
+.RE
+.PP
+\fBSOLVER_USERINSTALLED\fR
+.RS 4
+The matching installed packages are considered to be installed by a user, thus not installed to fulfill some dependency\&. This is needed input for the calculation of unneeded packages for jobs that have the SOLVER_CLEANDEPS flag set\&.
+.RE
+.PP
+\fBSOLVER_ALLOWUNINSTALL\fR
+.RS 4
+Allow the solver to deinstall the matching installed packages if they get into the way of resolving a dependency\&. This is like the SOLVER_FLAG_ALLOW_UNINSTALL flag, but limited to a specific set of packages\&.
+.RE
+.PP
+\fBSOLVER_FAVOR\fR
+.RS 4
+Prefer the specified packages if the solver encounters an alternative\&. If a job contains multiple matching favor/disfavor elements, the last one takes precedence\&.
+.RE
+.PP
+\fBSOLVER_DISFAVOR\fR
+.RS 4
+Avoid the specified packages if the solver encounters an alternative\&. This can also be used to block recommended or supplemented packages from being installed\&.
+.RE
+.PP
+\fBSOLVER_EXCLUDEFROMWEAK\fR
+.RS 4
+Avoid the specified packages to satisfy recommended or supplemented dependencies\&. Unlike SOLVER_DISFAVOR, it does not interfere with other rules\&.
+.RE
+.PP
+\fBSOLVER_JOBMASK\fR
+.RS 4
+A mask containing all the above action bits\&.
+.RE
+.sp
+Action modifier constants:
+.PP
+\fBSOLVER_WEAK\fR
+.RS 4
+Makes the job a weak job\&. The solver tries to fulfill weak jobs, but does not report a problem if it is not possible to do so\&.
+.RE
+.PP
+\fBSOLVER_ESSENTIAL\fR
+.RS 4
+Makes the job an essential job\&. If there is a problem with the job, the solver will not propose to remove the job as one solution (unless all other solutions are also to remove essential jobs)\&.
+.RE
+.PP
+\fBSOLVER_CLEANDEPS\fR
+.RS 4
+The solver will try to also erase all packages dragged in through dependencies when erasing the package\&. This needs SOLVER_USERINSTALLED jobs to maximize user satisfaction\&.
+.RE
+.PP
+\fBSOLVER_FORCEBEST\fR
+.RS 4
+Insist on the best package for install, update, and distupgrade jobs\&. If this flag is not used, the solver will use the second\-best package if the best package cannot be installed for some reason\&. When this flag is used, the solver will generate a problem instead\&.
+.RE
+.PP
+\fBSOLVER_TARGETED\fR
+.RS 4
+Forces targeted operation update and distupgrade jobs\&. See the section about targeted updates about more information\&.
+.RE
+.sp
+Set constants\&.
+.PP
+\fBSOLVER_SETEV\fR
+.RS 4
+The job specified the exact epoch and version of the package set\&.
+.RE
+.PP
+\fBSOLVER_SETEVR\fR
+.RS 4
+The job specified the exact epoch, version, and release of the package set\&.
+.RE
+.PP
+\fBSOLVER_SETARCH\fR
+.RS 4
+The job specified the exact architecture of the packages from the set\&.
+.RE
+.PP
+\fBSOLVER_SETVENDOR\fR
+.RS 4
+The job specified the exact vendor of the packages from the set\&.
+.RE
+.PP
+\fBSOLVER_SETREPO\fR
+.RS 4
+The job specified the exact repository of the packages from the set\&.
+.RE
+.PP
+\fBSOLVER_SETNAME\fR
+.RS 4
+The job specified the exact name of the packages from the set\&.
+.RE
+.PP
+\fBSOLVER_NOAUTOSET\fR
+.RS 4
+Turn of automatic set flag generation for SOLVER_SOLVABLE jobs\&.
+.RE
+.PP
+\fBSOLVER_SETMASK\fR
+.RS 4
+A mask containing all the above set bits\&.
+.RE
+.sp
+See the section about set bits for more information\&.
+.SS "ATTRIBUTES"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBPool *pool;\fR /* read only */
+\fI$job\fR\fB\->{pool}\fR
+\fId\fR\fB\&.pool\fR
+\fId\fR\fB\&.pool\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Back pointer to pool\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId how;\fR /* read/write */
+\fI$job\fR\fB\->{how}\fR
+\fId\fR\fB\&.how\fR
+\fId\fR\fB\&.how\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Union of the selection, action, action modifier, and set flags\&. The selection part describes the semantics of the \(lqwhat\(rq Id\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId what;\fR /* read/write */
+\fI$job\fR\fB\->{what}\fR
+\fId\fR\fB\&.what\fR
+\fId\fR\fB\&.what\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Id describing the set of packages, the meaning depends on the selection part of the \(lqhow\(rq attribute\&.
+.SS "METHODS"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSolvable *solvables()\fR
+my \fI@solvables\fR \fB=\fR \fI$job\fR\fB\->solvables()\fR;
+\fIsolvables\fR \fB=\fR \fIjob\fR\fB\&.solvables()\fR
+\fIsolvables\fR \fB=\fR \fIjob\fR\fB\&.solvables()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return the set of solvables of the job as an array of Solvable objects\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBbool isemptyupdate()\fR
+\fI$job\fR\fB\->isemptyupdate()\fR
+\fIjob\fR\fB\&.isemptyupdate()\fR
+\fIjob\fR\fB\&.isemptyupdate?\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Convenience function to find out if the job describes an update job with no matching packages, i\&.e\&. a job that does nothing\&. Some package managers like \(lqzypper\(rq like to turn those jobs into install jobs, i\&.e\&. an update of a not\-installed package will result into the installation of the package\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fB\fR
+my \fI$str\fR \fB=\fR \fI$job\fR\fB\->str\fR;
+\fIstr\fR \fB= str(\fR\fIjob\fR\fB)\fR
+\fIstr\fR \fB=\fR \fIjob\fR\fB\&.to_s\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return a string describing the job\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fB\fR
+\fBif (\fR\fI$job1\fR \fB==\fR \fI$job2\fR\fB)\fR
+\fBif\fR \fIjob1\fR \fB==\fR \fIjob2\fR\fB:\fR
+\fBif\fR \fIjob1\fR \fB==\fR \fIjob2\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Two jobs are equal if they belong to the same pool and both the \(lqhow\(rq and the \(lqwhat\(rq attributes are the same\&.
+.SS "TARGETED UPDATES"
+.sp
+Libsolv has two modes for upgrades and distupgrade: targeted and untargeted\&. Untargeted mode means that the installed packages from the specified set will be updated to the best version\&. Targeted means that packages that can be updated to a package in the specified set will be updated to the best package of the set\&.
+.sp
+Here\(cqs an example to explain the subtle difference\&. Suppose that you have package A installed in version "1\&.1", "A\-1\&.2" is available in one of the repositories and there is also package "B" that obsoletes package A\&.
+.sp
+An untargeted update of "A" will update the installed "A\-1\&.1" to package "B", because that is the newest version (B obsoletes A and is thus newer)\&.
+.sp
+A targeted update of "A" will update "A\-1\&.1" to "A\-1\&.2", as the set of packages contains both "A\-1\&.1" and "A\-1\&.2", and "A\-1\&.2" is the newer one\&.
+.sp
+An untargeted update of "B" will do nothing, as "B" is not installed\&.
+.sp
+An targeted update of "B" will update "A\-1\&.1" to "B"\&.
+.sp
+Note that the default is to do "auto\-targeting", thus if the specified set of packages does not include an installed package, the solver will assume targeted operation even if SOLVER_TARGETED is not used\&.
+.sp
+This mostly matches the intent of the user, with one exception: In the example above, an update of "A\-1\&.2" will update "A\-1\&.1" to "A\-1\&.2" (targeted mode), but a second update of "A\-1\&.2" will suddenly update to "B", as untargeted mode is chosen because "A\-1\&.2" is now installed\&.
+.sp
+If you want to have full control over when targeting mode is chosen, turn off auto\-targeting with the SOLVER_FLAG_NO_AUTOTARGET solver option\&. In that case, all updates are considered to be untargeted unless they include the SOLVER_TARGETED flag\&.
+.SS "SET BITS"
+.sp
+Set bits specify which parts of the specified packages where specified by the user\&. It is used by the solver when checking if an operation is allowed or not\&. For example, the solver will normally not allow the downgrade of an installed package\&. But it will not report a problem if the SOLVER_SETEVR flag is used, as it then assumes that the user specified the exact version and thus knows what he is doing\&.
+.sp
+So if a package "screen\-1\-1" is installed for the x86_64 architecture and version "2\-1" is only available for the i586 architecture, installing package "screen\-2\&.1" will ask the user for confirmation because of the different architecture\&. When using the Selection class to create jobs the set bits are automatically added, e\&.g\&. selecting \(lqscreen\&.i586\(rq will automatically add SOLVER_SETARCH, and thus no problem will be reported\&.
+.SH "THE SOLVER CLASS"
+.sp
+Dependency solving is what this library is about\&. A solver object is needed for solving to store the result of the solver run\&. The solver object can be used multiple times for different jobs, reusing it allows the solver to re\-use the dependency rules it already computed\&.
+.SS "CONSTANTS"
+.sp
+Flags to modify some of the solver\(cqs behavior:
+.PP
+\fBSOLVER_FLAG_ALLOW_DOWNGRADE\fR
+.RS 4
+Allow the solver to downgrade packages without asking for confirmation (i\&.e\&. reporting a problem)\&.
+.RE
+.PP
+\fBSOLVER_FLAG_ALLOW_ARCHCHANGE\fR
+.RS 4
+Allow the solver to change the architecture of an installed package without asking for confirmation\&. Note that changes to/from noarch are always considered to be allowed\&.
+.RE
+.PP
+\fBSOLVER_FLAG_ALLOW_VENDORCHANGE\fR
+.RS 4
+Allow the solver to change the vendor of an installed package without asking for confirmation\&. Each vendor is part of one or more vendor equivalence classes, normally installed packages may only change their vendor if the new vendor shares at least one equivalence class\&.
+.RE
+.PP
+\fBSOLVER_FLAG_ALLOW_NAMECHANGE\fR
+.RS 4
+Allow the solver to change the name of an installed package, i\&.e\&. install a package with a different name that obsoletes the installed package\&. This option is on by default\&.
+.RE
+.PP
+\fBSOLVER_FLAG_ALLOW_UNINSTALL\fR
+.RS 4
+Allow the solver to erase installed packages to fulfill the jobs\&. This flag also includes the above flags\&. You may want to set this flag if you only have SOLVER_ERASE jobs, as in that case it\(cqs better for the user to check the transaction overview instead of approving every single package that needs to be erased\&.
+.RE
+.PP
+\fBSOLVER_FLAG_DUP_ALLOW_DOWNGRADE\fR
+.RS 4
+Like SOLVER_FLAG_ALLOW_DOWNGRADE, but used in distupgrade mode\&.
+.RE
+.PP
+\fBSOLVER_FLAG_DUP_ALLOW_ARCHCHANGE\fR
+.RS 4
+Like SOLVER_FLAG_ALLOW_ARCHCHANGE, but used in distupgrade mode\&.
+.RE
+.PP
+\fBSOLVER_FLAG_DUP_ALLOW_VENDORCHANGE\fR
+.RS 4
+Like SOLVER_FLAG_ALLOW_VENDORCHANGE, but used in distupgrade mode\&.
+.RE
+.PP
+\fBSOLVER_FLAG_DUP_ALLOW_NAMECHANGE\fR
+.RS 4
+Like SOLVER_FLAG_ALLOW_NAMECHANGE, but used in distupgrade mode\&.
+.RE
+.PP
+\fBSOLVER_FLAG_NO_UPDATEPROVIDE\fR
+.RS 4
+If multiple packages obsolete an installed package, the solver checks the provides of every such package and ignores all packages that do not provide the installed package name\&. Thus, you can have an official update candidate that provides the old name, and other packages that also obsolete the package but are not considered for updating\&. If you cannot use this feature, you can turn it off by setting this flag\&.
+.RE
+.PP
+\fBSOLVER_FLAG_NEED_UPDATEPROVIDE\fR
+.RS 4
+This is somewhat the opposite of SOLVER_FLAG_NO_UPDATEPROVIDE: Only packages that provide the installed package names are considered for updating\&.
+.RE
+.PP
+\fBSOLVER_FLAG_SPLITPROVIDES\fR
+.RS 4
+Make the solver aware of special provides of the form \(lq:\(rq used in SUSE systems to support package splits\&.
+.RE
+.PP
+\fBSOLVER_FLAG_IGNORE_RECOMMENDED\fR
+.RS 4
+Do not process optional (aka weak) dependencies\&.
+.RE
+.PP
+\fBSOLVER_FLAG_ADD_ALREADY_RECOMMENDED\fR
+.RS 4
+Install recommended or supplemented packages even if they have no connection to the current transaction\&. You can use this feature to implement a simple way for the user to install new recommended packages that were not available in the past\&.
+.RE
+.PP
+\fBSOLVER_FLAG_NO_INFARCHCHECK\fR
+.RS 4
+Turn off the inferior architecture checking that is normally done by the solver\&. Normally, the solver allows only the installation of packages from the "best" architecture if a package is available for multiple architectures\&.
+.RE
+.PP
+\fBSOLVER_FLAG_BEST_OBEY_POLICY\fR
+.RS 4
+Make the SOLVER_FORCEBEST job option consider only packages that meet the policies for installed packages, i\&.e\&. no downgrades, no architecture change, no vendor change (see the first flags of this section)\&. If the flag is not specified, the solver will enforce the installation of the best package ignoring the installed packages, which may conflict with the set policy\&.
+.RE
+.PP
+\fBSOLVER_FLAG_NO_AUTOTARGET\fR
+.RS 4
+Do not enable auto\-targeting up update and distupgrade jobs\&. See the section on targeted updates for more information\&.
+.RE
+.PP
+\fBSOLVER_FLAG_KEEP_ORPHANS\fR
+.RS 4
+Do not allow orphaned packages to be deinstalled if they get in the way of resolving other packages\&.
+.RE
+.PP
+\fBSOLVER_FLAG_BREAK_ORPHANS\fR
+.RS 4
+Ignore dependencies of orphaned packages that get in the way of resolving non\-orphaned ones\&. Setting the flag might result in no longer working packages in case they are orphaned\&.
+.RE
+.PP
+\fBSOLVER_FLAG_FOCUS_INSTALLED\fR
+.RS 4
+Resolve installed packages before resolving the given jobs\&. Setting this flag means that the solver will prefer picking a package version that fits the other installed packages over updating installed packages\&.
+.RE
+.PP
+\fBSOLVER_FLAG_FOCUS_BEST\fR
+.RS 4
+First resolve the given jobs, then the dependencies of the resulting packages, then resolve all already installed packages\&. This will result in more packages being updated as when the flag is not used\&.
+.RE
+.PP
+\fBSOLVER_FLAG_FOCUS_NEW\fR
+.RS 4
+First resolve the given jobs, then the dependencies of the resulting packages ignoreing the ones provided by currently installed packages\&. After that resolve all already installed packages\&. This is similar to SOLVER_FLAG_FOCUS_BEST but less aggressive in updating packages\&.
+.RE
+.PP
+\fBSOLVER_FLAG_INSTALL_ALSO_UPDATES\fR
+.RS 4
+Update the package if a job is already fulfilled by an installed package\&.
+.RE
+.PP
+\fBSOLVER_FLAG_YUM_OBSOLETES\fR
+.RS 4
+Turn on yum\-like package split handling\&. See the yum documentation for more details\&.
+.RE
+.PP
+\fBSOLVER_FLAG_URPM_REORDER\fR
+.RS 4
+Turn on urpm like package reordering for kernel packages\&. See the urpm documentation for more details\&.
+.RE
+.sp
+Basic rule types:
+.PP
+\fBSOLVER_RULE_UNKNOWN\fR
+.RS 4
+A rule of an unknown class\&. You should never encounter those\&.
+.RE
+.PP
+\fBSOLVER_RULE_PKG\fR
+.RS 4
+A rule generated because of a package dependency\&.
+.RE
+.PP
+\fBSOLVER_RULE_UPDATE\fR
+.RS 4
+A rule to implement the update policy of installed packages\&. Every installed package has an update rule that consists of the packages that may replace the installed package\&.
+.RE
+.PP
+\fBSOLVER_RULE_FEATURE\fR
+.RS 4
+Feature rules are fallback rules used when an update rule is disabled\&. They include all packages that may replace the installed package ignoring the update policy, i\&.e\&. they contain downgrades, arch changes and so on\&. Without them, the solver would simply erase installed packages if their update rule gets disabled\&.
+.RE
+.PP
+\fBSOLVER_RULE_JOB\fR
+.RS 4
+Job rules implement the job given to the solver\&.
+.RE
+.PP
+\fBSOLVER_RULE_DISTUPGRADE\fR
+.RS 4
+These are simple negative assertions that make sure that only packages are kept that are also available in one of the repositories\&.
+.RE
+.PP
+\fBSOLVER_RULE_INFARCH\fR
+.RS 4
+Infarch rules are also negative assertions, they disallow the installation of packages when there are packages of the same name but with a better architecture\&.
+.RE
+.PP
+\fBSOLVER_RULE_CHOICE\fR
+.RS 4
+Choice rules are used to make sure that the solver prefers updating to installing different packages when some dependency is provided by multiple packages with different names\&. The solver may always break choice rules, so you will not see them when a problem is found\&.
+.RE
+.PP
+\fBSOLVER_RULE_LEARNT\fR
+.RS 4
+These rules are generated by the solver to keep it from running into the same problem multiple times when it has to backtrack\&. They are the main reason why a sat solver is faster than other dependency solver implementations\&.
+.RE
+.sp
+Special dependency rule types:
+.PP
+\fBSOLVER_RULE_PKG_NOT_INSTALLABLE\fR
+.RS 4
+This rule was added to prevent the installation of a package of an architecture that does not work on the system\&.
+.RE
+.PP
+\fBSOLVER_RULE_PKG_NOTHING_PROVIDES_DEP\fR
+.RS 4
+The package contains a required dependency which was not provided by any package\&.
+.RE
+.PP
+\fBSOLVER_RULE_PKG_REQUIRES\fR
+.RS 4
+The package contains a required dependency which was provided by at least one package\&.
+.RE
+.PP
+\fBSOLVER_RULE_PKG_SELF_CONFLICT\fR
+.RS 4
+The package conflicts with itself\&. This is not allowed by older rpm versions\&.
+.RE
+.PP
+\fBSOLVER_RULE_PKG_CONFLICTS\fR
+.RS 4
+The package conflices with some other package\&.
+.RE
+.PP
+\fBSOLVER_RULE_PKG_SAME_NAME\fR
+.RS 4
+This rules make sure that only one version of a package is installed in the system\&.
+.RE
+.PP
+\fBSOLVER_RULE_PKG_OBSOLETES\fR
+.RS 4
+To fulfill the dependencies two packages need to be installed, but one of the packages obsoletes the other one\&.
+.RE
+.PP
+\fBSOLVER_RULE_PKG_IMPLICIT_OBSOLETES\fR
+.RS 4
+To fulfill the dependencies two packages need to be installed, but one of the packages has provides a dependency that is obsoleted by the other one\&. See the POOL_FLAG_IMPLICITOBSOLETEUSESPROVIDES flag\&.
+.RE
+.PP
+\fBSOLVER_RULE_PKG_INSTALLED_OBSOLETES\fR
+.RS 4
+To fulfill the dependencies a package needs to be installed that is obsoleted by an installed package\&. See the POOL_FLAG_NOINSTALLEDOBSOLETES flag\&.
+.RE
+.PP
+\fBSOLVER_RULE_PKG_RECOMMENDS\fR
+.RS 4
+The package contains a recommended dependency\&.
+.RE
+.PP
+\fBSOLVER_RULE_PKG_SUPPLEMENTS\fR
+.RS 4
+The package contains a dependency to specify it supplements another package\&.
+.RE
+.PP
+\fBSOLVER_RULE_PKG_CONSTRAINS\fR
+.RS 4
+The package contains a constraint against some other package (disttype conda)\&.
+.RE
+.PP
+\fBSOLVER_RULE_JOB_NOTHING_PROVIDES_DEP\fR
+.RS 4
+The user asked for installation of a package providing a specific dependency, but no available package provides it\&.
+.RE
+.PP
+\fBSOLVER_RULE_JOB_UNKNOWN_PACKAGE\fR
+.RS 4
+The user asked for installation of a package with a specific name, but no available package has that name\&.
+.RE
+.PP
+\fBSOLVER_RULE_JOB_PROVIDED_BY_SYSTEM\fR
+.RS 4
+The user asked for the erasure of a dependency that is provided by the system (i\&.e\&. for special hardware or language dependencies), this cannot be done with a job\&.
+.RE
+.PP
+\fBSOLVER_RULE_JOB_UNSUPPORTED\fR
+.RS 4
+The user asked for something that is not yet implemented, e\&.g\&. the installation of all packages at once\&.
+.RE
+.sp
+Policy error constants
+.PP
+\fBPOLICY_ILLEGAL_DOWNGRADE\fR
+.RS 4
+The solver ask for permission before downgrading packages\&.
+.RE
+.PP
+\fBPOLICY_ILLEGAL_ARCHCHANGE\fR
+.RS 4
+The solver ask for permission before changing the architecture of installed packages\&.
+.RE
+.PP
+\fBPOLICY_ILLEGAL_VENDORCHANGE\fR
+.RS 4
+The solver ask for permission before changing the vendor of installed packages\&.
+.RE
+.PP
+\fBPOLICY_ILLEGAL_NAMECHANGE\fR
+.RS 4
+The solver ask for permission before replacing an installed packages with a package that has a different name\&.
+.RE
+.sp
+Solution element type constants
+.PP
+\fBSOLVER_SOLUTION_JOB\fR
+.RS 4
+The problem can be solved by removing the specified job\&.
+.RE
+.PP
+\fBSOLVER_SOLUTION_POOLJOB\fR
+.RS 4
+The problem can be solved by removing the specified job that is defined in the pool\&.
+.RE
+.PP
+\fBSOLVER_SOLUTION_INFARCH\fR
+.RS 4
+The problem can be solved by allowing the installation of the specified package with an inferior architecture\&.
+.RE
+.PP
+\fBSOLVER_SOLUTION_DISTUPGRADE\fR
+.RS 4
+The problem can be solved by allowing to keep the specified package installed\&.
+.RE
+.PP
+\fBSOLVER_SOLUTION_BEST\fR
+.RS 4
+The problem can be solved by allowing to install the specified package that is not the best available package\&.
+.RE
+.PP
+\fBSOLVER_SOLUTION_ERASE\fR
+.RS 4
+The problem can be solved by allowing to erase the specified package\&.
+.RE
+.PP
+\fBSOLVER_SOLUTION_REPLACE\fR
+.RS 4
+The problem can be solved by allowing to replace the package with some other package\&.
+.RE
+.PP
+\fBSOLVER_SOLUTION_REPLACE_DOWNGRADE\fR
+.RS 4
+The problem can be solved by allowing to replace the package with some other package that has a lower version\&.
+.RE
+.PP
+\fBSOLVER_SOLUTION_REPLACE_ARCHCHANGE\fR
+.RS 4
+The problem can be solved by allowing to replace the package with some other package that has a different architecture\&.
+.RE
+.PP
+\fBSOLVER_SOLUTION_REPLACE_VENDORCHANGE\fR
+.RS 4
+The problem can be solved by allowing to replace the package with some other package that has a different vendor\&.
+.RE
+.PP
+\fBSOLVER_SOLUTION_REPLACE_NAMECHANGE\fR
+.RS 4
+The problem can be solved by allowing to replace the package with some other package that has a different name\&.
+.RE
+.sp
+Reason constants
+.PP
+\fBSOLVER_REASON_UNRELATED\fR
+.RS 4
+The package status did not change as it was not related to any job\&.
+.RE
+.PP
+\fBSOLVER_REASON_UNIT_RULE\fR
+.RS 4
+The package was installed/erased/kept because of a unit rule, i\&.e\&. a rule where all literals but one were false\&.
+.RE
+.PP
+\fBSOLVER_REASON_KEEP_INSTALLED\fR
+.RS 4
+The package was chosen when trying to keep as many packages installed as possible\&.
+.RE
+.PP
+\fBSOLVER_REASON_RESOLVE_JOB\fR
+.RS 4
+The decision happened to fulfill a job rule\&.
+.RE
+.PP
+\fBSOLVER_REASON_UPDATE_INSTALLED\fR
+.RS 4
+The decision happened to fulfill a package update request\&.
+.RE
+.PP
+\fBSOLVER_REASON_CLEANDEPS_ERASE\fR
+.RS 4
+The package was erased when cleaning up dependencies from other erased packages\&.
+.RE
+.PP
+\fBSOLVER_REASON_RESOLVE\fR
+.RS 4
+The package was installed to fulfill package dependencies\&.
+.RE
+.PP
+\fBSOLVER_REASON_WEAKDEP\fR
+.RS 4
+The package was installed because of a weak dependency (Recommends or Supplements)\&.
+.RE
+.PP
+\fBSOLVER_REASON_RESOLVE_ORPHAN\fR
+.RS 4
+The decision about the package was made when deciding the fate of orphaned packages\&.
+.RE
+.PP
+\fBSOLVER_REASON_RECOMMENDED\fR
+.RS 4
+This is a special case of SOLVER_REASON_WEAKDEP\&.
+.RE
+.PP
+\fBSOLVER_REASON_SUPPLEMENTED\fR
+.RS 4
+This is a special case of SOLVER_REASON_WEAKDEP\&.
+.RE
+.PP
+\fBSOLVER_REASON_UNSOLVABLE\fR
+.RS 4
+This is a special case where a rule cannot be fulfilled\&.
+.RE
+.PP
+\fBSOLVER_REASON_PREMISE\fR
+.RS 4
+This is a special case for the premises of learnt rules\&.
+.RE
+.SS "ATTRIBUTES"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBPool *pool;\fR /* read only */
+\fI$job\fR\fB\->{pool}\fR
+\fId\fR\fB\&.pool\fR
+\fId\fR\fB\&.pool\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Back pointer to pool\&.
+.SS "METHODS"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBint set_flag(int\fR \fIflag\fR\fB, int\fR \fIvalue\fR\fB)\fR
+my \fI$oldvalue\fR \fB=\fR \fI$solver\fR\fB\->set_flag(\fR\fI$flag\fR\fB,\fR \fI$value\fR\fB)\fR;
+\fIoldvalue\fR \fB=\fR \fIsolver\fR\fB\&.set_flag(\fR\fIflag\fR\fB,\fR \fIvalue\fR\fB)\fR
+\fIoldvalue\fR \fB=\fR \fIsolver\fR\fB\&.set_flag(\fR\fIflag\fR\fB,\fR \fIvalue\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBint get_flag(int\fR \fIflag\fR\fB)\fR
+my \fI$value\fR \fB=\fR \fI$solver\fR\fB\->get_flag(\fR\fI$flag\fR\fB)\fR;
+\fIvalue\fR \fB=\fR \fIsolver\fR\fB\&.get_flag(\fR\fIflag\fR\fB)\fR
+\fIvalue\fR \fB=\fR \fIsolver\fR\fB\&.get_flag(\fR\fIflag\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Set/get a solver specific flag\&. The flags define the policies the solver has to obey\&. The flags are explained in the CONSTANTS section of this class\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBProblem *solve(Job *\fR\fIjobs\fR\fB)\fR
+my \fI@problems\fR \fB=\fR \fI$solver\fR\fB\->solve(\e\fR\fI@jobs\fR\fB)\fR;
+\fIproblems\fR \fB=\fR \fIsolver\fR\fB\&.solve(\fR\fIjobs\fR\fB)\fR
+\fIproblems\fR \fB=\fR \fIsolver\fR\fB\&.solve(\fR\fIjobs\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Solve a problem specified in the job list (plus the jobs defined in the pool)\&. Returns an array of problems that need user interaction, or an empty array if no problems were encountered\&. See the Problem class on how to deal with problems\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBTransaction transaction()\fR
+my \fI$trans\fR \fB=\fR \fI$solver\fR\fB\->transaction()\fR;
+\fItrans\fR \fB=\fR \fIsolver\fR\fB\&.transaction()\fR
+\fItrans\fR \fB=\fR \fIsolver\fR\fB\&.transaction()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return the transaction to implement the calculated package changes\&. A transaction is available even if problems were found, this is useful for interactive user interfaces that show both the job result and the problems\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSolvable *get_recommended(bool\fR \fInoselected\fR\fB=0)\fR
+my \fI@solvables\fR \fB=\fR \fI$solver\fR\fB\->get_recommended()\fR;
+\fIsolvables\fR \fB=\fR \fIsolver\fR\fB\&.get_recommended()\fR
+\fIsolvables\fR \fB=\fR \fIsolver\fR\fB\&.get_recommended()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return all solvables that are recommended by the solver run result\&. This includes solvables included in the result; set noselected if you want to filter those\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSolvable *get_suggested(bool\fR \fInoselected\fR\fB=0)\fR
+my \fI@solvables\fR \fB=\fR \fI$solver\fR\fB\->get_suggested()\fR;
+\fIsolvables\fR \fB=\fR \fIsolver\fR\fB\&.get_suggested()\fR
+\fIsolvables\fR \fB=\fR \fIsolver\fR\fB\&.get_suggested()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return all solvables that are suggested by the solver run result\&. This includes solvables included in the result; set noselected if you want to filter those\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fIDecision\fR \fB= get_decision(Solvable *\fR\fIs\fR\fB)\fR
+my \fI$decision\fR \fB=\fR \fI$solver\fR\fB\->get_decision(\fR\fI$solvable\fR\fB)\fR;
+\fIdecision\fR \fB=\fR \fIsolver\fR\fB\&.get_decision(\fR\fIsolvable\fR\fB)\fR;
+\fIdecision\fR \fB=\fR \fIsolver\fR\fB\&.get_decision(\fR\fIsolvable\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return a decision object that describes why a specific solvable was installed or erased\&. See the Decision class for more information\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBDecision *get_decisionlist(Solvable *\fR\fIs\fR\fB)\fR
+my \fI@decisions\fR \fB=\fR \fI$solver\fR\fB\->get_decisionlist(\fR\fI$solvable\fR\fB)\fR;
+\fIdecisions\fR \fB=\fR \fIsolver\fR\fB\&.get_decisionlist(\fR\fIsolvable\fR\fB)\fR
+\fIdecisions\fR \fB=\fR \fIsolver\fR\fB\&.get_decisionlist(\fR\fIsolvable\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return a list of decisions that caused the specific solvable to be installed or erased\&. This is usually more useful than the get_decision() method, as it returns every involved decision instead of just a single one\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBAlternative *alternatives()\fR
+my \fI@alternatives\fR \fB=\fR \fI$solver\fR\fB\->alternatives()\fR;
+\fIalternatives\fR \fB=\fR \fIsolver\fR\fB\&.alternatives()\fR
+\fIalternatives\fR \fB=\fR \fIsolver\fR\fB\&.alternatives()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return all alternatives recorded in the solver run\&. See the Alternative class for more information\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBint alternatives_count()\fR
+my \fI$cnt\fR \fB=\fR \fI$solver\fR\fB\->alternatives_count()\fR;
+\fIcnt\fR \fB=\fR \fIsolver\fR\fB\&.alternatives_count()\fR
+\fIcnt\fR \fB=\fR \fIsolver\fR\fB\&.alternatives_count()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return the number of alternatives without creating alternative objects\&.
+.SH "THE PROBLEM CLASS"
+.sp
+Problems are the way of the solver to interact with the user\&. You can simply list all problems and terminate your program, but a better way is to present solutions to the user and let him pick the ones he likes\&.
+.SS "ATTRIBUTES"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSolver *solv;\fR /* read only */
+\fI$problem\fR\fB\->{solv}\fR
+\fIproblem\fR\fB\&.solv\fR
+\fIproblem\fR\fB\&.solv\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Back pointer to solver object\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId id;\fR /* read only */
+\fI$problem\fR\fB\->{id}\fR
+\fIproblem\fR\fB\&.id\fR
+\fIproblem\fR\fB\&.id\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Id of the problem\&. The first problem has Id 1, they are numbered consecutively\&.
+.SS "METHODS"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBRule findproblemrule()\fR
+my \fI$probrule\fR \fB=\fR \fI$problem\fR\fB\->findproblemrule()\fR;
+\fIprobrule\fR \fB=\fR \fIproblem\fR\fB\&.findproblemrule()\fR
+\fIprobrule\fR \fB=\fR \fIproblem\fR\fB\&.findproblemrule()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return the rule that caused the problem\&. Of course in most situations there is no single responsible rule, but many rules that interconnect with each created the problem\&. Nevertheless, the solver uses some heuristic approach to find a rule that somewhat describes the problem best to the user\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBRule *findallproblemrules(bool\fR \fIunfiltered\fR \fB= 0)\fR
+my \fI@probrules\fR \fB=\fR \fI$problem\fR\fB\->findallproblemrules()\fR;
+\fIprobrules\fR \fB=\fR \fIproblem\fR\fB\&.findallproblemrules()\fR
+\fIprobrules\fR \fB=\fR \fIproblem\fR\fB\&.findallproblemrules()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return all rules responsible for the problem\&. The returned set of rules contains all the needed information why there was a problem, but it\(cqs hard to present them to the user in a sensible way\&. The default is to filter out all update and job rules (unless the returned rules only consist of those types)\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBDecision *get_decisionlist()\fR
+my \fI@decisions\fR \fB=\fR \fI$problem\fR\fB\->get_decisionlist()\fR;
+\fIdecisions\fR \fB=\fR \fIproblem\fR\fB\&.get_decisionlist()\fR
+\fIdecisions\fR \fB=\fR \fIproblem\fR\fB\&.get_decisionlist()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return a list of decisions proving the problem\&. This is somewhat similar to the findallproblemrules(), but the output is in an order that makes it easier to understand why the solver could not find a solution\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBDecisionset *get_decisionsetlist()\fR
+my \fI@decisionsets\fR \fB=\fR \fI$problem\fR\fB\->get_decisionsetlist()\fR;
+\fIdecisionsets\fR \fB=\fR \fIproblem\fR\fB\&.get_decisionsetlist()\fR
+\fIdecisionsets\fR \fB=\fR \fIproblem\fR\fB\&.get_decisionsetlist()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Like the get_decisionlist() method, but the decisions are merged into individual sets\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBRule *get_learnt()\fR
+my \fI@learnt\fR \fB=\fR \fI$problem\fR\fB\->get_learnt()\fR;
+\fIlearnt\fR \fB=\fR \fIproblem\fR\fB\&.get_learnt()\fR
+\fIlearnt\fR \fB=\fR \fIproblem\fR\fB\&.get_lerant()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return a list of learnt rules that are part of the problem proof\&. This is useful for presenting a complete proof to the user\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSolution *solutions()\fR
+my \fI@solutions\fR \fB=\fR \fI$problem\fR\fB\->solutions()\fR;
+\fIsolutions\fR \fB=\fR \fIproblem\fR\fB\&.solutions()\fR
+\fIsolutions\fR \fB=\fR \fIproblem\fR\fB\&.solutions()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return an array containing multiple possible solutions to fix the problem\&. See the solution class for more information\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBint solution_count()\fR
+my \fI$cnt\fR \fB=\fR \fI$problem\fR\fB\->solution_count()\fR;
+\fIcnt\fR \fB=\fR \fIproblem\fR\fB\&.solution_count()\fR
+\fIcnt\fR \fB=\fR \fIproblem\fR\fB\&.solution_count()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return the number of solutions without creating solution objects\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fB\fR
+my \fI$str\fR \fB=\fR \fI$problem\fR\fB\->str\fR;
+\fIstr\fR \fB= str(\fR\fIproblem\fR\fB)\fR
+\fIstr\fR \fB=\fR \fIproblem\fR\fB\&.to_s\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return a string describing the problem\&. This is a convenience function, it is a shorthand for calling findproblemrule(), then ruleinfo() on the problem rule and problemstr() on the ruleinfo object\&.
+.SH "THE RULE CLASS"
+.sp
+Rules are the basic block of sat solving\&. Each package dependency gets translated into one or multiple rules\&.
+.SS "ATTRIBUTES"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSolver *solv;\fR /* read only */
+\fI$rule\fR\fB\->{solv}\fR
+\fIrule\fR\fB\&.solv\fR
+\fIrule\fR\fB\&.solv\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Back pointer to solver object\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId id;\fR /* read only */
+\fI$rule\fR\fB\->{id}\fR
+\fIrule\fR\fB\&.id\fR
+\fIrule\fR\fB\&.id\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The id of the rule\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBint type;\fR /* read only */
+\fI$rule\fR\fB\->{type}\fR
+\fIrule\fR\fB\&.type\fR
+\fIrule\fR\fB\&.type\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The basic type of the rule\&. See the constant section of the solver class for the type list\&.
+.SS "METHODS"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBRuleinfo info()\fR
+my \fI$ruleinfo\fR \fB=\fR \fI$rule\fR\fB\->info()\fR;
+\fIruleinfo\fR \fB=\fR \fIrule\fR\fB\&.info()\fR
+\fIruleinfo\fR \fB=\fR \fIrule\fR\fB\&.info()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return a Ruleinfo object that contains information about why the rule was created\&. But see the allinfos() method below\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBRuleinfo *allinfos()\fR
+my \fI@ruleinfos\fR \fB=\fR \fI$rule\fR\fB\->allinfos()\fR;
+\fIruleinfos\fR \fB=\fR \fIrule\fR\fB\&.allinfos()\fR
+\fIruleinfos\fR \fB=\fR \fIrule\fR\fB\&.allinfos()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+As the same dependency rule can get created because of multiple dependencies, one Ruleinfo is not enough to describe the reason\&. Thus the allinfos() method returns an array of all infos about a rule\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBDecision *get_decisionlist()\fR
+my \fI@decisions\fR \fB=\fR \fI$rule\fR\fB\->get_decisionlist()\fR;
+\fIdecisions\fR \fB=\fR \fIrule\fR\fB\&.get_decisionlist()\fR
+\fIdecisions\fR \fB=\fR \fIrule\fR\fB\&.get_decisionlist()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return a list of decisions proving a learnt rule\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBDecision *get_decisionsetlist()\fR
+my \fI@decisionsets\fR \fB=\fR \fI$rule\fR\fB\->get_decisionsetlist()\fR;
+\fIdecisionsets\fR \fB=\fR \fIrule\fR\fB\&.get_decisionsetlist()\fR
+\fIdecisionsets\fR \fB=\fR \fIrule\fR\fB\&.get_decisionsetlist()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Like the get_decisionlist() method, but the decisions are merged into individual sets\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBRule *get_learnt()\fR
+my \fI@learnt\fR \fB=\fR \fI$rule\fR\fB\->get_learnt()\fR;
+\fIlearnt\fR \fB=\fR \fIrule\fR\fB\&.get_learnt()\fR
+\fIlearnt\fR \fB=\fR \fIrule\fR\fB\&.get_lerant()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return a list of learnt rules that are part of the learnt rule proof\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fB\fR
+\fBif (\fR\fI$rule1\fR \fB==\fR \fI$rule2\fR\fB)\fR
+\fBif\fR \fIrule1\fR \fB==\fR \fIrule2\fR\fB:\fR
+\fBif\fR \fIrule1\fR \fB==\fR \fIrule2\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Two rules are equal if they belong to the same solver and have the same id\&.
+.SH "THE RULEINFO CLASS"
+.sp
+A Ruleinfo describes one reason why a rule was created\&.
+.SS "ATTRIBUTES"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSolver *solv;\fR /* read only */
+\fI$ruleinfo\fR\fB\->{solv}\fR
+\fIruleinfo\fR\fB\&.solv\fR
+\fIruleinfo\fR\fB\&.solv\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Back pointer to solver object\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBint type;\fR /* read only */
+\fI$ruleinfo\fR\fB\->{type}\fR
+\fIruleinfo\fR\fB\&.type\fR
+\fIruleinfo\fR\fB\&.type\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The type of the ruleinfo\&. See the constant section of the solver class for the rule type list and the special type list\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBDep *dep;\fR /* read only */
+\fI$ruleinfo\fR\fB\->{dep}\fR
+\fIruleinfo\fR\fB\&.dep\fR
+\fIruleinfo\fR\fB\&.dep\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The dependency leading to the creation of the rule\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBDep *dep_id;\fR /* read only */
+\fI$ruleinfo\fR\fB\->{\fR\fIdep_id\fR\fB}\fR
+\fIruleinfo\fR\fB\&.dep_id\fR
+\fIruleinfo\fR\fB\&.dep_id\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The Id of the dependency leading to the creation of the rule, or zero\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSolvable *solvable;\fR /* read only */
+\fI$ruleinfo\fR\fB\->{solvable}\fR
+\fIruleinfo\fR\fB\&.solvable\fR
+\fIruleinfo\fR\fB\&.solvable\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The involved Solvable, e\&.g\&. the one containing the dependency\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSolvable *othersolvable;\fR /* read only */
+\fI$ruleinfo\fR\fB\->{othersolvable}\fR
+\fIruleinfo\fR\fB\&.othersolvable\fR
+\fIruleinfo\fR\fB\&.othersolvable\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The other involved Solvable (if any), e\&.g\&. the one providing the dependency\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBconst char *problemstr()\fR;
+my \fI$str\fR \fB=\fR \fI$ruleinfo\fR\fB\->problemstr()\fR;
+\fIstr\fR \fB=\fR \fIruleinfo\fR\fB\&.problemstr()\fR
+\fIstr\fR \fB=\fR \fIruleinfo\fR\fB\&.problemstr()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+A string describing the ruleinfo from a problem perspective\&. This probably only makes sense if the rule is part of a problem\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fB\fR
+my \fI$str\fR \fB=\fR \fI$ruleinfo\fR\fB\->str\fR;
+\fIstr\fR \fB= str(\fR\fIruleinfo\fR\fB)\fR
+\fIstr\fR \fB=\fR \fIruleinfo\fR\fB\&.to_s\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+A string describing the ruleinfo, i\&.e\&. the reason why the corresponding rule has been created\&.
+.SH "THE SOLUTION CLASS"
+.sp
+A solution solves one specific problem\&. It consists of multiple solution elements that all need to be executed\&.
+.SS "ATTRIBUTES"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSolver *solv;\fR /* read only */
+\fI$solution\fR\fB\->{solv}\fR
+\fIsolution\fR\fB\&.solv\fR
+\fIsolution\fR\fB\&.solv\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Back pointer to solver object\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId problemid;\fR /* read only */
+\fI$solution\fR\fB\->{problemid}\fR
+\fIsolution\fR\fB\&.problemid\fR
+\fIsolution\fR\fB\&.problemid\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Id of the problem the solution solves\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId id;\fR /* read only */
+\fI$solution\fR\fB\->{id}\fR
+\fIsolution\fR\fB\&.id\fR
+\fIsolution\fR\fB\&.id\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Id of the solution\&. The first solution has Id 1, they are numbered consecutively\&.
+.SS "METHODS"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSolutionelement *elements(bool\fR \fIexpandreplaces\fR \fB= 0)\fR
+my \fI@solutionelements\fR \fB=\fR \fI$solution\fR\fB\->elements()\fR;
+\fIsolutionelements\fR \fB=\fR \fIsolution\fR\fB\&.elements()\fR
+\fIsolutionelements\fR \fB=\fR \fIsolution\fR\fB\&.elements()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return an array containing the elements describing what needs to be done to implement the specific solution\&. If expandreplaces is true, elements of type SOLVER_SOLUTION_REPLACE will be replaced by one or more elements replace elements describing the policy mismatches\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBint element_count()\fR
+my \fI$cnt\fR \fB=\fR \fI$solution\fR\fB\->solution_count()\fR;
+\fIcnt\fR \fB=\fR \fIsolution\fR\fB\&.element_count()\fR
+\fIcnt\fR \fB=\fR \fIsolution\fR\fB\&.element_count()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return the number of solution elements without creating objects\&. Note that the count does not match the number of objects returned by the elements() method of expandreplaces is set to true\&.
+.SH "THE SOLUTIONELEMENT CLASS"
+.sp
+A solution element describes a single action of a solution\&. The action is always either to remove one specific job or to add a new job that installs or erases a single specific package\&.
+.SS "ATTRIBUTES"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSolver *solv;\fR /* read only */
+\fI$solutionelement\fR\fB\->{solv}\fR
+\fIsolutionelement\fR\fB\&.solv\fR
+\fIsolutionelement\fR\fB\&.solv\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Back pointer to solver object\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId problemid;\fR /* read only */
+\fI$solutionelement\fR\fB\->{problemid}\fR
+\fIsolutionelement\fR\fB\&.problemid\fR
+\fIsolutionelement\fR\fB\&.problemid\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Id of the problem the element (partly) solves\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId solutionid;\fR /* read only */
+\fI$solutionelement\fR\fB\->{solutionid}\fR
+\fIsolutionelement\fR\fB\&.solutionid\fR
+\fIsolutionelement\fR\fB\&.solutionid\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Id of the solution the element is a part of\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId id;\fR /* read only */
+\fI$solutionelement\fR\fB\->{id}\fR
+\fIsolutionelement\fR\fB\&.id\fR
+\fIsolutionelement\fR\fB\&.id\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Id of the solution element\&. The first element has Id 1, they are numbered consecutively\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId type;\fR /* read only */
+\fI$solutionelement\fR\fB\->{type}\fR
+\fIsolutionelement\fR\fB\&.type\fR
+\fIsolutionelement\fR\fB\&.type\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Type of the solution element\&. See the constant section of the solver class for the existing types\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSolvable *solvable;\fR /* read only */
+\fI$solutionelement\fR\fB\->{solvable}\fR
+\fIsolutionelement\fR\fB\&.solvable\fR
+\fIsolutionelement\fR\fB\&.solvable\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The installed solvable that needs to be replaced for replacement elements\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSolvable *replacement;\fR /* read only */
+\fI$solutionelement\fR\fB\->{replacement}\fR
+\fIsolutionelement\fR\fB\&.replacement\fR
+\fIsolutionelement\fR\fB\&.replacement\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The solvable that needs to be installed to fix the problem\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBint jobidx;\fR /* read only */
+\fI$solutionelement\fR\fB\->{jobidx}\fR
+\fIsolutionelement\fR\fB\&.jobidx\fR
+\fIsolutionelement\fR\fB\&.jobidx\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The index of the job that needs to be removed to fix the problem, or \-1 if the element is of another type\&. Note that it\(cqs better to change the job to SOLVER_NOOP type so that the numbering of other elements does not get disturbed\&. This method works both for types SOLVER_SOLUTION_JOB and SOLVER_SOLUTION_POOLJOB\&.
+.SS "METHODS"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSolutionelement *replaceelements()\fR
+my \fI@solutionelements\fR \fB=\fR \fI$solutionelement\fR\fB\->replaceelements()\fR;
+\fIsolutionelements\fR \fB=\fR \fIsolutionelement\fR\fB\&.replaceelements()\fR
+\fIsolutionelements\fR \fB=\fR \fIsolutionelement\fR\fB\&.replaceelements()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+If the solution element is of type SOLVER_SOLUTION_REPLACE, return an array of elements describing the policy mismatches, otherwise return a copy of the element\&. See also the \(lqexpandreplaces\(rq option in the solution\(cqs elements() method\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBint illegalreplace()\fR
+my \fI$illegal\fR \fB=\fR \fI$solutionelement\fR\fB\->illegalreplace()\fR;
+\fIillegal\fR \fB=\fR \fIsolutionelement\fR\fB\&.illegalreplace()\fR
+\fIillegal\fR \fB=\fR \fIsolutionelement\fR\fB\&.illegalreplace()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return an integer that contains the policy mismatch bits or\-ed together, or zero if there was no policy mismatch\&. See the policy error constants in the solver class\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBJob Job()\fR
+my \fI$job\fR \fB=\fR \fI$solutionelement\fR\fB\->Job()\fR;
+\fIillegal\fR \fB=\fR \fIsolutionelement\fR\fB\&.Job()\fR
+\fIillegal\fR \fB=\fR \fIsolutionelement\fR\fB\&.Job()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Create a job that implements the solution element\&. Add this job to the array of jobs for all elements of type different to SOLVER_SOLUTION_JOB and SOLVER_SOLUTION_POOLJOB\&. For the latter two, a SOLVER_NOOB Job is created, you should replace the old job with the new one\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fB\fR
+my \fI$str\fR \fB=\fR \fI$solutionelement\fR\fB\->str\fR;
+\fIstr\fR \fB= str(\fR\fIsolutionelement\fR\fB)\fR
+\fIstr\fR \fB=\fR \fIsolutionelement\fR\fB\&.to_s\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+A string describing the change the solution element consists of\&.
+.SH "THE TRANSACTION CLASS"
+.sp
+Transactions describe the output of a solver run\&. A transaction contains a number of transaction elements, each either the installation of a new package or the removal of an already installed package\&. The Transaction class supports a classify() method that puts the elements into different groups so that a transaction can be presented to the user in a meaningful way\&.
+.SS "CONSTANTS"
+.sp
+Transaction element types, both active and passive
+.PP
+\fBSOLVER_TRANSACTION_IGNORE\fR
+.RS 4
+This element does nothing\&. Used to map element types that do not match the view mode\&.
+.RE
+.PP
+\fBSOLVER_TRANSACTION_INSTALL\fR
+.RS 4
+This element installs a package\&.
+.RE
+.PP
+\fBSOLVER_TRANSACTION_ERASE\fR
+.RS 4
+This element erases a package\&.
+.RE
+.PP
+\fBSOLVER_TRANSACTION_MULTIINSTALL\fR
+.RS 4
+This element installs a package with a different version keeping the other versions installed\&.
+.RE
+.PP
+\fBSOLVER_TRANSACTION_MULTIREINSTALL\fR
+.RS 4
+This element reinstalls an installed package keeping the other versions installed\&.
+.RE
+.sp
+Transaction element types, active view
+.PP
+\fBSOLVER_TRANSACTION_REINSTALL\fR
+.RS 4
+This element re\-installs a package, i\&.e\&. installs the same package again\&.
+.RE
+.PP
+\fBSOLVER_TRANSACTION_CHANGE\fR
+.RS 4
+This element installs a package with same name, version, architecture but different content\&.
+.RE
+.PP
+\fBSOLVER_TRANSACTION_UPGRADE\fR
+.RS 4
+This element installs a newer version of an installed package\&.
+.RE
+.PP
+\fBSOLVER_TRANSACTION_DOWNGRADE\fR
+.RS 4
+This element installs an older version of an installed package\&.
+.RE
+.PP
+\fBSOLVER_TRANSACTION_OBSOLETES\fR
+.RS 4
+This element installs a package that obsoletes an installed package\&.
+.RE
+.sp
+Transaction element types, passive view
+.PP
+\fBSOLVER_TRANSACTION_REINSTALLED\fR
+.RS 4
+This element re\-installs a package, i\&.e\&. installs the same package again\&.
+.RE
+.PP
+\fBSOLVER_TRANSACTION_CHANGED\fR
+.RS 4
+This element replaces an installed package with one of the same name, version, architecture but different content\&.
+.RE
+.PP
+\fBSOLVER_TRANSACTION_UPGRADED\fR
+.RS 4
+This element replaces an installed package with a new version\&.
+.RE
+.PP
+\fBSOLVER_TRANSACTION_DOWNGRADED\fR
+.RS 4
+This element replaces an installed package with an old version\&.
+.RE
+.PP
+\fBSOLVER_TRANSACTION_OBSOLETED\fR
+.RS 4
+This element replaces an installed package with a package that obsoletes it\&.
+.RE
+.sp
+Pseudo element types for showing extra information used by classify()
+.PP
+\fBSOLVER_TRANSACTION_ARCHCHANGE\fR
+.RS 4
+This element replaces an installed package with a package of a different architecture\&.
+.RE
+.PP
+\fBSOLVER_TRANSACTION_VENDORCHANGE\fR
+.RS 4
+This element replaces an installed package with a package of a different vendor\&.
+.RE
+.sp
+Transaction mode flags
+.PP
+\fBSOLVER_TRANSACTION_SHOW_ACTIVE\fR
+.RS 4
+Filter for active view types\&. The default is to return passive view type, i\&.e\&. to show how the installed packages get changed\&.
+.RE
+.PP
+\fBSOLVER_TRANSACTION_SHOW_OBSOLETES\fR
+.RS 4
+Do not map the obsolete view type into INSTALL/ERASE elements\&.
+.RE
+.PP
+\fBSOLVER_TRANSACTION_SHOW_ALL\fR
+.RS 4
+If multiple packages replace an installed package, only the best of them is kept as OBSOLETE element, the other ones are mapped to INSTALL/ERASE elements\&. This is because most applications want to show just one package replacing the installed one\&. The SOLVER_TRANSACTION_SHOW_ALL makes the library keep all OBSOLETE elements\&.
+.RE
+.PP
+\fBSOLVER_TRANSACTION_SHOW_MULTIINSTALL\fR
+.RS 4
+The library maps MULTIINSTALL elements to simple INSTALL elements\&. This flag can be used to disable the mapping\&.
+.RE
+.PP
+\fBSOLVER_TRANSACTION_CHANGE_IS_REINSTALL\fR
+.RS 4
+Use this flag if you want to map CHANGE elements to the REINSTALL type\&.
+.RE
+.PP
+\fBSOLVER_TRANSACTION_OBSOLETE_IS_UPGRADE\fR
+.RS 4
+Use this flag if you want to map OBSOLETE elements to the UPGRADE type\&.
+.RE
+.PP
+\fBSOLVER_TRANSACTION_MERGE_ARCHCHANGES\fR
+.RS 4
+Do not add extra categories for every architecture change, instead cumulate them in one category\&.
+.RE
+.PP
+\fBSOLVER_TRANSACTION_MERGE_VENDORCHANGES\fR
+.RS 4
+Do not add extra categories for every vendor change, instead cumulate them in one category\&.
+.RE
+.PP
+\fBSOLVER_TRANSACTION_RPM_ONLY\fR
+.RS 4
+Special view mode that just returns IGNORE, ERASE, INSTALL, MULTIINSTALL elements\&. Useful if you want to find out what to feed to the underlying package manager\&.
+.RE
+.sp
+Transaction order flags
+.PP
+\fBSOLVER_TRANSACTION_KEEP_ORDERDATA\fR
+.RS 4
+Do not throw away the dependency graph used for ordering the transaction\&. This flag is needed if you want to do manual ordering\&.
+.RE
+.SS "ATTRIBUTES"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBPool *pool;\fR /* read only */
+\fI$trans\fR\fB\->{pool}\fR
+\fItrans\fR\fB\&.pool\fR
+\fItrans\fR\fB\&.pool\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Back pointer to pool\&.
+.SS "METHODS"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBbool isempty()\fR
+\fI$trans\fR\fB\->isempty()\fR
+\fItrans\fR\fB\&.isempty()\fR
+\fItrans\fR\fB\&.isempty?\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Returns true if the transaction does not do anything, i\&.e\&. has no elements\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSolvable *newsolvables()\fR
+my \fI@newsolvables\fR \fB=\fR \fI$trans\fR\fB\->newsolvables()\fR;
+\fInewsolvables\fR \fB=\fR \fItrans\fR\fB\&.newsolvables()\fR
+\fInewsolvables\fR \fB=\fR \fItrans\fR\fB\&.newsolvables()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return all packages that are to be installed by the transaction\&. These are the packages that need to be downloaded from the repositories\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSolvable *keptsolvables()\fR
+my \fI@keptsolvables\fR \fB=\fR \fI$trans\fR\fB\->keptsolvables()\fR;
+\fIkeptsolvables\fR \fB=\fR \fItrans\fR\fB\&.keptsolvables()\fR
+\fIkeptsolvables\fR \fB=\fR \fItrans\fR\fB\&.keptsolvables()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return all installed packages that the transaction will keep installed\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSolvable *steps()\fR
+my \fI@steps\fR \fB=\fR \fI$trans\fR\fB\->steps()\fR;
+\fIsteps\fR \fB=\fR \fItrans\fR\fB\&.steps()\fR
+\fIsteps\fR \fB=\fR \fItrans\fR\fB\&.steps()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return all solvables that need to be installed (if the returned solvable is not already installed) or erased (if the returned solvable is installed)\&. A step is also called a transaction element\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBint steptype(Solvable *\fR\fIsolvable\fR\fB, int\fR \fImode\fR\fB)\fR
+my \fI$type\fR \fB=\fR \fI$trans\fR\fB\->steptype(\fR\fI$solvable\fR\fB,\fR \fI$mode\fR\fB)\fR;
+\fItype\fR \fB=\fR \fItrans\fR\fB\&.steptype(\fR\fIsolvable\fR\fB,\fR \fImode\fR\fB)\fR
+\fItype\fR \fB=\fR \fItrans\fR\fB\&.steptype(\fR\fIsolvable\fR\fB,\fR \fImode\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return the transaction type of the specified solvable\&. See the CONSTANTS sections for the mode argument flags and the list of returned types\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBTransactionClass *classify(int\fR \fImode\fR \fB= 0)\fR
+my \fI@classes\fR \fB=\fR \fI$trans\fR\fB\->classify()\fR;
+\fIclasses\fR \fB=\fR \fItrans\fR\fB\&.classify()\fR
+\fIclasses\fR \fB=\fR \fItrans\fR\fB\&.classify()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Group the transaction elements into classes so that they can be displayed in a structured way\&. You can use various mapping mode flags to tweak the result to match your preferences, see the mode argument flag in the CONSTANTS section\&. See the TransactionClass class for how to deal with the returned objects\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSolvable othersolvable(Solvable *\fR\fIsolvable\fR\fB)\fR
+my \fI$other\fR \fB=\fR \fI$trans\fR\fB\->othersolvable(\fR\fI$solvable\fR\fB)\fR;
+\fIother\fR \fB=\fR \fItrans\fR\fB\&.othersolvable(\fR\fIsolvable\fR\fB)\fR
+\fIother\fR \fB=\fR \fItrans\fR\fB\&.othersolvable(\fR\fIsolvable\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return the \(lqother\(rq solvable for a given solvable\&. For installed packages the other solvable is the best package with the same name that replaces the installed package, or the best package of the obsoleting packages if the package does not get replaced by one with the same name\&.
+.sp
+For to be installed packages, the \(lqother\(rq solvable is the best installed package with the same name that will be replaced, or the best packages of all the packages that are obsoleted if the new package does not replace a package with the same name\&.
+.sp
+Thus, the \(lqother\(rq solvable is normally the package that is also shown for a given package\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSolvable *allothersolvables(Solvable *\fR\fIsolvable\fR\fB)\fR
+my \fI@others\fR \fB=\fR \fI$trans\fR\fB\->allothersolvables(\fR\fI$solvable\fR\fB)\fR;
+\fIothers\fR \fB=\fR \fItrans\fR\fB\&.allothersolvables(\fR\fIsolvable\fR\fB)\fR
+\fIothers\fR \fB=\fR \fItrans\fR\fB\&.allothersolvables(\fR\fIsolvable\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+For installed packages, returns all of the packages that replace us\&. For to be installed packages, returns all of the packages that the new package replaces\&. The special \(lqother\(rq solvable is always the first entry of the returned array\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBlong long calc_installsizechange()\fR
+my \fI$change\fR \fB=\fR \fI$trans\fR\fB\->calc_installsizechange()\fR;
+\fIchange\fR \fB=\fR \fItrans\fR\fB\&.calc_installsizechange()\fR
+\fIchange\fR \fB=\fR \fItrans\fR\fB\&.calc_installsizechange()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return the size change of the installed system in kilobytes (kibibytes)\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid order(int\fR \fIflags\fR \fB= 0)\fR
+\fI$trans\fR\fB\->order()\fR;
+\fItrans\fR\fB\&.order()\fR
+\fItrans\fR\fB\&.order()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Order the steps in the transactions so that dependent packages are updated before packages that depend on them\&. For rpm, you can also use rpmlib\(cqs ordering functionality, debian\(cqs dpkg does not provide a way to order a transaction\&.
+.SS "ACTIVE/PASSIVE VIEW"
+.sp
+Active view lists what new packages get installed, while passive view shows what happens to the installed packages\&. Most often there\(cqs not much difference between the two modes, but things get interesting if multiple packages get replaced by one new package\&. Say you have installed packages A\-1\-1 and B\-1\-1, and now install A\-2\-1 which has a new dependency that obsoletes B\&. The transaction elements will be
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+updated A\-1\-1 (other: A\-2\-1)
+obsoleted B\-1\-1 (other: A\-2\-1)
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+in passive mode, but
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+update A\-2\-1 (other: A\-1\-1)
+erase B
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+in active mode\&. If the mode contains SOLVER_TRANSACTION_SHOW_ALL, the passive mode list will be unchanged but the active mode list will just contain A\-2\-1\&.
+.SH "THE TRANSACTIONCLASS CLASS"
+.sp
+Objects of this type are returned by the classify() Transaction method\&.
+.SS "ATTRIBUTES"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBTransaction *transaction;\fR /* read only */
+\fI$class\fR\fB\->{transaction}\fR
+\fIclass\fR\fB\&.transaction\fR
+\fIclass\fR\fB\&.transaction\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Back pointer to transaction object\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBint type;\fR /* read only */
+\fI$class\fR\fB\->{type}\fR
+\fIclass\fR\fB\&.type\fR
+\fIclass\fR\fB\&.type\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The type of the transaction elements in the class\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBint count;\fR /* read only */
+\fI$class\fR\fB\->{count}\fR
+\fIclass\fR\fB\&.count\fR
+\fIclass\fR\fB\&.count\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The number of elements in the class\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBconst char *\fR\fIfromstr\fR;
+\fI$class\fR\fB\->{fromstr}\fR
+\fIclass\fR\fB\&.fromstr\fR
+\fIclass\fR\fB\&.fromstr\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The old vendor or architecture\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBconst char *\fR\fItostr\fR;
+\fI$class\fR\fB\->{tostr}\fR
+\fIclass\fR\fB\&.tostr\fR
+\fIclass\fR\fB\&.tostr\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The new vendor or architecture\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId\fR \fIfromid\fR;
+\fI$class\fR\fB\->{fromid}\fR
+\fIclass\fR\fB\&.fromid\fR
+\fIclass\fR\fB\&.fromid\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The id of the old vendor or architecture\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId\fR \fItoid\fR;
+\fI$class\fR\fB\->{toid}\fR
+\fIclass\fR\fB\&.toid\fR
+\fIclass\fR\fB\&.toid\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The id of the new vendor or architecture\&.
+.SS "METHODS"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid solvables()\fR;
+my \fI@solvables\fR \fB=\fR \fI$class\fR\fB\->solvables()\fR;
+\fIsolvables\fR \fB=\fR \fIclass\fR\fB\&.solvables()\fR
+\fIsolvables\fR \fB=\fR \fIclass\fR\fB\&.solvables()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return the solvables for all transaction elements in the class\&.
+.SH "CHECKSUMS"
+.sp
+Checksums (also called hashes) are used to make sure that downloaded data is not corrupt and also as a fingerprint mechanism to check if data has changed\&.
+.SS "CLASS METHODS"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBChksum Chksum(Id\fR \fItype\fR\fB)\fR
+my \fI$chksum\fR \fB= solv::Chksum\->new(\fR\fI$type\fR\fB)\fR;
+\fIchksum\fR \fB= solv\&.Chksum(\fR\fItype\fR\fB)\fR
+\fIchksum\fR \fB= Solv::Chksum\&.new(\fR\fItype\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Create a checksum object\&. Currently the following types are supported:
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBREPOKEY_TYPE_MD5\fR
+\fBREPOKEY_TYPE_SHA1\fR
+\fBREPOKEY_TYPE_SHA224\fR
+\fBREPOKEY_TYPE_SHA256\fR
+\fBREPOKEY_TYPE_SHA384\fR
+\fBREPOKEY_TYPE_SHA512\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+These keys are constants in the \fBsolv\fR class\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBChksum Chksum(Id\fR \fItype\fR\fB, const char *\fR\fIhex\fR\fB)\fR
+my \fI$chksum\fR \fB= solv::Chksum\->new(\fR\fI$type\fR\fB,\fR \fI$hex\fR\fB)\fR;
+\fIchksum\fR \fB= solv\&.Chksum(\fR\fItype\fR\fB,\fR \fIhex\fR\fB)\fR
+\fIchksum\fR \fB= Solv::Chksum\&.new(\fR\fItype\fR\fB,\fR \fIhex\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Create an already finalized checksum object from a hex string\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBChksum Chksum_from_bin(Id\fR \fItype\fR\fB, char *\fR\fIbin\fR\fB)\fR
+my \fI$chksum\fR \fB= solv::Chksum\->from_bin(\fR\fI$type\fR\fB,\fR \fI$bin\fR\fB)\fR;
+\fIchksum\fR \fB= solv\&.Chksum\&.from_bin(\fR\fItype\fR\fB,\fR \fIbin\fR\fB)\fR
+\fIchksum\fR \fB= Solv::Chksum\&.from_bin(\fR\fItype\fR\fB,\fR \fIbin\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Create an already finalized checksum object from a binary checksum\&.
+.SS "ATTRIBUTES"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId type;\fR /* read only */
+\fI$chksum\fR\fB\->{type}\fR
+\fIchksum\fR\fB\&.type\fR
+\fIchksum\fR\fB\&.type\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return the type of the checksum object\&.
+.SS "METHODS"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid add(const char *\fR\fIstr\fR\fB)\fR
+\fI$chksum\fR\fB\->add(\fR\fI$str\fR\fB)\fR;
+\fIchksum\fR\fB\&.add(\fR\fIstr\fR\fB)\fR
+\fIchksum\fR\fB\&.add(\fR\fIstr\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Add a (binary) string to the checksum\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid add_fp(FILE *\fR\fIfp\fR\fB)\fR
+\fI$chksum\fR\fB\->add_fp(\fR\fI$file\fR\fB)\fR;
+\fIchksum\fR\fB\&.add_fp(\fR\fIfile\fR\fB)\fR
+\fIchksum\fR\fB\&.add_fp(\fR\fIfile\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Add the contents of a file to the checksum\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid add_stat(const char *\fR\fIfilename\fR\fB)\fR
+\fI$chksum\fR\fB\->add_stat(\fR\fI$filename\fR\fB)\fR;
+\fIchksum\fR\fB\&.add_stat(\fR\fIfilename\fR\fB)\fR
+\fIchksum\fR\fB\&.add_stat(\fR\fIfilename\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Stat the file and add the dev/ino/size/mtime member to the checksum\&. If the stat fails, the members are zeroed\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid add_fstat(int\fR \fIfd\fR\fB)\fR
+\fI$chksum\fR\fB\->add_fstat(\fR\fI$fd\fR\fB)\fR;
+\fIchksum\fR\fB\&.add_fstat(\fR\fIfd\fR\fB)\fR
+\fIchksum\fR\fB\&.add_fstat(\fR\fIfd\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Same as add_stat, but instead of the filename a file descriptor is used\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBunsigned char *raw()\fR
+my \fI$raw\fR \fB=\fR \fI$chksum\fR\fB\->raw()\fR;
+\fIraw\fR \fB=\fR \fIchksum\fR\fB\&.raw()\fR
+\fIraw\fR \fB=\fR \fIchksum\fR\fB\&.raw()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Finalize the checksum and return the result as raw bytes\&. This means that the result can contain NUL bytes or unprintable characters\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBconst char *hex()\fR
+my \fI$raw\fR \fB=\fR \fI$chksum\fR\fB\->hex()\fR;
+\fIraw\fR \fB=\fR \fIchksum\fR\fB\&.hex()\fR
+\fIraw\fR \fB=\fR \fIchksum\fR\fB\&.hex()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Finalize the checksum and return the result as hex string\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBconst char *typestr()\fR
+my \fI$typestr\fR \fB=\fR \fI$chksum\fR\fB\->typestr()\fR;
+\fItypestr\fR \fB=\fR \fIchksum\fR\fB\&.typestr\fR
+\fItypestr\fR \fB=\fR \fIchksum\fR\fB\&.typestr\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return the type of the checksum as a string, e\&.g\&. "sha256"\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fB\fR
+\fBif (\fR\fI$chksum1\fR \fB==\fR \fI$chksum2\fR\fB)\fR
+\fBif\fR \fIchksum1\fR \fB==\fR \fIchksum2\fR\fB:\fR
+\fBif\fR \fIchksum1\fR \fB==\fR \fIchksum2\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Checksums are equal if they are of the same type and the finalized results are the same\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fB\fR
+my \fI$str\fR \fB=\fR \fI$chksum\fR\fB\->str\fR;
+\fIstr\fR \fB= str(\fR\fIchksum\fR\fB)\fR
+\fIstr\fR \fB=\fR \fIchksum\fR\fB\&.to_s\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+If the checksum is finished, the checksum is returned as ":" string\&. Otherwise ":unfinished" is returned\&.
+.SH "FILE MANAGEMENT"
+.sp
+This functions were added because libsolv uses standard \fBFILE\fR pointers to read/write files, but languages like perl have their own implementation of files\&. The libsolv functions also support decompression and compression, the algorithm is selected by looking at the file name extension\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBFILE *xfopen(char *\fR\fIfn\fR\fB, char *\fR\fImode\fR \fB= "r")\fR
+my \fI$file\fR \fB= solv::xfopen(\fR\fI$path\fR\fB)\fR;
+\fIfile\fR \fB= solv\&.xfopen(\fR\fIpath\fR\fB)\fR
+\fIfile\fR \fB= Solv::xfopen(\fR\fIpath\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Open a file at the specified path\&. The mode argument is passed on to the stdio library\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBFILE *xfopen_fd(char *\fR\fIfn\fR\fB, int\fR \fIfileno\fR\fB)\fR
+my \fI$file\fR \fB= solv::xfopen_fd(\fR\fI$path\fR\fB,\fR \fI$fileno\fR\fB)\fR;
+\fIfile\fR \fB= solv\&.xfopen_fd(\fR\fIpath\fR\fB,\fR \fIfileno\fR\fB)\fR
+\fIfile\fR \fB= Solv::xfopen_fd(\fR\fIpath\fR\fB,\fR \fIfileno\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Create a file handle from the specified file descriptor\&. The path argument is only used to select the correct (de\-)compression algorithm, use an empty path if you want to make sure to read/write raw data\&. The file descriptor is dup()ed before the file handle is created\&.
+.SS "METHODS"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBint fileno()\fR
+my \fI$fileno\fR \fB=\fR \fI$file\fR\fB\->fileno()\fR;
+\fIfileno\fR \fB=\fR \fIfile\fR\fB\&.fileno()\fR
+\fIfileno\fR \fB=\fR \fIfile\fR\fB\&.fileno()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return file file descriptor of the file\&. If the file is not open, \-1 is returned\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid cloexec(bool\fR \fIstate\fR\fB)\fR
+\fI$file\fR\fB\->cloexec(\fR\fI$state\fR\fB)\fR;
+\fIfile\fR\fB\&.cloexec(\fR\fIstate\fR\fB)\fR
+\fIfile\fR\fB\&.cloexec(\fR\fIstate\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Set the close\-on\-exec flag of the file descriptor\&. The xfopen function returns files with close\-on\-exec turned on, so if you want to pass a file to some other process you need to call cloexec(0) before calling exec\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBint dup()\fR
+my \fI$fileno\fR \fB=\fR \fI$file\fR\fB\->dup()\fR;
+\fIfileno\fR \fB=\fR \fIfile\fR\fB\&.dup()\fR
+\fIfileno\fR \fB=\fR \fIfile\fR\fB\&.dup()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return a copy of the descriptor of the file\&. If the file is not open, \-1 is returned\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBbool flush()\fR
+\fI$file\fR\fB\->flush()\fR;
+\fIfile\fR\fB\&.flush()\fR
+\fIfile\fR\fB\&.flush()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Flush the file\&. Returns false if there was an error\&. Flushing a closed file always returns true\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBbool close()\fR
+\fI$file\fR\fB\->close()\fR;
+\fIfile\fR\fB\&.close()\fR
+\fIfile\fR\fB\&.close()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Close the file\&. This is needed for languages like Ruby that do not destruct objects right after they are no longer referenced\&. In that case, it is good style to close open files so that the file descriptors are freed right away\&. Returns false if there was an error\&.
+.SH "THE REPODATA CLASS"
+.sp
+The Repodata stores attributes for packages and the repository itself, each repository can have multiple repodata areas\&. You normally only need to directly access them if you implement lazy downloading of repository data\&. Repodata areas are created by calling the repository\(cqs add_repodata() method or by using repo_add methods without the REPO_REUSE_REPODATA or REPO_USE_LOADING flag\&.
+.SS "ATTRIBUTES"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBRepo *repo;\fR /* read only */
+\fI$data\fR\fB\->{repo}\fR
+\fIdata\fR\fB\&.repo\fR
+\fIdata\fR\fB\&.repo\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Back pointer to repository object\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId id;\fR /* read only */
+\fI$data\fR\fB\->{id}\fR
+\fIdata\fR\fB\&.id\fR
+\fIdata\fR\fB\&.id\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The id of the repodata area\&. Repodata ids of different repositories overlap\&.
+.SS "METHODS"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBinternalize()\fR
+\fI$data\fR\fB\->internalize()\fR;
+\fIdata\fR\fB\&.internalize()\fR
+\fIdata\fR\fB\&.internalize()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Internalize newly added data\&. The lookup functions will only see the new data after it has been internalized\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBbool write(FILE *\fR\fIfp\fR\fB)\fR
+\fI$data\fR\fB\->write(\fR\fI$fp\fR\fB)\fR;
+\fIdata\fR\fB\&.write(\fR\fIfp\fR\fB)\fR
+\fIdata\fR\fB\&.write(\fR\fIfp\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Write the contents of the repodata area as solv file\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId str2dir(const char *\fR\fIdir\fR\fB, bool\fR \fIcreate\fR \fB= 1)\fR
+my \fI$did\fR \fB=\fR \fIdata\fR\fB\->str2dir(\fR\fI$dir\fR\fB)\fR;
+\fIdid\fR \fB=\fR \fIdata\fR\fB\&.str2dir(\fR\fIdir\fR\fB)\fR
+\fIdid\fR \fB=\fR \fIdata\fR\fB\&.str2dir(\fR\fIdir\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBconst char *dir2str(Id\fR \fIdid\fR\fB, const char *\fR\fIsuffix\fR \fB= 0)\fR
+\fI$dir\fR \fB=\fR \fIpool\fR\fB\->dir2str(\fR\fI$did\fR\fB)\fR;
+\fIdir\fR \fB=\fR \fIpool\fR\fB\&.dir2str(\fR\fIdid\fR\fB)\fR
+\fIdir\fR \fB=\fR \fIpool\fR\fB\&.dir2str(\fR\fIdid\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Convert a string (directory) into an Id and back\&. If the string is currently not in the pool and \fIcreate\fR is false, zero is returned\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid add_dirstr(Id\fR \fIsolvid\fR\fB, Id\fR \fIkeyname\fR\fB, Id\fR \fIdir\fR\fB, const char *\fR\fIstr\fR\fB)\fR
+\fI$data\fR\fB\->add_dirstr(\fR\fI$solvid\fR\fB,\fR \fI$keyname\fR\fB,\fR \fI$dir\fR\fB,\fR \fI$string\fR\fB)\fR;
+\fIdata\fR\fB\&.add_dirstr(\fR\fIsolvid\fR\fB,\fR \fIkeyname\fR\fB,\fR \fIdir\fR\fB,\fR \fIstring\fR\fB)\fR
+\fIdata\fR\fB\&.add_dirstr(\fR\fIsolvid\fR\fB,\fR \fIkeyname\fR\fB,\fR \fIdir\fR\fB,\fR \fIstring\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Add a file path consisting of a dirname Id and a basename string\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBbool add_solv(FILE *\fR\fIfp\fR\fB, int\fR \fIflags\fR \fB= 0)\fR
+\fI$data\fR\fB\->add_solv(\fR\fI$fp\fR\fB)\fR;
+\fIdata\fR\fB\&.add_solv(\fR\fIfp\fR\fB)\fR
+\fIdata\fR\fB\&.add_solv(\fR\fIfp\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Replace a stub repodata object with the data from a solv file\&. This method automatically adds the REPO_USE_LOADING flag\&. It should only be used from a load callback\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid create_stubs()\fR
+\fI$data\fR\fB\->create_stubs()\fR;
+\fIdata\fR\fB\&.create_stubs()\fR
+\fIdata\fR\fB\&.create_stubs()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Create stub repodatas from the information stored in the repodata meta area\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid extend_to_repo()\fR
+\fI$data\fR\fB\->extend_to_repo()\fR;
+\fIdata\fR\fB\&.extend_to_repo()\fR
+\fIdata\fR\fB\&.extend_to_repo()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Extend the repodata so that it has the same size as the repo it belongs to\&. This method is needed when setting up a new extension repodata so that it matches the repository size\&. It is also needed when switching to a just written repodata extension to make the repodata match the written extension (which is always of the size of the repo)\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fB\fR
+\fBif (\fR\fI$data1\fR \fB==\fR \fI$data2\fR\fB)\fR
+\fBif\fR \fIdata1\fR \fB==\fR \fIdata2\fR\fB:\fR
+\fBif\fR \fIdata1\fR \fB==\fR \fIdata2\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Two repodata objects are equal if they belong to the same repository and have the same id\&.
+.SS "DATA RETRIEVAL METHODS"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBconst char *lookup_str(Id\fR \fIsolvid\fR\fB, Id\fR \fIkeyname\fR\fB)\fR
+my \fI$string\fR \fB=\fR \fI$data\fR\fB\->lookup_str(\fR\fI$solvid\fR\fB,\fR \fI$keyname\fR\fB)\fR;
+\fIstring\fR \fB=\fR \fIdata\fR\fB\&.lookup_str(\fR\fIsolvid\fR\fB,\fR \fIkeyname\fR\fB)\fR
+\fIstring\fR \fB=\fR \fIdata\fR\fB\&.lookup_str(\fR\fIsolvid\fR\fB,\fR \fIkeyname\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBconst char *lookup_id(Id\fR \fIsolvid\fR\fB, Id\fR \fIkeyname\fR\fB)\fR
+my \fI$string\fR \fB=\fR \fI$data\fR\fB\->lookup_id(\fR\fI$solvid\fR\fB,\fR \fI$keyname\fR\fB)\fR;
+\fIstring\fR \fB=\fR \fIdata\fR\fB\&.lookup_id(\fR\fIsolvid\fR\fB,\fR \fIkeyname\fR\fB)\fR
+\fIstring\fR \fB=\fR \fIdata\fR\fB\&.lookup_id(\fR\fIsolvid\fR\fB,\fR \fIkeyname\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBunsigned long long lookup_num(Id\fR \fIsolvid\fR\fB, Id\fR \fIkeyname\fR\fB, unsigned long long\fR \fInotfound\fR \fB= 0)\fR
+my \fI$num\fR \fB=\fR \fI$data\fR\fB\->lookup_num(\fR\fI$solvid\fR\fB,\fR \fI$keyname\fR\fB)\fR;
+\fInum\fR \fB=\fR \fIdata\fR\fB\&.lookup_num(\fR\fIsolvid\fR\fB,\fR \fIkeyname\fR\fB)\fR
+\fInum\fR \fB=\fR \fIdata\fR\fB\&.lookup_num(\fR\fIsolvid\fR\fB,\fR \fIkeyname\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBbool lookup_void(Id\fR \fIsolvid\fR\fB, Id\fR \fIkeyname\fR\fB)\fR
+my \fI$bool\fR \fB=\fR \fI$data\fR\fB\->lookup_void(\fR\fI$solvid\fR\fB,\fR \fI$keyname\fR\fB)\fR;
+\fIbool\fR \fB=\fR \fIdata\fR\fB\&.lookup_void(\fR\fIsolvid\fR\fB,\fR \fIkeyname\fR\fB)\fR
+\fIbool\fR \fB=\fR \fIdata\fR\fB\&.lookup_void(\fR\fIsolvid\fR\fB,\fR \fIkeyname\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId *lookup_idarray(Id\fR \fIsolvid\fR\fB, Id\fR \fIkeyname\fR\fB)\fR
+my \fI@ids\fR \fB=\fR \fI$data\fR\fB\->lookup_idarray(\fR\fI$solvid\fR\fB,\fR \fI$keyname\fR\fB)\fR;
+\fIids\fR \fB=\fR \fIdata\fR\fB\&.lookup_idarray(\fR\fIsolvid\fR\fB,\fR \fIkeyname\fR\fB)\fR
+\fIids\fR \fB=\fR \fIdata\fR\fB\&.lookup_idarray(\fR\fIsolvid\fR\fB,\fR \fIkeyname\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBChksum lookup_checksum(Id\fR \fIsolvid\fR\fB, Id\fR \fIkeyname\fR\fB)\fR
+my \fI$chksum\fR \fB=\fR \fI$data\fR\fB\->lookup_checksum(\fR\fI$solvid\fR\fB,\fR \fI$keyname\fR\fB)\fR;
+\fIchksum\fR \fB=\fR \fIdata\fR\fB\&.lookup_checksum(\fR\fIsolvid\fR\fB,\fR \fIkeyname\fR\fB)\fR
+\fIchksum\fR \fB=\fR \fIdata\fR\fB\&.lookup_checksum(\fR\fIsolvid\fR\fB,\fR \fIkeyname\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Lookup functions\&. Return the data element stored in the specified solvable\&. The methods probably only make sense to retrieve data from the special SOLVID_META solvid that stores repodata meta information\&.
+.SS "DATA STORAGE METHODS"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid set_str(Id\fR \fIsolvid\fR\fB, Id\fR \fIkeyname\fR\fB, const char *\fR\fIstr\fR\fB)\fR
+\fI$data\fR\fB\->set_str(\fR\fI$solvid\fR\fB,\fR \fI$keyname\fR\fB,\fR \fI$str\fR\fB)\fR;
+\fIdata\fR\fB\&.set_str(\fR\fIsolvid\fR\fB,\fR \fIkeyname\fR\fB,\fR \fIstr\fR\fB)\fR
+\fIdata\fR\fB\&.set_str(\fR\fIsolvid\fR\fB,\fR \fIkeyname\fR\fB,\fR \fIstr\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid set_id(Id\fR \fIsolvid\fR\fB, Id\fR \fIkeyname\fR\fB, DepId\fR \fIid\fR\fB)\fR
+\fI$data\fR\fB\->set_id(\fR\fI$solvid\fR\fB,\fR \fI$keyname\fR\fB,\fR \fI$id\fR\fB)\fR;
+\fIdata\fR\fB\&.set_id(\fR\fIsolvid\fR\fB,\fR \fIkeyname\fR\fB,\fR \fIid\fR\fB)\fR
+\fIdata\fR\fB\&.set_id(\fR\fIsolvid\fR\fB,\fR \fIkeyname\fR\fB,\fR \fIid\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid set_num(Id\fR \fIsolvid\fR\fB, Id\fR \fIkeyname\fR\fB, unsigned long long\fR \fInum\fR\fB)\fR
+\fI$data\fR\fB\->set_num(\fR\fI$solvid\fR\fB,\fR \fI$keyname\fR\fB,\fR \fI$num\fR\fB)\fR;
+\fIdata\fR\fB\&.set_num(\fR\fIsolvid\fR\fB,\fR \fIkeyname\fR\fB,\fR \fInum\fR\fB)\fR
+\fIdata\fR\fB\&.set_num(\fR\fIsolvid\fR\fB,\fR \fIkeyname\fR\fB,\fR \fInum\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid set_void(Id\fR \fIsolvid\fR\fB, Id\fR \fIkeyname\fR\fB)\fR
+\fI$data\fR\fB\->set_void(\fR\fI$solvid\fR\fB,\fR \fI$keyname\fR\fB)\fR;
+\fIdata\fR\fB\&.set_void(\fR\fIsolvid\fR\fB,\fR \fIkeyname\fR\fB)\fR
+\fIdata\fR\fB\&.set_void(\fR\fIsolvid\fR\fB,\fR \fIkeyname\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid set_poolstr(Id\fR \fIsolvid\fR\fB, Id\fR \fIkeyname\fR\fB, const char *\fR\fIstr\fR\fB)\fR
+\fI$data\fR\fB\->set_poolstr(\fR\fI$solvid\fR\fB,\fR \fI$keyname\fR\fB,\fR \fI$str\fR\fB)\fR;
+\fIdata\fR\fB\&.set_poolstr(\fR\fIsolvid\fR\fB,\fR \fIkeyname\fR\fB,\fR \fIstr\fR\fB)\fR
+\fIdata\fR\fB\&.set_poolstr(\fR\fIsolvid\fR\fB,\fR \fIkeyname\fR\fB,\fR \fIstr\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid set_checksum(Id\fR \fIsolvid\fR\fB, Id\fR \fIkeyname\fR\fB, Chksum *\fR\fIchksum\fR\fB)\fR
+\fI$data\fR\fB\->set_checksum(\fR\fI$solvid\fR\fB,\fR \fI$keyname\fR\fB,\fR \fI$chksum\fR\fB)\fR;
+\fIdata\fR\fB\&.set_checksum(\fR\fIsolvid\fR\fB,\fR \fIkeyname\fR\fB,\fR \fIchksum\fR\fB)\fR
+\fIdata\fR\fB\&.set_checksum(\fR\fIsolvid\fR\fB,\fR \fIkeyname\fR\fB,\fR \fIchksum\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid set_sourcepkg(Id\fR \fIsolvid\fR\fB, const char *\fR\fIsourcepkg\fR\fB)\fR
+\fI$data\fR\fB\&.set_sourcepkg(\fR\fI$solvid\fR\fB,\fR \fI$sourcepkg\fR\fB)\fR;
+\fIdata\fR\fB\&.set_sourcepkg(\fR\fIsolvid\fR\fB,\fR \fIsourcepkg\fR\fB)\fR
+\fIdata\fR\fB\&.set_sourcepkg(\fR\fIsolvid\fR\fB,\fR \fIsourcepkg\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid set_location(Id\fR \fIsolvid\fR\fB, unsigned int\fR \fImediano\fR\fB, const char *\fR\fIlocation\fR\fB)\fR
+\fI$data\fR\fB\&.set_location(\fR\fI$solvid\fR\fB,\fR \fI$mediano\fR\fB,\fR \fI$location\fR\fB)\fR;
+\fIdata\fR\fB\&.set_location(\fR\fIsolvid\fR\fB,\fR \fImediano\fR\fB,\fR \fIlocation\fR\fB)\fR
+\fIdata\fR\fB\&.set_location(\fR\fIsolvid\fR\fB,\fR \fImediano\fR\fB,\fR \fIlocation\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid add_idarray(Id\fR \fIsolvid\fR\fB, Id\fR \fIkeyname\fR\fB, DepId\fR \fIid\fR\fB)\fR
+\fI$data\fR\fB\->add_idarray(\fR\fI$solvid\fR\fB,\fR \fI$keyname\fR\fB,\fR \fI$id\fR\fB)\fR;
+\fIdata\fR\fB\&.add_idarray(\fR\fIsolvid\fR\fB,\fR \fIkeyname\fR\fB,\fR \fIid\fR\fB)\fR
+\fIdata\fR\fB\&.add_idarray(\fR\fIsolvid\fR\fB,\fR \fIkeyname\fR\fB,\fR \fIid\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId new_handle()\fR
+my \fI$handle\fR \fB=\fR \fI$data\fR\fB\->new_handle()\fR;
+\fIhandle\fR \fB=\fR \fIdata\fR\fB\&.new_handle()\fR
+\fIhandle\fR \fB=\fR \fIdata\fR\fB\&.new_handle()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid add_flexarray(Id\fR \fIsolvid\fR\fB, Id\fR \fIkeyname\fR\fB, Id\fR \fIhandle\fR\fB)\fR
+\fI$data\fR\fB\->add_flexarray(\fR\fI$solvid\fR\fB,\fR \fI$keyname\fR\fB,\fR \fI$handle\fR\fB)\fR;
+\fIdata\fR\fB\&.add_flexarray(\fR\fIsolvid\fR\fB,\fR \fIkeyname\fR\fB,\fR \fIhandle\fR\fB)\fR
+\fIdata\fR\fB\&.add_flexarray(\fR\fIsolvid\fR\fB,\fR \fIkeyname\fR\fB,\fR \fIhandle\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid unset(Id\fR \fIsolvid\fR\fB, Id\fR \fIkeyname\fR\fB)\fR
+\fI$data\fR\fB\->unset(\fR\fI$solvid\fR\fB,\fR \fI$keyname\fR\fB)\fR;
+\fIdata\fR\fB\&.unset(\fR\fIsolvid\fR\fB,\fR \fIkeyname\fR\fB)\fR
+\fIdata\fR\fB\&.unset(\fR\fIsolvid\fR\fB,\fR \fIkeyname\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Data storage methods\&. Probably only useful to store data in the special SOLVID_META solvid that stores repodata meta information\&. Note that repodata areas can have their own Id pool (see the REPO_LOCALPOOL flag), so be careful if you need to store ids\&. Arrays are created by calling the add function for every element\&. A flexarray is an array of sub\-structures, call new_handle to create a new structure, use the handle as solvid to fill the structure with data and call add_flexarray to put the structure in an array\&.
+.SH "THE DATAPOS CLASS"
+.sp
+Datapos objects describe a specific position in the repository data area\&. Thus they are only valid until the repository is modified in some way\&. Datapos objects can be created by the pos() and parentpos() methods of a Datamatch object or by accessing the \(lqmeta\(rq attribute of a repository\&.
+.SS "ATTRIBUTES"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBRepo *repo;\fR /* read only */
+\fI$data\fR\fB\->{repo}\fR
+\fIdata\fR\fB\&.repo\fR
+\fIdata\fR\fB\&.repo\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Back pointer to repository object\&.
+.SS "METHODS"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBDataiterator(Id\fR \fIkeyname\fR\fB, const char *\fR\fImatch\fR\fB, int\fR \fIflags\fR\fB)\fR
+my \fI$di\fR \fB=\fR \fI$datapos\fR\fB\->Dataiterator(\fR\fI$keyname\fR\fB,\fR \fI$match\fR\fB,\fR \fI$flags\fR\fB)\fR;
+\fIdi\fR \fB=\fR \fIdatapos\fR\fB\&.Dataiterator(\fR\fIkeyname\fR\fB,\fR \fImatch\fR\fB,\fR \fIflags\fR\fB)\fR
+\fIdi\fR \fB=\fR \fIdatapos\fR\fB\&.Dataiterator(\fR\fIkeyname\fR\fB,\fR \fImatch\fR\fB,\fR \fIflags\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Create a Dataiterator at the position of the datapos object\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBconst char *lookup_deltalocation(unsigned int *\fR\fIOUTPUT\fR\fB)\fR
+my \fB(\fR\fI$location\fR\fB,\fR \fI$mediano\fR\fB) =\fR \fI$datapos\fR\fB\->lookup_deltalocation()\fR;
+\fIlocation\fR\fB,\fR \fImediano\fR \fB=\fR \fIdatapos\fR\fB\&.lookup_deltalocation()\fR
+\fIlocation\fR\fB,\fR \fImediano\fR \fB=\fR \fIdatapos\fR\fB\&.lookup_deltalocation()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return a tuple containing the on\-media location and an optional media number for a delta rpm\&. This obviously only works if the data position points to structure describing a delta rpm\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBconst char *lookup_deltaseq()\fR
+my \fI$seq\fR \fB=\fR \fI$datapos\fR\fB\->lookup_deltaseq()\fR;
+\fIseq\fR \fB=\fR \fIdatapos\fR\fB\&.lookup_deltaseq()\fR;
+\fIseq\fR \fB=\fR \fIdatapos\fR\fB\&.lookup_deltaseq()\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return the delta rpm sequence from the structure describing a delta rpm\&.
+.SS "DATA RETRIEVAL METHODS"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBconst char *lookup_str(Id\fR \fIkeyname\fR\fB)\fR
+my \fI$string\fR \fB=\fR \fI$datapos\fR\fB\->lookup_str(\fR\fI$keyname\fR\fB)\fR;
+\fIstring\fR \fB=\fR \fIdatapos\fR\fB\&.lookup_str(\fR\fIkeyname\fR\fB)\fR
+\fIstring\fR \fB=\fR \fIdatapos\fR\fB\&.lookup_str(\fR\fIkeyname\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId lookup_id(Id\fR \fIsolvid\fR\fB, Id\fR \fIkeyname\fR\fB)\fR
+my \fI$id\fR \fB=\fR \fI$datapos\fR\fB\->lookup_id(\fR\fI$keyname\fR\fB)\fR;
+\fIid\fR \fB=\fR \fIdatapos\fR\fB\&.lookup_id(\fR\fIkeyname\fR\fB)\fR
+\fIid\fR \fB=\fR \fIdatapos\fR\fB\&.lookup_id(\fR\fIkeyname\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBunsigned long long lookup_num(Id\fR \fIkeyname\fR\fB, unsigned long long\fR \fInotfound\fR \fB= 0)\fR
+my \fI$num\fR \fB=\fR \fI$datapos\fR\fB\->lookup_num(\fR\fI$keyname\fR\fB)\fR;
+\fInum\fR \fB=\fR \fIdatapos\fR\fB\&.lookup_num(\fR\fIkeyname\fR\fB)\fR
+\fInum\fR \fB=\fR \fIdatapos\fR\fB\&.lookup_num(\fR\fIkeyname\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBbool lookup_void(Id\fR \fIkeyname\fR\fB)\fR
+my \fI$bool\fR \fB=\fR \fI$datapos\fR\fB\->lookup_void(\fR\fI$keyname\fR\fB)\fR;
+\fIbool\fR \fB=\fR \fIdatapos\fR\fB\&.lookup_void(\fR\fIkeyname\fR\fB)\fR
+\fIbool\fR \fB=\fR \fIdatapos\fR\fB\&.lookup_void(\fR\fIkeyname\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId *lookup_idarray(Id\fR \fIkeyname\fR\fB)\fR
+my \fI@ids\fR \fB=\fR \fI$datapos\fR\fB\->lookup_idarray(\fR\fI$keyname\fR\fB)\fR;
+\fIids\fR \fB=\fR \fIdatapos\fR\fB\&.lookup_idarray(\fR\fIkeyname\fR\fB)\fR
+\fIids\fR \fB=\fR \fIdatapos\fR\fB\&.lookup_idarray(\fR\fIkeyname\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBChksum lookup_checksum(Id\fR \fIkeyname\fR\fB)\fR
+my \fI$chksum\fR \fB=\fR \fI$datapos\fR\fB\->lookup_checksum(\fR\fI$keyname\fR\fB)\fR;
+\fIchksum\fR \fB=\fR \fIdatapos\fR\fB\&.lookup_checksum(\fR\fIkeyname\fR\fB)\fR
+\fIchksum\fR \fB=\fR \fIdatapos\fR\fB\&.lookup_checksum(\fR\fIkeyname\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Lookup functions\&. Note that the returned Ids are always translated into the Ids of the global pool even if the repodata area contains its own pool\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBDataiterator Dataiterator(Id\fR \fIkeyname\fR\fB, const char *\fR\fImatch\fR \fB= 0, int\fR \fIflags\fR \fB= 0)\fR
+my \fI$di\fR \fB=\fR \fI$datapos\fR\fB\->Dataiterator(\fR\fI$keyname\fR\fB,\fR \fI$match\fR\fB,\fR \fI$flags\fR\fB)\fR;
+\fIdi\fR \fB=\fR \fIdatapos\fR\fB\&.Dataiterator(\fR\fIkeyname\fR\fB,\fR \fImatch\fR\fB,\fR \fIflags\fR\fB)\fR
+\fIdi\fR \fB=\fR \fIdatapos\fR\fB\&.Dataiterator(\fR\fIkeyname\fR\fB,\fR \fImatch\fR\fB,\fR \fIflags\fR\fB)\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBfor my\fR \fI$d\fR \fB(\fR\fI@$di\fR\fB)\fR
+\fBfor\fR \fId\fR \fBin\fR \fIdi\fR\fB:\fR
+\fBfor\fR \fId\fR \fBin\fR \fIdi\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Iterate over the matching data elements\&. See the Dataiterator class for more information\&.
+.SH "THE ALTERNATIVE CLASS"
+.sp
+An Alternative object describes a branch point in the solving process\&. The solver found more than one good way to fulfill a dependency and chose one\&. It recorded the other possibilities in the alternative object so that they can be presented to the user in the case a different solution is preferable\&.
+.SS "ATTRIBUTES"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSolver *solv;\fR /* read only */
+\fI$alternative\fR\fB\->{solv}\fR
+\fIalternative\fR\fB\&.solv\fR
+\fIalternative\fR\fB\&.solv\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Back pointer to solver object\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId type;\fR /* read only */
+\fI$alternative\fR\fB\->{type}\fR
+\fIalternative\fR\fB\&.type\fR
+\fIalternative\fR\fB\&.type\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The type of the alternative\&. Alternatives can be created because of rule fulfillment, because of recommended packages, and because of suggested packages (currently unused)\&. See below for a list of valid types\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBRule rule;\fR /* read only */
+\fI$alternative\fR\fB\->{rule}\fR
+\fIalternative\fR\fB\&.rule\fR
+\fIalternative\fR\fB\&.rule\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The rule that caused the creation of the alternative (SOLVER_ALTERNATIVE_TYPE_RULE)\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBDep *dep;\fR /* read only */
+\fI$ruleinfo\fR\fB\->{dep}\fR
+\fIruleinfo\fR\fB\&.dep\fR
+\fIruleinfo\fR\fB\&.dep\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The dependency that caused the creation of the alternative (SOLVER_ALTERNATIVE_TYPE_RECOMMENDS)\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBDep *depsolvable;\fR /* read only */
+\fI$ruleinfo\fR\fB\->{depsolvable}\fR
+\fIruleinfo\fR\fB\&.depsolvable\fR
+\fIruleinfo\fR\fB\&.depsolvable\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The package containing the dependency (SOLVER_ALTERNATIVE_TYPE_RECOMMENDS)\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSolvable chosen;\fR /* read only */
+\fI$alternative\fR\fB\->{chosen}\fR
+\fIalternative\fR\fB\&.chosen\fR
+\fIalternative\fR\fB\&.chosen\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The solvable that the solver chose from the alternative\(cqs package set\&.
+.SS "CONSTANTS"
+.PP
+\fBSOLVER_ALTERNATIVE_TYPE_RULE\fR
+.RS 4
+The alternative was created when fulfilling a rule\&.
+.RE
+.PP
+\fBSOLVER_ALTERNATIVE_TYPE_RECOMMENDS\fR
+.RS 4
+The alternative was created when fulfilling a recommends dependency\&.
+.RE
+.PP
+\fBSOLVER_ALTERNATIVE_TYPE_SUGGESTS\fR
+.RS 4
+The alternative was created when fulfilling a suggests dependency\&.
+.RE
+.SS "METHODS"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSolvable *choices()\fR
+my \fI@choices\fR \fB=\fR \fI$alternative\fR\fB\->choices()\fR;
+\fIchoices\fR \fB=\fR \fIalternative\fR\fB\&.choices\fR
+\fIchoices\fR \fB=\fR \fIalternative\fR\fB\&.choices\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return the set of solvables that the solver could choose from when creating the alternative\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fB\fR
+my \fI$str\fR \fB=\fR \fI$alternative\fR\fB\->str\fR;
+\fIstr\fR \fB= str(\fR\fIalternative\fR\fB)\fR
+\fIstr\fR \fB=\fR \fIalternative\fR\fB\&.to_s\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return a string describing the alternative\&.
+.SH "THE DECISION CLASS"
+.sp
+A decision is created when the solver fulfills dependencies\&. It can be either to install a package to satisfy a dependency or to conflict a dependency because it conflicts with another package or its dependencies cannot be met\&. Most decisions are caused by rule processing, but there are some other types like orphaned package handling or weak dependency handling\&.
+.SS "ATTRIBUTES"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSolver *solv;\fR /* read only */
+\fI$decision\fR\fB\->{solv}\fR
+\fIdecision\fR\fB\&.solv\fR
+\fIdecision\fR\fB\&.solv\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Back pointer to solver object\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId p;\fR /* read only */
+\fI$decision\fR\fB\->{p}\fR
+\fIdecision\fR\fB\&.p\fR
+\fIdecision\fR\fB\&.p\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The decision package id, positive for installs and negative for conflicts\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBint reason;\fR /* read only */
+\fI$decision\fR\fB\->{reason}\fR
+\fIdecision\fR\fB\&.reason\fR
+\fIdecision\fR\fB\&.reason\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The reason for the decision\&. See the SOLVER_REASON_ constants\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBint infoid;\fR /* read only */
+\fI$decision\fR\fB\->{infoid}\fR
+\fIdecision\fR\fB\&.infoid\fR
+\fIdecision\fR\fB\&.infoid\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Extra info for the decision\&. This is the rule id for decisions caused by rule fulfillment\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSolvable solvable;\fR /* read only */
+\fI$decision\fR\fB\->{solvable}\fR
+\fIdecision\fR\fB\&.solvable\fR
+\fIdecision\fR\fB\&.solvable\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The decision package object\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBRule rule()\fR /* read only */
+\fI$decision\fR\fB\->{rule}\fR
+\fIdecision\fR\fB\&.rule\fR
+\fIdecision\fR\fB\&.rule\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The rule object for decisions that where caused by rule fulfilment\&.
+.SS "METHODS"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBRuleinfo info()\fR
+my \fI$info\fR \fB=\fR \fI$decision\fR\fB\->info()\fR;
+\fIinfo\fR \fB=\fR \fIdecision\fR\fB\&.info()\fR
+\fIinfo\fR \fB=\fR \fIdecision\fR\fB\&.info()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return a Ruleinfo object describing the decision\&. Some reasons like SOLVER_REASON_WEAKDEP are not caused by rules, but can be expressed by a Ruleinfo object\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBRuleinfo *allinfos()\fR
+my \fI@infos\fR \fB=\fR \fI$decision\fR\fB\->allinfos()\fR;
+\fIinfos\fR \fB=\fR \fIdecision\fR\fB\&.allinfos()\fR
+\fIinfos\fR \fB=\fR \fIdecision\fR\fB\&.allinfos()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Same as info(), but all Ruleinfo objects describing the decision are returned\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBconst char *reasonstr()\fR
+my \fIstr\fR \fB=\fR \fI$decision\fR\fB\->reasonstr()\fR
+\fIstr\fR \fB=\fR \fIdecision\fR\fB\&.reasonstr()\fR
+\fIstr\fR \fB=\fR \fIdecision\fR\fB\&.reasonstr()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return a string describing why a decision was done (but without the decision itself)\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fB\fR
+my \fI$str\fR \fB=\fR \fI$decison\fR\fB\->str\fR;
+\fIstr\fR \fB= str(\fR\fIdecision\fR\fB)\fR
+\fIstr\fR \fB=\fR \fIdecision\fR\fB\&.to_s\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return a string describing the decision (but without the reason)\&.
+.SH "THE DECISIONSET CLASS"
+.sp
+A decisionset consists of multiple decisions of the same reason and type that can be presented to the user as a single action\&.
+.SS "ATTRIBUTES"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSolver *solv;\fR /* read only */
+\fI$decision\fR\fB\->{solv}\fR
+\fIdecision\fR\fB\&.solv\fR
+\fIdecision\fR\fB\&.solv\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Back pointer to solver object\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId p;\fR /* read only */
+\fI$decision\fR\fB\->{p}\fR
+\fIdecision\fR\fB\&.p\fR
+\fIdecision\fR\fB\&.p\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The package id of the first decision, positive for installs and negative for conflicts\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBint reason;\fR /* read only */
+\fI$decision\fR\fB\->{reason}\fR
+\fIdecision\fR\fB\&.reason\fR
+\fIdecision\fR\fB\&.reason\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The reason for the decisions in the set\&. See the SOLVER_REASON_ constants\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBint type;\fR /* read only */
+\fI$ruleinfo\fR\fB\->{type}\fR
+\fIruleinfo\fR\fB\&.type\fR
+\fIruleinfo\fR\fB\&.type\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The type of the decision info\&. See the constant section of the solver class for the rule type list and the special type list\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBDep *dep;\fR /* read only */
+\fI$ruleinfo\fR\fB\->{dep}\fR
+\fIruleinfo\fR\fB\&.dep\fR
+\fIruleinfo\fR\fB\&.dep\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The dependency that caused the decision
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBDep *dep_id;\fR /* read only */
+\fI$ruleinfo\fR\fB\->{\fR\fIdep_id\fR\fB}\fR
+\fIruleinfo\fR\fB\&.dep_id\fR
+\fIruleinfo\fR\fB\&.dep_id\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+The Id of the dependency that caused the decision\&.
+.SS "METHODS"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBDecision *decisions()\fR
+my \fI@decisions\fR \fB=\fR \fI$decisionset\fR\fB\->decisions()\fR;
+\fIdecisions\fR \fB=\fR \fIdecisionset\fR\fB\&.decisions()\fR
+\fIdecisions\fR \fB=\fR \fIdecisionset\fR\fB\&.decisions()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return all the decisions of the set\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSolvable *solvables()\fR
+my \fI@pkgs\fR \fB=\fR \fI$decisionset\fR\fB\->solvables()\fR;
+\fIpkgs\fR \fB=\fR \fIdecisionset\fR\fB\&.solvables()\fR
+\fIpkgs\fR \fB=\fR \fIdecisionset\fR\fB\&.solvables()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return all the packages that were decided in the set\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBconst char *reasonstr()\fR
+my \fIstr\fR \fB=\fR \fI$decision\fR\fB\->reasonstr()\fR;
+\fIstr\fR \fB=\fR \fIdecision\fR\fB\&.reasonstr()\fR
+\fIstr\fR \fB=\fR \fIdecision\fR\fB\&.reasonstr()\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return a string describing why the decisions were done (but without the decisions themself)\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fB\fR
+my \fI$str\fR \fB=\fR \fI$decison\fR\fB\->str\fR;
+\fIstr\fR \fB= str(\fR\fIdecision\fR\fB)\fR
+\fIstr\fR \fB=\fR \fIdecision\fR\fB\&.to_s\fR
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return a string describing the decisions (but without the reason)\&.
+.SH "AUTHOR"
+.sp
+Michael Schroeder
diff --git a/miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man3/libsolv-constantids.3 b/miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man3/libsolv-constantids.3
new file mode 100644
index 0000000000000000000000000000000000000000..8dd0ed658936ae25b310778947d95f011eee9fa2
--- /dev/null
+++ b/miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man3/libsolv-constantids.3
@@ -0,0 +1,906 @@
+'\" t
+.\" Title: Libsolv-Constantids
+.\" Author: [see the "Author" section]
+.\" Generator: DocBook XSL Stylesheets vsnapshot
+.\" Date: 03/02/2022
+.\" Manual: LIBSOLV
+.\" Source: libsolv
+.\" Language: English
+.\"
+.TH "LIBSOLV\-CONSTANTIDS" "3" "03/02/2022" "libsolv" "LIBSOLV"
+.\" -----------------------------------------------------------------
+.\" * Define some portability stuff
+.\" -----------------------------------------------------------------
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" http://bugs.debian.org/507673
+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.ie \n(.g .ds Aq \(aq
+.el .ds Aq '
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.\" -----------------------------------------------------------------
+.\" * MAIN CONTENT STARTS HERE *
+.\" -----------------------------------------------------------------
+.SH "NAME"
+libsolv-constantids \- fixed Ids for often used strings
+.SH "DESCRIPTION"
+.sp
+Constant Ids are Ids of strings that are often needed\&. They are defined to ease programming and reduce the number of pool_str2id calls\&. The constant Ids are part of the binary ABI of libsolv, a minor version update will only add new constants and not change existing Ids to maintain compatibility\&. The on\-disk solv format does not use the fixed Ids, but instead references the strings, so solv files can still be read when the ABI is broken\&.
+.SH "SPECIAL STRINGS"
+.PP
+\fBID_EMPTY ""\fR
+.RS 4
+The empty string\&. It will always have Id 1\&.
+.RE
+.PP
+\fBSYSTEM_SYSTEM "system:system"\fR
+.RS 4
+The name of the always installed "system" solvable\&.
+.RE
+.SH "SOLVABLE ATTRIBUTES"
+.sp
+These are Ids for keynames of attributes\&. They can be used in the lookup and storage functions to select the correct attribute in the solvable\&. The descriptions below describe the intended semantics of the values stored in the attribute with the keyname\&.
+.PP
+\fBSOLVABLE_NAME "solvable:name"\fR
+.RS 4
+The name of the package\&.
+.RE
+.PP
+\fBSOLVABLE_ARCH "solvable:arch"\fR
+.RS 4
+The architecture of the package\&. See the Solvable Architecture section for predefined architecture Id values\&.
+.RE
+.PP
+\fBSOLVABLE_EVR "solvable:evr"\fR
+.RS 4
+The version of the package\&. It usually consists of some combination of the Epoch, the Version, and the Release of the solvable\&.
+.RE
+.PP
+\fBSOLVABLE_VENDOR "solvable:vendor"\fR
+.RS 4
+A vendor string\&. Usually the company or group that created the binary package\&.
+.RE
+.PP
+\fBSOLVABLE_PROVIDES "solvable:provides"\fR
+.RS 4
+Stores an array of dependency Ids that describe the capabilities that the package provides\&.
+.RE
+.PP
+\fBSOLVABLE_OBSOLETES "solvable:obsoletes"\fR
+.RS 4
+Stores an array of dependency Ids that describe the packages that this package replaces\&.
+.RE
+.PP
+\fBSOLVABLE_CONFLICTS "solvable:conflicts"\fR
+.RS 4
+Stores an array of dependency Ids that describe the capabilities that this package conflicts with, i\&.e\&. that can\(cqt be installed together with this package\&.
+.RE
+.PP
+\fBSOLVABLE_REQUIRES "solvable:requires"\fR
+.RS 4
+Stores an array of dependency Ids that describe the capabilities that also must be installed when this package is installed\&.
+.RE
+.PP
+\fBSOLVABLE_RECOMMENDS "solvable:recommends"\fR
+.RS 4
+Stores an array of dependency Ids that describe the capabilities that also should be installed when this package is installed\&. It\(cqs not an error if not all capabilities can be met\&.
+.RE
+.PP
+\fBSOLVABLE_SUGGESTS "solvable:suggests"\fR
+.RS 4
+Stores an array of dependency Ids that describe the capabilities that also useful to have installed when this package is installed\&. This is intended to provide a hint to the user about other packages\&.
+.RE
+.PP
+\fBSOLVABLE_SUPPLEMENTS "solvable:supplements"\fR
+.RS 4
+Stores an array of dependency Ids that define that this package should be installed if one of the capabilities is met\&. This is like the recommends attribute, but works in the reverse way\&.
+.RE
+.PP
+\fBSOLVABLE_ENHANCES "solvable:enhances"\fR
+.RS 4
+Stores an array of dependency Ids that define that this package is useful to have installed if one of the capabilities is met\&. This is like the suggests attribute, but works in the reverse way\&.
+.RE
+.PP
+\fBSOLVABLE_SUMMARY "solvable:summary"\fR
+.RS 4
+The summary should be a short string without any newlines that describes what a package does\&.
+.RE
+.PP
+\fBSOLVABLE_DESCRIPTION "solvable:description"\fR
+.RS 4
+The description should be a more verbose description about what a package does\&. It may consist of multiple lines\&.
+.RE
+.PP
+\fBSOLVABLE_DISTRIBUTION "solvable:distribution"\fR
+.RS 4
+The distribution is a short string that describes the OS and OS version this package is built for\&.
+.RE
+.PP
+\fBSOLVABLE_AUTHORS "solvable:authors"\fR
+.RS 4
+A list of authors of this package\&. This attribute was used in SUSE packages\&.
+.RE
+.PP
+\fBSOLVABLE_PACKAGER "solvable:packager"\fR
+.RS 4
+The person who created the binary package, see also the vendor attribute\&.
+.RE
+.PP
+\fBSOLVABLE_GROUP "solvable:group"\fR
+.RS 4
+The package group that this package belongs to\&. See also the keywords attribute\&.
+.RE
+.PP
+\fBSOLVABLE_URL "solvable:url"\fR
+.RS 4
+An URL that points to more information about the package\&.
+.RE
+.PP
+\fBSOLVABLE_KEYWORDS "solvable:keywords"\fR
+.RS 4
+list of keyword string IDs used for tagging this package\&.
+.RE
+.PP
+\fBSOLVABLE_LICENSE "solvable:license"\fR
+.RS 4
+The license(s) of this package\&.
+.RE
+.PP
+\fBSOLVABLE_BUILDTIME "solvable:buildtime"\fR
+.RS 4
+The seconds since the unix epoch when the binary package was created\&.
+.RE
+.PP
+\fBSOLVABLE_BUILDHOST "solvable:buildhost"\fR
+.RS 4
+The name of the host on which the binary package was created\&.
+.RE
+.PP
+\fBSOLVABLE_EULA "solvable:eula"\fR
+.RS 4
+If this attribute is present the user should be asked to accept the end user license agreement before the package gets installed\&.
+.RE
+.PP
+\fBSOLVABLE_CPEID "solvable:cpeid"\fR
+.RS 4
+A Common Platform Enumeration string describes the platform this package is intended for\&. See also the distribution attribute\&.
+.RE
+.PP
+\fBSOLVABLE_MESSAGEINS "solvable:messageins"\fR
+.RS 4
+A message that should be displayed to the user when the package gets installed\&.
+.RE
+.PP
+\fBSOLVABLE_MESSAGEDEL "solvable:messagedel"\fR
+.RS 4
+A message that should be displayed to the user when the package gets erased\&.
+.RE
+.PP
+\fBSOLVABLE_INSTALLSIZE "solvable:installsize"\fR
+.RS 4
+The disk space in bytes needed when installing the package\&.
+.RE
+.PP
+\fBSOLVABLE_DISKUSAGE "solvable:diskusage"\fR
+.RS 4
+A SUSE extension that stores for each directory the needed amount of disk space in kilobytes and inodes\&.
+.RE
+.PP
+\fBSOLVABLE_FILELIST "solvable:filelist"\fR
+.RS 4
+A list of files that the package contains\&.
+.RE
+.PP
+\fBSOLVABLE_INSTALLTIME "solvable:installtime"\fR
+.RS 4
+The seconds since the unix epoch when the binary package was installed on the system\&.
+.RE
+.PP
+\fBSOLVABLE_MEDIADIR "solvable:mediadir"\fR
+.RS 4
+The directory on the repository that contains the package\&. If this attribute is set to void, the package architecture is used as directory\&.
+.RE
+.PP
+\fBSOLVABLE_MEDIAFILE "solvable:mediafile"\fR
+.RS 4
+The filename on the repository that contains the package\&. If this attribute is set to void, the canonical file name of the package is used (i\&.e\&. a combination of the name, version, architecture)\&.
+.RE
+.PP
+\fBSOLVABLE_MEDIANR "solvable:medianr"\fR
+.RS 4
+The media number\&. This is an integer describing on which of a multi\-part media set this package is on\&.
+.RE
+.PP
+\fBSOLVABLE_MEDIABASE "solvable:mediabase"\fR
+.RS 4
+This attribute can be used to overwrite the repositories base url\&.
+.RE
+.PP
+\fBSOLVABLE_DOWNLOADSIZE "solvable:downloadsize"\fR
+.RS 4
+The size of the binary package in bytes\&.
+.RE
+.PP
+\fBSOLVABLE_SOURCEARCH "solvable:sourcearch"\fR
+.RS 4
+The architecture of the source package that this package belongs to\&.
+.RE
+.PP
+\fBSOLVABLE_SOURCENAME "solvable:sourcename"\fR
+.RS 4
+The name of the source package that this package belongs to\&. If set to void, the package name attribute is used instead\&.
+.RE
+.PP
+\fBSOLVABLE_SOURCEEVR "solvable:sourceevr"\fR
+.RS 4
+The version of the source package that this package belongs to\&. If set to void, the package version attribute is used instead\&.
+.RE
+.PP
+\fBSOLVABLE_TRIGGERS "solvable:triggers"\fR
+.RS 4
+A list of package triggers for this package\&. Used in the transaction ordering code\&.
+.RE
+.PP
+\fBSOLVABLE_CHECKSUM "solvable:checksum"\fR
+.RS 4
+The checksum of the binary package\&. See the Data Types section for a list of supported algorithms\&.
+.RE
+.PP
+\fBSOLVABLE_PKGID "solvable:pkgid"\fR
+.RS 4
+A string identifying a package\&. For rpm packages, this is the md5sum over the package header and the payload\&.
+.RE
+.PP
+\fBSOLVABLE_HDRID "solvable:hdrid"\fR
+.RS 4
+A string identifying a package\&. For rpm packages, this is the sha1sum over just the package header\&.
+.RE
+.PP
+\fBSOLVABLE_LEADSIGID "solvable:leadsigid"\fR
+.RS 4
+A string identifying the signature part of a package\&. For rpm packages, this is the md5sum from the start of the file up to the package header (i\&.e\&. it includes the lead, the signature header, and the padding)\&.
+.RE
+.PP
+\fBSOLVABLE_HEADEREND "solvable:headerend"\fR
+.RS 4
+The offset of the payload in rpm binary packages\&. You can use this information to download just the header if you want to display information not included in the repository metadata\&.
+.RE
+.PP
+\fBSOLVABLE_CHANGELOG "solvable:changelog"\fR
+.RS 4
+The array containing all the changelog structures\&.
+.RE
+.PP
+\fBSOLVABLE_CHANGELOG_AUTHOR "solvable:changelog:author"\fR
+.RS 4
+The author of a changelog entry\&.
+.RE
+.PP
+\fBSOLVABLE_CHANGELOG_TIME "solvable:changelog:time"\fR
+.RS 4
+The seconds since the unix epoch when the changelog entry was written\&.
+.RE
+.PP
+\fBSOLVABLE_CHANGELOG_TEXT "solvable:changelog:text"\fR
+.RS 4
+The text of a changelog entry\&.
+.RE
+.SH "SPECIAL SOLVABLE ATTRIBUTES"
+.PP
+\fBRPM_RPMDBID "rpm:dbid"\fR
+.RS 4
+The rpm database id of this (installed) package\&. Usually a small integer number\&.
+.RE
+.PP
+\fBSOLVABLE_PATCHCATEGORY "solvable:patchcategory"\fR
+.RS 4
+The category field for patch solvables\&. Should be named \(lqupdate:category\(rq instead\&.
+.RE
+.PP
+\fBUPDATE_REBOOT "update:reboot"\fR
+.RS 4
+If this attribute is present the system should be rebooted after the update is installed\&.
+.RE
+.PP
+\fBUPDATE_RESTART "update:restart"\fR
+.RS 4
+If this attribute is present the software manager should be run again after the update is installed\&.
+.RE
+.PP
+\fBUPDATE_RELOGIN "update:relogin"\fR
+.RS 4
+If this attribute is present the user should log off and on again after the update is installed\&.
+.RE
+.PP
+\fBUPDATE_MESSAGE "update:message"\fR
+.RS 4
+A message that should be shown to the user to warn him about anything non\-standard\&.
+.RE
+.PP
+\fBUPDATE_SEVERITY "update:severity"\fR
+.RS 4
+The severity of the update\&.
+.RE
+.PP
+\fBUPDATE_RIGHTS "update:rights"\fR
+.RS 4
+Any legal or other rights of the update\&.
+.RE
+.PP
+\fBUPDATE_COLLECTION "update:collection"\fR
+.RS 4
+The array containing the package list of the update\&.
+.RE
+.PP
+\fBUPDATE_COLLECTION_NAME "update:collection:name"\fR
+.RS 4
+The name of the updated package\&.
+.RE
+.PP
+\fBUPDATE_COLLECTION_EVR "update:collection:evr"\fR
+.RS 4
+The version of the updated package\&.
+.RE
+.PP
+\fBUPDATE_COLLECTION_ARCH "update:collection:arch"\fR
+.RS 4
+The architecture of the updated package\&.
+.RE
+.PP
+\fBUPDATE_COLLECTION_FILENAME "update:collection:filename"\fR
+.RS 4
+The file name of the updated package\&.
+.RE
+.PP
+\fBUPDATE_REFERENCE "update:reference"\fR
+.RS 4
+The array containing the reference list of the update\&.
+.RE
+.PP
+\fBUPDATE_REFERENCE_TYPE "update:reference:type"\fR
+.RS 4
+The type of the reference, e\&.g\&. bugzilla\&.
+.RE
+.PP
+\fBUPDATE_REFERENCE_HREF "update:reference:href"\fR
+.RS 4
+The URL of the reference\&.
+.RE
+.PP
+\fBUPDATE_REFERENCE_ID "update:reference:id"\fR
+.RS 4
+The identification string of the reference, e\&.g\&. the bug number\&.
+.RE
+.PP
+\fBUPDATE_REFERENCE_TITLE "update:reference:title"\fR
+.RS 4
+The title of the reference, e\&.g\&. the bug summary\&.
+.RE
+.PP
+\fBPRODUCT_REFERENCEFILE "product:referencefile"\fR
+.RS 4
+The basename of the product file in the package\&.
+.RE
+.PP
+\fBPRODUCT_SHORTLABEL "product:shortlabel"\fR
+.RS 4
+An identification string of the product\&.
+.RE
+.PP
+\fBPRODUCT_DISTPRODUCT "product:distproduct"\fR
+.RS 4
+Obsolete, do not use\&. Was a SUSE Code\-10 product name\&.
+.RE
+.PP
+\fBPRODUCT_DISTVERSION "product:distversion"\fR
+.RS 4
+Obsolete, do not use\&. Was a SUSE Code\-10 product version\&.
+.RE
+.PP
+\fBPRODUCT_TYPE "product:type"\fR
+.RS 4
+The type of the product, e\&.g\&. \(lqbase\(rq\&.
+.RE
+.PP
+\fBPRODUCT_URL "product:url"\fR
+.RS 4
+An array of product URLs\&.
+.RE
+.PP
+\fBPRODUCT_URL_TYPE "product:url:type"\fR
+.RS 4
+An array of product URL types\&.
+.RE
+.PP
+\fBPRODUCT_FLAGS "product:flags"\fR
+.RS 4
+An array of product flags\&.
+.RE
+.PP
+\fBPRODUCT_PRODUCTLINE "product:productline"\fR
+.RS 4
+A product line string used for product registering\&.
+.RE
+.PP
+\fBPRODUCT_REGISTER_TARGET "product:regtarget"\fR
+.RS 4
+A target for product registering\&.
+.RE
+.PP
+\fBPRODUCT_REGISTER_RELEASE "product:regrelease"\fR
+.RS 4
+A release string for product registering\&.
+.RE
+.PP
+\fBPUBKEY_KEYID "pubkey:keyid"\fR
+.RS 4
+The keyid of a pubkey, consisting of 8 bytes in hex\&.
+.RE
+.PP
+\fBPUBKEY_FINGERPRINT "pubkey:fingerprint"\fR
+.RS 4
+The fingerprint of a pubkey, usually a sha1sum in hex\&. Old V3 RSA keys use a md5sum instead\&.
+.RE
+.PP
+\fBPUBKEY_EXPIRES "pubkey:expires"\fR
+.RS 4
+The seconds since the unix epoch when the pubkey expires\&.
+.RE
+.PP
+\fBPUBKEY_SUBKEYOF "pubkey:subkeyof"\fR
+.RS 4
+The keyid of the master pubkey for subkeys\&.
+.RE
+.PP
+\fBPUBKEY_DATA "pubkey:data"\fR
+.RS 4
+The MPI data of the pubkey\&.
+.RE
+.PP
+\fBSOLVABLE_ISVISIBLE "solvable:isvisible"\fR
+.RS 4
+An attribute describing if the package should be listed to the user or not\&. Used for SUSE patterns\&.
+.RE
+.PP
+\fBSOLVABLE_CATEGORY "solvable:category"\fR
+.RS 4
+The category of a pattern\&.
+.RE
+.PP
+\fBSOLVABLE_INCLUDES "solvable:includes"\fR
+.RS 4
+A list of other patterns that this pattern includes\&.
+.RE
+.PP
+\fBSOLVABLE_EXTENDS "solvable:extends"\fR
+.RS 4
+A list of other patterns that this pattern extends\&.
+.RE
+.PP
+\fBSOLVABLE_ICON "solvable:icon"\fR
+.RS 4
+The icon name of a pattern\&.
+.RE
+.PP
+\fBSOLVABLE_ORDER "solvable:order"\fR
+.RS 4
+An ordering clue of a pattern\&.
+.RE
+.PP
+\fBSUSETAGS_SHARE_NAME "susetags:share:name"\fR
+.RS 4
+Internal attribute to implement susetags shared records\&. Holds the name of the solvable used for sharing attributes\&.
+.RE
+.PP
+\fBSUSETAGS_SHARE_EVR "susetags:share:evr"\fR
+.RS 4
+Internal attribute to implement susetags shared records\&. Holds the version of the solvable used for sharing attributes\&.
+.RE
+.PP
+\fBSUSETAGS_SHARE_ARCH "susetags:share:arch"\fR
+.RS 4
+Internal attribute to implement susetags shared records\&. Holds the architecture of the solvable used for sharing attributes\&.
+.RE
+.SH "SOLVABLE ARCHITECTURES"
+.sp
+Predefined architecture values for commonly used architectures\&.
+.PP
+\fBARCH_SRC "src"\fR
+.RS 4
+Used for binary packages that contain the package sources\&.
+.RE
+.PP
+\fBARCH_NOSRC "nosrc"\fR
+.RS 4
+Used for binary packages that contain some of the package sources, but not all files (because of restrictions)\&.
+.RE
+.PP
+\fBARCH_NOARCH "noarch"\fR
+.RS 4
+This package can be installed on any architecture\&. Used for rpm\&.
+.RE
+.PP
+\fBARCH_ALL "all"\fR
+.RS 4
+This package can be installed on any architecture\&. Used for Debian\&.
+.RE
+.PP
+\fBARCH_ANY "any"\fR
+.RS 4
+This package can be installed on any architecture\&. Used for Archlinux and Haiku\&.
+.RE
+.SH "DEPENDENCY IDS"
+.sp
+Namespaces are special modifiers that change the meaning of a dependency\&. Namespace dependencies are created with the REL_NAMESPACE flag\&. To make custom namespaces work you have to implement a namespace callback function\&.
+.sp
+The dependency markers partition the dependency array in two parts with different semantics\&.
+.PP
+\fBNAMESPACE_MODALIAS "namespace:modalias"\fR
+.RS 4
+The dependency is a special modalias dependency that matches installed hardware\&.
+.RE
+.PP
+\fBNAMESPACE_SPLITPROVIDES "namespace:splitprovides"\fR
+.RS 4
+The dependency is a special splitprovides dependency used to implement updates that include a package split\&. A splitprovides dependency contains a filename and a package name, it is matched if a package with the provided package name is installed that contains the filename\&. This namespace is implemented in libsolv, so you do not need a callback\&.
+.RE
+.PP
+\fBNAMESPACE_LANGUAGE "namespace:language"\fR
+.RS 4
+The dependency describes a language\&. The callback should return true if the language was selected by the user\&.
+.RE
+.PP
+\fBNAMESPACE_FILESYSTEM "namespace:filesystem"\fR
+.RS 4
+The dependency describes a filesystem\&. The callback should return true if the filesystem is needed\&.
+.RE
+.PP
+\fBNAMESPACE_OTHERPROVIDERS "namespace:otherproviders"\fR
+.RS 4
+This is a hack to allow self\-conflicting packages\&. It is not needed with current rpm version, so do not use this namespace\&.
+.RE
+.PP
+\fBSOLVABLE_PREREQMARKER "solvable:prereqmarker"\fR
+.RS 4
+This marker partitions the normal require dependencies from the prerequires\&. It is not needed for dependency solving, but it is used by the transaction ordering algorithm when a dependency cycle needs to be broken (non\-prereq deps get broken first)\&.
+.RE
+.PP
+\fBSOLVABLE_FILEMARKER "solvable:filemarker"\fR
+.RS 4
+This marker partitions the package provides dependencies from the synthetic file provides dependencies added by pool_addfileprovides()\&.
+.RE
+.SH "DATA TYPES"
+.sp
+Each attribute data is stored with a type, so that the lookup functions know how to interpret the data\&. The following types are available:
+.PP
+\fBREPOKEY_TYPE_VOID "repokey:type:void"\fR
+.RS 4
+No data is stored with this attribute\&. Thus you can only test if the attribute exists or not\&. Useful to store boolean values\&.
+.RE
+.PP
+\fBREPOKEY_TYPE_CONSTANT "repokey:type:constant"\fR
+.RS 4
+The data is a constant 32bit number\&. The number is stored in the key area, so using it does not cost extra storage space (but you need the extra key space)\&.
+.RE
+.PP
+\fBREPOKEY_TYPE_CONSTANTID "repokey:type:constantid"\fR
+.RS 4
+The data is a constant Id\&. The Id is stored in the key area, so using it does not cost extra storage space (but you need the extra key space)\&.
+.RE
+.PP
+\fBREPOKEY_TYPE_ID "repokey:type:id"\fR
+.RS 4
+The data is an Id\&.
+.RE
+.PP
+\fBREPOKEY_TYPE_NUM "repokey:type:num"\fR
+.RS 4
+The data is an unsigned 64bit number\&.
+.RE
+.PP
+\fBREPOKEY_TYPE_U32 "repokey:type:num32"\fR
+.RS 4
+The data is an unsigned 32bit number\&. Obsolete, do not use\&.
+.RE
+.PP
+\fBREPOKEY_TYPE_DIR "repokey:type:dir"\fR
+.RS 4
+The data is an Id of a directory\&.
+.RE
+.PP
+\fBREPOKEY_TYPE_STR "repokey:type:str"\fR
+.RS 4
+The data is a regular string\&.
+.RE
+.PP
+\fBREPOKEY_TYPE_BINARY "repokey:type:binary"\fR
+.RS 4
+The data is a binary blob\&.
+.RE
+.PP
+\fBREPOKEY_TYPE_IDARRAY "repokey:type:idarray"\fR
+.RS 4
+The data is an array of non\-zero Ids\&.
+.RE
+.PP
+\fBREPOKEY_TYPE_REL_IDARRAY "repokey:type:relidarray"\fR
+.RS 4
+The data is an array of non\-zero Ids ordered so that it needs less space\&.
+.RE
+.PP
+\fBREPOKEY_TYPE_DIRSTRARRAY "repokey:type:dirstrarray"\fR
+.RS 4
+The data is a tuple consisting of a directory Id and a basename\&. Used to store file names\&.
+.RE
+.PP
+\fBREPOKEY_TYPE_DIRNUMNUMARRAY "repokey:type:dirnumnumarray"\fR
+.RS 4
+The data is a triple consisting of a directory Id and two 32bit unsigned integers\&. Used to store disk usage information\&.
+.RE
+.PP
+\fBREPOKEY_TYPE_MD5 "repokey:type:md5"\fR
+.RS 4
+The data is a binary md5sum\&.
+.RE
+.PP
+\fBREPOKEY_TYPE_SHA1 "repokey:type:sha1"\fR
+.RS 4
+The data is a binary sha1sum\&.
+.RE
+.PP
+\fBREPOKEY_TYPE_SHA256 "repokey:type:sha256"\fR
+.RS 4
+The data is a binary sha256sum\&.
+.RE
+.PP
+\fBREPOKEY_TYPE_FIXARRAY "repokey:type:fixarray"\fR
+.RS 4
+The data is an array of structures that have all the same layout (i\&.e\&. the same keynames and keytypes in the same order)\&.
+.RE
+.PP
+\fBREPOKEY_TYPE_FLEXARRAY "repokey:type:flexarray"\fR
+.RS 4
+The data is an array of structures that have a different layout\&.
+.RE
+.PP
+\fBREPOKEY_TYPE_DELETED "repokey:type:deleted"\fR
+.RS 4
+The data does not exist\&. Used to mark an attribute that was deleted\&.
+.RE
+.SH "REPOSITORY METADATA"
+.sp
+This attributes contain meta information about the repository\&.
+.PP
+\fBREPOSITORY_SOLVABLES "repository:solvables"\fR
+.RS 4
+This attribute holds the array including all of the solvables\&. It is only used in the on\-disk solv files, internally the solvables are stored in the pool\(cqs solvable array for fast access\&.
+.RE
+.PP
+\fBREPOSITORY_DELTAINFO "repository:deltainfo"\fR
+.RS 4
+This attribute holds the array including all of the delta packages\&.
+.RE
+.PP
+\fBREPOSITORY_EXTERNAL "repository:external"\fR
+.RS 4
+This attribute holds the array including all of the data to construct stub repodata areas to support on\-demand loading of metadata\&.
+.RE
+.PP
+\fBREPOSITORY_KEYS "repository:keys"\fR
+.RS 4
+This should really be named "repository:external:keys", it contains an array if Ids that consists of (keyname, keytype) pairs that describe the keys of the stub\&.
+.RE
+.PP
+\fBREPOSITORY_LOCATION "repository:location"\fR
+.RS 4
+This is used to provide a file name in the stub\&.
+.RE
+.PP
+\fBREPOSITORY_ADDEDFILEPROVIDES "repository:addedfileprovides"\fR
+.RS 4
+This attribute holds an array of filename Ids, that tell the library, that all of the Ids were already added to the solvable provides\&.
+.RE
+.PP
+\fBREPOSITORY_RPMDBCOOKIE "repository:rpmdbcookie"\fR
+.RS 4
+An attribute that stores a sha256sum over the file stats of the Packages database\&. It\(cqs used to detect rebuilds of the database, as in that case the database Ids of every package are newly distributed\&.
+.RE
+.PP
+\fBREPOSITORY_TIMESTAMP "repository:timestamp"\fR
+.RS 4
+The seconds since the unix epoch when the repository was created\&.
+.RE
+.PP
+\fBREPOSITORY_EXPIRE "repository:expire"\fR
+.RS 4
+The seconds after the timestamp when the repository will expire\&.
+.RE
+.PP
+\fBREPOSITORY_UPDATES "repository:updates"\fR
+.RS 4
+An array of structures describing what this repository updates\&.
+.RE
+.PP
+\fBREPOSITORY_DISTROS "repository:distros"\fR
+.RS 4
+Also an array of structures describing what this repository updates\&. Seems to be the newer name of REPOSITORY_UPDATES\&.
+.RE
+.PP
+\fBREPOSITORY_PRODUCT_LABEL "repository:product:label"\fR
+.RS 4
+Should really be called "repository:updates:label"\&. What distribution is updated with this repository\&.
+.RE
+.PP
+\fBREPOSITORY_PRODUCT_CPEID "repository:product:cpeid"\fR
+.RS 4
+The cpeid of the platform updated by this repository\&. Is both used in REPOSITORY_UPDATES and REPOSITORY_DISTROS to maximize confusion\&.
+.RE
+.PP
+\fBREPOSITORY_REPOID "repository:repoid"\fR
+.RS 4
+An array of Id strings describing keywords/tags about the repository itself\&.
+.RE
+.PP
+\fBREPOSITORY_KEYWORDS "repository:keywords"\fR
+.RS 4
+An array of Id strings describing keywords/tags about the content of the repository\&.
+.RE
+.PP
+\fBREPOSITORY_REVISION "repository:revision"\fR
+.RS 4
+An arbitrary string describing the revision of the repository\&.
+.RE
+.PP
+\fBREPOSITORY_TOOLVERSION "repository:toolversion"\fR
+.RS 4
+Some string describing somewhat the version of libsolv used to create the solv file\&.
+.RE
+.SH "REPOSITORY METADATA FOR SUSETAGS REPOS"
+.sp
+Attributes describing repository files in a susetags repository\&. \fBSUSETAGS_DATADIR "susetags:datadir"\fR:: The directory that contains the packages\&.
+.PP
+\fBSUSETAGS_DESCRDIR "susetags:descrdir"\fR
+.RS 4
+The directory that contains the repository file resources\&.
+.RE
+.PP
+\fBSUSETAGS_DEFAULTVENDOR "susetags:defaultvendor"\fR
+.RS 4
+The default vendor used when a package does not specify a vendor\&.
+.RE
+.PP
+\fBSUSETAGS_FILE "susetags:file"\fR
+.RS 4
+An array of file resources of the repository\&.
+.RE
+.PP
+\fBSUSETAGS_FILE_NAME "susetags:file:name"\fR
+.RS 4
+The filename of the resource\&.
+.RE
+.PP
+\fBSUSETAGS_FILE_TYPE "susetags:file:type"\fR
+.RS 4
+The type of the resource, e\&.g\&. \(lqMETA\(rq\&.
+.RE
+.PP
+\fBSUSETAGS_FILE_CHECKSUM "susetags:file:checksum"\fR
+.RS 4
+The file checksum of the resource\&.
+.RE
+.SH "REPOSITORY METADATA FOR RPMMD REPOS"
+.PP
+\fBREPOSITORY_REPOMD "repository:repomd"\fR
+.RS 4
+An array of file resources of the repository\&.
+.RE
+.PP
+\fBREPOSITORY_REPOMD_TYPE "repository:repomd:type"\fR
+.RS 4
+The type of the resource, e\&.g\&. \(lqprimary\(rq\&.
+.RE
+.PP
+\fBREPOSITORY_REPOMD_LOCATION "repository:repomd:location"\fR
+.RS 4
+The location (aka filename) of the resource
+.RE
+.PP
+\fBREPOSITORY_REPOMD_TIMESTAMP "repository:repomd:timestamp"\fR
+.RS 4
+The seconds since the unix epoch when the resource was created\&.
+.RE
+.PP
+\fBREPOSITORY_REPOMD_CHECKSUM "repository:repomd:checksum"\fR
+.RS 4
+The file checksum of the resource\&.
+.RE
+.PP
+\fBREPOSITORY_REPOMD_OPENCHECKSUM "repository:repomd:openchecksum"\fR
+.RS 4
+The checksum over the uncompressed contents of the resource\&.
+.RE
+.PP
+\fBREPOSITORY_REPOMD_SIZE "repository:repomd:size"\fR
+.RS 4
+The size of the resource file\&.
+.RE
+.SH "DELTA PACKAGE ATTRIBUTES"
+.PP
+\fBDELTA_PACKAGE_NAME "delta:pkgname"\fR
+.RS 4
+The target package name for the delta package\&. Applying the delta will recreate the target package\&.
+.RE
+.PP
+\fBDELTA_PACKAGE_EVR "delta:pkgevr"\fR
+.RS 4
+The version of the target package\&.
+.RE
+.PP
+\fBDELTA_PACKAGE_ARCH "delta:pkgarch"\fR
+.RS 4
+The architecture of the target package\&.
+.RE
+.PP
+\fBDELTA_LOCATION_DIR "delta:locdir"\fR
+.RS 4
+The directory in the repository that contains the delta package\&.
+.RE
+.PP
+\fBDELTA_LOCATION_NAME "delta:locname"\fR
+.RS 4
+The first part of the file name of the delta package\&.
+.RE
+.PP
+\fBDELTA_LOCATION_EVR "delta:locevr"\fR
+.RS 4
+The version part of the file name of the delta package\&.
+.RE
+.PP
+\fBDELTA_LOCATION_SUFFIX "delta:locsuffix"\fR
+.RS 4
+The suffix part of the file name of the delta package\&.
+.RE
+.PP
+\fBDELTA_LOCATION_BASE "delta:locbase"\fR
+.RS 4
+This attribute can be used to overwrite the repositories base url for the delta\&.
+.RE
+.PP
+\fBDELTA_DOWNLOADSIZE "delta:downloadsize"\fR
+.RS 4
+The size of the delta rpm file\&.
+.RE
+.PP
+\fBDELTA_CHECKSUM "delta:checksum"\fR
+.RS 4
+The checksum of the delta rpm file\&.
+.RE
+.PP
+\fBDELTA_BASE_EVR "delta:baseevr"\fR
+.RS 4
+The version of the package the delta was built against\&.
+.RE
+.PP
+\fBDELTA_SEQ_NAME "delta:seqname"\fR
+.RS 4
+The first part of the delta sequence, the base package name\&.
+.RE
+.PP
+\fBDELTA_SEQ_EVR "delta:seqevr"\fR
+.RS 4
+The evr part of the delta sequence, the base package evr\&. Identical to the DELTA_BASE_EVR attribute\&.
+.RE
+.PP
+\fBDELTA_SEQ_NUM "delta:seqnum"\fR
+.RS 4
+The last part of the delta sequence, the content selection string\&.
+.RE
+.SH "AUTHOR"
+.sp
+Michael Schroeder
diff --git a/miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man3/libsolv-history.3 b/miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man3/libsolv-history.3
new file mode 100644
index 0000000000000000000000000000000000000000..9ccec7ec63ff55c58da761092d27695534ede521
--- /dev/null
+++ b/miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man3/libsolv-history.3
@@ -0,0 +1,119 @@
+'\" t
+.\" Title: Libsolv-History
+.\" Author: [see the "Author" section]
+.\" Generator: DocBook XSL Stylesheets vsnapshot
+.\" Date: 03/02/2022
+.\" Manual: LIBSOLV
+.\" Source: libsolv
+.\" Language: English
+.\"
+.TH "LIBSOLV\-HISTORY" "3" "03/02/2022" "libsolv" "LIBSOLV"
+.\" -----------------------------------------------------------------
+.\" * Define some portability stuff
+.\" -----------------------------------------------------------------
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" http://bugs.debian.org/507673
+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.ie \n(.g .ds Aq \(aq
+.el .ds Aq '
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.\" -----------------------------------------------------------------
+.\" * MAIN CONTENT STARTS HERE *
+.\" -----------------------------------------------------------------
+.SH "NAME"
+libsolv-history \- how the libsolv library came into existence
+.SH "HISTORY"
+.sp
+This project was started in May 2007 when the zypp folks decided to switch to a database to speed up installation\&. As I am not a big fan of databases, I (mls) wondered if there would be really some merit of using one for solving, as package dependencies of all packages have to be read in anyway\&.
+.sp
+Back in 2002, I researched that using a dictionary approach for storing dependencies can reduce the packages file to 1/3 of its size\&. Extending this idea a bit more, I decided to store all strings and relations as unique 32\-bit numbers\&. This has three big advantages:
+.sp
+.RS 4
+.ie n \{\
+\h'-04'\(bu\h'+03'\c
+.\}
+.el \{\
+.sp -1
+.IP \(bu 2.3
+.\}
+because of the unification, testing whether two strings are equal is the same as testing the equality of two numbers, thus very fast
+.RE
+.sp
+.RS 4
+.ie n \{\
+\h'-04'\(bu\h'+03'\c
+.\}
+.el \{\
+.sp -1
+.IP \(bu 2.3
+.\}
+much space is saved, as numbers do not take up as much space as strings the internal memory representation does not take more space on a 64\-bit system where a pointer is twice the size of a 32\-bit number
+.RE
+.sp
+Thus, the solv format was created, which stores a repository as a string dictionary, a relation dictionary and then all packages dependencies\&. Tests showed that reading and merging multiple solv repositories takes just some milliseconds\&.
+.SS "Early solver experiments"
+.sp
+Having a new repository format was one big step, but the other area where libzypp needed improvement was the solver\&. Libzypp\(cqs solver was a port from the Red Carpet solver, which was written to update packages in an already installed system\&. Using it for the complete installation progress brought it to its limits\&. Also, the added extensions like support for weak dependencies and patches made it fragile and unpredictable\&.
+.sp
+As I was not very pleased with the way the solver worked, I looked at other solver algorithms\&. I checked smart, yum and apt, but could not find a convincing algorithm\&. My own experiments also were not very convincing, they worked fine for some problems but failed miserably for other corner cases\&.
+.SS "Using SAT for solving"
+.sp
+SUSE\(cqs hack week at the end of June 2007 turned out to be a turning point for the solver\&. Googling for solver algorithms, I stumbled over some note saying that some people are trying to use SAT algorithms to improve solving on Debian\&. Looking at the SAT entry in Wikipedia, it was easy to see that this indeed was the missing piece: SAT algorithms are well researched and there are quite some open source implementations\&. I decided to look at the minisat code, as it is one of the fastest solvers while consisting of not too many lines of code\&.
+.sp
+Of course, directly using minisat would not work, as a package solver does not need to find just one correct solution, but it also has to optimize some metrics, i\&.e\&. keep as many packages installed as possible\&. Thus, I needed to write my own solver, incorporating the ideas and algorithms used in minisat\&. This wasn\(cqt very hard, and at the end of the hack week the solver calculated the first right solutions\&.
+.SS "Selling it to libzypp"
+.sp
+With those encouraging results, I went to Klaus Kaempf, the system management architect at SUSE\&. We spoke about how to convince the team to make libzypp switch to the new solver\&. Fortunately, libzypp comes with a plethora of solver test cases, so we decided to make the solver pass most of the test cases first\&. Klaus wrote a "deptestomatic" implementation to check the test cases\&. Together with Stephan Kulow, who is responsible for the openSUSE distribution, we tweaked and extended the solver until most of the test cases looked good\&.
+.sp
+Duncan Mac\-Vicar Prett, the team lead of the YaST team, also joined development by creating Ruby bindings for the solver\&. Later, Klaus improved the bindings and ported them to some other languages\&.
+.SS "The attribute store"
+.sp
+The progress with the repository format and the solver attracted another hacker to the project: Michael Matz from the compiler team\&. He started with improving the repository parsers so that patches and content files also generate solvables\&. After that, he concentrated on storing all of the other metadata of the repositories that are not used for solving, like the package summaries and descriptions\&. At the end of October, a first version of this "attribute store" was checked in\&. Its design goals were:
+.sp
+.RS 4
+.ie n \{\
+\h'-04'\(bu\h'+03'\c
+.\}
+.el \{\
+.sp -1
+.IP \(bu 2.3
+.\}
+space efficient storage of attributes
+.RE
+.sp
+.RS 4
+.ie n \{\
+\h'-04'\(bu\h'+03'\c
+.\}
+.el \{\
+.sp -1
+.IP \(bu 2.3
+.\}
+paging/on demand loading of data
+.RE
+.sp
+.RS 4
+.ie n \{\
+\h'-04'\(bu\h'+03'\c
+.\}
+.el \{\
+.sp -1
+.IP \(bu 2.3
+.\}
+page compression
+.RE
+.sp
+The first version of the attribute store used a different format for storing information, we later merged this format with the solv file format\&.
+.SS "libzypp integration"
+.sp
+Integration of the sat\-solver into libzypp also started in October 2007 by Stefan Schubert and Michael Andres from the YaST team\&. The first versions supported both the old solver and the new one by using the old repository read functions and converting the old package data in\-memory into a sat solver pool\&. Solvers could be switched with the environment variable ZYPP_SAT_SOLVER\&. The final decision to move to the new solver was made in January of 2008, first just by making the new solver the default one, later by completely throwing out the old solver code\&. This had the advantage that the internal solvable storage could also be done by using the solver pool, something Michael Matz already played with in a proof of concept implementation showing some drastic speed gains\&. The last traces of the old database code were removed in February\&.
+.SH "AUTHOR"
+.sp
+Michael Schroeder
diff --git a/miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man3/libsolv-pool.3 b/miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man3/libsolv-pool.3
new file mode 100644
index 0000000000000000000000000000000000000000..52ae62686f213b2c7e3619c27faf183afa5792ca
--- /dev/null
+++ b/miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man3/libsolv-pool.3
@@ -0,0 +1,1337 @@
+'\" t
+.\" Title: Libsolv-Pool
+.\" Author: [see the "Author" section]
+.\" Generator: DocBook XSL Stylesheets vsnapshot
+.\" Date: 03/25/2024
+.\" Manual: LIBSOLV
+.\" Source: libsolv
+.\" Language: English
+.\"
+.TH "LIBSOLV\-POOL" "3" "03/25/2024" "libsolv" "LIBSOLV"
+.\" -----------------------------------------------------------------
+.\" * Define some portability stuff
+.\" -----------------------------------------------------------------
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" http://bugs.debian.org/507673
+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.ie \n(.g .ds Aq \(aq
+.el .ds Aq '
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.\" -----------------------------------------------------------------
+.\" * MAIN CONTENT STARTS HERE *
+.\" -----------------------------------------------------------------
+.SH "NAME"
+libsolv-pool \- Libsolv\*(Aqs pool object
+.SH "PUBLIC ATTRIBUTES"
+.PP
+\fBvoid *appdata\fR
+.RS 4
+A no\-purpose pointer free to use for the library user\&. Freeing the pool simply discards the pointer\&.
+.RE
+.PP
+\fBStringpool ss\fR
+.RS 4
+The pool of unified strings\&.
+.RE
+.PP
+\fBReldep *rels\fR
+.RS 4
+The pool of unified relation dependencies\&.
+.RE
+.PP
+\fBint nrels\fR
+.RS 4
+Number of allocated relation dependencies\&.
+.RE
+.PP
+\fBRepo **repos\fR
+.RS 4
+The array of repository pointers, indexed by repository Id\&.
+.RE
+.PP
+\fBint nrepos\fR
+.RS 4
+Number of allocated repository array elements, i\&.e\&. the size of the repos array\&.
+.RE
+.PP
+\fBint urepos\fR
+.RS 4
+Number of used (i\&.e\&. non\-zero) repository array elements\&.
+.RE
+.PP
+\fBRepo *installed\fR
+.RS 4
+Pointer to the repo holding the installed packages\&. You are free to read this attribute, but you should use pool_set_installed() if you want to change it\&.
+.RE
+.PP
+\fBSolvable *solvables\fR
+.RS 4
+The array of Solvable objects\&.
+.RE
+.PP
+\fBint nsolvables\fR
+.RS 4
+Number of Solvable objects, i\&.e\&. the size of the solvables array\&. Note that the array may contain freed solvables, in that case the repo pointer of the solvable will be zero\&.
+.RE
+.PP
+\fBint disttype\fR
+.RS 4
+The distribution type of your system, e\&.g\&. DISTTYPE_DEB\&. You are free to read this attribute, but you should use pool_setdisttype() if you want to change it\&.
+.RE
+.PP
+\fBId *whatprovidesdata\fR
+.RS 4
+Multi\-purpose Id storage holding zero terminated arrays of Ids\&. pool_whatprovides() returns an offset into this data\&.
+.RE
+.PP
+\fBMap *considered\fR
+.RS 4
+Optional bitmap that can make the library ignore solvables\&. If a bitmap is set, only solvables that have a set bit in the bitmap at their Id are considered usable\&.
+.RE
+.PP
+\fBint debugmask\fR
+.RS 4
+A mask that defines which debug events should be reported\&. pool_setdebuglevel() sets this mask\&.
+.RE
+.PP
+\fBDatapos pos\fR
+.RS 4
+An object storing some position in the repository data\&. Functions like dataiterator_set_pos() set this object, accessing data with a pseudo solvable Id of SOLVID_POS uses it\&.
+.RE
+.PP
+\fBQueue pooljobs\fR
+.RS 4
+A queue where fixed solver jobs can be stored\&. This jobs are automatically added when solver_solve() is called, they are useful to store configuration data like which packages should be multiversion installed\&.
+.RE
+.SH "CREATION AND DESTRUCTION"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBPool *pool_create()\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Create a new instance of a pool\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid pool_free(Pool *\fR\fIpool\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Free a pool and all of the data it contains, e\&.g\&. the solvables, repositories, strings\&.
+.SH "DEBUGGING AND ERROR REPORTING"
+.SS "Constants"
+.PP
+\fBSOLV_FATAL\fR
+.RS 4
+Report the error and call \(lqexit(1)\(rq afterwards\&. You cannot mask this level\&. Reports to stderr instead of stdout\&.
+.RE
+.PP
+\fBSOLV_ERROR\fR
+.RS 4
+Used to report errors\&. Reports to stderr instead of stdout\&.
+.RE
+.PP
+\fBSOLV_WARN\fR
+.RS 4
+Used to report warnings\&.
+.RE
+.PP
+\fBSOLV_DEBUG_STATS\fR
+.RS 4
+Used to report statistical data\&.
+.RE
+.PP
+\fBSOLV_DEBUG_RULE_CREATION\fR
+.RS 4
+Used to report information about the solver\(cqs creation of rules\&.
+.RE
+.PP
+\fBSOLV_DEBUG_PROPAGATE\fR
+.RS 4
+Used to report information about the solver\(cqs unit rule propagation process\&.
+.RE
+.PP
+\fBSOLV_DEBUG_ANALYZE\fR
+.RS 4
+Used to report information about the solver\(cqs learnt rule generation mechanism\&.
+.RE
+.PP
+\fBSOLV_DEBUG_UNSOLVABLE\fR
+.RS 4
+Used to report information about the solver dealing with conflicting rules\&.
+.RE
+.PP
+\fBSOLV_DEBUG_SOLUTIONS\fR
+.RS 4
+Used to report information about the solver creating solutions to solve problems\&.
+.RE
+.PP
+\fBSOLV_DEBUG_POLICY\fR
+.RS 4
+Used to report information about the solver searching for an optimal solution\&.
+.RE
+.PP
+\fBSOLV_DEBUG_RESULT\fR
+.RS 4
+Used by the debug functions to output results\&.
+.RE
+.PP
+\fBSOLV_DEBUG_JOB\fR
+.RS 4
+Used to report information about the job rule generation process\&.
+.RE
+.PP
+\fBSOLV_DEBUG_SOLVER\fR
+.RS 4
+Used to report information about what the solver is currently doing\&.
+.RE
+.PP
+\fBSOLV_DEBUG_TRANSACTION\fR
+.RS 4
+Used to report information about the transaction generation and ordering process\&.
+.RE
+.PP
+\fBSOLV_DEBUG_TO_STDERR\fR
+.RS 4
+Write debug messages to stderr instead of stdout\&.
+.RE
+.SS "Functions"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid pool_debug(Pool *\fR\fIpool\fR\fB, int\fR \fItype\fR\fB, const char *\fR\fIformat\fR\fB, \&.\&.\&.)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Report a message of the type \fItype\fR\&. You can filter debug messages by setting a debug mask\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid pool_setdebuglevel(Pool *\fR\fIpool\fR\fB, int\fR \fIlevel\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Set a predefined debug mask\&. A higher level generally means more bits in the mask are set, thus more messages are printed\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid pool_setdebugmask(Pool *\fR\fIpool\fR\fB, int\fR \fImask\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Set the debug mask to filter debug messages\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBint pool_error(Pool *\fR\fIpool\fR\fB, int\fR \fIret\fR\fB, const char *\fR\fIformat\fR\fB, \&.\&.\&.)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Set the pool\(cqs error string\&. The \fIret\fR value is simply used as a return value of the function so that you can write code like return pool_error(\&...);\&. If the debug mask contains the \fBSOLV_ERROR\fR bit, pool_debug() is also called with the message and type \fBSOLV_ERROR\fR\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBextern char *pool_errstr(Pool *\fR\fIpool\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return the current error string stored in the pool\&. Like with the libc\(cqs errno value, the string is only meaningful after a function returned an error\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid pool_setdebugcallback(Pool *\fR\fIpool\fR\fB, void (*\fR\fIdebugcallback\fR\fB)(Pool *, void *\fR\fIdata\fR\fB, int\fR \fItype\fR\fB, const char *\fR\fIstr\fR\fB), void *\fR\fIdebugcallbackdata\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Set a custom debug callback function\&. Instead of writing to stdout or stderr, the callback function will be called\&.
+.SH "POOL CONFIGURATION"
+.SS "Constants"
+.PP
+\fBDISTTYPE_RPM\fR
+.RS 4
+Used for systems which use rpm as low level package manager\&.
+.RE
+.PP
+\fBDISTTYPE_DEB\fR
+.RS 4
+Used for systems which use dpkg as low level package manager\&.
+.RE
+.PP
+\fBDISTTYPE_ARCH\fR
+.RS 4
+Used for systems which use the arch linux package manager\&.
+.RE
+.PP
+\fBDISTTYPE_HAIKU\fR
+.RS 4
+Used for systems which use haiku packages\&.
+.RE
+.PP
+\fBPOOL_FLAG_PROMOTEEPOCH\fR
+.RS 4
+Promote the epoch of the providing dependency to the requesting dependency if it does not contain an epoch\&. Used at some time in old rpm versions, modern systems should never need this\&.
+.RE
+.PP
+\fBPOOL_FLAG_FORBIDSELFCONFLICTS\fR
+.RS 4
+Disallow the installation of packages that conflict with themselves\&. Debian always allows self\-conflicting packages, rpm used to forbid them but switched to also allowing them recently\&.
+.RE
+.PP
+\fBPOOL_FLAG_OBSOLETEUSESPROVIDES\fR
+.RS 4
+Make obsolete type dependency match against provides instead of just the name and version of packages\&. Very old versions of rpm used the name/version, then it got switched to provides and later switched back again to just name/version\&.
+.RE
+.PP
+\fBPOOL_FLAG_IMPLICITOBSOLETEUSESPROVIDES\fR
+.RS 4
+An implicit obsoletes is the internal mechanism to remove the old package on an update\&. The default is to remove all packages with the same name, rpm\-5 switched to also removing packages providing the same name\&.
+.RE
+.PP
+\fBPOOL_FLAG_OBSOLETEUSESCOLORS\fR
+.RS 4
+Rpm\(cqs multilib implementation (used in RedHat and Fedora) distinguishes between 32bit and 64bit packages (the terminology is that they have a different color)\&. If obsoleteusescolors is set, packages with different colors will not obsolete each other\&.
+.RE
+.PP
+\fBPOOL_FLAG_IMPLICITOBSOLETEUSESCOLORS\fR
+.RS 4
+Same as POOL_FLAG_OBSOLETEUSESCOLORS, but used to find out if packages of the same name can be installed in parallel\&. For current Fedora systems, POOL_FLAG_OBSOLETEUSESCOLORS should be false and POOL_FLAG_IMPLICITOBSOLETEUSESCOLORS should be true (this is the default if FEDORA is defined when libsolv is compiled)\&.
+.RE
+.PP
+\fBPOOL_FLAG_NOINSTALLEDOBSOLETES\fR
+.RS 4
+New versions of rpm consider the obsoletes of installed packages when checking for dependency, thus you may not install a package that is obsoleted by some other installed package, unless you also erase the other package\&.
+.RE
+.PP
+\fBPOOL_FLAG_HAVEDISTEPOCH\fR
+.RS 4
+Mandriva added a new field called distepoch that gets checked in version comparison if the epoch/version/release of two packages are the same\&.
+.RE
+.PP
+\fBPOOL_FLAG_NOOBSOLETESMULTIVERSION\fR
+.RS 4
+If a package is installed in multiversionmode, rpm used to ignore both the implicit obsoletes and the obsolete dependency of a package\&. This was changed to ignoring just the implicit obsoletes, thus you may install multiple versions of the same name, but obsoleted packages still get removed\&.
+.RE
+.PP
+\fBPOOL_FLAG_ADDFILEPROVIDESFILTERED\fR
+.RS 4
+Make the addfileprovides method only add files from the standard locations (i\&.e\&. the \(lqbin\(rq and \(lqetc\(rq directories)\&. This is useful if you have only few packages that use non\-standard file dependencies, but you still want the fast speed that addfileprovides() generates\&.
+.RE
+.SS "Functions"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBint pool_setdisttype(Pool *\fR\fIpool\fR\fB, int\fR \fIdisttype\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Set the package type of your system\&. The disttype is used for example to define package comparison semantics\&. Libsolv\(cqs default disttype should match the package manager of your system, so you only need to use this function if you want to use the library to solve packaging problems for different systems\&. The Function returns the old disttype on success, and \-1 if the new disttype is not supported\&. Note that any pool_setarch and pool_setarchpolicy calls need to come after the pool_setdisttype call, as they make use of the noarch/any/all architecture id\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBint pool_set_flag(Pool *\fR\fIpool\fR\fB, int\fR \fIflag\fR\fB, int\fR \fIvalue\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Set a flag to a new value\&. Returns the old value of the flag\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBint pool_get_flag(Pool *\fR\fIpool\fR\fB, int\fR \fIflag\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Get the value of a pool flag\&. See the constants section about the meaning of the flags\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid pool_set_rootdir(Pool *\fR\fIpool\fR\fB, const char *\fR\fIrootdir\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Set a specific root directory\&. Some library functions support a flag that tells the function to prepend the rootdir to file and directory names\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBconst char *pool_get_rootdir(Pool *\fR\fIpool\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return the current value of the root directory\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBchar *pool_prepend_rootdir(Pool *\fR\fIpool\fR\fB, const char *\fR\fIdir\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Prepend the root directory to the \fIdir\fR argument string\&. The returned string has been newly allocated and needs to be freed after use\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBchar *pool_prepend_rootdir_tmp(Pool *\fR\fIpool\fR\fB, const char *\fR\fIdir\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Same as pool_prepend_rootdir, but uses the pool\(cqs temporary space for allocation\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid pool_set_installed(Pool *\fR\fIpool\fR\fB, Repo *\fR\fIrepo\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Set which repository should be treated as the \(lqinstalled\(rq repository, i\&.e\&. the one that holds information about the installed packages\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid pool_set_languages(Pool *\fR\fIpool\fR\fB, const char **\fR\fIlanguages\fR\fB, int\fR \fInlanguages\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Set the language of your system\&. The library provides lookup functions that return localized strings, for example for package descriptions\&. You can set an array of languages to provide a fallback mechanism if one language is not available\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid pool_setarch(Pool *\fR\fIpool\fR\fB, const char *\fR\fIarch\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Set the architecture of your system\&. The architecture is used to determine which packages are installable and which packages cannot be installed\&. The \fIarch\fR argument is normally the \(lqmachine\(rq value of the \(lquname\(rq system call\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid pool_setarchpolicy(Pool *, const char *)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Set the architecture policy for your system\&. This is the general version of pool_setarch (in fact pool_setarch calls pool_setarchpolicy internally)\&. See the section about architecture policies for more information\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid pool_addvendorclass(Pool *\fR\fIpool\fR\fB, const char **\fR\fIvendorclass\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Add a new vendor equivalence class to the system\&. A vendor equivalence class defines if an installed package of one vendor can be replaced by a package coming from a different vendor\&. The \fIvendorclass\fR argument must be a NULL terminated array of strings\&. See the section about vendor policies for more information\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid pool_setvendorclasses(Pool *\fR\fIpool\fR\fB, const char **\fR\fIvendorclasses\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Set all allowed vendor equivalences\&. The vendorclasses argument must be an NULL terminated array consisting of all allowed classes concatenated\&. Each class itself must be NULL terminated, thus the last class ends with two NULL elements, one to finish the class and one to finish the list of classes\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid pool_set_custom_vendorcheck(Pool *\fR\fIpool\fR\fB, int (*\fR\fIvendorcheck\fR\fB)(Pool *, Solvable *, Solvable *))\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Define a custom vendor check mechanism\&. You can use this if libsolv\(cqs internal vendor equivalence class mechanism does not match your needs\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid pool_setloadcallback(Pool *\fR\fIpool\fR\fB, int (*\fR\fIcb\fR\fB)(Pool *, Repodata *, void *), void *\fR\fIloadcbdata\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Define a callback function that gets called when repository metadata needs to be loaded on demand\&. See the section about on demand loading in the libsolv\-repodata manual\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid pool_setnamespacecallback(Pool *\fR\fIpool\fR\fB, Id (*\fR\fIcb\fR\fB)(Pool *, void *,\fR \fIId\fR\fB,\fR \fIId\fR\fB), void *\fR\fInscbdata\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Define a callback function to implement custom namespace support\&. See the section about namespace dependencies\&.
+.SH "ID POOL MANAGEMENT"
+.SS "Constants"
+.PP
+\fBID_EMPTY\fR
+.RS 4
+The Id of the empty string, it is always Id 1\&.
+.RE
+.PP
+\fBREL_LT\fR
+.RS 4
+Represents a \(lq<\(rq relation\&.
+.RE
+.PP
+\fBREL_EQ\fR
+.RS 4
+Represents a \(lq=\(rq relation\&.
+.RE
+.PP
+\fBREL_GT\fR
+.RS 4
+Represents a \(lq>\(rq relation\&. You can use combinations of REL_GT, REL_EQ, and REL_LT or\-ed together to create any relation you like\&.
+.RE
+.PP
+\fBREL_AND\fR
+.RS 4
+A boolean AND operation, the \(lqname\(rq and \(lqevr\(rq parts of the relation can be two sub\-dependencies\&. Packages must match both parts of the dependency\&.
+.RE
+.PP
+\fBREL_OR\fR
+.RS 4
+A boolean OR operation, the \(lqname\(rq and \(lqevr\(rq parts of the relation can be two sub\-dependencies\&. Packages can match any part of the dependency\&.
+.RE
+.PP
+\fBREL_WITH\fR
+.RS 4
+Like REL_AND, but packages must match both dependencies simultaneously\&. See the section about boolean dependencies about more information\&.
+.RE
+.PP
+\fBREL_NAMESPACE\fR
+.RS 4
+A special namespace relation\&. See the section about namespace dependencies for more information\&.
+.RE
+.PP
+\fBREL_ARCH\fR
+.RS 4
+An architecture filter dependency\&. The \(lqname\(rq part of the relation is a sub\-dependency, the \(lqevr\(rq part is the Id of an architecture that the matching packages must have (note that this is an exact match ignoring architecture policies)\&.
+.RE
+.PP
+\fBREL_FILECONFLICT\fR
+.RS 4
+An internal file conflict dependency used to represent file conflicts\&. See the pool_add_fileconflicts_deps() function\&.
+.RE
+.PP
+\fBREL_COND\fR
+.RS 4
+A conditional dependency, the \(lqname\(rq sub\-dependency is only considered if the \(lqevr\(rq sub\-dependency is fulfilled\&. See the section about boolean dependencies about more information\&.
+.RE
+.PP
+\fBREL_UNLESS\fR
+.RS 4
+A conditional dependency, the \(lqname\(rq sub\-dependency is only considered if the \(lqevr\(rq sub\-dependency is not fulfilled\&. See the section about boolean dependencies about more information\&.
+.RE
+.PP
+\fBREL_COMPAT\fR
+.RS 4
+A compat dependency used in Haiku to represent version ranges\&. The \(lqname\(rq part is the actual version, the \(lqevr\(rq part is the backwards compatibility version\&.
+.RE
+.PP
+\fBREL_KIND\fR
+.RS 4
+A pseudo dependency that limits the solvables to a specific kind\&. The kind is expected to be a prefix of the solvable name, e\&.g\&. \(lqpatch:foo\(rq would be of kind \(lqpatch\(rq\&. \(lqREL_KIND\(rq is only supported in the selection functions\&.
+.RE
+.PP
+\fBREL_MULTIARCH\fR
+.RS 4
+A debian multiarch annotation\&. The most common value for the \(lqevr\(rq part is \(lqany\(rq\&.
+.RE
+.PP
+\fBREL_ELSE\fR
+.RS 4
+The else part of a \(lqREL_COND\(rq or \(lqREL_UNLESS\(rq dependency\&. See the section about boolean dependencies\&.
+.RE
+.PP
+\fBREL_ERROR\fR
+.RS 4
+An illegal dependency\&. This is useful to encode dependency parse errors\&.
+.RE
+.SS "Functions"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId pool_str2id(Pool *\fR\fIpool\fR\fB, const char *\fR\fIstr\fR\fB, int\fR \fIcreate\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Add a string to the pool of unified strings, returning the Id of the string\&. If \fIcreate\fR is zero, new strings will not be added to the pool, instead Id 0 is returned\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId pool_strn2id(Pool *\fR\fIpool\fR\fB, const char *\fR\fIstr\fR\fB, unsigned int\fR \fIlen\fR\fB, int\fR \fIcreate\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Same as pool_str2id, but only \fIlen\fR characters of the string are used\&. This can be used to add substrings to the pool\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId pool_rel2id(Pool *\fR\fIpool\fR\fB, Id\fR \fIname\fR\fB, Id\fR \fIevr\fR\fB, int\fR \fIflags\fR\fB, int\fR \fIcreate\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Create a relational dependency from to other dependencies, \fIname\fR and \fIevr\fR, and a \fIflag\fR\&. See the \fBREL_\fR constants for the supported flags\&. As with pool_str2id, \fIcreate\fR defines if new dependencies will get added or Id zero will be returned instead\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId pool_id2langid(Pool *\fR\fIpool\fR\fB, Id\fR \fIid\fR\fB, const char *\fR\fIlang\fR\fB, int\fR \fIcreate\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Attach a language suffix to a string Id\&. This function can be used to create language keyname Ids from keynames, it is functional equivalent to converting the \fIid\fR argument to a string, adding a \(lq:\(rq character and the \fIlang\fR argument to the string and then converting the result back into an Id\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBconst char *pool_id2str(const Pool *\fR\fIpool\fR\fB, Id\fR \fIid\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Convert an Id back into a string\&. If the Id is a relational Id, the \(lqname\(rq part will be converted instead\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBconst char *pool_id2rel(const Pool *\fR\fIpool\fR\fB, Id\fR \fIid\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return the relation string of a relational Id\&. Returns an empty string if the passed Id is not a relation\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBconst char *pool_id2evr(const Pool *\fR\fIpool\fR\fB, Id\fR \fIid\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return the \(lqevr\(rq part of a relational Id as string\&. Returns an empty string if the passed Id is not a relation\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBconst char *pool_dep2str(Pool *\fR\fIpool\fR\fB, Id\fR \fIid\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Convert an Id back into a string\&. If the passed Id belongs to a relation, a string representing the relation is returned\&. Note that in that case the string is allocated on the pool\(cqs temporary space\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid pool_freeidhashes(Pool *\fR\fIpool\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Free the hashes used to unify strings and relations\&. You can use this function to save memory if you know that you will no longer create new strings and relations\&.
+.SH "SOLVABLE FUNCTIONS"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBSolvable *pool_id2solvable(const Pool *\fR\fIpool\fR\fB, Id\fR \fIp\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Convert a solvable Id into a pointer to the solvable data\&. Note that the pointer may become invalid if new solvables are created or old solvables deleted, because the array storing all solvables may get reallocated\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId pool_solvable2id(const Pool *\fR\fIpool\fR\fB, Solvable *\fR\fIs\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Convert a pointer to the solvable data into a solvable Id\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBconst char *pool_solvid2str(Pool *\fR\fIpool\fR\fB, Id\fR \fIp\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return a string representing the solvable with the Id \fIp\fR\&. The string will be some canonical representation of the solvable, usually a combination of the name, the version, and the architecture\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBconst char *pool_solvable2str(Pool *\fR\fIpool\fR\fB, Solvable *\fR\fIs\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Same as pool_solvid2str, but instead of the Id, a pointer to the solvable is passed\&.
+.SH "DEPENDENCY MATCHING"
+.SS "Constants"
+.PP
+\fBEVRCMP_COMPARE\fR
+.RS 4
+Compare all parts of the version, treat missing parts as empty strings\&.
+.RE
+.PP
+\fBEVRCMP_MATCH_RELEASE\fR
+.RS 4
+A special mode for rpm version string matching\&. If a version misses a release part, it matches all releases\&. In that case the special values \(lq\-2\(rq and \(lq2\(rq are returned, depending on which of the two versions did not have a release part\&.
+.RE
+.PP
+\fBEVRCMP_MATCH\fR
+.RS 4
+A generic match, missing parts always match\&.
+.RE
+.PP
+\fBEVRCMP_COMPARE_EVONLY\fR
+.RS 4
+Only compare the epoch and the version parts, ignore the release part\&.
+.RE
+.SS "Functions"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBint pool_evrcmp(const Pool *\fR\fIpool\fR\fB, Id\fR \fIevr1id\fR\fB, Id\fR \fIevr2id\fR\fB, int\fR \fImode\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Compare two version Ids, return \-1 if the first version is less than the second version, 0 if they are identical, and 1 if the first version is bigger than the second one\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBint pool_evrcmp_str(const Pool *\fR\fIpool\fR\fB, const char *\fR\fIevr1\fR\fB, const char *\fR\fIevr2\fR\fB, int\fR \fImode\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Same as pool_evrcmp(), but uses strings instead of Ids\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBint pool_evrmatch(const Pool *\fR\fIpool\fR\fB, Id\fR \fIevrid\fR\fB, const char *\fR\fIepoch\fR\fB, const char *\fR\fIversion\fR\fB, const char *\fR\fIrelease\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Match a version Id against an epoch, a version and a release string\&. Passing NULL means that the part should match everything\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBint pool_match_dep(Pool *\fR\fIpool\fR\fB, Id\fR \fId1\fR\fB, Id\fR \fId2\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Returns \(lq1\(rq if the dependency \fId1\fR (the provider) is matched by the dependency \fId2\fR, otherwise \(lq0\(rq is returned\&. For two dependencies to match, both the \(lqname\(rq parts must match and the version range described by the \(lqevr\(rq parts must overlap\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBint pool_match_nevr(Pool *\fR\fIpool\fR\fB, Solvable *\fR\fIs\fR\fB, Id\fR \fId\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Like pool_match_dep, but the provider is the "self\-provides" dependency of the Solvable \fIs\fR, i\&.e\&. the dependency \(lqs→name = s→evr\(rq\&.
+.SH "WHATPROVIDES INDEX"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid pool_createwhatprovides(Pool *\fR\fIpool\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Create an index that maps dependency Ids to sets of packages that provide the dependency\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid pool_freewhatprovides(Pool *\fR\fIpool\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Free the whatprovides index to save memory\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId pool_whatprovides(Pool *\fR\fIpool\fR\fB, Id\fR \fId\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return an offset into the Pool\(cqs whatprovidesdata array\&. The solvables with the Ids stored starting at that offset provide the dependency \fId\fR\&. The solvable list is zero terminated\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId *pool_whatprovides_ptr(Pool *\fR\fIpool\fR\fB, Id\fR \fId\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Instead of returning the offset, return the pointer to the Ids stored at that offset\&. Note that this pointer has a very limit validity time, as any call that adds new values to the whatprovidesdata area may reallocate the array\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId pool_queuetowhatprovides(Pool *\fR\fIpool\fR\fB, Queue *\fR\fIq\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Add the contents of the Queue \fIq\fR to the end of the whatprovidesdata array, returning the offset into the array\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid pool_addfileprovides(Pool *\fR\fIpool\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Some package managers like rpm allow dependencies on files contained in other packages\&. To allow libsolv to deal with those dependencies in an efficient way, you need to call the addfileprovides method after creating and reading all repositories\&. This method will scan all dependency for file names and then scan all packages for matching files\&. If a filename has been matched, it will be added to the provides list of the corresponding package\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid pool_addfileprovides_queue(Pool *\fR\fIpool\fR\fB, Queue *\fR\fIidq\fR\fB, Queue *\fR\fIidqinst\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Same as pool_addfileprovides, but the added Ids are returned in two Queues, \fIidq\fR for all repositories except the one containing the \(lqinstalled\(rq packages, \fIidqinst\fR for the latter one\&. This information can be stored in the meta section of the repositories to speed up the next time the repository is loaded and addfileprovides is called
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid pool_set_whatprovides(\fR\fIpool\fR\fB, Id\fR \fIid\fR\fB, Id\fR \fIoffset\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Manually set an entry in the whatprovides index\&. You\(cqll never do this for package dependencies, as those entries are created by calling the pool_createwhatprovides() function\&. But this function is useful for namespace provides if you do not want to use a namespace callback to lazily set the provides\&. The offset argument is a offset in the whatprovides array, thus you can use \(lq1\(rq as a false value and \(lq2\(rq as true value\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid pool_flush_namespaceproviders(Pool *\fR\fIpool\fR\fB, Id\fR \fIns\fR\fB, Id\fR \fIevr\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Clear the cache of the providers for namespace dependencies matching namespace \fIns\fR\&. If the \fIevr\fR argument is non\-zero, the namespace dependency for exactly that dependency is cleared, otherwise all matching namespace dependencies are cleared\&. See the section about Namespace dependencies for further information\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid pool_add_fileconflicts_deps(Pool *\fR\fIpool\fR\fB, Queue *\fR\fIconflicts\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Some package managers like rpm report conflicts when a package installation overwrites a file of another installed package with different content\&. As file content information is not stored in the repository metadata, those conflicts can only be detected after the packages are downloaded\&. Libsolv provides a function to check for such conflicts, pool_findfileconflicts()\&. If conflicts are found, they can be added as special \fBREL_FILECONFLICT\fR provides dependencies, so that the solver will know about the conflict when it is re\-run\&.
+.SH "UTILITY FUNCTIONS"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBchar *pool_alloctmpspace(Pool *\fR\fIpool\fR\fB, int\fR \fIlen\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Allocate space on the pool\(cqs temporary space area\&. This space has a limited lifetime, it will be automatically freed after a fixed amount (currently 16) of other pool_alloctmpspace() calls are done\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid pool_freetmpspace(Pool *\fR\fIpool\fR\fB, const char *\fR\fIspace\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Give the space allocated with pool_alloctmpspace back to the system\&. You do not have to use this function, as the space is automatically reclaimed, but it can be useful to extend the lifetime of other pointers to the pool\(cqs temporary space area\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBconst char *pool_bin2hex(Pool *\fR\fIpool\fR\fB, const unsigned char *\fR\fIbuf\fR\fB, int\fR \fIlen\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Convert some binary data to hexadecimal, returning a string allocated in the pool\(cqs temporary space area\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBchar *pool_tmpjoin(Pool *\fR\fIpool\fR\fB, const char *\fR\fIstr1\fR\fB, const char *\fR\fIstr2\fR\fB, const char *\fR\fIstr3\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Join three strings and return the result in the pool\(cqs temporary space area\&. You can use NULL arguments if you just want to join less strings\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBchar *pool_tmpappend(Pool *\fR\fIpool\fR\fB, const char *\fR\fIstr1\fR\fB, const char *\fR\fIstr2\fR\fB, const char *\fR\fIstr3\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Like pool_tmpjoin(), but if the first argument is the last allocated space in the pool\(cqs temporary space area, it will be replaced with the result of the join and no new temporary space slot will be used\&. Thus you can join more than three strings by a combination of one pool_tmpjoin() and multiple pool_tmpappend() calls\&. Note that the \fIstr1\fR pointer is no longer usable after the call\&.
+.SH "DATA LOOKUP"
+.SS "Constants"
+.PP
+\fBSOLVID_POS\fR
+.RS 4
+Use the data position stored in the pool for the lookup instead of looking up the data of a solvable\&.
+.RE
+.PP
+\fBSOLVID_META\fR
+.RS 4
+Use the data stored in the meta section of a repository (or repodata area) instead of looking up the data of a solvable\&. This constant does not work for the pool\(cqs lookup functions, use it for the repo\(cqs or repodata\(cqs lookup functions instead\&. It\(cqs just listed for completeness\&.
+.RE
+.SS "Functions"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBconst char *pool_lookup_str(Pool *\fR\fIpool\fR\fB, Id\fR \fIsolvid\fR\fB, Id\fR \fIkeyname\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return the string value stored under the attribute \fIkeyname\fR in solvable \fIsolvid\fR\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBunsigned long long pool_lookup_num(Pool *\fR\fIpool\fR\fB, Id\fR \fIsolvid\fR\fB, Id\fR \fIkeyname\fR\fB, unsigned long long\fR \fInotfound\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return the 64bit unsigned number stored under the attribute \fIkeyname\fR in solvable \fIsolvid\fR\&. If no such number is found, the value of the \fInotfound\fR argument is returned instead\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBId pool_lookup_id(Pool *\fR\fIpool\fR\fB, Id\fR \fIsolvid\fR\fB, Id\fR \fIkeyname\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return the Id stored under the attribute \fIkeyname\fR in solvable \fIsolvid\fR\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBint pool_lookup_idarray(Pool *\fR\fIpool\fR\fB, Id\fR \fIsolvid\fR\fB, Id\fR \fIkeyname\fR\fB, Queue *\fR\fIq\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Fill the queue \fIq\fR with the content of the Id array stored under the attribute \fIkeyname\fR in solvable \fIsolvid\fR\&. Returns \(lq1\(rq if an array was found, otherwise the queue will be empty and \(lq0\(rq will be returned\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBint pool_lookup_void(Pool *\fR\fIpool\fR\fB, Id\fR \fIsolvid\fR\fB, Id\fR \fIkeyname\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Returns \(lq1\(rq if a void value is stored under the attribute \fIkeyname\fR in solvable \fIsolvid\fR, otherwise \(lq0\(rq\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBconst char *pool_lookup_checksum(Pool *\fR\fIpool\fR\fB, Id\fR \fIsolvid\fR\fB, Id\fR \fIkeyname\fR\fB, Id *\fR\fItypep\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return the checksum that is stored under the attribute \fIkeyname\fR in solvable \fIsolvid\fR\&. The type of the checksum will be returned over the \fItypep\fR pointer\&. If no such checksum is found, NULL will be returned and the type will be set to zero\&. Note that the result is stored in the Pool\(cqs temporary space area\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBconst unsigned char *pool_lookup_bin_checksum(Pool *\fR\fIpool\fR\fB, Id\fR \fIsolvid\fR\fB, Id\fR \fIkeyname\fR\fB, Id *\fR\fItypep\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return the checksum that is stored under the attribute \fIkeyname\fR in solvable \fIsolvid\fR\&. Returns the checksum as binary data, you can use the returned type to calculate the length of the checksum\&. No temporary space area is needed\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBconst char *pool_lookup_deltalocation(Pool *\fR\fIpool\fR\fB, Id\fR \fIsolvid\fR\fB, unsigned int *\fR\fImedianrp\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+This is a utility lookup function to return the delta location for a delta rpm\&. As solvables cannot store deltas, you have to use SOLVID_POS as argument and set the Pool\(cqs datapos pointer to point to valid delta rpm data\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid pool_search(Pool *\fR\fIpool\fR\fB, Id\fR \fIsolvid\fR\fB, Id\fR \fIkeyname\fR\fB, const char *\fR\fImatch\fR\fB, int\fR \fIflags\fR\fB, int (*\fR\fIcallback\fR\fB)(void *\fR\fIcbdata\fR\fB, Solvable *\fR\fIs\fR\fB, Repodata *\fR\fIdata\fR\fB, Repokey *\fR\fIkey\fR\fB, KeyValue *\fR\fIkv\fR\fB), void *\fR\fIcbdata\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Perform a search on all data stored in the pool\&. You can limit the search area by using the \fIsolvid\fR and \fIkeyname\fR arguments\&. The values can be optionally matched against the \fImatch\fR argument, use NULL if you do not want this matching\&. See the Dataiterator manpage about the possible matches modes and the \fIflags\fR argument\&. For all (matching) values, the callback function is called with the \fIcbdata\fR callback argument and the data describing the value\&.
+.SH "JOB AND SELECTION FUNCTIONS"
+.sp
+A Job consists of two Ids, \fIhow\fR and \fIwhat\fR\&. The \fIhow\fR part describes the action, the job flags, and the selection method while the \fIwhat\fR part is in input for the selection\&. A Selection is a queue consisting of multiple jobs (thus the number of elements in the queue must be a multiple of two)\&. See the Solver manpage for more information about jobs\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBconst char *pool_job2str(Pool *\fR\fIpool\fR\fB, Id\fR \fIhow\fR\fB, Id\fR \fIwhat\fR\fB, Id\fR \fIflagmask\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Convert a job into a string\&. Useful for debugging purposes\&. The \fIflagmask\fR can be used to mask the flags of the job, use \(lq0\(rq if you do not want to see such flags, \(lq\-1\(rq to see all flags, or a combination of the flags you want to see\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid pool_job2solvables(Pool *\fR\fIpool\fR\fB, Queue *\fR\fIpkgs\fR\fB, Id\fR \fIhow\fR\fB, Id\fR \fIwhat\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return a list of solvables that the specified job selects\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBint pool_isemptyupdatejob(Pool *\fR\fIpool\fR\fB, Id\fR \fIhow\fR\fB, Id\fR \fIwhat\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Return \(lq1\(rq if the job is an update job that does not work with any installed package, i\&.e\&. the job is basically a no\-op\&. You can use this to turn no\-op update jobs into install jobs (as done by package managers like \(lqzypper\(rq)\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBconst char *pool_selection2str(Pool *\fR\fIpool\fR\fB, Queue *\fR\fIselection\fR\fB, Id\fR \fIflagmask\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Convert a selection into a string\&. Useful for debugging purposes\&. See the pool_job2str() function for the \fIflagmask\fR argument\&.
+.SH "ODDS AND ENDS"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid pool_freeallrepos(Pool *\fR\fIpool\fR\fB, int\fR \fIreuseids\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Free all repos from the pool (including all solvables)\&. If \fIreuseids\fR is true, all Ids of the solvables are free to be reused the next time solvables are created\&.
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fBvoid pool_clear_pos(Pool *\fR\fIpool\fR\fB)\fR;
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Clear the data position stored in the pool\&.
+.SH "ARCHITECTURE POLICIES"
+.sp
+An architecture policy defines a list of architectures that can be installed on the system, and also the relationship between them (i\&.e\&. the ordering)\&. Architectures can be delimited with three different characters:
+.PP
+\fB\*(Aq:\*(Aq\fR
+.RS 4
+No relationship between the architectures\&. A package of one architecture can not be replaced with one of the other architecture\&.
+.RE
+.PP
+\fB\*(Aq>\*(Aq\fR
+.RS 4
+The first architecture is better than the second one\&. An installed package of the second architecture may be replaced with one from the first architecture and vice versa\&. The solver will select the better architecture if the versions are the same\&.
+.RE
+.PP
+\fB\*(Aq=\*(Aq\fR
+.RS 4
+The two architectures are freely exchangeable\&. Used to define aliases for architectures\&.
+.RE
+.sp
+An example would be \*(Aqx86_64:i686=athlon>i586\*(Aq\&. This means that x86_64 packages can only be replaced by other x86_64 packages, i686 packages can be replaced by i686 and i586 packages (but i686 packages will be preferred) and athlon is another name for the i686 architecture\&.
+.sp
+You can turn off the architecture replacement checks with the Solver\(cqs SOLVER_FLAG_ALLOW_ARCHCHANGE flag\&.
+.SH "VENDOR POLICIES"
+.sp
+Different vendors often compile packages with different features, so Libsolv only replace installed packages of one vendor with packages coming from the same vendor\&. Also, while the version of a package is normally defined by the upstream project, the release part of the version is set by the vendor\(cqs package maintainer, so it\(cqs not meaningful to do version comparisons for packages coming from different vendors\&.
+.sp
+Vendor in this case means the SOLVABLE_VENDOR string stored in each solvable\&. Sometimes a vendor changes names, or multiple vendors form a group that coordinate their package building, so libsolv offers a way to define that a group of vendors are compatible\&. You do that be defining vendor equivalence classes, packages from a vendor from one class may be replaced with packages from all the other vendors in the class\&.
+.sp
+There can be multiple equivalence classes, the set of allowed vendor changes for an installed package is calculated by building the union of all of the equivalence classes the vendor of the installed package is part of\&.
+.sp
+You can turn off the vendor replacement checks with the Solver\(cqs SOLVER_FLAG_ALLOW_VENDORCHANGE flag\&.
+.SH "BOOLEAN DEPENDENCIES"
+.sp
+Boolean Dependencies allow building complex expressions from simple dependencies\&. Note that depending on the package manager only a subset of those may be useful\&. For example, debian currently only allows an "OR" expression\&.
+.PP
+\fBREL_OR\fR
+.RS 4
+The expression is true if either the first dependency or the second one is true\&. This is useful for package dependencies like \(lqRequires\(rq, where you can specify that either one of the packages need to be installed\&.
+.RE
+.PP
+\fBREL_AND\fR
+.RS 4
+The expression is true if both dependencies are true\&. The packages fulfilling the dependencies may be different, i\&.e\&. \(lqSupplements: perl REL_AND python\(rq is true if both a package providing perl and a package providing python are installed\&.
+.RE
+.PP
+\fBREL_WITH\fR
+.RS 4
+The expression is true if both dependencies are true and are fulfilled by the same package\&. Thus \(lqSupplements: perl REL_WITH python\(rq would only be true if a package is installed that provides both dependencies (some kind of multi\-language interpreter)\&.
+.RE
+.PP
+\fBREL_COND\fR
+.RS 4
+The expression is true if the first dependency is true or the second dependency is false\&. \(lqA REL_COND B\(rq is equivalent to \(lqA REL_OR (NOT B)\(rq (except that libsolv does not expose \(lqNOT\(rq)\&.
+.RE
+.PP
+\fBREL_UNLESS\fR
+.RS 4
+The expression is true if the first dependency is true and the second dependency is false\&. \(lqA REL_UNLESS B\(rq is equivalent to \(lqA REL_AND (NOT B)\(rq (except that libsolv does not expose \(lqNOT\(rq)\&.
+.RE
+.PP
+\fBREL_ELSE\fR
+.RS 4
+The \(lqelse\(rq part of a \(lqREL_COND\(rq or \(lqREL_UNLESS\(rq dependency\&. It has to be directly in the evr part of the condition, e\&.g\&. \(lqfoo REL_COND (bar REL_ELSE baz)\(rq\&. For \(lqREL_COND\(rq this is equivalent to writing \(lq(foo REL_COND bar) REL_AND (bar REL_OR baz)\(rq\&. For \(lqREL_UNLESS\(rq this is equivalent to writing \(lq(foo REL_UNLESS bar) REL_OR (bar REL_AND baz)\(rq\&.
+.RE
+.sp
+Each sub\-dependency of a boolean dependency can in turn be a boolean dependency, so you can chain them to create complex dependencies\&.
+.SH "NAMESPACE DEPENDENCIES"
+.sp
+Namespace dependencies can be used to implement dependencies on attributes external to libsolv\&. An example would be a dependency on the language set by the user\&. This types of dependencies are usually only used for \(lqConflicts\(rq or \(lqSupplements\(rq dependencies, as the underlying package manager does not know how to deal with them\&.
+.sp
+If the library needs to evaluate a namespace dependency, it calls the namespace callback function set in the pool\&. The callback function can return a set of packages that \(lqprovide\(rq the dependency\&. If the dependency is provided by the system, the returned set should consist of just the system solvable (Solvable Id 1)\&.
+.sp
+The returned set of packages must be returned as offset into the whatprovidesdata array\&. You can use the pool_queuetowhatprovides function to convert a queue into such an offset\&. To ease programming the callback function, the return values \(lq0\(rq and \(lq1\(rq are not interpreted as an offset\&. \(lq0\(rq means that no package is in the return set, \(lq1\(rq means that just the system solvable is in the set\&.
+.sp
+The returned set is cached, so that for each namespace dependency the callback is just called once\&. If you need to flush the cache (maybe because the user has selected a different language), use the pool_flush_namespaceproviders() function\&.
+.SH "AUTHOR"
+.sp
+Michael Schroeder
diff --git a/miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man3/libsolv.3 b/miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man3/libsolv.3
new file mode 100644
index 0000000000000000000000000000000000000000..91d22903dd6d1f0e5d2abc9f969178b9dba73e6e
--- /dev/null
+++ b/miniconda3/pkgs/libsolv-0.7.30-h6f1ccf3_2/share/man/man3/libsolv.3
@@ -0,0 +1,64 @@
+'\" t
+.\" Title: Libsolv
+.\" Author: [see the "Author" section]
+.\" Generator: DocBook XSL Stylesheets vsnapshot
+.\" Date: 03/02/2022
+.\" Manual: LIBSOLV
+.\" Source: libsolv
+.\" Language: English
+.\"
+.TH "LIBSOLV" "3" "03/02/2022" "libsolv" "LIBSOLV"
+.\" -----------------------------------------------------------------
+.\" * Define some portability stuff
+.\" -----------------------------------------------------------------
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" http://bugs.debian.org/507673
+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.ie \n(.g .ds Aq \(aq
+.el .ds Aq '
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.\" -----------------------------------------------------------------
+.\" * MAIN CONTENT STARTS HERE *
+.\" -----------------------------------------------------------------
+.SH "NAME"
+libsolv \- package dependency solver library using a satisfiability algorithm
+.SH "DOCUMENTATION"
+.sp
+The libsolv documentation is split into multiple parts:
+.PP
+\fBlibsolv\-history\fR
+.RS 4
+how the libsolv library came into existence
+.RE
+.PP
+\fBlibsolv\-constantids\fR
+.RS 4
+fixed Ids for often used strings
+.RE
+.PP
+\fBlibsolv\-bindings\fR
+.RS 4
+access libsolv from perl/python/ruby
+.RE
+.PP
+\fBlibsolv\-pool\fR
+.RS 4
+libsolv\(cqs pool object
+.RE
+.SH "POINTER VALIDITY"
+.sp
+Note that all pointers to objects that have an Id have only a limited validity period, with the exception of Repo pointers\&. They are only guaranteed to be valid until a new object of that type is added or an object of that type is removed\&. Thus pointers to Solvable objects are only valid until another solvable is created, because adding a Solvable may relocate the Pool\(cqs Solvable array\&. This is also true for Pool strings, you should use solv_strdup() to create a copy of the string if you want to use it at some later time\&. You should use the Ids in the code and not the pointers, except for short times where you know that the pointer is safe\&.
+.sp
+Note also that the data lookup functions or the dataiterator also return values with limited lifetime, this is especially true for data stored in the paged data segment of solv files\&. This is normally data that consists of big strings like package descriptions or is not often needed like package checksums\&. Thus looking up a description of a solvable and then looking up the description of a different solvable or even the checksum of the same solvable may invalidate the first result\&. (The dataiterator supports a dataiterator_strdup() function to create a safe copy\&.)
+.sp
+The language bindings already deal with pointer validity, so you do not have to worry about this issue when using the bindings\&.
+.SH "AUTHOR"
+.sp
+Michael Schroeder
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/include/libssh2.h b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/include/libssh2.h
new file mode 100644
index 0000000000000000000000000000000000000000..f47858aed3145777ea1a3c55992614597be54773
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/include/libssh2.h
@@ -0,0 +1,1516 @@
+/* Copyright (C) Sara Golemon
+ * Copyright (C) Daniel Stenberg
+ * Copyright (C) Simon Josefsson
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms,
+ * with or without modification, are permitted provided
+ * that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above
+ * copyright notice, this list of conditions and the
+ * following disclaimer.
+ *
+ * Redistributions in binary form must reproduce the above
+ * copyright notice, this list of conditions and the following
+ * disclaimer in the documentation and/or other materials
+ * provided with the distribution.
+ *
+ * Neither the name of the copyright holder nor the names
+ * of any other contributors may be used to endorse or
+ * promote products derived from this software without
+ * specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
+ * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
+ * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
+ * OF SUCH DAMAGE.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+#ifndef LIBSSH2_H
+#define LIBSSH2_H 1
+
+#define LIBSSH2_COPYRIGHT "The libssh2 project and its contributors."
+
+/* We use underscore instead of dash when appending DEV in dev versions just
+ to make the BANNER define (used by src/session.c) be a valid SSH
+ banner. Release versions have no appended strings and may of course not
+ have dashes either. */
+#define LIBSSH2_VERSION "1.11.1"
+
+/* The numeric version number is also available "in parts" by using these
+ defines: */
+#define LIBSSH2_VERSION_MAJOR 1
+#define LIBSSH2_VERSION_MINOR 11
+#define LIBSSH2_VERSION_PATCH 1
+
+/* This is the numeric version of the libssh2 version number, meant for easier
+ parsing and comparisons by programs. The LIBSSH2_VERSION_NUM define will
+ always follow this syntax:
+
+ 0xXXYYZZ
+
+ Where XX, YY and ZZ are the main version, release and patch numbers in
+ hexadecimal (using 8 bits each). All three numbers are always represented
+ using two digits. 1.2 would appear as "0x010200" while version 9.11.7
+ appears as "0x090b07".
+
+ This 6-digit (24 bits) hexadecimal number does not show pre-release number,
+ and it is always a greater number in a more recent release. It makes
+ comparisons with greater than and less than work.
+*/
+#define LIBSSH2_VERSION_NUM 0x010b01
+
+/*
+ * This is the date and time when the full source package was created. The
+ * timestamp is not stored in the source code repo, as the timestamp is
+ * properly set in the tarballs by the maketgz script.
+ *
+ * The format of the date should follow this template:
+ *
+ * "Mon Feb 12 11:35:33 UTC 2007"
+ */
+#define LIBSSH2_TIMESTAMP "Wed Oct 16 08:03:21 UTC 2024"
+
+#ifndef RC_INVOKED
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifdef _WIN32
+# include
+# include
+#endif
+
+#include
+#include
+#include
+#include
+
+/* Allow alternate API prefix from CFLAGS or calling app */
+#ifndef LIBSSH2_API
+# ifdef _WIN32
+# if defined(LIBSSH2_EXPORTS) || defined(_WINDLL)
+# ifdef LIBSSH2_LIBRARY
+# define LIBSSH2_API __declspec(dllexport)
+# else
+# define LIBSSH2_API __declspec(dllimport)
+# endif /* LIBSSH2_LIBRARY */
+# else
+# define LIBSSH2_API
+# endif
+# else /* !_WIN32 */
+# define LIBSSH2_API
+# endif /* _WIN32 */
+#endif /* LIBSSH2_API */
+
+#ifdef HAVE_SYS_UIO_H
+# include
+#endif
+
+#ifdef _MSC_VER
+typedef unsigned char uint8_t;
+typedef unsigned short int uint16_t;
+typedef unsigned int uint32_t;
+typedef __int32 int32_t;
+typedef __int64 int64_t;
+typedef unsigned __int64 uint64_t;
+typedef unsigned __int64 libssh2_uint64_t;
+typedef __int64 libssh2_int64_t;
+#if (!defined(HAVE_SSIZE_T) && !defined(ssize_t))
+typedef SSIZE_T ssize_t;
+#define HAVE_SSIZE_T
+#endif
+#else
+#include
+typedef unsigned long long libssh2_uint64_t;
+typedef long long libssh2_int64_t;
+#endif
+
+#ifdef _WIN32
+typedef SOCKET libssh2_socket_t;
+#define LIBSSH2_INVALID_SOCKET INVALID_SOCKET
+#define LIBSSH2_SOCKET_CLOSE(s) closesocket(s)
+#else /* !_WIN32 */
+typedef int libssh2_socket_t;
+#define LIBSSH2_INVALID_SOCKET -1
+#define LIBSSH2_SOCKET_CLOSE(s) close(s)
+#endif /* _WIN32 */
+
+/* Compile-time deprecation macros */
+#if !defined(LIBSSH2_DISABLE_DEPRECATION) && !defined(LIBSSH2_LIBRARY)
+# if defined(_MSC_VER)
+# if _MSC_VER >= 1400
+# define LIBSSH2_DEPRECATED(version, message) \
+ __declspec(deprecated("since libssh2 " # version ". " message))
+# elif _MSC_VER >= 1310
+# define LIBSSH2_DEPRECATED(version, message) \
+ __declspec(deprecated)
+# endif
+# elif defined(__GNUC__) && !defined(__INTEL_COMPILER)
+# if (defined(__clang__) && __clang_major__ >= 3) || \
+ (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5))
+# define LIBSSH2_DEPRECATED(version, message) \
+ __attribute__((deprecated("since libssh2 " # version ". " message)))
+# elif __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 0)
+# define LIBSSH2_DEPRECATED(version, message) \
+ __attribute__((deprecated))
+# endif
+# elif defined(__SUNPRO_C) && __SUNPRO_C >= 0x5130
+# define LIBSSH2_DEPRECATED(version, message) \
+ __attribute__((deprecated))
+# endif
+#endif
+
+#ifndef LIBSSH2_DEPRECATED
+#define LIBSSH2_DEPRECATED(version, message)
+#endif
+
+/*
+ * Determine whether there is small or large file support on windows.
+ */
+
+#if defined(_MSC_VER) && !defined(_WIN32_WCE)
+# if (_MSC_VER >= 900) && (_INTEGRAL_MAX_BITS >= 64)
+# define LIBSSH2_USE_WIN32_LARGE_FILES
+# else
+# define LIBSSH2_USE_WIN32_SMALL_FILES
+# endif
+#endif
+
+#if defined(__MINGW32__) && !defined(LIBSSH2_USE_WIN32_LARGE_FILES)
+# define LIBSSH2_USE_WIN32_LARGE_FILES
+#endif
+
+#if defined(__WATCOMC__) && !defined(LIBSSH2_USE_WIN32_LARGE_FILES)
+# define LIBSSH2_USE_WIN32_LARGE_FILES
+#endif
+
+#if defined(__POCC__)
+# undef LIBSSH2_USE_WIN32_LARGE_FILES
+#endif
+
+#if defined(_WIN32) && !defined(LIBSSH2_USE_WIN32_LARGE_FILES) && \
+ !defined(LIBSSH2_USE_WIN32_SMALL_FILES)
+# define LIBSSH2_USE_WIN32_SMALL_FILES
+#endif
+
+/*
+ * Large file (>2Gb) support using WIN32 functions.
+ */
+
+#ifdef LIBSSH2_USE_WIN32_LARGE_FILES
+# include
+# define LIBSSH2_STRUCT_STAT_SIZE_FORMAT "%I64d"
+typedef struct _stati64 libssh2_struct_stat;
+typedef __int64 libssh2_struct_stat_size;
+#endif
+
+/*
+ * Small file (<2Gb) support using WIN32 functions.
+ */
+
+#ifdef LIBSSH2_USE_WIN32_SMALL_FILES
+# ifndef _WIN32_WCE
+# define LIBSSH2_STRUCT_STAT_SIZE_FORMAT "%d"
+typedef struct _stat libssh2_struct_stat;
+typedef off_t libssh2_struct_stat_size;
+# endif
+#endif
+
+#ifndef LIBSSH2_STRUCT_STAT_SIZE_FORMAT
+# ifdef __VMS
+/* We have to roll our own format here because %z is a C99-ism we don't
+ have. */
+# if __USE_OFF64_T || __USING_STD_STAT
+# define LIBSSH2_STRUCT_STAT_SIZE_FORMAT "%Ld"
+# else
+# define LIBSSH2_STRUCT_STAT_SIZE_FORMAT "%d"
+# endif
+# else
+# define LIBSSH2_STRUCT_STAT_SIZE_FORMAT "%zd"
+# endif
+typedef struct stat libssh2_struct_stat;
+typedef off_t libssh2_struct_stat_size;
+#endif
+
+/* Part of every banner, user specified or not */
+#define LIBSSH2_SSH_BANNER "SSH-2.0-libssh2_" LIBSSH2_VERSION
+
+#define LIBSSH2_SSH_DEFAULT_BANNER LIBSSH2_SSH_BANNER
+#define LIBSSH2_SSH_DEFAULT_BANNER_WITH_CRLF LIBSSH2_SSH_DEFAULT_BANNER "\r\n"
+
+/* Defaults for pty requests */
+#define LIBSSH2_TERM_WIDTH 80
+#define LIBSSH2_TERM_HEIGHT 24
+#define LIBSSH2_TERM_WIDTH_PX 0
+#define LIBSSH2_TERM_HEIGHT_PX 0
+
+/* 1/4 second */
+#define LIBSSH2_SOCKET_POLL_UDELAY 250000
+/* 0.25 * 120 == 30 seconds */
+#define LIBSSH2_SOCKET_POLL_MAXLOOPS 120
+
+/* Maximum size to allow a payload to compress to, plays it safe by falling
+ short of spec limits */
+#define LIBSSH2_PACKET_MAXCOMP 32000
+
+/* Maximum size to allow a payload to deccompress to, plays it safe by
+ allowing more than spec requires */
+#define LIBSSH2_PACKET_MAXDECOMP 40000
+
+/* Maximum size for an inbound compressed payload, plays it safe by
+ overshooting spec limits */
+#define LIBSSH2_PACKET_MAXPAYLOAD 40000
+
+/* Malloc callbacks */
+#define LIBSSH2_ALLOC_FUNC(name) void *name(size_t count, void **abstract)
+#define LIBSSH2_REALLOC_FUNC(name) void *name(void *ptr, size_t count, \
+ void **abstract)
+#define LIBSSH2_FREE_FUNC(name) void name(void *ptr, void **abstract)
+
+typedef struct _LIBSSH2_USERAUTH_KBDINT_PROMPT
+{
+ unsigned char *text;
+ size_t length;
+ unsigned char echo;
+} LIBSSH2_USERAUTH_KBDINT_PROMPT;
+
+typedef struct _LIBSSH2_USERAUTH_KBDINT_RESPONSE
+{
+ char *text;
+ unsigned int length; /* FIXME: change type to size_t */
+} LIBSSH2_USERAUTH_KBDINT_RESPONSE;
+
+typedef struct _LIBSSH2_SK_SIG_INFO {
+ uint8_t flags;
+ uint32_t counter;
+ unsigned char *sig_r;
+ size_t sig_r_len;
+ unsigned char *sig_s;
+ size_t sig_s_len;
+} LIBSSH2_SK_SIG_INFO;
+
+/* 'publickey' authentication callback */
+#define LIBSSH2_USERAUTH_PUBLICKEY_SIGN_FUNC(name) \
+ int name(LIBSSH2_SESSION *session, unsigned char **sig, size_t *sig_len, \
+ const unsigned char *data, size_t data_len, void **abstract)
+
+/* 'keyboard-interactive' authentication callback */
+/* FIXME: name_len, instruction_len -> size_t, num_prompts -> unsigned int? */
+#define LIBSSH2_USERAUTH_KBDINT_RESPONSE_FUNC(name_) \
+ void name_(const char *name, int name_len, const char *instruction, \
+ int instruction_len, int num_prompts, \
+ const LIBSSH2_USERAUTH_KBDINT_PROMPT *prompts, \
+ LIBSSH2_USERAUTH_KBDINT_RESPONSE *responses, void **abstract)
+
+/* SK authentication callback */
+#define LIBSSH2_USERAUTH_SK_SIGN_FUNC(name) \
+ int name(LIBSSH2_SESSION *session, LIBSSH2_SK_SIG_INFO *sig_info, \
+ const unsigned char *data, size_t data_len, \
+ int algorithm, uint8_t flags, \
+ const char *application, const unsigned char *key_handle, \
+ size_t handle_len, \
+ void **abstract)
+
+/* Flags for SK authentication */
+#define LIBSSH2_SK_PRESENCE_REQUIRED 0x01
+#define LIBSSH2_SK_VERIFICATION_REQUIRED 0x04
+
+/* FIXME: update lengths to size_t (or ssize_t): */
+
+/* Callbacks for special SSH packets */
+#define LIBSSH2_IGNORE_FUNC(name) \
+ void name(LIBSSH2_SESSION *session, const char *message, int message_len, \
+ void **abstract)
+
+#define LIBSSH2_DEBUG_FUNC(name) \
+ void name(LIBSSH2_SESSION *session, int always_display, \
+ const char *message, int message_len, \
+ const char *language, int language_len, \
+ void **abstract)
+
+#define LIBSSH2_DISCONNECT_FUNC(name) \
+ void name(LIBSSH2_SESSION *session, int reason, \
+ const char *message, int message_len, \
+ const char *language, int language_len, \
+ void **abstract)
+
+#define LIBSSH2_PASSWD_CHANGEREQ_FUNC(name) \
+ void name(LIBSSH2_SESSION *session, char **newpw, int *newpw_len, \
+ void **abstract)
+
+#define LIBSSH2_MACERROR_FUNC(name) \
+ int name(LIBSSH2_SESSION *session, const char *packet, int packet_len, \
+ void **abstract)
+
+#define LIBSSH2_X11_OPEN_FUNC(name) \
+ void name(LIBSSH2_SESSION *session, LIBSSH2_CHANNEL *channel, \
+ const char *shost, int sport, void **abstract)
+
+#define LIBSSH2_AUTHAGENT_FUNC(name) \
+ void name(LIBSSH2_SESSION *session, LIBSSH2_CHANNEL *channel, \
+ void **abstract)
+
+#define LIBSSH2_ADD_IDENTITIES_FUNC(name) \
+ void name(LIBSSH2_SESSION *session, void *buffer, \
+ const char *agent_path, void **abstract)
+
+#define LIBSSH2_AUTHAGENT_SIGN_FUNC(name) \
+ int name(LIBSSH2_SESSION* session, \
+ unsigned char *blob, unsigned int blen, \
+ const unsigned char *data, unsigned int dlen, \
+ unsigned char **signature, unsigned int *sigLen, \
+ const char *agentPath, \
+ void **abstract)
+
+#define LIBSSH2_CHANNEL_CLOSE_FUNC(name) \
+ void name(LIBSSH2_SESSION *session, void **session_abstract, \
+ LIBSSH2_CHANNEL *channel, void **channel_abstract)
+
+/* I/O callbacks */
+#define LIBSSH2_RECV_FUNC(name) \
+ ssize_t name(libssh2_socket_t socket, \
+ void *buffer, size_t length, \
+ int flags, void **abstract)
+#define LIBSSH2_SEND_FUNC(name) \
+ ssize_t name(libssh2_socket_t socket, \
+ const void *buffer, size_t length, \
+ int flags, void **abstract)
+
+/* libssh2_session_callback_set() constants */
+#define LIBSSH2_CALLBACK_IGNORE 0
+#define LIBSSH2_CALLBACK_DEBUG 1
+#define LIBSSH2_CALLBACK_DISCONNECT 2
+#define LIBSSH2_CALLBACK_MACERROR 3
+#define LIBSSH2_CALLBACK_X11 4
+#define LIBSSH2_CALLBACK_SEND 5
+#define LIBSSH2_CALLBACK_RECV 6
+#define LIBSSH2_CALLBACK_AUTHAGENT 7
+#define LIBSSH2_CALLBACK_AUTHAGENT_IDENTITIES 8
+#define LIBSSH2_CALLBACK_AUTHAGENT_SIGN 9
+
+/* libssh2_session_method_pref() constants */
+#define LIBSSH2_METHOD_KEX 0
+#define LIBSSH2_METHOD_HOSTKEY 1
+#define LIBSSH2_METHOD_CRYPT_CS 2
+#define LIBSSH2_METHOD_CRYPT_SC 3
+#define LIBSSH2_METHOD_MAC_CS 4
+#define LIBSSH2_METHOD_MAC_SC 5
+#define LIBSSH2_METHOD_COMP_CS 6
+#define LIBSSH2_METHOD_COMP_SC 7
+#define LIBSSH2_METHOD_LANG_CS 8
+#define LIBSSH2_METHOD_LANG_SC 9
+#define LIBSSH2_METHOD_SIGN_ALGO 10
+
+/* flags */
+#define LIBSSH2_FLAG_SIGPIPE 1
+#define LIBSSH2_FLAG_COMPRESS 2
+#define LIBSSH2_FLAG_QUOTE_PATHS 3
+
+typedef struct _LIBSSH2_SESSION LIBSSH2_SESSION;
+typedef struct _LIBSSH2_CHANNEL LIBSSH2_CHANNEL;
+typedef struct _LIBSSH2_LISTENER LIBSSH2_LISTENER;
+typedef struct _LIBSSH2_KNOWNHOSTS LIBSSH2_KNOWNHOSTS;
+typedef struct _LIBSSH2_AGENT LIBSSH2_AGENT;
+
+/* SK signature callback */
+typedef struct _LIBSSH2_PRIVKEY_SK {
+ int algorithm;
+ uint8_t flags;
+ const char *application;
+ const unsigned char *key_handle;
+ size_t handle_len;
+ LIBSSH2_USERAUTH_SK_SIGN_FUNC((*sign_callback));
+ void **orig_abstract;
+} LIBSSH2_PRIVKEY_SK;
+
+int
+libssh2_sign_sk(LIBSSH2_SESSION *session,
+ unsigned char **sig,
+ size_t *sig_len,
+ const unsigned char *data,
+ size_t data_len,
+ void **abstract);
+
+typedef struct _LIBSSH2_POLLFD {
+ unsigned char type; /* LIBSSH2_POLLFD_* below */
+
+ union {
+ libssh2_socket_t socket; /* File descriptors -- examined with
+ system select() call */
+ LIBSSH2_CHANNEL *channel; /* Examined by checking internal state */
+ LIBSSH2_LISTENER *listener; /* Read polls only -- are inbound
+ connections waiting to be accepted? */
+ } fd;
+
+ unsigned long events; /* Requested Events */
+ unsigned long revents; /* Returned Events */
+} LIBSSH2_POLLFD;
+
+/* Poll FD Descriptor Types */
+#define LIBSSH2_POLLFD_SOCKET 1
+#define LIBSSH2_POLLFD_CHANNEL 2
+#define LIBSSH2_POLLFD_LISTENER 3
+
+/* Note: Win32 Doesn't actually have a poll() implementation, so some of these
+ values are faked with select() data */
+/* Poll FD events/revents -- Match sys/poll.h where possible */
+#define LIBSSH2_POLLFD_POLLIN 0x0001 /* Data available to be read or
+ connection available --
+ All */
+#define LIBSSH2_POLLFD_POLLPRI 0x0002 /* Priority data available to
+ be read -- Socket only */
+#define LIBSSH2_POLLFD_POLLEXT 0x0002 /* Extended data available to
+ be read -- Channel only */
+#define LIBSSH2_POLLFD_POLLOUT 0x0004 /* Can may be written --
+ Socket/Channel */
+/* revents only */
+#define LIBSSH2_POLLFD_POLLERR 0x0008 /* Error Condition -- Socket */
+#define LIBSSH2_POLLFD_POLLHUP 0x0010 /* HangUp/EOF -- Socket */
+#define LIBSSH2_POLLFD_SESSION_CLOSED 0x0010 /* Session Disconnect */
+#define LIBSSH2_POLLFD_POLLNVAL 0x0020 /* Invalid request -- Socket
+ Only */
+#define LIBSSH2_POLLFD_POLLEX 0x0040 /* Exception Condition --
+ Socket/Win32 */
+#define LIBSSH2_POLLFD_CHANNEL_CLOSED 0x0080 /* Channel Disconnect */
+#define LIBSSH2_POLLFD_LISTENER_CLOSED 0x0080 /* Listener Disconnect */
+
+#define HAVE_LIBSSH2_SESSION_BLOCK_DIRECTION
+/* Block Direction Types */
+#define LIBSSH2_SESSION_BLOCK_INBOUND 0x0001
+#define LIBSSH2_SESSION_BLOCK_OUTBOUND 0x0002
+
+/* Hash Types */
+#define LIBSSH2_HOSTKEY_HASH_MD5 1
+#define LIBSSH2_HOSTKEY_HASH_SHA1 2
+#define LIBSSH2_HOSTKEY_HASH_SHA256 3
+
+/* Hostkey Types */
+#define LIBSSH2_HOSTKEY_TYPE_UNKNOWN 0
+#define LIBSSH2_HOSTKEY_TYPE_RSA 1
+#define LIBSSH2_HOSTKEY_TYPE_DSS 2 /* deprecated */
+#define LIBSSH2_HOSTKEY_TYPE_ECDSA_256 3
+#define LIBSSH2_HOSTKEY_TYPE_ECDSA_384 4
+#define LIBSSH2_HOSTKEY_TYPE_ECDSA_521 5
+#define LIBSSH2_HOSTKEY_TYPE_ED25519 6
+
+/* Disconnect Codes (defined by SSH protocol) */
+#define SSH_DISCONNECT_HOST_NOT_ALLOWED_TO_CONNECT 1
+#define SSH_DISCONNECT_PROTOCOL_ERROR 2
+#define SSH_DISCONNECT_KEY_EXCHANGE_FAILED 3
+#define SSH_DISCONNECT_RESERVED 4
+#define SSH_DISCONNECT_MAC_ERROR 5
+#define SSH_DISCONNECT_COMPRESSION_ERROR 6
+#define SSH_DISCONNECT_SERVICE_NOT_AVAILABLE 7
+#define SSH_DISCONNECT_PROTOCOL_VERSION_NOT_SUPPORTED 8
+#define SSH_DISCONNECT_HOST_KEY_NOT_VERIFIABLE 9
+#define SSH_DISCONNECT_CONNECTION_LOST 10
+#define SSH_DISCONNECT_BY_APPLICATION 11
+#define SSH_DISCONNECT_TOO_MANY_CONNECTIONS 12
+#define SSH_DISCONNECT_AUTH_CANCELLED_BY_USER 13
+#define SSH_DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE 14
+#define SSH_DISCONNECT_ILLEGAL_USER_NAME 15
+
+/* Error Codes (defined by libssh2) */
+#define LIBSSH2_ERROR_NONE 0
+
+/* The library once used -1 as a generic error return value on numerous places
+ through the code, which subsequently was converted to
+ LIBSSH2_ERROR_SOCKET_NONE uses over time. As this is a generic error code,
+ the goal is to never ever return this code but instead make sure that a
+ more accurate and descriptive error code is used. */
+#define LIBSSH2_ERROR_SOCKET_NONE -1
+
+#define LIBSSH2_ERROR_BANNER_RECV -2
+#define LIBSSH2_ERROR_BANNER_SEND -3
+#define LIBSSH2_ERROR_INVALID_MAC -4
+#define LIBSSH2_ERROR_KEX_FAILURE -5
+#define LIBSSH2_ERROR_ALLOC -6
+#define LIBSSH2_ERROR_SOCKET_SEND -7
+#define LIBSSH2_ERROR_KEY_EXCHANGE_FAILURE -8
+#define LIBSSH2_ERROR_TIMEOUT -9
+#define LIBSSH2_ERROR_HOSTKEY_INIT -10
+#define LIBSSH2_ERROR_HOSTKEY_SIGN -11
+#define LIBSSH2_ERROR_DECRYPT -12
+#define LIBSSH2_ERROR_SOCKET_DISCONNECT -13
+#define LIBSSH2_ERROR_PROTO -14
+#define LIBSSH2_ERROR_PASSWORD_EXPIRED -15
+#define LIBSSH2_ERROR_FILE -16
+#define LIBSSH2_ERROR_METHOD_NONE -17
+#define LIBSSH2_ERROR_AUTHENTICATION_FAILED -18
+#define LIBSSH2_ERROR_PUBLICKEY_UNRECOGNIZED \
+ LIBSSH2_ERROR_AUTHENTICATION_FAILED
+#define LIBSSH2_ERROR_PUBLICKEY_UNVERIFIED -19
+#define LIBSSH2_ERROR_CHANNEL_OUTOFORDER -20
+#define LIBSSH2_ERROR_CHANNEL_FAILURE -21
+#define LIBSSH2_ERROR_CHANNEL_REQUEST_DENIED -22
+#define LIBSSH2_ERROR_CHANNEL_UNKNOWN -23
+#define LIBSSH2_ERROR_CHANNEL_WINDOW_EXCEEDED -24
+#define LIBSSH2_ERROR_CHANNEL_PACKET_EXCEEDED -25
+#define LIBSSH2_ERROR_CHANNEL_CLOSED -26
+#define LIBSSH2_ERROR_CHANNEL_EOF_SENT -27
+#define LIBSSH2_ERROR_SCP_PROTOCOL -28
+#define LIBSSH2_ERROR_ZLIB -29
+#define LIBSSH2_ERROR_SOCKET_TIMEOUT -30
+#define LIBSSH2_ERROR_SFTP_PROTOCOL -31
+#define LIBSSH2_ERROR_REQUEST_DENIED -32
+#define LIBSSH2_ERROR_METHOD_NOT_SUPPORTED -33
+#define LIBSSH2_ERROR_INVAL -34
+#define LIBSSH2_ERROR_INVALID_POLL_TYPE -35
+#define LIBSSH2_ERROR_PUBLICKEY_PROTOCOL -36
+#define LIBSSH2_ERROR_EAGAIN -37
+#define LIBSSH2_ERROR_BUFFER_TOO_SMALL -38
+#define LIBSSH2_ERROR_BAD_USE -39
+#define LIBSSH2_ERROR_COMPRESS -40
+#define LIBSSH2_ERROR_OUT_OF_BOUNDARY -41
+#define LIBSSH2_ERROR_AGENT_PROTOCOL -42
+#define LIBSSH2_ERROR_SOCKET_RECV -43
+#define LIBSSH2_ERROR_ENCRYPT -44
+#define LIBSSH2_ERROR_BAD_SOCKET -45
+#define LIBSSH2_ERROR_KNOWN_HOSTS -46
+#define LIBSSH2_ERROR_CHANNEL_WINDOW_FULL -47
+#define LIBSSH2_ERROR_KEYFILE_AUTH_FAILED -48
+#define LIBSSH2_ERROR_RANDGEN -49
+#define LIBSSH2_ERROR_MISSING_USERAUTH_BANNER -50
+#define LIBSSH2_ERROR_ALGO_UNSUPPORTED -51
+#define LIBSSH2_ERROR_MAC_FAILURE -52
+#define LIBSSH2_ERROR_HASH_INIT -53
+#define LIBSSH2_ERROR_HASH_CALC -54
+
+/* this is a define to provide the old (<= 1.2.7) name */
+#define LIBSSH2_ERROR_BANNER_NONE LIBSSH2_ERROR_BANNER_RECV
+
+/* Global API */
+#define LIBSSH2_INIT_NO_CRYPTO 0x0001
+
+/*
+ * libssh2_init()
+ *
+ * Initialize the libssh2 functions. This typically initialize the
+ * crypto library. It uses a global state, and is not thread safe --
+ * you must make sure this function is not called concurrently.
+ *
+ * Flags can be:
+ * 0: Normal initialize
+ * LIBSSH2_INIT_NO_CRYPTO: Do not initialize the crypto library (ie.
+ * OPENSSL_add_cipher_algoritms() for OpenSSL
+ *
+ * Returns 0 if succeeded, or a negative value for error.
+ */
+LIBSSH2_API int libssh2_init(int flags);
+
+/*
+ * libssh2_exit()
+ *
+ * Exit the libssh2 functions and free's all memory used internal.
+ */
+LIBSSH2_API void libssh2_exit(void);
+
+/*
+ * libssh2_free()
+ *
+ * Deallocate memory allocated by earlier call to libssh2 functions.
+ */
+LIBSSH2_API void libssh2_free(LIBSSH2_SESSION *session, void *ptr);
+
+/*
+ * libssh2_session_supported_algs()
+ *
+ * Fills algs with a list of supported acryptographic algorithms. Returns a
+ * non-negative number (number of supported algorithms) on success or a
+ * negative number (an error code) on failure.
+ *
+ * NOTE: on success, algs must be deallocated (by calling libssh2_free) when
+ * not needed anymore
+ */
+LIBSSH2_API int libssh2_session_supported_algs(LIBSSH2_SESSION* session,
+ int method_type,
+ const char ***algs);
+
+/* Session API */
+LIBSSH2_API LIBSSH2_SESSION *
+libssh2_session_init_ex(LIBSSH2_ALLOC_FUNC((*my_alloc)),
+ LIBSSH2_FREE_FUNC((*my_free)),
+ LIBSSH2_REALLOC_FUNC((*my_realloc)), void *abstract);
+#define libssh2_session_init() libssh2_session_init_ex(NULL, NULL, NULL, NULL)
+
+LIBSSH2_API void **libssh2_session_abstract(LIBSSH2_SESSION *session);
+
+typedef void (libssh2_cb_generic)(void);
+
+LIBSSH2_API libssh2_cb_generic *
+libssh2_session_callback_set2(LIBSSH2_SESSION *session, int cbtype,
+ libssh2_cb_generic *callback);
+
+LIBSSH2_DEPRECATED(1.11.1, "Use libssh2_session_callback_set2()")
+LIBSSH2_API void *libssh2_session_callback_set(LIBSSH2_SESSION *session,
+ int cbtype, void *callback);
+LIBSSH2_API int libssh2_session_banner_set(LIBSSH2_SESSION *session,
+ const char *banner);
+#ifndef LIBSSH2_NO_DEPRECATED
+LIBSSH2_DEPRECATED(1.4.0, "Use libssh2_session_banner_set()")
+LIBSSH2_API int libssh2_banner_set(LIBSSH2_SESSION *session,
+ const char *banner);
+
+LIBSSH2_DEPRECATED(1.2.8, "Use libssh2_session_handshake()")
+LIBSSH2_API int libssh2_session_startup(LIBSSH2_SESSION *session, int sock);
+#endif
+LIBSSH2_API int libssh2_session_handshake(LIBSSH2_SESSION *session,
+ libssh2_socket_t sock);
+LIBSSH2_API int libssh2_session_disconnect_ex(LIBSSH2_SESSION *session,
+ int reason,
+ const char *description,
+ const char *lang);
+#define libssh2_session_disconnect(session, description) \
+ libssh2_session_disconnect_ex((session), SSH_DISCONNECT_BY_APPLICATION, \
+ (description), "")
+
+LIBSSH2_API int libssh2_session_free(LIBSSH2_SESSION *session);
+
+LIBSSH2_API const char *libssh2_hostkey_hash(LIBSSH2_SESSION *session,
+ int hash_type);
+
+LIBSSH2_API const char *libssh2_session_hostkey(LIBSSH2_SESSION *session,
+ size_t *len, int *type);
+
+LIBSSH2_API int libssh2_session_method_pref(LIBSSH2_SESSION *session,
+ int method_type,
+ const char *prefs);
+LIBSSH2_API const char *libssh2_session_methods(LIBSSH2_SESSION *session,
+ int method_type);
+LIBSSH2_API int libssh2_session_last_error(LIBSSH2_SESSION *session,
+ char **errmsg,
+ int *errmsg_len, int want_buf);
+LIBSSH2_API int libssh2_session_last_errno(LIBSSH2_SESSION *session);
+LIBSSH2_API int libssh2_session_set_last_error(LIBSSH2_SESSION* session,
+ int errcode,
+ const char *errmsg);
+LIBSSH2_API int libssh2_session_block_directions(LIBSSH2_SESSION *session);
+
+LIBSSH2_API int libssh2_session_flag(LIBSSH2_SESSION *session, int flag,
+ int value);
+LIBSSH2_API const char *libssh2_session_banner_get(LIBSSH2_SESSION *session);
+
+/* Userauth API */
+LIBSSH2_API char *libssh2_userauth_list(LIBSSH2_SESSION *session,
+ const char *username,
+ unsigned int username_len);
+LIBSSH2_API int libssh2_userauth_banner(LIBSSH2_SESSION *session,
+ char **banner);
+LIBSSH2_API int libssh2_userauth_authenticated(LIBSSH2_SESSION *session);
+
+LIBSSH2_API int
+libssh2_userauth_password_ex(LIBSSH2_SESSION *session,
+ const char *username,
+ unsigned int username_len,
+ const char *password,
+ unsigned int password_len,
+ LIBSSH2_PASSWD_CHANGEREQ_FUNC
+ ((*passwd_change_cb)));
+
+#define libssh2_userauth_password(session, username, password) \
+ libssh2_userauth_password_ex((session), (username), \
+ (unsigned int)strlen(username), \
+ (password), (unsigned int)strlen(password), \
+ NULL)
+
+LIBSSH2_API int
+libssh2_userauth_publickey_fromfile_ex(LIBSSH2_SESSION *session,
+ const char *username,
+ unsigned int username_len,
+ const char *publickey,
+ const char *privatekey,
+ const char *passphrase);
+
+#define libssh2_userauth_publickey_fromfile(session, username, publickey, \
+ privatekey, passphrase) \
+ libssh2_userauth_publickey_fromfile_ex((session), (username), \
+ (unsigned int)strlen(username), \
+ (publickey), \
+ (privatekey), (passphrase))
+
+LIBSSH2_API int
+libssh2_userauth_publickey(LIBSSH2_SESSION *session,
+ const char *username,
+ const unsigned char *pubkeydata,
+ size_t pubkeydata_len,
+ LIBSSH2_USERAUTH_PUBLICKEY_SIGN_FUNC
+ ((*sign_callback)),
+ void **abstract);
+
+LIBSSH2_API int
+libssh2_userauth_hostbased_fromfile_ex(LIBSSH2_SESSION *session,
+ const char *username,
+ unsigned int username_len,
+ const char *publickey,
+ const char *privatekey,
+ const char *passphrase,
+ const char *hostname,
+ unsigned int hostname_len,
+ const char *local_username,
+ unsigned int local_username_len);
+
+#define libssh2_userauth_hostbased_fromfile(session, username, publickey, \
+ privatekey, passphrase, hostname) \
+ libssh2_userauth_hostbased_fromfile_ex((session), (username), \
+ (unsigned int)strlen(username), \
+ (publickey), \
+ (privatekey), (passphrase), \
+ (hostname), \
+ (unsigned int)strlen(hostname), \
+ (username), \
+ (unsigned int)strlen(username))
+
+LIBSSH2_API int
+libssh2_userauth_publickey_frommemory(LIBSSH2_SESSION *session,
+ const char *username,
+ size_t username_len,
+ const char *publickeyfiledata,
+ size_t publickeyfiledata_len,
+ const char *privatekeyfiledata,
+ size_t privatekeyfiledata_len,
+ const char *passphrase);
+
+/*
+ * response_callback is provided with filled by library prompts array,
+ * but client must allocate and fill individual responses. Responses
+ * array is already allocated. Responses data will be freed by libssh2
+ * after callback return, but before subsequent callback invocation.
+ */
+LIBSSH2_API int
+libssh2_userauth_keyboard_interactive_ex(LIBSSH2_SESSION* session,
+ const char *username,
+ unsigned int username_len,
+ LIBSSH2_USERAUTH_KBDINT_RESPONSE_FUNC
+ ((*response_callback)));
+
+#define libssh2_userauth_keyboard_interactive(session, username, \
+ response_callback) \
+ libssh2_userauth_keyboard_interactive_ex((session), (username), \
+ (unsigned int)strlen(username), \
+ (response_callback))
+
+LIBSSH2_API int
+libssh2_userauth_publickey_sk(LIBSSH2_SESSION *session,
+ const char *username,
+ size_t username_len,
+ const unsigned char *pubkeydata,
+ size_t pubkeydata_len,
+ const char *privatekeydata,
+ size_t privatekeydata_len,
+ const char *passphrase,
+ LIBSSH2_USERAUTH_SK_SIGN_FUNC
+ ((*sign_callback)),
+ void **abstract);
+
+LIBSSH2_API int libssh2_poll(LIBSSH2_POLLFD *fds, unsigned int nfds,
+ long timeout);
+
+/* Channel API */
+#define LIBSSH2_CHANNEL_WINDOW_DEFAULT (2*1024*1024)
+#define LIBSSH2_CHANNEL_PACKET_DEFAULT 32768
+#define LIBSSH2_CHANNEL_MINADJUST 1024
+
+/* Extended Data Handling */
+#define LIBSSH2_CHANNEL_EXTENDED_DATA_NORMAL 0
+#define LIBSSH2_CHANNEL_EXTENDED_DATA_IGNORE 1
+#define LIBSSH2_CHANNEL_EXTENDED_DATA_MERGE 2
+
+#define SSH_EXTENDED_DATA_STDERR 1
+
+/* Returned by any function that would block during a read/write operation */
+#define LIBSSH2CHANNEL_EAGAIN LIBSSH2_ERROR_EAGAIN
+
+LIBSSH2_API LIBSSH2_CHANNEL *
+libssh2_channel_open_ex(LIBSSH2_SESSION *session, const char *channel_type,
+ unsigned int channel_type_len,
+ unsigned int window_size, unsigned int packet_size,
+ const char *message, unsigned int message_len);
+
+#define libssh2_channel_open_session(session) \
+ libssh2_channel_open_ex((session), "session", sizeof("session") - 1, \
+ LIBSSH2_CHANNEL_WINDOW_DEFAULT, \
+ LIBSSH2_CHANNEL_PACKET_DEFAULT, NULL, 0)
+
+LIBSSH2_API LIBSSH2_CHANNEL *
+libssh2_channel_direct_tcpip_ex(LIBSSH2_SESSION *session, const char *host,
+ int port, const char *shost, int sport);
+#define libssh2_channel_direct_tcpip(session, host, port) \
+ libssh2_channel_direct_tcpip_ex((session), (host), (port), "127.0.0.1", 22)
+
+LIBSSH2_API LIBSSH2_CHANNEL *
+libssh2_channel_direct_streamlocal_ex(LIBSSH2_SESSION * session,
+ const char *socket_path,
+ const char *shost, int sport);
+
+LIBSSH2_API LIBSSH2_LISTENER *
+libssh2_channel_forward_listen_ex(LIBSSH2_SESSION *session, const char *host,
+ int port, int *bound_port,
+ int queue_maxsize);
+#define libssh2_channel_forward_listen(session, port) \
+ libssh2_channel_forward_listen_ex((session), NULL, (port), NULL, 16)
+
+LIBSSH2_API int libssh2_channel_forward_cancel(LIBSSH2_LISTENER *listener);
+
+LIBSSH2_API LIBSSH2_CHANNEL *
+libssh2_channel_forward_accept(LIBSSH2_LISTENER *listener);
+
+LIBSSH2_API int libssh2_channel_setenv_ex(LIBSSH2_CHANNEL *channel,
+ const char *varname,
+ unsigned int varname_len,
+ const char *value,
+ unsigned int value_len);
+
+#define libssh2_channel_setenv(channel, varname, value) \
+ libssh2_channel_setenv_ex((channel), (varname), \
+ (unsigned int)strlen(varname), (value), \
+ (unsigned int)strlen(value))
+
+LIBSSH2_API int libssh2_channel_request_auth_agent(LIBSSH2_CHANNEL *channel);
+
+LIBSSH2_API int libssh2_channel_request_pty_ex(LIBSSH2_CHANNEL *channel,
+ const char *term,
+ unsigned int term_len,
+ const char *modes,
+ unsigned int modes_len,
+ int width, int height,
+ int width_px, int height_px);
+#define libssh2_channel_request_pty(channel, term) \
+ libssh2_channel_request_pty_ex((channel), (term), \
+ (unsigned int)strlen(term), \
+ NULL, 0, \
+ LIBSSH2_TERM_WIDTH, \
+ LIBSSH2_TERM_HEIGHT, \
+ LIBSSH2_TERM_WIDTH_PX, \
+ LIBSSH2_TERM_HEIGHT_PX)
+
+LIBSSH2_API int libssh2_channel_request_pty_size_ex(LIBSSH2_CHANNEL *channel,
+ int width, int height,
+ int width_px,
+ int height_px);
+#define libssh2_channel_request_pty_size(channel, width, height) \
+ libssh2_channel_request_pty_size_ex((channel), (width), (height), 0, 0)
+
+LIBSSH2_API int libssh2_channel_x11_req_ex(LIBSSH2_CHANNEL *channel,
+ int single_connection,
+ const char *auth_proto,
+ const char *auth_cookie,
+ int screen_number);
+#define libssh2_channel_x11_req(channel, screen_number) \
+ libssh2_channel_x11_req_ex((channel), 0, NULL, NULL, (screen_number))
+
+LIBSSH2_API int libssh2_channel_signal_ex(LIBSSH2_CHANNEL *channel,
+ const char *signame,
+ size_t signame_len);
+#define libssh2_channel_signal(channel, signame) \
+ libssh2_channel_signal_ex((channel), signame, strlen(signame))
+
+LIBSSH2_API int libssh2_channel_process_startup(LIBSSH2_CHANNEL *channel,
+ const char *request,
+ unsigned int request_len,
+ const char *message,
+ unsigned int message_len);
+#define libssh2_channel_shell(channel) \
+ libssh2_channel_process_startup((channel), "shell", sizeof("shell") - 1, \
+ NULL, 0)
+#define libssh2_channel_exec(channel, command) \
+ libssh2_channel_process_startup((channel), "exec", sizeof("exec") - 1, \
+ (command), (unsigned int)strlen(command))
+#define libssh2_channel_subsystem(channel, subsystem) \
+ libssh2_channel_process_startup((channel), "subsystem", \
+ sizeof("subsystem") - 1, (subsystem), \
+ (unsigned int)strlen(subsystem))
+
+LIBSSH2_API ssize_t libssh2_channel_read_ex(LIBSSH2_CHANNEL *channel,
+ int stream_id, char *buf,
+ size_t buflen);
+#define libssh2_channel_read(channel, buf, buflen) \
+ libssh2_channel_read_ex((channel), 0, \
+ (buf), (buflen))
+#define libssh2_channel_read_stderr(channel, buf, buflen) \
+ libssh2_channel_read_ex((channel), SSH_EXTENDED_DATA_STDERR, \
+ (buf), (buflen))
+
+LIBSSH2_API int libssh2_poll_channel_read(LIBSSH2_CHANNEL *channel,
+ int extended);
+
+LIBSSH2_API unsigned long
+libssh2_channel_window_read_ex(LIBSSH2_CHANNEL *channel,
+ unsigned long *read_avail,
+ unsigned long *window_size_initial);
+#define libssh2_channel_window_read(channel) \
+ libssh2_channel_window_read_ex((channel), NULL, NULL)
+
+#ifndef LIBSSH2_NO_DEPRECATED
+LIBSSH2_DEPRECATED(1.1.0, "Use libssh2_channel_receive_window_adjust2()")
+LIBSSH2_API unsigned long
+libssh2_channel_receive_window_adjust(LIBSSH2_CHANNEL *channel,
+ unsigned long adjustment,
+ unsigned char force);
+#endif
+LIBSSH2_API int
+libssh2_channel_receive_window_adjust2(LIBSSH2_CHANNEL *channel,
+ unsigned long adjustment,
+ unsigned char force,
+ unsigned int *storewindow);
+
+LIBSSH2_API ssize_t libssh2_channel_write_ex(LIBSSH2_CHANNEL *channel,
+ int stream_id, const char *buf,
+ size_t buflen);
+
+#define libssh2_channel_write(channel, buf, buflen) \
+ libssh2_channel_write_ex((channel), 0, \
+ (buf), (buflen))
+#define libssh2_channel_write_stderr(channel, buf, buflen) \
+ libssh2_channel_write_ex((channel), SSH_EXTENDED_DATA_STDERR, \
+ (buf), (buflen))
+
+LIBSSH2_API unsigned long
+libssh2_channel_window_write_ex(LIBSSH2_CHANNEL *channel,
+ unsigned long *window_size_initial);
+#define libssh2_channel_window_write(channel) \
+ libssh2_channel_window_write_ex((channel), NULL)
+
+LIBSSH2_API void libssh2_session_set_blocking(LIBSSH2_SESSION* session,
+ int blocking);
+LIBSSH2_API int libssh2_session_get_blocking(LIBSSH2_SESSION* session);
+
+LIBSSH2_API void libssh2_channel_set_blocking(LIBSSH2_CHANNEL *channel,
+ int blocking);
+
+LIBSSH2_API void libssh2_session_set_timeout(LIBSSH2_SESSION* session,
+ long timeout);
+LIBSSH2_API long libssh2_session_get_timeout(LIBSSH2_SESSION* session);
+
+LIBSSH2_API void libssh2_session_set_read_timeout(LIBSSH2_SESSION* session,
+ long timeout);
+LIBSSH2_API long libssh2_session_get_read_timeout(LIBSSH2_SESSION* session);
+
+#ifndef LIBSSH2_NO_DEPRECATED
+LIBSSH2_DEPRECATED(1.1.0, "libssh2_channel_handle_extended_data2()")
+LIBSSH2_API void libssh2_channel_handle_extended_data(LIBSSH2_CHANNEL *channel,
+ int ignore_mode);
+#endif
+LIBSSH2_API int libssh2_channel_handle_extended_data2(LIBSSH2_CHANNEL *channel,
+ int ignore_mode);
+
+#ifndef LIBSSH2_NO_DEPRECATED
+/* libssh2_channel_ignore_extended_data() is defined below for BC with version
+ * 0.1
+ *
+ * Future uses should use libssh2_channel_handle_extended_data() directly if
+ * LIBSSH2_CHANNEL_EXTENDED_DATA_MERGE is passed, extended data will be read
+ * (FIFO) from the standard data channel
+ */
+/* DEPRECATED since 0.3.0. Use libssh2_channel_handle_extended_data2(). */
+#define libssh2_channel_ignore_extended_data(channel, ignore) \
+ libssh2_channel_handle_extended_data((channel), (ignore) ? \
+ LIBSSH2_CHANNEL_EXTENDED_DATA_IGNORE : \
+ LIBSSH2_CHANNEL_EXTENDED_DATA_NORMAL)
+#endif
+
+#define LIBSSH2_CHANNEL_FLUSH_EXTENDED_DATA -1
+#define LIBSSH2_CHANNEL_FLUSH_ALL -2
+LIBSSH2_API int libssh2_channel_flush_ex(LIBSSH2_CHANNEL *channel,
+ int streamid);
+#define libssh2_channel_flush(channel) libssh2_channel_flush_ex((channel), 0)
+#define libssh2_channel_flush_stderr(channel) \
+ libssh2_channel_flush_ex((channel), SSH_EXTENDED_DATA_STDERR)
+
+LIBSSH2_API int libssh2_channel_get_exit_status(LIBSSH2_CHANNEL* channel);
+LIBSSH2_API int libssh2_channel_get_exit_signal(LIBSSH2_CHANNEL* channel,
+ char **exitsignal,
+ size_t *exitsignal_len,
+ char **errmsg,
+ size_t *errmsg_len,
+ char **langtag,
+ size_t *langtag_len);
+LIBSSH2_API int libssh2_channel_send_eof(LIBSSH2_CHANNEL *channel);
+LIBSSH2_API int libssh2_channel_eof(LIBSSH2_CHANNEL *channel);
+LIBSSH2_API int libssh2_channel_wait_eof(LIBSSH2_CHANNEL *channel);
+LIBSSH2_API int libssh2_channel_close(LIBSSH2_CHANNEL *channel);
+LIBSSH2_API int libssh2_channel_wait_closed(LIBSSH2_CHANNEL *channel);
+LIBSSH2_API int libssh2_channel_free(LIBSSH2_CHANNEL *channel);
+
+#ifndef LIBSSH2_NO_DEPRECATED
+LIBSSH2_DEPRECATED(1.7.0, "Use libssh2_scp_recv2()")
+LIBSSH2_API LIBSSH2_CHANNEL *libssh2_scp_recv(LIBSSH2_SESSION *session,
+ const char *path,
+ struct stat *sb);
+#endif
+/* Use libssh2_scp_recv2() for large (> 2GB) file support on windows */
+LIBSSH2_API LIBSSH2_CHANNEL *libssh2_scp_recv2(LIBSSH2_SESSION *session,
+ const char *path,
+ libssh2_struct_stat *sb);
+LIBSSH2_API LIBSSH2_CHANNEL *libssh2_scp_send_ex(LIBSSH2_SESSION *session,
+ const char *path, int mode,
+ size_t size, long mtime,
+ long atime);
+LIBSSH2_API LIBSSH2_CHANNEL *
+libssh2_scp_send64(LIBSSH2_SESSION *session, const char *path, int mode,
+ libssh2_int64_t size, time_t mtime, time_t atime);
+
+#define libssh2_scp_send(session, path, mode, size) \
+ libssh2_scp_send_ex((session), (path), (mode), (size), 0, 0)
+
+/* DEPRECATED */
+LIBSSH2_API int libssh2_base64_decode(LIBSSH2_SESSION *session, char **dest,
+ unsigned int *dest_len,
+ const char *src, unsigned int src_len);
+
+LIBSSH2_API
+const char *libssh2_version(int req_version_num);
+
+typedef enum {
+ libssh2_no_crypto = 0,
+ libssh2_openssl,
+ libssh2_gcrypt,
+ libssh2_mbedtls,
+ libssh2_wincng,
+ libssh2_os400qc3
+} libssh2_crypto_engine_t;
+
+LIBSSH2_API
+libssh2_crypto_engine_t libssh2_crypto_engine(void);
+
+#define HAVE_LIBSSH2_KNOWNHOST_API 0x010101 /* since 1.1.1 */
+#define HAVE_LIBSSH2_VERSION_API 0x010100 /* libssh2_version since 1.1 */
+#define HAVE_LIBSSH2_CRYPTOENGINE_API 0x011100 /* libssh2_crypto_engine
+ since 1.11 */
+
+struct libssh2_knownhost {
+ unsigned int magic; /* magic stored by the library */
+ void *node; /* handle to the internal representation of this host */
+ char *name; /* this is NULL if no plain text host name exists */
+ char *key; /* key in base64/printable format */
+ int typemask;
+};
+
+/*
+ * libssh2_knownhost_init()
+ *
+ * Init a collection of known hosts. Returns the pointer to a collection.
+ *
+ */
+LIBSSH2_API LIBSSH2_KNOWNHOSTS *
+libssh2_knownhost_init(LIBSSH2_SESSION *session);
+
+/*
+ * libssh2_knownhost_add()
+ *
+ * Add a host and its associated key to the collection of known hosts.
+ *
+ * The 'type' argument specifies on what format the given host and keys are:
+ *
+ * plain - ascii "hostname.domain.tld"
+ * sha1 - SHA1( ) base64-encoded!
+ * custom - another hash
+ *
+ * If 'sha1' is selected as type, the salt must be provided to the salt
+ * argument. This too base64 encoded.
+ *
+ * The SHA-1 hash is what OpenSSH can be told to use in known_hosts files. If
+ * a custom type is used, salt is ignored and you must provide the host
+ * pre-hashed when checking for it in the libssh2_knownhost_check() function.
+ *
+ * The keylen parameter may be omitted (zero) if the key is provided as a
+ * NULL-terminated base64-encoded string.
+ */
+
+/* host format (2 bits) */
+#define LIBSSH2_KNOWNHOST_TYPE_MASK 0xffff
+#define LIBSSH2_KNOWNHOST_TYPE_PLAIN 1
+#define LIBSSH2_KNOWNHOST_TYPE_SHA1 2 /* always base64 encoded */
+#define LIBSSH2_KNOWNHOST_TYPE_CUSTOM 3
+
+/* key format (2 bits) */
+#define LIBSSH2_KNOWNHOST_KEYENC_MASK (3<<16)
+#define LIBSSH2_KNOWNHOST_KEYENC_RAW (1<<16)
+#define LIBSSH2_KNOWNHOST_KEYENC_BASE64 (2<<16)
+
+/* type of key (4 bits) */
+#define LIBSSH2_KNOWNHOST_KEY_MASK (15<<18)
+#define LIBSSH2_KNOWNHOST_KEY_SHIFT 18
+#define LIBSSH2_KNOWNHOST_KEY_RSA1 (1<<18)
+#define LIBSSH2_KNOWNHOST_KEY_SSHRSA (2<<18)
+#define LIBSSH2_KNOWNHOST_KEY_SSHDSS (3<<18) /* deprecated */
+#define LIBSSH2_KNOWNHOST_KEY_ECDSA_256 (4<<18)
+#define LIBSSH2_KNOWNHOST_KEY_ECDSA_384 (5<<18)
+#define LIBSSH2_KNOWNHOST_KEY_ECDSA_521 (6<<18)
+#define LIBSSH2_KNOWNHOST_KEY_ED25519 (7<<18)
+#define LIBSSH2_KNOWNHOST_KEY_UNKNOWN (15<<18)
+
+LIBSSH2_API int
+libssh2_knownhost_add(LIBSSH2_KNOWNHOSTS *hosts,
+ const char *host,
+ const char *salt,
+ const char *key, size_t keylen, int typemask,
+ struct libssh2_knownhost **store);
+
+/*
+ * libssh2_knownhost_addc()
+ *
+ * Add a host and its associated key to the collection of known hosts.
+ *
+ * Takes a comment argument that may be NULL. A NULL comment indicates
+ * there is no comment and the entry will end directly after the key
+ * when written out to a file. An empty string "" comment will indicate an
+ * empty comment which will cause a single space to be written after the key.
+ *
+ * The 'type' argument specifies on what format the given host and keys are:
+ *
+ * plain - ascii "hostname.domain.tld"
+ * sha1 - SHA1( ) base64-encoded!
+ * custom - another hash
+ *
+ * If 'sha1' is selected as type, the salt must be provided to the salt
+ * argument. This too base64 encoded.
+ *
+ * The SHA-1 hash is what OpenSSH can be told to use in known_hosts files.
+ * If a custom type is used, salt is ignored and you must provide the host
+ * pre-hashed when checking for it in the libssh2_knownhost_check() function.
+ *
+ * The keylen parameter may be omitted (zero) if the key is provided as a
+ * NULL-terminated base64-encoded string.
+ */
+
+LIBSSH2_API int
+libssh2_knownhost_addc(LIBSSH2_KNOWNHOSTS *hosts,
+ const char *host,
+ const char *salt,
+ const char *key, size_t keylen,
+ const char *comment, size_t commentlen, int typemask,
+ struct libssh2_knownhost **store);
+
+/*
+ * libssh2_knownhost_check()
+ *
+ * Check a host and its associated key against the collection of known hosts.
+ *
+ * The type is the type/format of the given host name.
+ *
+ * plain - ascii "hostname.domain.tld"
+ * custom - prehashed base64 encoded. Note that this cannot use any salts.
+ *
+ *
+ * 'knownhost' may be set to NULL if you don't care about that info.
+ *
+ * Returns:
+ *
+ * LIBSSH2_KNOWNHOST_CHECK_* values, see below
+ *
+ */
+
+#define LIBSSH2_KNOWNHOST_CHECK_MATCH 0
+#define LIBSSH2_KNOWNHOST_CHECK_MISMATCH 1
+#define LIBSSH2_KNOWNHOST_CHECK_NOTFOUND 2
+#define LIBSSH2_KNOWNHOST_CHECK_FAILURE 3
+
+LIBSSH2_API int
+libssh2_knownhost_check(LIBSSH2_KNOWNHOSTS *hosts,
+ const char *host, const char *key, size_t keylen,
+ int typemask,
+ struct libssh2_knownhost **knownhost);
+
+/* this function is identital to the above one, but also takes a port
+ argument that allows libssh2 to do a better check */
+LIBSSH2_API int
+libssh2_knownhost_checkp(LIBSSH2_KNOWNHOSTS *hosts,
+ const char *host, int port,
+ const char *key, size_t keylen,
+ int typemask,
+ struct libssh2_knownhost **knownhost);
+
+/*
+ * libssh2_knownhost_del()
+ *
+ * Remove a host from the collection of known hosts. The 'entry' struct is
+ * retrieved by a call to libssh2_knownhost_check().
+ *
+ */
+LIBSSH2_API int
+libssh2_knownhost_del(LIBSSH2_KNOWNHOSTS *hosts,
+ struct libssh2_knownhost *entry);
+
+/*
+ * libssh2_knownhost_free()
+ *
+ * Free an entire collection of known hosts.
+ *
+ */
+LIBSSH2_API void
+libssh2_knownhost_free(LIBSSH2_KNOWNHOSTS *hosts);
+
+/*
+ * libssh2_knownhost_readline()
+ *
+ * Pass in a line of a file of 'type'. It makes libssh2 read this line.
+ *
+ * LIBSSH2_KNOWNHOST_FILE_OPENSSH is the only supported type.
+ *
+ */
+LIBSSH2_API int
+libssh2_knownhost_readline(LIBSSH2_KNOWNHOSTS *hosts,
+ const char *line, size_t len, int type);
+
+/*
+ * libssh2_knownhost_readfile()
+ *
+ * Add hosts+key pairs from a given file.
+ *
+ * Returns a negative value for error or number of successfully added hosts.
+ *
+ * This implementation currently only knows one 'type' (openssh), all others
+ * are reserved for future use.
+ */
+
+#define LIBSSH2_KNOWNHOST_FILE_OPENSSH 1
+
+LIBSSH2_API int
+libssh2_knownhost_readfile(LIBSSH2_KNOWNHOSTS *hosts,
+ const char *filename, int type);
+
+/*
+ * libssh2_knownhost_writeline()
+ *
+ * Ask libssh2 to convert a known host to an output line for storage.
+ *
+ * Note that this function returns LIBSSH2_ERROR_BUFFER_TOO_SMALL if the given
+ * output buffer is too small to hold the desired output.
+ *
+ * This implementation currently only knows one 'type' (openssh), all others
+ * are reserved for future use.
+ *
+ */
+LIBSSH2_API int
+libssh2_knownhost_writeline(LIBSSH2_KNOWNHOSTS *hosts,
+ struct libssh2_knownhost *known,
+ char *buffer, size_t buflen,
+ size_t *outlen, /* the amount of written data */
+ int type);
+
+/*
+ * libssh2_knownhost_writefile()
+ *
+ * Write hosts+key pairs to a given file.
+ *
+ * This implementation currently only knows one 'type' (openssh), all others
+ * are reserved for future use.
+ */
+
+LIBSSH2_API int
+libssh2_knownhost_writefile(LIBSSH2_KNOWNHOSTS *hosts,
+ const char *filename, int type);
+
+/*
+ * libssh2_knownhost_get()
+ *
+ * Traverse the internal list of known hosts. Pass NULL to 'prev' to get
+ * the first one. Or pass a pointer to the previously returned one to get the
+ * next.
+ *
+ * Returns:
+ * 0 if a fine host was stored in 'store'
+ * 1 if end of hosts
+ * [negative] on errors
+ */
+LIBSSH2_API int
+libssh2_knownhost_get(LIBSSH2_KNOWNHOSTS *hosts,
+ struct libssh2_knownhost **store,
+ struct libssh2_knownhost *prev);
+
+#define HAVE_LIBSSH2_AGENT_API 0x010202 /* since 1.2.2 */
+
+struct libssh2_agent_publickey {
+ unsigned int magic; /* magic stored by the library */
+ void *node; /* handle to the internal representation of key */
+ unsigned char *blob; /* public key blob */
+ size_t blob_len; /* length of the public key blob */
+ char *comment; /* comment in printable format */
+};
+
+/*
+ * libssh2_agent_init()
+ *
+ * Init an ssh-agent handle. Returns the pointer to the handle.
+ *
+ */
+LIBSSH2_API LIBSSH2_AGENT *
+libssh2_agent_init(LIBSSH2_SESSION *session);
+
+/*
+ * libssh2_agent_connect()
+ *
+ * Connect to an ssh-agent.
+ *
+ * Returns 0 if succeeded, or a negative value for error.
+ */
+LIBSSH2_API int
+libssh2_agent_connect(LIBSSH2_AGENT *agent);
+
+/*
+ * libssh2_agent_list_identities()
+ *
+ * Request an ssh-agent to list identities.
+ *
+ * Returns 0 if succeeded, or a negative value for error.
+ */
+LIBSSH2_API int
+libssh2_agent_list_identities(LIBSSH2_AGENT *agent);
+
+/*
+ * libssh2_agent_get_identity()
+ *
+ * Traverse the internal list of public keys. Pass NULL to 'prev' to get
+ * the first one. Or pass a pointer to the previously returned one to get the
+ * next.
+ *
+ * Returns:
+ * 0 if a fine public key was stored in 'store'
+ * 1 if end of public keys
+ * [negative] on errors
+ */
+LIBSSH2_API int
+libssh2_agent_get_identity(LIBSSH2_AGENT *agent,
+ struct libssh2_agent_publickey **store,
+ struct libssh2_agent_publickey *prev);
+
+/*
+ * libssh2_agent_userauth()
+ *
+ * Do publickey user authentication with the help of ssh-agent.
+ *
+ * Returns 0 if succeeded, or a negative value for error.
+ */
+LIBSSH2_API int
+libssh2_agent_userauth(LIBSSH2_AGENT *agent,
+ const char *username,
+ struct libssh2_agent_publickey *identity);
+
+/*
+ * libssh2_agent_sign()
+ *
+ * Sign a payload using a system-installed ssh-agent.
+ *
+ * Returns 0 if succeeded, or a negative value for error.
+ */
+LIBSSH2_API int
+libssh2_agent_sign(LIBSSH2_AGENT *agent,
+ struct libssh2_agent_publickey *identity,
+ unsigned char **sig,
+ size_t *s_len,
+ const unsigned char *data,
+ size_t d_len,
+ const char *method,
+ unsigned int method_len);
+
+/*
+ * libssh2_agent_disconnect()
+ *
+ * Close a connection to an ssh-agent.
+ *
+ * Returns 0 if succeeded, or a negative value for error.
+ */
+LIBSSH2_API int
+libssh2_agent_disconnect(LIBSSH2_AGENT *agent);
+
+/*
+ * libssh2_agent_free()
+ *
+ * Free an ssh-agent handle. This function also frees the internal
+ * collection of public keys.
+ */
+LIBSSH2_API void
+libssh2_agent_free(LIBSSH2_AGENT *agent);
+
+/*
+ * libssh2_agent_set_identity_path()
+ *
+ * Allows a custom agent identity socket path beyond SSH_AUTH_SOCK env
+ *
+ */
+LIBSSH2_API void
+libssh2_agent_set_identity_path(LIBSSH2_AGENT *agent,
+ const char *path);
+
+/*
+ * libssh2_agent_get_identity_path()
+ *
+ * Returns the custom agent identity socket path if set
+ *
+ */
+LIBSSH2_API const char *
+libssh2_agent_get_identity_path(LIBSSH2_AGENT *agent);
+
+/*
+ * libssh2_keepalive_config()
+ *
+ * Set how often keepalive messages should be sent. WANT_REPLY
+ * indicates whether the keepalive messages should request a response
+ * from the server. INTERVAL is number of seconds that can pass
+ * without any I/O, use 0 (the default) to disable keepalives. To
+ * avoid some busy-loop corner-cases, if you specify an interval of 1
+ * it will be treated as 2.
+ *
+ * Note that non-blocking applications are responsible for sending the
+ * keepalive messages using libssh2_keepalive_send().
+ */
+LIBSSH2_API void libssh2_keepalive_config(LIBSSH2_SESSION *session,
+ int want_reply,
+ unsigned int interval);
+
+/*
+ * libssh2_keepalive_send()
+ *
+ * Send a keepalive message if needed. SECONDS_TO_NEXT indicates how
+ * many seconds you can sleep after this call before you need to call
+ * it again. Returns 0 on success, or LIBSSH2_ERROR_SOCKET_SEND on
+ * I/O errors.
+ */
+LIBSSH2_API int libssh2_keepalive_send(LIBSSH2_SESSION *session,
+ int *seconds_to_next);
+
+/* NOTE NOTE NOTE
+ libssh2_trace() has no function in builds that aren't built with debug
+ enabled
+ */
+LIBSSH2_API int libssh2_trace(LIBSSH2_SESSION *session, int bitmask);
+#define LIBSSH2_TRACE_TRANS (1<<1)
+#define LIBSSH2_TRACE_KEX (1<<2)
+#define LIBSSH2_TRACE_AUTH (1<<3)
+#define LIBSSH2_TRACE_CONN (1<<4)
+#define LIBSSH2_TRACE_SCP (1<<5)
+#define LIBSSH2_TRACE_SFTP (1<<6)
+#define LIBSSH2_TRACE_ERROR (1<<7)
+#define LIBSSH2_TRACE_PUBLICKEY (1<<8)
+#define LIBSSH2_TRACE_SOCKET (1<<9)
+
+typedef void (*libssh2_trace_handler_func)(LIBSSH2_SESSION*,
+ void *,
+ const char *,
+ size_t);
+LIBSSH2_API int libssh2_trace_sethandler(LIBSSH2_SESSION *session,
+ void *context,
+ libssh2_trace_handler_func callback);
+
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
+#endif /* !RC_INVOKED */
+
+#endif /* LIBSSH2_H */
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/include/libssh2_publickey.h b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/include/libssh2_publickey.h
new file mode 100644
index 0000000000000000000000000000000000000000..566acd6533e28a0d257b28fab5069695e1f34bd4
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/include/libssh2_publickey.h
@@ -0,0 +1,128 @@
+/* Copyright (C) Sara Golemon
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms,
+ * with or without modification, are permitted provided
+ * that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above
+ * copyright notice, this list of conditions and the
+ * following disclaimer.
+ *
+ * Redistributions in binary form must reproduce the above
+ * copyright notice, this list of conditions and the following
+ * disclaimer in the documentation and/or other materials
+ * provided with the distribution.
+ *
+ * Neither the name of the copyright holder nor the names
+ * of any other contributors may be used to endorse or
+ * promote products derived from this software without
+ * specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
+ * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
+ * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
+ * OF SUCH DAMAGE.
+ */
+
+/* Note: This include file is only needed for using the
+ * publickey SUBSYSTEM which is not the same as publickey
+ * authentication. For authentication you only need libssh2.h
+ *
+ * For more information on the publickey subsystem,
+ * refer to IETF draft: secsh-publickey
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+#ifndef LIBSSH2_PUBLICKEY_H
+#define LIBSSH2_PUBLICKEY_H 1
+
+#include "libssh2.h"
+
+typedef struct _LIBSSH2_PUBLICKEY LIBSSH2_PUBLICKEY;
+
+typedef struct _libssh2_publickey_attribute {
+ const char *name;
+ unsigned long name_len;
+ const char *value;
+ unsigned long value_len;
+ char mandatory;
+} libssh2_publickey_attribute;
+
+typedef struct _libssh2_publickey_list {
+ unsigned char *packet; /* For freeing */
+
+ const unsigned char *name;
+ unsigned long name_len;
+ const unsigned char *blob;
+ unsigned long blob_len;
+ unsigned long num_attrs;
+ libssh2_publickey_attribute *attrs; /* free me */
+} libssh2_publickey_list;
+
+/* Generally use the first macro here, but if both name and value are string
+ literals, you can use _fast() to take advantage of preprocessing */
+#define libssh2_publickey_attribute(name, value, mandatory) \
+ { (name), strlen(name), (value), strlen(value), (mandatory) },
+#define libssh2_publickey_attribute_fast(name, value, mandatory) \
+ { (name), sizeof(name) - 1, (value), sizeof(value) - 1, (mandatory) },
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Publickey Subsystem */
+LIBSSH2_API LIBSSH2_PUBLICKEY *
+libssh2_publickey_init(LIBSSH2_SESSION *session);
+
+LIBSSH2_API 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[]);
+#define libssh2_publickey_add(pkey, name, blob, blob_len, overwrite, \
+ num_attrs, attrs) \
+ libssh2_publickey_add_ex((pkey), \
+ (name), strlen(name), \
+ (blob), (blob_len), \
+ (overwrite), (num_attrs), (attrs))
+
+LIBSSH2_API int libssh2_publickey_remove_ex(LIBSSH2_PUBLICKEY *pkey,
+ const unsigned char *name,
+ unsigned long name_len,
+ const unsigned char *blob,
+ unsigned long blob_len);
+#define libssh2_publickey_remove(pkey, name, blob, blob_len) \
+ libssh2_publickey_remove_ex((pkey), \
+ (name), strlen(name), \
+ (blob), (blob_len))
+
+LIBSSH2_API int
+libssh2_publickey_list_fetch(LIBSSH2_PUBLICKEY *pkey,
+ unsigned long *num_keys,
+ libssh2_publickey_list **pkey_list);
+LIBSSH2_API void
+libssh2_publickey_list_free(LIBSSH2_PUBLICKEY *pkey,
+ libssh2_publickey_list *pkey_list);
+
+LIBSSH2_API int libssh2_publickey_shutdown(LIBSSH2_PUBLICKEY *pkey);
+
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
+#endif /* LIBSSH2_PUBLICKEY_H */
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/include/libssh2_sftp.h b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/include/libssh2_sftp.h
new file mode 100644
index 0000000000000000000000000000000000000000..ab7b0af4deb51441b30858550b79d2029db54c76
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/include/libssh2_sftp.h
@@ -0,0 +1,382 @@
+/* Copyright (C) Sara Golemon
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms,
+ * with or without modification, are permitted provided
+ * that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above
+ * copyright notice, this list of conditions and the
+ * following disclaimer.
+ *
+ * Redistributions in binary form must reproduce the above
+ * copyright notice, this list of conditions and the following
+ * disclaimer in the documentation and/or other materials
+ * provided with the distribution.
+ *
+ * Neither the name of the copyright holder nor the names
+ * of any other contributors may be used to endorse or
+ * promote products derived from this software without
+ * specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
+ * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
+ * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
+ * OF SUCH DAMAGE.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+#ifndef LIBSSH2_SFTP_H
+#define LIBSSH2_SFTP_H 1
+
+#include "libssh2.h"
+
+#ifndef _WIN32
+#include
+#endif
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Note: Version 6 was documented at the time of writing
+ * However it was marked as "DO NOT IMPLEMENT" due to pending changes
+ *
+ * Let's start with Version 3 (The version found in OpenSSH) and go from there
+ */
+#define LIBSSH2_SFTP_VERSION 3
+
+typedef struct _LIBSSH2_SFTP LIBSSH2_SFTP;
+typedef struct _LIBSSH2_SFTP_HANDLE LIBSSH2_SFTP_HANDLE;
+typedef struct _LIBSSH2_SFTP_ATTRIBUTES LIBSSH2_SFTP_ATTRIBUTES;
+typedef struct _LIBSSH2_SFTP_STATVFS LIBSSH2_SFTP_STATVFS;
+
+/* Flags for open_ex() */
+#define LIBSSH2_SFTP_OPENFILE 0
+#define LIBSSH2_SFTP_OPENDIR 1
+
+/* Flags for rename_ex() */
+#define LIBSSH2_SFTP_RENAME_OVERWRITE 0x00000001
+#define LIBSSH2_SFTP_RENAME_ATOMIC 0x00000002
+#define LIBSSH2_SFTP_RENAME_NATIVE 0x00000004
+
+/* Flags for stat_ex() */
+#define LIBSSH2_SFTP_STAT 0
+#define LIBSSH2_SFTP_LSTAT 1
+#define LIBSSH2_SFTP_SETSTAT 2
+
+/* Flags for symlink_ex() */
+#define LIBSSH2_SFTP_SYMLINK 0
+#define LIBSSH2_SFTP_READLINK 1
+#define LIBSSH2_SFTP_REALPATH 2
+
+/* Flags for sftp_mkdir() */
+#define LIBSSH2_SFTP_DEFAULT_MODE -1
+
+/* SFTP attribute flag bits */
+#define LIBSSH2_SFTP_ATTR_SIZE 0x00000001
+#define LIBSSH2_SFTP_ATTR_UIDGID 0x00000002
+#define LIBSSH2_SFTP_ATTR_PERMISSIONS 0x00000004
+#define LIBSSH2_SFTP_ATTR_ACMODTIME 0x00000008
+#define LIBSSH2_SFTP_ATTR_EXTENDED 0x80000000
+
+/* SFTP statvfs flag bits */
+#define LIBSSH2_SFTP_ST_RDONLY 0x00000001
+#define LIBSSH2_SFTP_ST_NOSUID 0x00000002
+
+struct _LIBSSH2_SFTP_ATTRIBUTES {
+ /* If flags & ATTR_* bit is set, then the value in this struct will be
+ * meaningful Otherwise it should be ignored
+ */
+ unsigned long flags;
+
+ libssh2_uint64_t filesize;
+ unsigned long uid, gid;
+ unsigned long permissions;
+ unsigned long atime, mtime;
+};
+
+struct _LIBSSH2_SFTP_STATVFS {
+ libssh2_uint64_t f_bsize; /* file system block size */
+ libssh2_uint64_t f_frsize; /* fragment size */
+ libssh2_uint64_t f_blocks; /* size of fs in f_frsize units */
+ libssh2_uint64_t f_bfree; /* # free blocks */
+ libssh2_uint64_t f_bavail; /* # free blocks for non-root */
+ libssh2_uint64_t f_files; /* # inodes */
+ libssh2_uint64_t f_ffree; /* # free inodes */
+ libssh2_uint64_t f_favail; /* # free inodes for non-root */
+ libssh2_uint64_t f_fsid; /* file system ID */
+ libssh2_uint64_t f_flag; /* mount flags */
+ libssh2_uint64_t f_namemax; /* maximum filename length */
+};
+
+/* SFTP filetypes */
+#define LIBSSH2_SFTP_TYPE_REGULAR 1
+#define LIBSSH2_SFTP_TYPE_DIRECTORY 2
+#define LIBSSH2_SFTP_TYPE_SYMLINK 3
+#define LIBSSH2_SFTP_TYPE_SPECIAL 4
+#define LIBSSH2_SFTP_TYPE_UNKNOWN 5
+#define LIBSSH2_SFTP_TYPE_SOCKET 6
+#define LIBSSH2_SFTP_TYPE_CHAR_DEVICE 7
+#define LIBSSH2_SFTP_TYPE_BLOCK_DEVICE 8
+#define LIBSSH2_SFTP_TYPE_FIFO 9
+
+/*
+ * Reproduce the POSIX file modes here for systems that are not POSIX
+ * compliant.
+ *
+ * These is used in "permissions" of "struct _LIBSSH2_SFTP_ATTRIBUTES"
+ */
+/* File type */
+#define LIBSSH2_SFTP_S_IFMT 0170000 /* type of file mask */
+#define LIBSSH2_SFTP_S_IFIFO 0010000 /* named pipe (fifo) */
+#define LIBSSH2_SFTP_S_IFCHR 0020000 /* character special */
+#define LIBSSH2_SFTP_S_IFDIR 0040000 /* directory */
+#define LIBSSH2_SFTP_S_IFBLK 0060000 /* block special */
+#define LIBSSH2_SFTP_S_IFREG 0100000 /* regular */
+#define LIBSSH2_SFTP_S_IFLNK 0120000 /* symbolic link */
+#define LIBSSH2_SFTP_S_IFSOCK 0140000 /* socket */
+
+/* File mode */
+/* Read, write, execute/search by owner */
+#define LIBSSH2_SFTP_S_IRWXU 0000700 /* RWX mask for owner */
+#define LIBSSH2_SFTP_S_IRUSR 0000400 /* R for owner */
+#define LIBSSH2_SFTP_S_IWUSR 0000200 /* W for owner */
+#define LIBSSH2_SFTP_S_IXUSR 0000100 /* X for owner */
+/* Read, write, execute/search by group */
+#define LIBSSH2_SFTP_S_IRWXG 0000070 /* RWX mask for group */
+#define LIBSSH2_SFTP_S_IRGRP 0000040 /* R for group */
+#define LIBSSH2_SFTP_S_IWGRP 0000020 /* W for group */
+#define LIBSSH2_SFTP_S_IXGRP 0000010 /* X for group */
+/* Read, write, execute/search by others */
+#define LIBSSH2_SFTP_S_IRWXO 0000007 /* RWX mask for other */
+#define LIBSSH2_SFTP_S_IROTH 0000004 /* R for other */
+#define LIBSSH2_SFTP_S_IWOTH 0000002 /* W for other */
+#define LIBSSH2_SFTP_S_IXOTH 0000001 /* X for other */
+
+/* macros to check for specific file types, added in 1.2.5 */
+#define LIBSSH2_SFTP_S_ISLNK(m) \
+ (((m) & LIBSSH2_SFTP_S_IFMT) == LIBSSH2_SFTP_S_IFLNK)
+#define LIBSSH2_SFTP_S_ISREG(m) \
+ (((m) & LIBSSH2_SFTP_S_IFMT) == LIBSSH2_SFTP_S_IFREG)
+#define LIBSSH2_SFTP_S_ISDIR(m) \
+ (((m) & LIBSSH2_SFTP_S_IFMT) == LIBSSH2_SFTP_S_IFDIR)
+#define LIBSSH2_SFTP_S_ISCHR(m) \
+ (((m) & LIBSSH2_SFTP_S_IFMT) == LIBSSH2_SFTP_S_IFCHR)
+#define LIBSSH2_SFTP_S_ISBLK(m) \
+ (((m) & LIBSSH2_SFTP_S_IFMT) == LIBSSH2_SFTP_S_IFBLK)
+#define LIBSSH2_SFTP_S_ISFIFO(m) \
+ (((m) & LIBSSH2_SFTP_S_IFMT) == LIBSSH2_SFTP_S_IFIFO)
+#define LIBSSH2_SFTP_S_ISSOCK(m) \
+ (((m) & LIBSSH2_SFTP_S_IFMT) == LIBSSH2_SFTP_S_IFSOCK)
+
+/* SFTP File Transfer Flags -- (e.g. flags parameter to sftp_open())
+ * Danger will robinson... APPEND doesn't have any effect on OpenSSH servers */
+#define LIBSSH2_FXF_READ 0x00000001
+#define LIBSSH2_FXF_WRITE 0x00000002
+#define LIBSSH2_FXF_APPEND 0x00000004
+#define LIBSSH2_FXF_CREAT 0x00000008
+#define LIBSSH2_FXF_TRUNC 0x00000010
+#define LIBSSH2_FXF_EXCL 0x00000020
+
+/* SFTP Status Codes (returned by libssh2_sftp_last_error() ) */
+#define LIBSSH2_FX_OK 0UL
+#define LIBSSH2_FX_EOF 1UL
+#define LIBSSH2_FX_NO_SUCH_FILE 2UL
+#define LIBSSH2_FX_PERMISSION_DENIED 3UL
+#define LIBSSH2_FX_FAILURE 4UL
+#define LIBSSH2_FX_BAD_MESSAGE 5UL
+#define LIBSSH2_FX_NO_CONNECTION 6UL
+#define LIBSSH2_FX_CONNECTION_LOST 7UL
+#define LIBSSH2_FX_OP_UNSUPPORTED 8UL
+#define LIBSSH2_FX_INVALID_HANDLE 9UL
+#define LIBSSH2_FX_NO_SUCH_PATH 10UL
+#define LIBSSH2_FX_FILE_ALREADY_EXISTS 11UL
+#define LIBSSH2_FX_WRITE_PROTECT 12UL
+#define LIBSSH2_FX_NO_MEDIA 13UL
+#define LIBSSH2_FX_NO_SPACE_ON_FILESYSTEM 14UL
+#define LIBSSH2_FX_QUOTA_EXCEEDED 15UL
+#define LIBSSH2_FX_UNKNOWN_PRINCIPLE 16UL /* Initial mis-spelling */
+#define LIBSSH2_FX_UNKNOWN_PRINCIPAL 16UL
+#define LIBSSH2_FX_LOCK_CONFlICT 17UL /* Initial mis-spelling */
+#define LIBSSH2_FX_LOCK_CONFLICT 17UL
+#define LIBSSH2_FX_DIR_NOT_EMPTY 18UL
+#define LIBSSH2_FX_NOT_A_DIRECTORY 19UL
+#define LIBSSH2_FX_INVALID_FILENAME 20UL
+#define LIBSSH2_FX_LINK_LOOP 21UL
+
+/* Returned by any function that would block during a read/write operation */
+#define LIBSSH2SFTP_EAGAIN LIBSSH2_ERROR_EAGAIN
+
+/* SFTP API */
+LIBSSH2_API LIBSSH2_SFTP *libssh2_sftp_init(LIBSSH2_SESSION *session);
+LIBSSH2_API int libssh2_sftp_shutdown(LIBSSH2_SFTP *sftp);
+LIBSSH2_API unsigned long libssh2_sftp_last_error(LIBSSH2_SFTP *sftp);
+LIBSSH2_API LIBSSH2_CHANNEL *libssh2_sftp_get_channel(LIBSSH2_SFTP *sftp);
+
+/* File / Directory Ops */
+LIBSSH2_API LIBSSH2_SFTP_HANDLE *
+libssh2_sftp_open_ex(LIBSSH2_SFTP *sftp,
+ const char *filename,
+ unsigned int filename_len,
+ unsigned long flags,
+ long mode, int open_type);
+#define libssh2_sftp_open(sftp, filename, flags, mode) \
+ libssh2_sftp_open_ex((sftp), \
+ (filename), (unsigned int)strlen(filename), \
+ (flags), (mode), LIBSSH2_SFTP_OPENFILE)
+#define libssh2_sftp_opendir(sftp, path) \
+ libssh2_sftp_open_ex((sftp), \
+ (path), (unsigned int)strlen(path), \
+ 0, 0, LIBSSH2_SFTP_OPENDIR)
+LIBSSH2_API LIBSSH2_SFTP_HANDLE *
+libssh2_sftp_open_ex_r(LIBSSH2_SFTP *sftp,
+ const char *filename,
+ size_t filename_len,
+ unsigned long flags,
+ long mode, int open_type,
+ LIBSSH2_SFTP_ATTRIBUTES *attrs);
+#define libssh2_sftp_open_r(sftp, filename, flags, mode, attrs) \
+ libssh2_sftp_open_ex_r((sftp), (filename), strlen(filename), \
+ (flags), (mode), LIBSSH2_SFTP_OPENFILE, \
+ (attrs))
+
+LIBSSH2_API ssize_t libssh2_sftp_read(LIBSSH2_SFTP_HANDLE *handle,
+ char *buffer, size_t buffer_maxlen);
+
+LIBSSH2_API int libssh2_sftp_readdir_ex(LIBSSH2_SFTP_HANDLE *handle, \
+ char *buffer, size_t buffer_maxlen,
+ char *longentry,
+ size_t longentry_maxlen,
+ LIBSSH2_SFTP_ATTRIBUTES *attrs);
+#define libssh2_sftp_readdir(handle, buffer, buffer_maxlen, attrs) \
+ libssh2_sftp_readdir_ex((handle), (buffer), (buffer_maxlen), NULL, 0, \
+ (attrs))
+
+LIBSSH2_API ssize_t libssh2_sftp_write(LIBSSH2_SFTP_HANDLE *handle,
+ const char *buffer, size_t count);
+LIBSSH2_API int libssh2_sftp_fsync(LIBSSH2_SFTP_HANDLE *handle);
+
+LIBSSH2_API int libssh2_sftp_close_handle(LIBSSH2_SFTP_HANDLE *handle);
+#define libssh2_sftp_close(handle) libssh2_sftp_close_handle(handle)
+#define libssh2_sftp_closedir(handle) libssh2_sftp_close_handle(handle)
+
+LIBSSH2_API void libssh2_sftp_seek(LIBSSH2_SFTP_HANDLE *handle, size_t offset);
+LIBSSH2_API void libssh2_sftp_seek64(LIBSSH2_SFTP_HANDLE *handle,
+ libssh2_uint64_t offset);
+#define libssh2_sftp_rewind(handle) libssh2_sftp_seek64((handle), 0)
+
+LIBSSH2_API size_t libssh2_sftp_tell(LIBSSH2_SFTP_HANDLE *handle);
+LIBSSH2_API libssh2_uint64_t libssh2_sftp_tell64(LIBSSH2_SFTP_HANDLE *handle);
+
+LIBSSH2_API int libssh2_sftp_fstat_ex(LIBSSH2_SFTP_HANDLE *handle,
+ LIBSSH2_SFTP_ATTRIBUTES *attrs,
+ int setstat);
+#define libssh2_sftp_fstat(handle, attrs) \
+ libssh2_sftp_fstat_ex((handle), (attrs), 0)
+#define libssh2_sftp_fsetstat(handle, attrs) \
+ libssh2_sftp_fstat_ex((handle), (attrs), 1)
+
+/* Miscellaneous Ops */
+LIBSSH2_API int libssh2_sftp_rename_ex(LIBSSH2_SFTP *sftp,
+ const char *source_filename,
+ unsigned int srouce_filename_len,
+ const char *dest_filename,
+ unsigned int dest_filename_len,
+ long flags);
+#define libssh2_sftp_rename(sftp, sourcefile, destfile) \
+ libssh2_sftp_rename_ex((sftp), \
+ (sourcefile), (unsigned int)strlen(sourcefile), \
+ (destfile), (unsigned int)strlen(destfile), \
+ LIBSSH2_SFTP_RENAME_OVERWRITE | \
+ LIBSSH2_SFTP_RENAME_ATOMIC | \
+ LIBSSH2_SFTP_RENAME_NATIVE)
+
+LIBSSH2_API int libssh2_sftp_posix_rename_ex(LIBSSH2_SFTP *sftp,
+ const char *source_filename,
+ size_t srouce_filename_len,
+ const char *dest_filename,
+ size_t dest_filename_len);
+#define libssh2_sftp_posix_rename(sftp, sourcefile, destfile) \
+ libssh2_sftp_posix_rename_ex((sftp), (sourcefile), strlen(sourcefile), \
+ (destfile), strlen(destfile))
+
+LIBSSH2_API int libssh2_sftp_unlink_ex(LIBSSH2_SFTP *sftp,
+ const char *filename,
+ unsigned int filename_len);
+#define libssh2_sftp_unlink(sftp, filename) \
+ libssh2_sftp_unlink_ex((sftp), (filename), (unsigned int)strlen(filename))
+
+LIBSSH2_API int libssh2_sftp_fstatvfs(LIBSSH2_SFTP_HANDLE *handle,
+ LIBSSH2_SFTP_STATVFS *st);
+
+LIBSSH2_API int libssh2_sftp_statvfs(LIBSSH2_SFTP *sftp,
+ const char *path,
+ size_t path_len,
+ LIBSSH2_SFTP_STATVFS *st);
+
+LIBSSH2_API int libssh2_sftp_mkdir_ex(LIBSSH2_SFTP *sftp,
+ const char *path,
+ unsigned int path_len, long mode);
+#define libssh2_sftp_mkdir(sftp, path, mode) \
+ libssh2_sftp_mkdir_ex((sftp), (path), (unsigned int)strlen(path), (mode))
+
+LIBSSH2_API int libssh2_sftp_rmdir_ex(LIBSSH2_SFTP *sftp,
+ const char *path,
+ unsigned int path_len);
+#define libssh2_sftp_rmdir(sftp, path) \
+ libssh2_sftp_rmdir_ex((sftp), (path), (unsigned int)strlen(path))
+
+LIBSSH2_API int libssh2_sftp_stat_ex(LIBSSH2_SFTP *sftp,
+ const char *path,
+ unsigned int path_len,
+ int stat_type,
+ LIBSSH2_SFTP_ATTRIBUTES *attrs);
+#define libssh2_sftp_stat(sftp, path, attrs) \
+ libssh2_sftp_stat_ex((sftp), (path), (unsigned int)strlen(path), \
+ LIBSSH2_SFTP_STAT, (attrs))
+#define libssh2_sftp_lstat(sftp, path, attrs) \
+ libssh2_sftp_stat_ex((sftp), (path), (unsigned int)strlen(path), \
+ LIBSSH2_SFTP_LSTAT, (attrs))
+#define libssh2_sftp_setstat(sftp, path, attrs) \
+ libssh2_sftp_stat_ex((sftp), (path), (unsigned int)strlen(path), \
+ LIBSSH2_SFTP_SETSTAT, (attrs))
+
+LIBSSH2_API int libssh2_sftp_symlink_ex(LIBSSH2_SFTP *sftp,
+ const char *path,
+ unsigned int path_len,
+ char *target,
+ unsigned int target_len,
+ int link_type);
+#define libssh2_sftp_symlink(sftp, orig, linkpath) \
+ libssh2_sftp_symlink_ex((sftp), \
+ (orig), (unsigned int)strlen(orig), \
+ (linkpath), (unsigned int)strlen(linkpath), \
+ LIBSSH2_SFTP_SYMLINK)
+#define libssh2_sftp_readlink(sftp, path, target, maxlen) \
+ libssh2_sftp_symlink_ex((sftp), \
+ (path), (unsigned int)strlen(path), \
+ (target), (maxlen), \
+ LIBSSH2_SFTP_READLINK)
+#define libssh2_sftp_realpath(sftp, path, target, maxlen) \
+ libssh2_sftp_symlink_ex((sftp), \
+ (path), (unsigned int)strlen(path), \
+ (target), (maxlen), \
+ LIBSSH2_SFTP_REALPATH)
+
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
+#endif /* LIBSSH2_SFTP_H */
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/about.json b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/about.json
new file mode 100644
index 0000000000000000000000000000000000000000..585fa473121fc878ef7c1af9416ff35dce74095e
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/about.json
@@ -0,0 +1,131 @@
+{
+ "channels": [
+ "https://repo.anaconda.com/pkgs/main"
+ ],
+ "conda_build_version": "24.1.2",
+ "conda_version": "24.1.2",
+ "description": "libssh2 is a library implementing the SSH2 protocol, available under the revised BSD license.\n",
+ "dev_url": "https://github.com/libssh2/libssh2",
+ "doc_url": "https://www.libssh2.org/docs.html",
+ "env_vars": {
+ "CIO_TEST": ""
+ },
+ "extra": {
+ "copy_test_source_files": true,
+ "final": true,
+ "flow_run_id": "4b0cea38-9e15-42af-bd4a-1ec053c9b0d5",
+ "recipe-maintainers": [
+ "shadowwalkersb"
+ ],
+ "remote_url": "git@github.com:AnacondaRecipes/libssh2-feedstock.git",
+ "sha": "ccf17c18a57eafac668302e8b68bd89ce4526611"
+ },
+ "home": "https://www.libssh2.org/",
+ "identifiers": [],
+ "keywords": [],
+ "license": "BSD-3-Clause",
+ "license_family": "BSD",
+ "license_file": "COPYING",
+ "root_pkgs": [
+ "_libgcc_mutex 0.1 main",
+ "_openmp_mutex 5.1 1_gnu",
+ "archspec 0.2.1 pyhd3eb1b0_0",
+ "boltons 23.0.0 py39h06a4308_0",
+ "brotli-python 1.0.9 py39h6a678d5_7",
+ "bzip2 1.0.8 h7b6447c_0",
+ "c-ares 1.19.1 h5eee18b_0",
+ "charset-normalizer 2.0.4 pyhd3eb1b0_0",
+ "conda-content-trust 0.2.0 py39h06a4308_0",
+ "conda-package-handling 2.2.0 py39h06a4308_0",
+ "conda-package-streaming 0.9.0 py39h06a4308_0",
+ "fmt 9.1.0 hdb19cb5_0",
+ "icu 73.1 h6a678d5_0",
+ "idna 3.4 py39h06a4308_0",
+ "jsonpatch 1.32 pyhd3eb1b0_0",
+ "jsonpointer 2.1 pyhd3eb1b0_0",
+ "krb5 1.20.1 h143b758_1",
+ "ld_impl_linux-64 2.38 h1181459_1",
+ "libarchive 3.6.2 h6ac8c49_2",
+ "libev 4.33 h7f8727e_1",
+ "libffi 3.4.4 h6a678d5_0",
+ "libgcc-ng 11.2.0 h1234567_1",
+ "libgomp 11.2.0 h1234567_1",
+ "libnghttp2 1.57.0 h2d74bed_0",
+ "libsolv 0.7.24 he621ea3_0",
+ "libssh2 1.10.0 hdbd6064_2",
+ "libstdcxx-ng 11.2.0 h1234567_1",
+ "libxml2 2.10.4 hf1b16e4_1",
+ "lz4-c 1.9.4 h6a678d5_0",
+ "ncurses 6.4 h6a678d5_0",
+ "packaging 23.1 py39h06a4308_0",
+ "pcre2 10.42 hebb0a14_0",
+ "pluggy 1.0.0 py39h06a4308_1",
+ "pybind11-abi 4 hd3eb1b0_1",
+ "pycosat 0.6.6 py39h5eee18b_0",
+ "pycparser 2.21 pyhd3eb1b0_0",
+ "pysocks 1.7.1 py39h06a4308_0",
+ "python 3.9.18 h955ad1f_0",
+ "readline 8.2 h5eee18b_0",
+ "reproc 14.2.4 h295c915_1",
+ "reproc-cpp 14.2.4 h295c915_1",
+ "ruamel.yaml 0.17.21 py39h5eee18b_0",
+ "ruamel.yaml.clib 0.2.6 py39h5eee18b_1",
+ "sqlite 3.41.2 h5eee18b_0",
+ "tk 8.6.12 h1ccaba5_0",
+ "tqdm 4.65.0 py39hb070fc8_0",
+ "wheel 0.41.2 py39h06a4308_0",
+ "yaml-cpp 0.8.0 h6a678d5_0",
+ "zlib 1.2.13 h5eee18b_0",
+ "zstandard 0.19.0 py39h5eee18b_0",
+ "zstd 1.5.5 hc292b87_0",
+ "attrs 23.1.0 py39h06a4308_0",
+ "beautifulsoup4 4.12.2 py39h06a4308_0",
+ "ca-certificates 2023.12.12 h06a4308_0",
+ "certifi 2024.2.2 py39h06a4308_0",
+ "cffi 1.16.0 py39h5eee18b_0",
+ "chardet 4.0.0 py39h06a4308_1003",
+ "click 8.1.7 py39h06a4308_0",
+ "conda 24.1.2 py39h06a4308_0",
+ "conda-build 24.1.2 py39h06a4308_0",
+ "conda-index 0.4.0 pyhd3eb1b0_0",
+ "conda-libmamba-solver 24.1.0 pyhd3eb1b0_0",
+ "cryptography 42.0.2 py39hdda0065_0",
+ "distro 1.8.0 py39h06a4308_0",
+ "filelock 3.13.1 py39h06a4308_0",
+ "jinja2 3.1.3 py39h06a4308_0",
+ "jsonschema 4.19.2 py39h06a4308_0",
+ "jsonschema-specifications 2023.7.1 py39h06a4308_0",
+ "libcurl 8.5.0 h251f7ec_0",
+ "libedit 3.1.20230828 h5eee18b_0",
+ "liblief 0.12.3 h6a678d5_0",
+ "libmamba 1.5.6 haf1ee3a_0",
+ "libmambapy 1.5.6 py39h2dafd23_0",
+ "markupsafe 2.1.3 py39h5eee18b_0",
+ "menuinst 2.0.2 py39h06a4308_0",
+ "more-itertools 10.1.0 py39h06a4308_0",
+ "openssl 3.0.13 h7f8727e_0",
+ "patch 2.7.6 h7b6447c_1001",
+ "patchelf 0.17.2 h6a678d5_0",
+ "pip 23.3.1 py39h06a4308_0",
+ "pkginfo 1.9.6 py39h06a4308_0",
+ "platformdirs 3.10.0 py39h06a4308_0",
+ "psutil 5.9.0 py39h5eee18b_0",
+ "py-lief 0.12.3 py39h6a678d5_0",
+ "pyopenssl 24.0.0 py39h06a4308_0",
+ "python-libarchive-c 2.9 pyhd3eb1b0_1",
+ "pytz 2023.3.post1 py39h06a4308_0",
+ "pyyaml 6.0.1 py39h5eee18b_0",
+ "referencing 0.30.2 py39h06a4308_0",
+ "requests 2.31.0 py39h06a4308_1",
+ "rpds-py 0.10.6 py39hb02cf49_0",
+ "setuptools 68.2.2 py39h06a4308_0",
+ "soupsieve 2.5 py39h06a4308_0",
+ "tomli 2.0.1 py39h06a4308_0",
+ "tzdata 2023d h04d1e81_0",
+ "urllib3 2.1.0 py39h06a4308_1",
+ "xz 5.4.5 h5eee18b_0",
+ "yaml 0.2.5 h7b6447c_0"
+ ],
+ "summary": "the SSH library",
+ "tags": []
+}
\ No newline at end of file
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/files b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/files
new file mode 100644
index 0000000000000000000000000000000000000000..265b3cc28617e4cfd073eb49b07eb9c7f9408cbd
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/files
@@ -0,0 +1,207 @@
+include/libssh2.h
+include/libssh2_publickey.h
+include/libssh2_sftp.h
+lib/cmake/libssh2/FindLibgcrypt.cmake
+lib/cmake/libssh2/FindMbedTLS.cmake
+lib/cmake/libssh2/FindWolfSSL.cmake
+lib/cmake/libssh2/libssh2-config-version.cmake
+lib/cmake/libssh2/libssh2-config.cmake
+lib/cmake/libssh2/libssh2-targets-noconfig.cmake
+lib/cmake/libssh2/libssh2-targets.cmake
+lib/libssh2.so
+lib/libssh2.so.1
+lib/libssh2.so.1.0.1
+lib/pkgconfig/libssh2.pc
+share/doc/libssh2/AUTHORS
+share/doc/libssh2/BINDINGS.md
+share/doc/libssh2/COPYING
+share/doc/libssh2/HACKING.md
+share/doc/libssh2/NEWS
+share/doc/libssh2/README
+share/doc/libssh2/RELEASE-NOTES
+share/man/man3/libssh2_agent_connect.3
+share/man/man3/libssh2_agent_disconnect.3
+share/man/man3/libssh2_agent_free.3
+share/man/man3/libssh2_agent_get_identity.3
+share/man/man3/libssh2_agent_get_identity_path.3
+share/man/man3/libssh2_agent_init.3
+share/man/man3/libssh2_agent_list_identities.3
+share/man/man3/libssh2_agent_set_identity_path.3
+share/man/man3/libssh2_agent_sign.3
+share/man/man3/libssh2_agent_userauth.3
+share/man/man3/libssh2_banner_set.3
+share/man/man3/libssh2_base64_decode.3
+share/man/man3/libssh2_channel_close.3
+share/man/man3/libssh2_channel_direct_streamlocal_ex.3
+share/man/man3/libssh2_channel_direct_tcpip.3
+share/man/man3/libssh2_channel_direct_tcpip_ex.3
+share/man/man3/libssh2_channel_eof.3
+share/man/man3/libssh2_channel_exec.3
+share/man/man3/libssh2_channel_flush.3
+share/man/man3/libssh2_channel_flush_ex.3
+share/man/man3/libssh2_channel_flush_stderr.3
+share/man/man3/libssh2_channel_forward_accept.3
+share/man/man3/libssh2_channel_forward_cancel.3
+share/man/man3/libssh2_channel_forward_listen.3
+share/man/man3/libssh2_channel_forward_listen_ex.3
+share/man/man3/libssh2_channel_free.3
+share/man/man3/libssh2_channel_get_exit_signal.3
+share/man/man3/libssh2_channel_get_exit_status.3
+share/man/man3/libssh2_channel_handle_extended_data.3
+share/man/man3/libssh2_channel_handle_extended_data2.3
+share/man/man3/libssh2_channel_ignore_extended_data.3
+share/man/man3/libssh2_channel_open_ex.3
+share/man/man3/libssh2_channel_open_session.3
+share/man/man3/libssh2_channel_process_startup.3
+share/man/man3/libssh2_channel_read.3
+share/man/man3/libssh2_channel_read_ex.3
+share/man/man3/libssh2_channel_read_stderr.3
+share/man/man3/libssh2_channel_receive_window_adjust.3
+share/man/man3/libssh2_channel_receive_window_adjust2.3
+share/man/man3/libssh2_channel_request_auth_agent.3
+share/man/man3/libssh2_channel_request_pty.3
+share/man/man3/libssh2_channel_request_pty_ex.3
+share/man/man3/libssh2_channel_request_pty_size.3
+share/man/man3/libssh2_channel_request_pty_size_ex.3
+share/man/man3/libssh2_channel_send_eof.3
+share/man/man3/libssh2_channel_set_blocking.3
+share/man/man3/libssh2_channel_setenv.3
+share/man/man3/libssh2_channel_setenv_ex.3
+share/man/man3/libssh2_channel_shell.3
+share/man/man3/libssh2_channel_signal_ex.3
+share/man/man3/libssh2_channel_subsystem.3
+share/man/man3/libssh2_channel_wait_closed.3
+share/man/man3/libssh2_channel_wait_eof.3
+share/man/man3/libssh2_channel_window_read.3
+share/man/man3/libssh2_channel_window_read_ex.3
+share/man/man3/libssh2_channel_window_write.3
+share/man/man3/libssh2_channel_window_write_ex.3
+share/man/man3/libssh2_channel_write.3
+share/man/man3/libssh2_channel_write_ex.3
+share/man/man3/libssh2_channel_write_stderr.3
+share/man/man3/libssh2_channel_x11_req.3
+share/man/man3/libssh2_channel_x11_req_ex.3
+share/man/man3/libssh2_crypto_engine.3
+share/man/man3/libssh2_exit.3
+share/man/man3/libssh2_free.3
+share/man/man3/libssh2_hostkey_hash.3
+share/man/man3/libssh2_init.3
+share/man/man3/libssh2_keepalive_config.3
+share/man/man3/libssh2_keepalive_send.3
+share/man/man3/libssh2_knownhost_add.3
+share/man/man3/libssh2_knownhost_addc.3
+share/man/man3/libssh2_knownhost_check.3
+share/man/man3/libssh2_knownhost_checkp.3
+share/man/man3/libssh2_knownhost_del.3
+share/man/man3/libssh2_knownhost_free.3
+share/man/man3/libssh2_knownhost_get.3
+share/man/man3/libssh2_knownhost_init.3
+share/man/man3/libssh2_knownhost_readfile.3
+share/man/man3/libssh2_knownhost_readline.3
+share/man/man3/libssh2_knownhost_writefile.3
+share/man/man3/libssh2_knownhost_writeline.3
+share/man/man3/libssh2_poll.3
+share/man/man3/libssh2_poll_channel_read.3
+share/man/man3/libssh2_publickey_add.3
+share/man/man3/libssh2_publickey_add_ex.3
+share/man/man3/libssh2_publickey_init.3
+share/man/man3/libssh2_publickey_list_fetch.3
+share/man/man3/libssh2_publickey_list_free.3
+share/man/man3/libssh2_publickey_remove.3
+share/man/man3/libssh2_publickey_remove_ex.3
+share/man/man3/libssh2_publickey_shutdown.3
+share/man/man3/libssh2_scp_recv.3
+share/man/man3/libssh2_scp_recv2.3
+share/man/man3/libssh2_scp_send.3
+share/man/man3/libssh2_scp_send64.3
+share/man/man3/libssh2_scp_send_ex.3
+share/man/man3/libssh2_session_abstract.3
+share/man/man3/libssh2_session_banner_get.3
+share/man/man3/libssh2_session_banner_set.3
+share/man/man3/libssh2_session_block_directions.3
+share/man/man3/libssh2_session_callback_set.3
+share/man/man3/libssh2_session_callback_set2.3
+share/man/man3/libssh2_session_disconnect.3
+share/man/man3/libssh2_session_disconnect_ex.3
+share/man/man3/libssh2_session_flag.3
+share/man/man3/libssh2_session_free.3
+share/man/man3/libssh2_session_get_blocking.3
+share/man/man3/libssh2_session_get_read_timeout.3
+share/man/man3/libssh2_session_get_timeout.3
+share/man/man3/libssh2_session_handshake.3
+share/man/man3/libssh2_session_hostkey.3
+share/man/man3/libssh2_session_init.3
+share/man/man3/libssh2_session_init_ex.3
+share/man/man3/libssh2_session_last_errno.3
+share/man/man3/libssh2_session_last_error.3
+share/man/man3/libssh2_session_method_pref.3
+share/man/man3/libssh2_session_methods.3
+share/man/man3/libssh2_session_set_blocking.3
+share/man/man3/libssh2_session_set_last_error.3
+share/man/man3/libssh2_session_set_read_timeout.3
+share/man/man3/libssh2_session_set_timeout.3
+share/man/man3/libssh2_session_startup.3
+share/man/man3/libssh2_session_supported_algs.3
+share/man/man3/libssh2_sftp_close.3
+share/man/man3/libssh2_sftp_close_handle.3
+share/man/man3/libssh2_sftp_closedir.3
+share/man/man3/libssh2_sftp_fsetstat.3
+share/man/man3/libssh2_sftp_fstat.3
+share/man/man3/libssh2_sftp_fstat_ex.3
+share/man/man3/libssh2_sftp_fstatvfs.3
+share/man/man3/libssh2_sftp_fsync.3
+share/man/man3/libssh2_sftp_get_channel.3
+share/man/man3/libssh2_sftp_init.3
+share/man/man3/libssh2_sftp_last_error.3
+share/man/man3/libssh2_sftp_lstat.3
+share/man/man3/libssh2_sftp_mkdir.3
+share/man/man3/libssh2_sftp_mkdir_ex.3
+share/man/man3/libssh2_sftp_open.3
+share/man/man3/libssh2_sftp_open_ex.3
+share/man/man3/libssh2_sftp_open_ex_r.3
+share/man/man3/libssh2_sftp_open_r.3
+share/man/man3/libssh2_sftp_opendir.3
+share/man/man3/libssh2_sftp_posix_rename.3
+share/man/man3/libssh2_sftp_posix_rename_ex.3
+share/man/man3/libssh2_sftp_read.3
+share/man/man3/libssh2_sftp_readdir.3
+share/man/man3/libssh2_sftp_readdir_ex.3
+share/man/man3/libssh2_sftp_readlink.3
+share/man/man3/libssh2_sftp_realpath.3
+share/man/man3/libssh2_sftp_rename.3
+share/man/man3/libssh2_sftp_rename_ex.3
+share/man/man3/libssh2_sftp_rewind.3
+share/man/man3/libssh2_sftp_rmdir.3
+share/man/man3/libssh2_sftp_rmdir_ex.3
+share/man/man3/libssh2_sftp_seek.3
+share/man/man3/libssh2_sftp_seek64.3
+share/man/man3/libssh2_sftp_setstat.3
+share/man/man3/libssh2_sftp_shutdown.3
+share/man/man3/libssh2_sftp_stat.3
+share/man/man3/libssh2_sftp_stat_ex.3
+share/man/man3/libssh2_sftp_statvfs.3
+share/man/man3/libssh2_sftp_symlink.3
+share/man/man3/libssh2_sftp_symlink_ex.3
+share/man/man3/libssh2_sftp_tell.3
+share/man/man3/libssh2_sftp_tell64.3
+share/man/man3/libssh2_sftp_unlink.3
+share/man/man3/libssh2_sftp_unlink_ex.3
+share/man/man3/libssh2_sftp_write.3
+share/man/man3/libssh2_sign_sk.3
+share/man/man3/libssh2_trace.3
+share/man/man3/libssh2_trace_sethandler.3
+share/man/man3/libssh2_userauth_authenticated.3
+share/man/man3/libssh2_userauth_banner.3
+share/man/man3/libssh2_userauth_hostbased_fromfile.3
+share/man/man3/libssh2_userauth_hostbased_fromfile_ex.3
+share/man/man3/libssh2_userauth_keyboard_interactive.3
+share/man/man3/libssh2_userauth_keyboard_interactive_ex.3
+share/man/man3/libssh2_userauth_list.3
+share/man/man3/libssh2_userauth_password.3
+share/man/man3/libssh2_userauth_password_ex.3
+share/man/man3/libssh2_userauth_publickey.3
+share/man/man3/libssh2_userauth_publickey_fromfile.3
+share/man/man3/libssh2_userauth_publickey_fromfile_ex.3
+share/man/man3/libssh2_userauth_publickey_frommemory.3
+share/man/man3/libssh2_userauth_publickey_sk.3
+share/man/man3/libssh2_version.3
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/git b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/git
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/has_prefix b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/has_prefix
new file mode 100644
index 0000000000000000000000000000000000000000..a3a8297415e455ea81354d4042f6e880af37a976
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/has_prefix
@@ -0,0 +1 @@
+/croot/libssh2_1732891098804/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold text lib/pkgconfig/libssh2.pc
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/hash_input.json b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/hash_input.json
new file mode 100644
index 0000000000000000000000000000000000000000..af93a0161e6768cc294f7f147c10f4e499fcf0e9
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/hash_input.json
@@ -0,0 +1,8 @@
+{
+ "channel_targets": "defaults",
+ "zlib": "1.2",
+ "c_compiler_version": "11.2.0",
+ "c_compiler": "gcc",
+ "openssl": "3.0",
+ "target_platform": "linux-64"
+}
\ No newline at end of file
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/index.json b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/index.json
new file mode 100644
index 0000000000000000000000000000000000000000..2e87d258fc4bed70c894ad3794549ff8f95ecc78
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/index.json
@@ -0,0 +1,17 @@
+{
+ "arch": "x86_64",
+ "build": "h251f7ec_0",
+ "build_number": 0,
+ "depends": [
+ "libgcc-ng >=11.2.0",
+ "openssl >=3.0.15,<4.0a0",
+ "zlib >=1.2.13,<1.3.0a0"
+ ],
+ "license": "BSD-3-Clause",
+ "license_family": "BSD",
+ "name": "libssh2",
+ "platform": "linux",
+ "subdir": "linux-64",
+ "timestamp": 1732891131339,
+ "version": "1.11.1"
+}
\ No newline at end of file
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/licenses/COPYING b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/licenses/COPYING
new file mode 100644
index 0000000000000000000000000000000000000000..6eb51468404b21423ff3d842adfab0cd475de13d
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/licenses/COPYING
@@ -0,0 +1,43 @@
+/* Copyright (C) 2004-2007 Sara Golemon
+ * Copyright (C) 2005,2006 Mikhail Gusarov
+ * Copyright (C) 2006-2007 The Written Word, Inc.
+ * Copyright (C) 2007 Eli Fant
+ * Copyright (C) 2009-2023 Daniel Stenberg
+ * Copyright (C) 2008, 2009 Simon Josefsson
+ * Copyright (C) 2000 Markus Friedl
+ * Copyright (C) 2015 Microsoft Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms,
+ * with or without modification, are permitted provided
+ * that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above
+ * copyright notice, this list of conditions and the
+ * following disclaimer.
+ *
+ * Redistributions in binary form must reproduce the above
+ * copyright notice, this list of conditions and the following
+ * disclaimer in the documentation and/or other materials
+ * provided with the distribution.
+ *
+ * Neither the name of the copyright holder nor the names
+ * of any other contributors may be used to endorse or
+ * promote products derived from this software without
+ * specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
+ * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
+ * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
+ * OF SUCH DAMAGE.
+ */
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/paths.json b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/paths.json
new file mode 100644
index 0000000000000000000000000000000000000000..e1cc19e04086cd5f521a1f6a9483b1b2650cad47
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/paths.json
@@ -0,0 +1,1249 @@
+{
+ "paths": [
+ {
+ "_path": "include/libssh2.h",
+ "path_type": "hardlink",
+ "sha256": "86cc9fcfd0daa10ba25442e5ecea23db618027362bc85fdc591ec7f5d9d39a91",
+ "size_in_bytes": 60665
+ },
+ {
+ "_path": "include/libssh2_publickey.h",
+ "path_type": "hardlink",
+ "sha256": "f1cd086f3950e65635827ee3332c1c6ca62887c0f84369ec58e31974debb36e9",
+ "size_in_bytes": 4942
+ },
+ {
+ "_path": "include/libssh2_sftp.h",
+ "path_type": "hardlink",
+ "sha256": "b5d864f19af69521278ed953b20b76a32cfdc08014da81d38f59964e7e2e2575",
+ "size_in_bytes": 17369
+ },
+ {
+ "_path": "lib/cmake/libssh2/FindLibgcrypt.cmake",
+ "path_type": "hardlink",
+ "sha256": "a4641a39678e9aeebeee6fa05541511c6f97abfc14be8b79790c09f8cff3bdec",
+ "size_in_bytes": 2088
+ },
+ {
+ "_path": "lib/cmake/libssh2/FindMbedTLS.cmake",
+ "path_type": "hardlink",
+ "sha256": "09ea2a361669f33f1e430a84f30cfdb7c0729bba1265d86967592cc1e17c775c",
+ "size_in_bytes": 2400
+ },
+ {
+ "_path": "lib/cmake/libssh2/FindWolfSSL.cmake",
+ "path_type": "hardlink",
+ "sha256": "6bbf71ce848edbdc5c6f95144994d1cb3ca041f06e18f485e2e391876ff0d022",
+ "size_in_bytes": 2029
+ },
+ {
+ "_path": "lib/cmake/libssh2/libssh2-config-version.cmake",
+ "path_type": "hardlink",
+ "sha256": "6bb00f14fe78109fa5658af18840ca56218beeb444ad8835ca44bc6504c9f4a4",
+ "size_in_bytes": 2881
+ },
+ {
+ "_path": "lib/cmake/libssh2/libssh2-config.cmake",
+ "path_type": "hardlink",
+ "sha256": "ade41cd19daf6952cf76d90cbb685ff68d434fd47ea083dfe2b3e66caff045db",
+ "size_in_bytes": 830
+ },
+ {
+ "_path": "lib/cmake/libssh2/libssh2-targets-noconfig.cmake",
+ "path_type": "hardlink",
+ "sha256": "e2df2354bce3ee7ce69e6c6f10f8bb50afc8c397e7beecf2562318dd3de41c11",
+ "size_in_bytes": 857
+ },
+ {
+ "_path": "lib/cmake/libssh2/libssh2-targets.cmake",
+ "path_type": "hardlink",
+ "sha256": "de733bd4140632d25e49ffc5cbdba01b86f25d9978c42634460b935fb6e7730c",
+ "size_in_bytes": 3936
+ },
+ {
+ "_path": "lib/libssh2.so",
+ "path_type": "softlink",
+ "sha256": "40d7337e163108c07a261ca5fd825513063c9c3e7b5c748207892c981be6e32c",
+ "size_in_bytes": 331760
+ },
+ {
+ "_path": "lib/libssh2.so.1",
+ "path_type": "softlink",
+ "sha256": "40d7337e163108c07a261ca5fd825513063c9c3e7b5c748207892c981be6e32c",
+ "size_in_bytes": 331760
+ },
+ {
+ "_path": "lib/libssh2.so.1.0.1",
+ "path_type": "hardlink",
+ "sha256": "40d7337e163108c07a261ca5fd825513063c9c3e7b5c748207892c981be6e32c",
+ "size_in_bytes": 331760
+ },
+ {
+ "_path": "lib/pkgconfig/libssh2.pc",
+ "file_mode": "text",
+ "path_type": "hardlink",
+ "prefix_placeholder": "/croot/libssh2_1732891098804/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold",
+ "sha256": "7599f3f5f4d469e8493513823568d030d7ab7b061fd7e3d2bc5c94966f518836",
+ "size_in_bytes": 851
+ },
+ {
+ "_path": "share/doc/libssh2/AUTHORS",
+ "path_type": "hardlink",
+ "sha256": "e161024bacda626cc77bc905db2fcfb0870e83f53b98f9b8b736f22cb48ab862",
+ "size_in_bytes": 1219
+ },
+ {
+ "_path": "share/doc/libssh2/BINDINGS.md",
+ "path_type": "hardlink",
+ "sha256": "6f5d5dfe5bb5959b3af90df4cd22bcfeec353245c2903a40461305d5739b86f3",
+ "size_in_bytes": 847
+ },
+ {
+ "_path": "share/doc/libssh2/COPYING",
+ "path_type": "hardlink",
+ "sha256": "f7f9633cf9ff2f1333f3d7ce46973a8716a4d2a2815ad56f30d437d5fea7bafe",
+ "size_in_bytes": 1959
+ },
+ {
+ "_path": "share/doc/libssh2/HACKING.md",
+ "path_type": "hardlink",
+ "sha256": "cda7b055bd392dc9f3456185496803851c0df5fa910a65c2e7811b29c3dbc361",
+ "size_in_bytes": 267
+ },
+ {
+ "_path": "share/doc/libssh2/NEWS",
+ "path_type": "hardlink",
+ "sha256": "334d5208024793131fb980a2c0bff33d3cbd3b3a9bf46b24f81df4751a3e00c6",
+ "size_in_bytes": 345188
+ },
+ {
+ "_path": "share/doc/libssh2/README",
+ "path_type": "hardlink",
+ "sha256": "1fc0694bbd85f7411852c56d5d922da629f55d61a9129dbe0e71c8eb5d1d619d",
+ "size_in_bytes": 465
+ },
+ {
+ "_path": "share/doc/libssh2/RELEASE-NOTES",
+ "path_type": "hardlink",
+ "sha256": "a7cf482e7dbaa852e8ff8b961f3b9a56b02b0592800718c78886fc9bd65aebd8",
+ "size_in_bytes": 21060
+ },
+ {
+ "_path": "share/man/man3/libssh2_agent_connect.3",
+ "path_type": "hardlink",
+ "sha256": "93827b7162acf620ad800e371056ab4cb17454adcc92e8cd191e6ecaca6e2ec2",
+ "size_in_bytes": 620
+ },
+ {
+ "_path": "share/man/man3/libssh2_agent_disconnect.3",
+ "path_type": "hardlink",
+ "sha256": "7028321d0bb037abc36039420505876a2ce32b81aea12e1cbcb89ed5ab4d747e",
+ "size_in_bytes": 533
+ },
+ {
+ "_path": "share/man/man3/libssh2_agent_free.3",
+ "path_type": "hardlink",
+ "sha256": "241b81cd1418d72201e43780851046d34ec578e3fe1bd9a0667513fd0f3e7de5",
+ "size_in_bytes": 514
+ },
+ {
+ "_path": "share/man/man3/libssh2_agent_get_identity.3",
+ "path_type": "hardlink",
+ "sha256": "b97ca25673cabcd45769ab2ff18dd70f2f8226c354c27c8b94136400102768d4",
+ "size_in_bytes": 1215
+ },
+ {
+ "_path": "share/man/man3/libssh2_agent_get_identity_path.3",
+ "path_type": "hardlink",
+ "sha256": "f8b8e3cbe18dd8345550e3709e29b4e573df04c0af360451394ba8f0146aad70",
+ "size_in_bytes": 613
+ },
+ {
+ "_path": "share/man/man3/libssh2_agent_init.3",
+ "path_type": "hardlink",
+ "sha256": "e8cf378d2303b292b73fbfe26d174531f6eb34331c12f5e366cfeb0a506cd7a5",
+ "size_in_bytes": 902
+ },
+ {
+ "_path": "share/man/man3/libssh2_agent_list_identities.3",
+ "path_type": "hardlink",
+ "sha256": "79ff942a7adc94c4c86647d2436c116286baf9008d314e1abdaecec1186a9330",
+ "size_in_bytes": 714
+ },
+ {
+ "_path": "share/man/man3/libssh2_agent_set_identity_path.3",
+ "path_type": "hardlink",
+ "sha256": "e241293b8c89244089a824905822c20b1ea89ad8cd237a786941df8ec7a01a95",
+ "size_in_bytes": 599
+ },
+ {
+ "_path": "share/man/man3/libssh2_agent_sign.3",
+ "path_type": "hardlink",
+ "sha256": "3f4e2813629fb4aa9a3603abd160dd0854116148feaf992a65b3fbb93ffd6d78",
+ "size_in_bytes": 1855
+ },
+ {
+ "_path": "share/man/man3/libssh2_agent_userauth.3",
+ "path_type": "hardlink",
+ "sha256": "6783589ea41ff4a361b1472621cdbe2c8868ac8cefb2163d2f93af9615a099a8",
+ "size_in_bytes": 955
+ },
+ {
+ "_path": "share/man/man3/libssh2_banner_set.3",
+ "path_type": "hardlink",
+ "sha256": "c6c3f293a3dd2b398b44e7c2416476a57d026be5bae4f9bf8893cdc2a76fd255",
+ "size_in_bytes": 1221
+ },
+ {
+ "_path": "share/man/man3/libssh2_base64_decode.3",
+ "path_type": "hardlink",
+ "sha256": "c80f58e6bdec085c9b8e3cd28d9c99d3e904b5f11df0d33c11a3a51937c15a22",
+ "size_in_bytes": 1062
+ },
+ {
+ "_path": "share/man/man3/libssh2_channel_close.3",
+ "path_type": "hardlink",
+ "sha256": "45b59eaed23c9562deb277b17af369b846b975b855a19e86528ba968bd954392",
+ "size_in_bytes": 1105
+ },
+ {
+ "_path": "share/man/man3/libssh2_channel_direct_streamlocal_ex.3",
+ "path_type": "hardlink",
+ "sha256": "de469186cbc24ce959dde046cc7cf6d4cc1b3f3d7f76301a03b0ba88c51de524",
+ "size_in_bytes": 1324
+ },
+ {
+ "_path": "share/man/man3/libssh2_channel_direct_tcpip.3",
+ "path_type": "hardlink",
+ "sha256": "cad3486819b2ffbd7af4d6f3fc887e66fdb53604124e1835802e050fe75e861e",
+ "size_in_bytes": 782
+ },
+ {
+ "_path": "share/man/man3/libssh2_channel_direct_tcpip_ex.3",
+ "path_type": "hardlink",
+ "sha256": "b08869117adea9a2cfc5a3afaa3d1bbf674791e9405e43b703b94fcbfe8fcdcb",
+ "size_in_bytes": 1465
+ },
+ {
+ "_path": "share/man/man3/libssh2_channel_eof.3",
+ "path_type": "hardlink",
+ "sha256": "9131535247fa0077e678281bb567325f528d719ab621631bfc0c097b878ce8d5",
+ "size_in_bytes": 609
+ },
+ {
+ "_path": "share/man/man3/libssh2_channel_exec.3",
+ "path_type": "hardlink",
+ "sha256": "6ff96d543eb614ab2d32e4cf5cc344a08daf0a3c540b92c3edd78e6c3fb21c8f",
+ "size_in_bytes": 708
+ },
+ {
+ "_path": "share/man/man3/libssh2_channel_flush.3",
+ "path_type": "hardlink",
+ "sha256": "3ebec0573f4fc88eb8e31b470c8de6fb2a3e846312f49ae0397c2065dea2b595",
+ "size_in_bytes": 655
+ },
+ {
+ "_path": "share/man/man3/libssh2_channel_flush_ex.3",
+ "path_type": "hardlink",
+ "sha256": "0c8804c128f2429e64ab5879277750ea232f66af846e9b10df76570a37ccd327",
+ "size_in_bytes": 1147
+ },
+ {
+ "_path": "share/man/man3/libssh2_channel_flush_stderr.3",
+ "path_type": "hardlink",
+ "sha256": "ef92cda4fbf06ddf6cc0e053dad1b2dbaf7ec2d2ef13123365098aa28e736763",
+ "size_in_bytes": 676
+ },
+ {
+ "_path": "share/man/man3/libssh2_channel_forward_accept.3",
+ "path_type": "hardlink",
+ "sha256": "cf9bf54321891b7cbab4c661e7f6499f5abdcf1b8e8a0c53d913edf4775568cf",
+ "size_in_bytes": 839
+ },
+ {
+ "_path": "share/man/man3/libssh2_channel_forward_cancel.3",
+ "path_type": "hardlink",
+ "sha256": "f5569b644400cd29afc4d5937e9adc515b607fb33c50e981afc15196ac7836db",
+ "size_in_bytes": 983
+ },
+ {
+ "_path": "share/man/man3/libssh2_channel_forward_listen.3",
+ "path_type": "hardlink",
+ "sha256": "3ea7b9b6b10dfbda16e92f922b186c89157f8cbdecfc49b1ed8da5dd2a3aca07",
+ "size_in_bytes": 737
+ },
+ {
+ "_path": "share/man/man3/libssh2_channel_forward_listen_ex.3",
+ "path_type": "hardlink",
+ "sha256": "522d2ae9c54c670ac7055ff4a5c10c1d6fe4bdeb2c838d8535e92fd32c0e3961",
+ "size_in_bytes": 1950
+ },
+ {
+ "_path": "share/man/man3/libssh2_channel_free.3",
+ "path_type": "hardlink",
+ "sha256": "39cef9c879895b449f67efd2e92a2aa8f35b0930bc3ee1bc64253bf8716ddd81",
+ "size_in_bytes": 884
+ },
+ {
+ "_path": "share/man/man3/libssh2_channel_get_exit_signal.3",
+ "path_type": "hardlink",
+ "sha256": "524b77c54892022e6211cac5cc2a7df844a8416fa11b65d2b9dcfdf72b4310cc",
+ "size_in_bytes": 1657
+ },
+ {
+ "_path": "share/man/man3/libssh2_channel_get_exit_status.3",
+ "path_type": "hardlink",
+ "sha256": "a7cd643bef8d656bf17a02132201fd150bc9e45830f7a455211e004d28c7d992",
+ "size_in_bytes": 744
+ },
+ {
+ "_path": "share/man/man3/libssh2_channel_handle_extended_data.3",
+ "path_type": "hardlink",
+ "sha256": "c251b94d551613f04fe0699c96d44a93c5147101aaeb864380ac3adff9e00d19",
+ "size_in_bytes": 1377
+ },
+ {
+ "_path": "share/man/man3/libssh2_channel_handle_extended_data2.3",
+ "path_type": "hardlink",
+ "sha256": "bf629df753b284399874b0623e0f1877e9c3e4c6bfa6309ea17d72d02ab4d482",
+ "size_in_bytes": 1326
+ },
+ {
+ "_path": "share/man/man3/libssh2_channel_ignore_extended_data.3",
+ "path_type": "hardlink",
+ "sha256": "8b19e077449a9fddf72868b65c5b3a27ec1a9735fe10f2a20132004366c234c4",
+ "size_in_bytes": 933
+ },
+ {
+ "_path": "share/man/man3/libssh2_channel_open_ex.3",
+ "path_type": "hardlink",
+ "sha256": "9fdb17360f2ef469ce9a578b5467985161e935ef4e995874390520a1122d130f",
+ "size_in_bytes": 2056
+ },
+ {
+ "_path": "share/man/man3/libssh2_channel_open_session.3",
+ "path_type": "hardlink",
+ "sha256": "b3b5b64d5714cc0703e2ca808843193395b0eae7ec191f4b72d966d9c7ca83ca",
+ "size_in_bytes": 685
+ },
+ {
+ "_path": "share/man/man3/libssh2_channel_process_startup.3",
+ "path_type": "hardlink",
+ "sha256": "95a310714f0e202f875bc97b4bdbbb6216aa89765e6a27c79ac2b2ae5eb267ab",
+ "size_in_bytes": 1483
+ },
+ {
+ "_path": "share/man/man3/libssh2_channel_read.3",
+ "path_type": "hardlink",
+ "sha256": "b52bc537e8bec5566aa706f01292914fa790c37e045636ab283ffc2feb899c48",
+ "size_in_bytes": 698
+ },
+ {
+ "_path": "share/man/man3/libssh2_channel_read_ex.3",
+ "path_type": "hardlink",
+ "sha256": "700615851d254e330390d42ebc97ab29f1c3c8903db743680667cca36df785f5",
+ "size_in_bytes": 1793
+ },
+ {
+ "_path": "share/man/man3/libssh2_channel_read_stderr.3",
+ "path_type": "hardlink",
+ "sha256": "fce9ea31abd23989c2063ad3b694dd2d54b211f61daaa82ca2e0e5664e3cce5d",
+ "size_in_bytes": 726
+ },
+ {
+ "_path": "share/man/man3/libssh2_channel_receive_window_adjust.3",
+ "path_type": "hardlink",
+ "sha256": "4fc34c2faf70f591b30d96588608d519ad667c45e854f20d7a24bcc6f1b2957f",
+ "size_in_bytes": 1407
+ },
+ {
+ "_path": "share/man/man3/libssh2_channel_receive_window_adjust2.3",
+ "path_type": "hardlink",
+ "sha256": "f1dfc59194c428bf1948f2c126fb9ad15ded5a5f896e4ac239cd7273d6b7d0f2",
+ "size_in_bytes": 1206
+ },
+ {
+ "_path": "share/man/man3/libssh2_channel_request_auth_agent.3",
+ "path_type": "hardlink",
+ "sha256": "3062be3a71e1c21267201908b0395470dccf304576bc5fde44fc938de99b370f",
+ "size_in_bytes": 966
+ },
+ {
+ "_path": "share/man/man3/libssh2_channel_request_pty.3",
+ "path_type": "hardlink",
+ "sha256": "fd3c13f1ab9cffa56087d252e3017caa4809e0ac6d8e01dd7269e4393bc2f8e3",
+ "size_in_bytes": 721
+ },
+ {
+ "_path": "share/man/man3/libssh2_channel_request_pty_ex.3",
+ "path_type": "hardlink",
+ "sha256": "bcaf00ddd6f5929e2131cb78562e141ea93dd4bf69695a3c3730ddce4c90e2b1",
+ "size_in_bytes": 1776
+ },
+ {
+ "_path": "share/man/man3/libssh2_channel_request_pty_size.3",
+ "path_type": "hardlink",
+ "sha256": "dd9b7e546fd19286d3bf54c32e2a7bed51daf22fd9b379ddecced0107ed8cb40",
+ "size_in_bytes": 799
+ },
+ {
+ "_path": "share/man/man3/libssh2_channel_request_pty_size_ex.3",
+ "path_type": "hardlink",
+ "sha256": "5340603fdaa4e9a865a6f48820a257f32893c2343469489f67fd11a01dd19e78",
+ "size_in_bytes": 307
+ },
+ {
+ "_path": "share/man/man3/libssh2_channel_send_eof.3",
+ "path_type": "hardlink",
+ "sha256": "2083e91a3dc0d52a3054ca772a1a0e62152eacac4bb10d116e3b310ff0a9ef27",
+ "size_in_bytes": 850
+ },
+ {
+ "_path": "share/man/man3/libssh2_channel_set_blocking.3",
+ "path_type": "hardlink",
+ "sha256": "3a9a03ec5619963174cd14dd6a6601a5a5644a0d217e4980a5543a04e697b58b",
+ "size_in_bytes": 821
+ },
+ {
+ "_path": "share/man/man3/libssh2_channel_setenv.3",
+ "path_type": "hardlink",
+ "sha256": "0af379f819b71ab4e6b92831579ba3e79626acb844e4c04a64e29e2c76da2959",
+ "size_in_bytes": 726
+ },
+ {
+ "_path": "share/man/man3/libssh2_channel_setenv_ex.3",
+ "path_type": "hardlink",
+ "sha256": "78c6e4d474b844e69618a2c3933dc636a5249006f3325cfd7d696f3cc423d962",
+ "size_in_bytes": 1578
+ },
+ {
+ "_path": "share/man/man3/libssh2_channel_shell.3",
+ "path_type": "hardlink",
+ "sha256": "97c2bea5f05e2effd3e55b7bad3c063100e9cc43c801c2288682c56ada7e96b6",
+ "size_in_bytes": 690
+ },
+ {
+ "_path": "share/man/man3/libssh2_channel_signal_ex.3",
+ "path_type": "hardlink",
+ "sha256": "96c69093e70e4f605cb80142729f17ce6a5569adf877e86de6d5871cff5a4126",
+ "size_in_bytes": 1153
+ },
+ {
+ "_path": "share/man/man3/libssh2_channel_subsystem.3",
+ "path_type": "hardlink",
+ "sha256": "9cca5a0d01f6edd429fbe05c9fd9680f61317440136c538428e6d7f7f3f921ea",
+ "size_in_bytes": 725
+ },
+ {
+ "_path": "share/man/man3/libssh2_channel_wait_closed.3",
+ "path_type": "hardlink",
+ "sha256": "43439c25c43c80f041b194f30167b7db9b13d43709d8be880f9c7afc917ad6ac",
+ "size_in_bytes": 856
+ },
+ {
+ "_path": "share/man/man3/libssh2_channel_wait_eof.3",
+ "path_type": "hardlink",
+ "sha256": "e37d262ac8d104cd138c4b44ee04bc68a95ef4a483b96e22c7f41d89a6374409",
+ "size_in_bytes": 687
+ },
+ {
+ "_path": "share/man/man3/libssh2_channel_window_read.3",
+ "path_type": "hardlink",
+ "sha256": "be884015a9faef4f26628fb1e2ec2730675e8d25f0e925d992a84bc017b2f3ca",
+ "size_in_bytes": 713
+ },
+ {
+ "_path": "share/man/man3/libssh2_channel_window_read_ex.3",
+ "path_type": "hardlink",
+ "sha256": "865415960ee08b0c8e9e1c2ffa29e7c4a39df87e8eac888e10c09c971555f96a",
+ "size_in_bytes": 1069
+ },
+ {
+ "_path": "share/man/man3/libssh2_channel_window_write.3",
+ "path_type": "hardlink",
+ "sha256": "8c51bee7d07b75cb07c22335aa925368b4c9a2f35b1f66e4d1ca9372a7a99608",
+ "size_in_bytes": 721
+ },
+ {
+ "_path": "share/man/man3/libssh2_channel_window_write_ex.3",
+ "path_type": "hardlink",
+ "sha256": "dafddb8638409f4adec136c82bd9647fe00d5e7094f028ed75471a59a6cfff31",
+ "size_in_bytes": 912
+ },
+ {
+ "_path": "share/man/man3/libssh2_channel_write.3",
+ "path_type": "hardlink",
+ "sha256": "29ce3458a50de3e5b73e57acaefc7f0e902f685db942c6e4726e9752951cb16e",
+ "size_in_bytes": 707
+ },
+ {
+ "_path": "share/man/man3/libssh2_channel_write_ex.3",
+ "path_type": "hardlink",
+ "sha256": "97e64829d9bd098fb1ac6ed3f1d12ed63c1d93fc910505b45ce9f186f8205cdf",
+ "size_in_bytes": 2132
+ },
+ {
+ "_path": "share/man/man3/libssh2_channel_write_stderr.3",
+ "path_type": "hardlink",
+ "sha256": "6dcb91efa84c3dbe59fb7ed06a2cf433f713a99f8e45f9e8d21fbc5818199048",
+ "size_in_bytes": 735
+ },
+ {
+ "_path": "share/man/man3/libssh2_channel_x11_req.3",
+ "path_type": "hardlink",
+ "sha256": "2667bda07c882236c6ec4eae4709c71b959e71cd0fb93fa50ff7bcecda9910a5",
+ "size_in_bytes": 690
+ },
+ {
+ "_path": "share/man/man3/libssh2_channel_x11_req_ex.3",
+ "path_type": "hardlink",
+ "sha256": "9a02fa5e8a38713fa583cc9fa5cf91d5546f90448eff67a30cf365e946d589e1",
+ "size_in_bytes": 1663
+ },
+ {
+ "_path": "share/man/man3/libssh2_crypto_engine.3",
+ "path_type": "hardlink",
+ "sha256": "8db24bb99f7bce69a94f8c85ce76e64ad1cd174ae44793e286b3043043f86931",
+ "size_in_bytes": 432
+ },
+ {
+ "_path": "share/man/man3/libssh2_exit.3",
+ "path_type": "hardlink",
+ "sha256": "b931d250f2c41ad4a2894fed09b339b052e65a20e56a6310d80a105719b17a8d",
+ "size_in_bytes": 431
+ },
+ {
+ "_path": "share/man/man3/libssh2_free.3",
+ "path_type": "hardlink",
+ "sha256": "aa87afcc3571e9b6121220c68937bf168d52f944b999106b1fd11fdd4fbb17b5",
+ "size_in_bytes": 706
+ },
+ {
+ "_path": "share/man/man3/libssh2_hostkey_hash.3",
+ "path_type": "hardlink",
+ "sha256": "2c56b05777ad6387814c3a4177ad1e945610cf9bd084b7314ad7ff65302830cd",
+ "size_in_bytes": 1086
+ },
+ {
+ "_path": "share/man/man3/libssh2_init.3",
+ "path_type": "hardlink",
+ "sha256": "c8cc5bbdf16c243e7a02fe044c18f788df1319f8e7d43e8014e2d63d9c8e7a6a",
+ "size_in_bytes": 672
+ },
+ {
+ "_path": "share/man/man3/libssh2_keepalive_config.3",
+ "path_type": "hardlink",
+ "sha256": "5c5513a4a288a8cb95b38b9c62a18895c0550ec67ec1e84adda4b10a6a1bf6d4",
+ "size_in_bytes": 1025
+ },
+ {
+ "_path": "share/man/man3/libssh2_keepalive_send.3",
+ "path_type": "hardlink",
+ "sha256": "9f07814934ad8f9cddc443e9cebeed4e4d75121133a252b0ededa79a030a6afb",
+ "size_in_bytes": 701
+ },
+ {
+ "_path": "share/man/man3/libssh2_knownhost_add.3",
+ "path_type": "hardlink",
+ "sha256": "e898eab196bfddf086761b4bcd142fb017bf9cb8fb3b6034481b4d1ae92a7cf8",
+ "size_in_bytes": 2525
+ },
+ {
+ "_path": "share/man/man3/libssh2_knownhost_addc.3",
+ "path_type": "hardlink",
+ "sha256": "b9bcaa30e01f10368e63b9ff7f19330693dcfbaab261279b1791a2789c39cb43",
+ "size_in_bytes": 2694
+ },
+ {
+ "_path": "share/man/man3/libssh2_knownhost_check.3",
+ "path_type": "hardlink",
+ "sha256": "c431ac72025bab6b6ae3cd6c4fb28677e9d9c33cad09852adae300a896901007",
+ "size_in_bytes": 2220
+ },
+ {
+ "_path": "share/man/man3/libssh2_knownhost_checkp.3",
+ "path_type": "hardlink",
+ "sha256": "2dea57c285e9a9a5841be67fa0ab2da7f66cf942bb9541d32c5f402c3a2fd3aa",
+ "size_in_bytes": 2487
+ },
+ {
+ "_path": "share/man/man3/libssh2_knownhost_del.3",
+ "path_type": "hardlink",
+ "sha256": "fde5313aa61c12e4aaf3552f22a9268a1d19dbaab88a71caf1e0c9487dd8dd61",
+ "size_in_bytes": 848
+ },
+ {
+ "_path": "share/man/man3/libssh2_knownhost_free.3",
+ "path_type": "hardlink",
+ "sha256": "3d3caf0b0da87bad1df2fe4d20a2a984be292ec4d6de6aa2dd1f7b45eba77432",
+ "size_in_bytes": 519
+ },
+ {
+ "_path": "share/man/man3/libssh2_knownhost_get.3",
+ "path_type": "hardlink",
+ "sha256": "50564dc7885ec5df4b7cee2e74b5ddaf155dd2e70b32ffd16cd5316539449f29",
+ "size_in_bytes": 1160
+ },
+ {
+ "_path": "share/man/man3/libssh2_knownhost_init.3",
+ "path_type": "hardlink",
+ "sha256": "7dbdb1018502111d9bfd0d4560067a2ec36fd98a3f66c474d613db40d750d442",
+ "size_in_bytes": 874
+ },
+ {
+ "_path": "share/man/man3/libssh2_knownhost_readfile.3",
+ "path_type": "hardlink",
+ "sha256": "cf9c4812973f5de4e67fad368d77c98b6e048baf48773cb698f392bbb881a716",
+ "size_in_bytes": 1005
+ },
+ {
+ "_path": "share/man/man3/libssh2_knownhost_readline.3",
+ "path_type": "hardlink",
+ "sha256": "2da45696dbc997372e5b77899d46a3c39c4072b6a989f41b1bcad6af43918b47",
+ "size_in_bytes": 998
+ },
+ {
+ "_path": "share/man/man3/libssh2_knownhost_writefile.3",
+ "path_type": "hardlink",
+ "sha256": "1524691730cfe60d088ba458307220446c4d802cab6ccc92a46b452e6d16aeca",
+ "size_in_bytes": 895
+ },
+ {
+ "_path": "share/man/man3/libssh2_knownhost_writeline.3",
+ "path_type": "hardlink",
+ "sha256": "6d3dddd11fc676ebe402c49495f6032918b29ca2d62591e703c056a2fd500e30",
+ "size_in_bytes": 1650
+ },
+ {
+ "_path": "share/man/man3/libssh2_poll.3",
+ "path_type": "hardlink",
+ "sha256": "5160ef5ebac05380d91772bd689b33847d4aa6d0b746ff987c1110ea0af62304",
+ "size_in_bytes": 1069
+ },
+ {
+ "_path": "share/man/man3/libssh2_poll_channel_read.3",
+ "path_type": "hardlink",
+ "sha256": "2097a4ea857e90f877ccd9ea35aeb29aee4fa8e7963a96d5a95e38020c308280",
+ "size_in_bytes": 754
+ },
+ {
+ "_path": "share/man/man3/libssh2_publickey_add.3",
+ "path_type": "hardlink",
+ "sha256": "212ba84ec3cd37e4b5ff3c7d19782aab169432a2cab7874afdcea2f0cb5cf100",
+ "size_in_bytes": 904
+ },
+ {
+ "_path": "share/man/man3/libssh2_publickey_add_ex.3",
+ "path_type": "hardlink",
+ "sha256": "7234d3f36a4bd6d1a27418eab82ade7b0b6a69be805cee0752a5f41c360b339c",
+ "size_in_bytes": 867
+ },
+ {
+ "_path": "share/man/man3/libssh2_publickey_init.3",
+ "path_type": "hardlink",
+ "sha256": "299dfff668d2a62a9215973547283bbcbf1b2448512fa526290359fcb3f326ba",
+ "size_in_bytes": 321
+ },
+ {
+ "_path": "share/man/man3/libssh2_publickey_list_fetch.3",
+ "path_type": "hardlink",
+ "sha256": "cbe5bb557f335a10ff9ea672728c63f4abce53fff14cabe87c3c2f5ee3047750",
+ "size_in_bytes": 333
+ },
+ {
+ "_path": "share/man/man3/libssh2_publickey_list_free.3",
+ "path_type": "hardlink",
+ "sha256": "f7d0dc0d31fd988870c9e864c309002bb3b0b3218ffb0422fccf23c325ee4564",
+ "size_in_bytes": 331
+ },
+ {
+ "_path": "share/man/man3/libssh2_publickey_remove.3",
+ "path_type": "hardlink",
+ "sha256": "3f2fda646a360833b2625429d7d3fba7a6d8ad79f398fb721db354e531c01c1c",
+ "size_in_bytes": 830
+ },
+ {
+ "_path": "share/man/man3/libssh2_publickey_remove_ex.3",
+ "path_type": "hardlink",
+ "sha256": "dd9ac968662346fc162815f2f537b689e2050eea3a7529208ec636675a947a3d",
+ "size_in_bytes": 346
+ },
+ {
+ "_path": "share/man/man3/libssh2_publickey_shutdown.3",
+ "path_type": "hardlink",
+ "sha256": "5194f43e8e6c6c01cb5a351cc941b38aed1d6e2cb251eee5d25b775c2a29ce7e",
+ "size_in_bytes": 334
+ },
+ {
+ "_path": "share/man/man3/libssh2_scp_recv.3",
+ "path_type": "hardlink",
+ "sha256": "370b13f05104f981b5efdabfa0e8d431767d9a8d06845f5ef36b3eadfc44906f",
+ "size_in_bytes": 1126
+ },
+ {
+ "_path": "share/man/man3/libssh2_scp_recv2.3",
+ "path_type": "hardlink",
+ "sha256": "3156aa814da8eb0e0f6fa22c01a206e9a077812eeed5ec76e2cfbefe0ae1b1c2",
+ "size_in_bytes": 1033
+ },
+ {
+ "_path": "share/man/man3/libssh2_scp_send.3",
+ "path_type": "hardlink",
+ "sha256": "c5beb0633903ecbd93edecc515b610ae737d9fbf4da11caad90b2e2726c265e1",
+ "size_in_bytes": 687
+ },
+ {
+ "_path": "share/man/man3/libssh2_scp_send64.3",
+ "path_type": "hardlink",
+ "sha256": "da4bc3e826a1a038d5b291af53596d644b7ef65bd16c1731fe9bcc5ecc518e50",
+ "size_in_bytes": 1627
+ },
+ {
+ "_path": "share/man/man3/libssh2_scp_send_ex.3",
+ "path_type": "hardlink",
+ "sha256": "b4cb7b4f00d1b7ada3865a23cd7064f17c6119683829896b501d7a4ddafbb36b",
+ "size_in_bytes": 1601
+ },
+ {
+ "_path": "share/man/man3/libssh2_session_abstract.3",
+ "path_type": "hardlink",
+ "sha256": "5d5233b403c34aa09f8cc65f811962ec59f4e7c08a6536258795c6887994f1df",
+ "size_in_bytes": 832
+ },
+ {
+ "_path": "share/man/man3/libssh2_session_banner_get.3",
+ "path_type": "hardlink",
+ "sha256": "4b79daf9b7fbf5aa17244ea299174ad0866f713086943af468fba3d7e08ea771",
+ "size_in_bytes": 897
+ },
+ {
+ "_path": "share/man/man3/libssh2_session_banner_set.3",
+ "path_type": "hardlink",
+ "sha256": "fd93549e5eff89d85f5730e7453a62e454e86d14c70af7f0acb368e9fffb3311",
+ "size_in_bytes": 1252
+ },
+ {
+ "_path": "share/man/man3/libssh2_session_block_directions.3",
+ "path_type": "hardlink",
+ "sha256": "f91f9140e2410276dcdaac2aed1e0188cbba8b9bfcc1776fc38cccd22d938300",
+ "size_in_bytes": 1281
+ },
+ {
+ "_path": "share/man/man3/libssh2_session_callback_set.3",
+ "path_type": "hardlink",
+ "sha256": "c3bc97d958cfd74b89165773db7ae40890627244dc25ccad123182b04ce3fcfe",
+ "size_in_bytes": 1005
+ },
+ {
+ "_path": "share/man/man3/libssh2_session_callback_set2.3",
+ "path_type": "hardlink",
+ "sha256": "dc6d9afea574a0ae1f4a723d8d5cf20b9d363ac6a9ad32dcacce7c8d6d92cb2f",
+ "size_in_bytes": 5167
+ },
+ {
+ "_path": "share/man/man3/libssh2_session_disconnect.3",
+ "path_type": "hardlink",
+ "sha256": "cb8aa74719f83be841d766ef7c4437e37d405beed26d39685ed8a1392b634c6e",
+ "size_in_bytes": 720
+ },
+ {
+ "_path": "share/man/man3/libssh2_session_disconnect_ex.3",
+ "path_type": "hardlink",
+ "sha256": "637f34bf4c9a0d078a5becf2544b541fc6ceddec8acc61b61f9359d7da699231",
+ "size_in_bytes": 1493
+ },
+ {
+ "_path": "share/man/man3/libssh2_session_flag.3",
+ "path_type": "hardlink",
+ "sha256": "74dc8b50e12ca91fcf44b891783c540907a99f293c236f392f80fa7bc4c0f92f",
+ "size_in_bytes": 1024
+ },
+ {
+ "_path": "share/man/man3/libssh2_session_free.3",
+ "path_type": "hardlink",
+ "sha256": "8777fc5b7b86992585184fe3ee5615dd28afd596753aca62c5aff964e627e0f5",
+ "size_in_bytes": 766
+ },
+ {
+ "_path": "share/man/man3/libssh2_session_get_blocking.3",
+ "path_type": "hardlink",
+ "sha256": "4255ecd0ca8f643932178ef3b48a6d33118e8a9eff0af3480fd3577d3eb94042",
+ "size_in_bytes": 578
+ },
+ {
+ "_path": "share/man/man3/libssh2_session_get_read_timeout.3",
+ "path_type": "hardlink",
+ "sha256": "77acd1cc9eaf0735d964f4e5cf05965e7d036a437aae0d1e255dc325ddc81b5d",
+ "size_in_bytes": 738
+ },
+ {
+ "_path": "share/man/man3/libssh2_session_get_timeout.3",
+ "path_type": "hardlink",
+ "sha256": "323b635352abe27e70e88b596151b280a5659b72e9c41c8e6f24984923768258",
+ "size_in_bytes": 744
+ },
+ {
+ "_path": "share/man/man3/libssh2_session_handshake.3",
+ "path_type": "hardlink",
+ "sha256": "add4bebbb400a8cef8e71e08a1f2eb87b69218ccc893783f546f0afb56e85143",
+ "size_in_bytes": 1405
+ },
+ {
+ "_path": "share/man/man3/libssh2_session_hostkey.3",
+ "path_type": "hardlink",
+ "sha256": "5074d9024f23b2d7f1f2c6d99d1a8c5ebd37f765ca5f5fd41ec6f1642b7864c9",
+ "size_in_bytes": 802
+ },
+ {
+ "_path": "share/man/man3/libssh2_session_init.3",
+ "path_type": "hardlink",
+ "sha256": "bdc2dd76cbad53c198905343ef6336270ed8a79a6dee7abc226cd7803a5201cd",
+ "size_in_bytes": 641
+ },
+ {
+ "_path": "share/man/man3/libssh2_session_init_ex.3",
+ "path_type": "hardlink",
+ "sha256": "bfae417a7d7592787c473ad1262037951399cc35a05b0f8c1dded4ecd7738c3b",
+ "size_in_bytes": 1914
+ },
+ {
+ "_path": "share/man/man3/libssh2_session_last_errno.3",
+ "path_type": "hardlink",
+ "sha256": "f6cfe1343ae78277bb50faa9d934e946497b361940bf549454947f4eb5519405",
+ "size_in_bytes": 652
+ },
+ {
+ "_path": "share/man/man3/libssh2_session_last_error.3",
+ "path_type": "hardlink",
+ "sha256": "3e4997a53e16bc8033076fd23320fddd0f4da5ae3e985dc84b812ccf80fc13d4",
+ "size_in_bytes": 1209
+ },
+ {
+ "_path": "share/man/man3/libssh2_session_method_pref.3",
+ "path_type": "hardlink",
+ "sha256": "42a8339eda08ad1c32835daeb91d1474bbc5351728bc2a87efc6447e9a338a31",
+ "size_in_bytes": 1530
+ },
+ {
+ "_path": "share/man/man3/libssh2_session_methods.3",
+ "path_type": "hardlink",
+ "sha256": "0928a7f07f2aee734bba1d965af2986bdeafeebe83a611d53e11756b4820589e",
+ "size_in_bytes": 1120
+ },
+ {
+ "_path": "share/man/man3/libssh2_session_set_blocking.3",
+ "path_type": "hardlink",
+ "sha256": "f4784231a26bfcf6e60c73b691ae2a8af2d59275aa5449e1feb484597ed1d26b",
+ "size_in_bytes": 1157
+ },
+ {
+ "_path": "share/man/man3/libssh2_session_set_last_error.3",
+ "path_type": "hardlink",
+ "sha256": "f6705fe44254f554648806eda9c8597cc6bbfa4a60065b1afc63fe0fd020b238",
+ "size_in_bytes": 1109
+ },
+ {
+ "_path": "share/man/man3/libssh2_session_set_read_timeout.3",
+ "path_type": "hardlink",
+ "sha256": "ebff1cbf648090f9924eaf43b6996c4afe2ad84607d09a756e60e6fec3589ebb",
+ "size_in_bytes": 759
+ },
+ {
+ "_path": "share/man/man3/libssh2_session_set_timeout.3",
+ "path_type": "hardlink",
+ "sha256": "17d1bdbc6d8991708d7daf8b057e568fd514058b005ee1ba7f1e0ebf1699f3b4",
+ "size_in_bytes": 750
+ },
+ {
+ "_path": "share/man/man3/libssh2_session_startup.3",
+ "path_type": "hardlink",
+ "sha256": "426b4349acc1243528d8239d8d48c6de45d9be4a068a7837528f1dd7ff215ec3",
+ "size_in_bytes": 1478
+ },
+ {
+ "_path": "share/man/man3/libssh2_session_supported_algs.3",
+ "path_type": "hardlink",
+ "sha256": "661400b9ca027be9e227499b56fa79731a4f9d3fdc87a8b6edd42e8af028c07c",
+ "size_in_bytes": 2818
+ },
+ {
+ "_path": "share/man/man3/libssh2_sftp_close.3",
+ "path_type": "hardlink",
+ "sha256": "30aefd27e163afa34bdbd2633b618d6ade18d29aa95998700c7c65032d08f777",
+ "size_in_bytes": 680
+ },
+ {
+ "_path": "share/man/man3/libssh2_sftp_close_handle.3",
+ "path_type": "hardlink",
+ "sha256": "e6a199552547975799b04a8801f413717ae68bd24cf0034fd0e92d6e55f6df02",
+ "size_in_bytes": 1486
+ },
+ {
+ "_path": "share/man/man3/libssh2_sftp_closedir.3",
+ "path_type": "hardlink",
+ "sha256": "57f072d8173d88278887203b1adb2f05f5c75a5abb33acb906bd7444385a4d8e",
+ "size_in_bytes": 688
+ },
+ {
+ "_path": "share/man/man3/libssh2_sftp_fsetstat.3",
+ "path_type": "hardlink",
+ "sha256": "7dd3fc191da3e7eed4cdf5f988d8a5236253551c7b926d5654b8f1edea8cff1c",
+ "size_in_bytes": 723
+ },
+ {
+ "_path": "share/man/man3/libssh2_sftp_fstat.3",
+ "path_type": "hardlink",
+ "sha256": "fbb4b3f44da6190ba908d5fa707e15de9a5e1fb64cc33ed64b6bf92caa4fba95",
+ "size_in_bytes": 711
+ },
+ {
+ "_path": "share/man/man3/libssh2_sftp_fstat_ex.3",
+ "path_type": "hardlink",
+ "sha256": "9af9a671cee0e1ffc02d62e98cde6a08ea460b75439ce9a12c36a812febe00c8",
+ "size_in_bytes": 3653
+ },
+ {
+ "_path": "share/man/man3/libssh2_sftp_fstatvfs.3",
+ "path_type": "hardlink",
+ "sha256": "19d6350659e80542d169bc4aacde4280a212f06fe5cc3be747e02669c6f6ecc3",
+ "size_in_bytes": 134
+ },
+ {
+ "_path": "share/man/man3/libssh2_sftp_fsync.3",
+ "path_type": "hardlink",
+ "sha256": "f82380b11e162cbf944761439be62605d1b35462ee37d13a3fdea0d3598dc3df",
+ "size_in_bytes": 1414
+ },
+ {
+ "_path": "share/man/man3/libssh2_sftp_get_channel.3",
+ "path_type": "hardlink",
+ "sha256": "991acd8157f64be22e795eb8451c1d7e0557599362d07cd47b8845426b8a2ac4",
+ "size_in_bytes": 649
+ },
+ {
+ "_path": "share/man/man3/libssh2_sftp_init.3",
+ "path_type": "hardlink",
+ "sha256": "a4b9dbee2b1bca53149b9df9da4acace640a2efffefcabed34aa7b6afbb217f4",
+ "size_in_bytes": 1454
+ },
+ {
+ "_path": "share/man/man3/libssh2_sftp_last_error.3",
+ "path_type": "hardlink",
+ "sha256": "cc531f8c4e631ee87c0c6919bc23aa9b798b2fde5319f9f6336f0aefe28d800a",
+ "size_in_bytes": 851
+ },
+ {
+ "_path": "share/man/man3/libssh2_sftp_lstat.3",
+ "path_type": "hardlink",
+ "sha256": "5bd4a798b13fe424f40a63c1a7b92e20c2b7cad4b39ac552ca1e729bca44e48a",
+ "size_in_bytes": 715
+ },
+ {
+ "_path": "share/man/man3/libssh2_sftp_mkdir.3",
+ "path_type": "hardlink",
+ "sha256": "3b13853d28b91b3526fd2788bc41bf869774042a7421775b4f8d5de2da773932",
+ "size_in_bytes": 699
+ },
+ {
+ "_path": "share/man/man3/libssh2_sftp_mkdir_ex.3",
+ "path_type": "hardlink",
+ "sha256": "12db10abe8a010a23c158baec03eb873ef27b18de0a5b725c6e2c1a492f58fc0",
+ "size_in_bytes": 1555
+ },
+ {
+ "_path": "share/man/man3/libssh2_sftp_open.3",
+ "path_type": "hardlink",
+ "sha256": "4d3c35cc6eeb58cf7c1b943e1a8bbac7cfd3e705f6b6f2bc2cbd2c5472d36e86",
+ "size_in_bytes": 751
+ },
+ {
+ "_path": "share/man/man3/libssh2_sftp_open_ex.3",
+ "path_type": "hardlink",
+ "sha256": "0ffb026f78bd57ba71ef10e51644c0f49f9fa3271eb5be100c979abb43379b7a",
+ "size_in_bytes": 2508
+ },
+ {
+ "_path": "share/man/man3/libssh2_sftp_open_ex_r.3",
+ "path_type": "hardlink",
+ "sha256": "642b805e54883c8aa90674e616aeff9e9f0fe255baeb4a71268432df8b6342b9",
+ "size_in_bytes": 2742
+ },
+ {
+ "_path": "share/man/man3/libssh2_sftp_open_r.3",
+ "path_type": "hardlink",
+ "sha256": "d58ebd2914c12f005e7e884860edb9d564609464a62ef7981f68bb20ce0de25b",
+ "size_in_bytes": 824
+ },
+ {
+ "_path": "share/man/man3/libssh2_sftp_opendir.3",
+ "path_type": "hardlink",
+ "sha256": "86c3cb7f8bd19010588fb928095e81ab9b736ba6f6f562eb2d010e7d334fef9c",
+ "size_in_bytes": 688
+ },
+ {
+ "_path": "share/man/man3/libssh2_sftp_posix_rename.3",
+ "path_type": "hardlink",
+ "sha256": "af5d09b04b92169edf9f973834632844859fb4c491608e172d5163ceb0431991",
+ "size_in_bytes": 816
+ },
+ {
+ "_path": "share/man/man3/libssh2_sftp_posix_rename_ex.3",
+ "path_type": "hardlink",
+ "sha256": "e76dc9650db7bdde52eb59a8a52c01e6fb0356ccc3af6e43d6da8f2b0e3a074f",
+ "size_in_bytes": 2141
+ },
+ {
+ "_path": "share/man/man3/libssh2_sftp_read.3",
+ "path_type": "hardlink",
+ "sha256": "25fd0d134f1874927a88308a046e556a9b5dadf792ab247cdd9cfb4220f81e5b",
+ "size_in_bytes": 1610
+ },
+ {
+ "_path": "share/man/man3/libssh2_sftp_readdir.3",
+ "path_type": "hardlink",
+ "sha256": "f53f2850afbe38cf7ccbdca8ad6c2fbad82dca58567c466ce1ae42b42ad231da",
+ "size_in_bytes": 786
+ },
+ {
+ "_path": "share/man/man3/libssh2_sftp_readdir_ex.3",
+ "path_type": "hardlink",
+ "sha256": "cef4a5038188aedb0dd7d73e89c80d9615a37501c2914ddabc4b2349832c56df",
+ "size_in_bytes": 2781
+ },
+ {
+ "_path": "share/man/man3/libssh2_sftp_readlink.3",
+ "path_type": "hardlink",
+ "sha256": "ac85251703acaae076551d72f8b75e239136c30915adefda15dd218e5095113a",
+ "size_in_bytes": 841
+ },
+ {
+ "_path": "share/man/man3/libssh2_sftp_realpath.3",
+ "path_type": "hardlink",
+ "sha256": "991cfa58e620bd327c3453e137632d73b83808226efde411285b593153fe560b",
+ "size_in_bytes": 841
+ },
+ {
+ "_path": "share/man/man3/libssh2_sftp_rename.3",
+ "path_type": "hardlink",
+ "sha256": "79b3266bfd7c9e511509a1f57738c271af636ffdd5ac1b2e6bfabc06a217d215",
+ "size_in_bytes": 762
+ },
+ {
+ "_path": "share/man/man3/libssh2_sftp_rename_ex.3",
+ "path_type": "hardlink",
+ "sha256": "6b7f1d47835534b202abf17163cd5af9148e246b11853f3a2a82ee5d4cf7aea2",
+ "size_in_bytes": 2273
+ },
+ {
+ "_path": "share/man/man3/libssh2_sftp_rewind.3",
+ "path_type": "hardlink",
+ "sha256": "5dc88e0e443e013f8dc93135cb2c054ea3a386afd9945dce005a9c4dc15a594e",
+ "size_in_bytes": 653
+ },
+ {
+ "_path": "share/man/man3/libssh2_sftp_rmdir.3",
+ "path_type": "hardlink",
+ "sha256": "b044b93bea87d7f0a1a9bdb417c1b9d51b71af6cc2605fd7e453803937c17807",
+ "size_in_bytes": 699
+ },
+ {
+ "_path": "share/man/man3/libssh2_sftp_rmdir_ex.3",
+ "path_type": "hardlink",
+ "sha256": "347ab2145dc11f5bc2c0606bdffde4d48190a80dfad1ed83e7cc7afa61ad7a86",
+ "size_in_bytes": 1291
+ },
+ {
+ "_path": "share/man/man3/libssh2_sftp_seek.3",
+ "path_type": "hardlink",
+ "sha256": "9cf9e18d5223fe74089de905b5bd5f85c6af8404d2f036d0e8c26e5eb6fb2227",
+ "size_in_bytes": 1027
+ },
+ {
+ "_path": "share/man/man3/libssh2_sftp_seek64.3",
+ "path_type": "hardlink",
+ "sha256": "b2213bd874a4f7dae7d1adc5b6e009fbd855beb0629ba389484ea1e6c24b0e22",
+ "size_in_bytes": 1136
+ },
+ {
+ "_path": "share/man/man3/libssh2_sftp_setstat.3",
+ "path_type": "hardlink",
+ "sha256": "68ed4b14c9c7e1469110a697269f5425e486865bb345aedba5193d0350550b95",
+ "size_in_bytes": 722
+ },
+ {
+ "_path": "share/man/man3/libssh2_sftp_shutdown.3",
+ "path_type": "hardlink",
+ "sha256": "db9269bef0cf8083e498126bbb589ef7ab1735daa6c3533f6d71237901955ca3",
+ "size_in_bytes": 764
+ },
+ {
+ "_path": "share/man/man3/libssh2_sftp_stat.3",
+ "path_type": "hardlink",
+ "sha256": "c58253aa8d0130d9828b66c0fc048d0b17cd323f88945343e7a2d468629b9704",
+ "size_in_bytes": 716
+ },
+ {
+ "_path": "share/man/man3/libssh2_sftp_stat_ex.3",
+ "path_type": "hardlink",
+ "sha256": "a75b72b3a630be833ffe0ee520c90de3daf5a0549483e3c67107e6ac13dfbbb0",
+ "size_in_bytes": 2417
+ },
+ {
+ "_path": "share/man/man3/libssh2_sftp_statvfs.3",
+ "path_type": "hardlink",
+ "sha256": "49bc4561fdfd1a7a967f5361821cc9271d23a422c781f3cfe547bc9e69dd0638",
+ "size_in_bytes": 2813
+ },
+ {
+ "_path": "share/man/man3/libssh2_sftp_symlink.3",
+ "path_type": "hardlink",
+ "sha256": "166a69b8888e716d35f58585b8e5d7c38b25f375f2a6133fa46a7338f24e7d01",
+ "size_in_bytes": 810
+ },
+ {
+ "_path": "share/man/man3/libssh2_sftp_symlink_ex.3",
+ "path_type": "hardlink",
+ "sha256": "99688bb027725a7616cfd3864401bfb571dbd6b4c4e64475dce8c6846a21e9d1",
+ "size_in_bytes": 2895
+ },
+ {
+ "_path": "share/man/man3/libssh2_sftp_tell.3",
+ "path_type": "hardlink",
+ "sha256": "997093bf15033ba12e0d492e5168b5abc7714c61ad16adb5dd13814824188f46",
+ "size_in_bytes": 755
+ },
+ {
+ "_path": "share/man/man3/libssh2_sftp_tell64.3",
+ "path_type": "hardlink",
+ "sha256": "a9528d4cfb07191c6e964f7451bd5ea24a1cd21306aaba89a77cbad1cc585fa7",
+ "size_in_bytes": 721
+ },
+ {
+ "_path": "share/man/man3/libssh2_sftp_unlink.3",
+ "path_type": "hardlink",
+ "sha256": "47fb4511fc65ae3accd55630db74a47c1343d024e0c79400081eaa97efdee28e",
+ "size_in_bytes": 681
+ },
+ {
+ "_path": "share/man/man3/libssh2_sftp_unlink_ex.3",
+ "path_type": "hardlink",
+ "sha256": "44b089c206b2a40c8571244ef6d50b15a840b9e0cb8d96854d839fe3a00c69cc",
+ "size_in_bytes": 1342
+ },
+ {
+ "_path": "share/man/man3/libssh2_sftp_write.3",
+ "path_type": "hardlink",
+ "sha256": "e2e53bb3099c438ba12757e0fb2c9b363a7eb579f456f695c5b7b03367ae7a2a",
+ "size_in_bytes": 3080
+ },
+ {
+ "_path": "share/man/man3/libssh2_sign_sk.3",
+ "path_type": "hardlink",
+ "sha256": "5743fdcbb209cc0e5082e366764229661a4b268f93da05774099475fc1ea54e4",
+ "size_in_bytes": 3171
+ },
+ {
+ "_path": "share/man/man3/libssh2_trace.3",
+ "path_type": "hardlink",
+ "sha256": "95432f298aab883ad52984527059619814d4f6ed2b51ea68242b2f7d85eadb0e",
+ "size_in_bytes": 1123
+ },
+ {
+ "_path": "share/man/man3/libssh2_trace_sethandler.3",
+ "path_type": "hardlink",
+ "sha256": "1cbc4fb7d2dafb33dd83f43665b041ea567b69ab7bd0840586fbc467dbdf044a",
+ "size_in_bytes": 1406
+ },
+ {
+ "_path": "share/man/man3/libssh2_userauth_authenticated.3",
+ "path_type": "hardlink",
+ "sha256": "36f943511f320e72ae3e58c8d4c1c34de8d40052a38e360bc892661a696b6f25",
+ "size_in_bytes": 631
+ },
+ {
+ "_path": "share/man/man3/libssh2_userauth_banner.3",
+ "path_type": "hardlink",
+ "sha256": "ce53486fa574dc8963823fe45fc6bcd1b0784bfa60eb4c5b4e27294a28a6fc53",
+ "size_in_bytes": 1198
+ },
+ {
+ "_path": "share/man/man3/libssh2_userauth_hostbased_fromfile.3",
+ "path_type": "hardlink",
+ "sha256": "a8bc73ec12de2eb9fbdda4a4650d9ec0930973ce344319c4211300e46e48e1ae",
+ "size_in_bytes": 1062
+ },
+ {
+ "_path": "share/man/man3/libssh2_userauth_hostbased_fromfile_ex.3",
+ "path_type": "hardlink",
+ "sha256": "99d9d87ccb9bcd513ce12927066b3bb1ccef1468a51819fa1e0d9f325a492ed4",
+ "size_in_bytes": 318
+ },
+ {
+ "_path": "share/man/man3/libssh2_userauth_keyboard_interactive.3",
+ "path_type": "hardlink",
+ "sha256": "286256d30eabaddbfea956c71560f693ffdcaf30595cbaeb3cf002c068e3f270",
+ "size_in_bytes": 921
+ },
+ {
+ "_path": "share/man/man3/libssh2_userauth_keyboard_interactive_ex.3",
+ "path_type": "hardlink",
+ "sha256": "6f5f59facf7221417ab19d55c3188ef13ab41691799b88a9a680ae13c8e05fc7",
+ "size_in_bytes": 2444
+ },
+ {
+ "_path": "share/man/man3/libssh2_userauth_list.3",
+ "path_type": "hardlink",
+ "sha256": "d261efe75b56449123f45929ea41d60da39c3c375dcee87d7238eda9a70dc442",
+ "size_in_bytes": 1727
+ },
+ {
+ "_path": "share/man/man3/libssh2_userauth_password.3",
+ "path_type": "hardlink",
+ "sha256": "1f3955b0503ffa39f6cff55a1ddd2283c6b0b183ecd2da2089815f9edd7f9c91",
+ "size_in_bytes": 783
+ },
+ {
+ "_path": "share/man/man3/libssh2_userauth_password_ex.3",
+ "path_type": "hardlink",
+ "sha256": "e90b6ad0c2a4bc406e748319849cf147ba3b326fc77eb331fcab6d8e252862e1",
+ "size_in_bytes": 2325
+ },
+ {
+ "_path": "share/man/man3/libssh2_userauth_publickey.3",
+ "path_type": "hardlink",
+ "sha256": "f690a31d61110b656610f257fe0609b5b6e59529c247b7fa866f31a07c4a8a45",
+ "size_in_bytes": 1007
+ },
+ {
+ "_path": "share/man/man3/libssh2_userauth_publickey_fromfile.3",
+ "path_type": "hardlink",
+ "sha256": "3e2f767ff85f3e69baab1d6a26f38cb6b9e614f9d3c9ea9ea4b281774e0da1d7",
+ "size_in_bytes": 1004
+ },
+ {
+ "_path": "share/man/man3/libssh2_userauth_publickey_fromfile_ex.3",
+ "path_type": "hardlink",
+ "sha256": "ec140c49395f21372077ea929740c72259d9ec40c15042fa13d90657489a0516",
+ "size_in_bytes": 2203
+ },
+ {
+ "_path": "share/man/man3/libssh2_userauth_publickey_frommemory.3",
+ "path_type": "hardlink",
+ "sha256": "68c340ccf9a45c38d90fb9099e15d474b3b1df22fcba995f0713c3974586edd5",
+ "size_in_bytes": 2412
+ },
+ {
+ "_path": "share/man/man3/libssh2_userauth_publickey_sk.3",
+ "path_type": "hardlink",
+ "sha256": "3172feca0991e9ea79fdc9dc98f894f53c73bba2347bf3ea9650ad26ec32ce43",
+ "size_in_bytes": 5459
+ },
+ {
+ "_path": "share/man/man3/libssh2_version.3",
+ "path_type": "hardlink",
+ "sha256": "b345a7bb83082bfb168a8372a8a5e05a7dc50a31a1f765b95fb0d35ca7a0f49f",
+ "size_in_bytes": 1334
+ }
+ ],
+ "paths_version": 1
+}
\ No newline at end of file
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/recipe/bld.bat b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/recipe/bld.bat
new file mode 100644
index 0000000000000000000000000000000000000000..ffd705e4b87743aac49c6b304f7801581df19119
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/recipe/bld.bat
@@ -0,0 +1,30 @@
+set PATH=%PREFIX%\cmake-bin\bin;%PATH%
+
+set CFLAGS=
+set CXXFLAGS=
+
+mkdir build
+pushd build
+ cmake .. -GNinja ^
+ -DCMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX% ^
+ -DCMAKE_BUILD_TYPE=Release ^
+ -DBUILD_SHARED_LIBS=ON ^
+ -DBUILD_STATIC_LIBS=OFF ^
+ -DCMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX% ^
+ -DCMAKE_PREFIX_PATH=%LIBRARY_PREFIX% ^
+ -DENABLE_ZLIB_COMPRESSION=ON ^
+ -DCRYPTO_BACKEND=OpenSSL ^
+ -DBUILD_EXAMPLES=OFF ^
+ -DBUILD_TESTING=ON ^
+ -DRUN_DOCKER_TESTS=OFF ^
+ -DRUN_SSHD_TESTS=OFF ^
+ %CMAKE_ARGS%
+
+ ninja -j%CPU_COUNT%
+ IF %ERRORLEVEL% NEQ 0 exit 1
+ REM Skip Docker and SSHD tests (see above) because they involve external dependencies
+ ctest --output-on-failure
+ IF %ERRORLEVEL% NEQ 0 exit 1
+ ninja install
+ IF %ERRORLEVEL% NEQ 0 exit 1
+popd
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/recipe/build.sh b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/recipe/build.sh
new file mode 100644
index 0000000000000000000000000000000000000000..95a01a72ebbaf973b724e90d8853c360b5cb6b10
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/recipe/build.sh
@@ -0,0 +1,36 @@
+#!/bin/bash
+
+if [[ $target_platform =~ linux.* ]]; then
+ export LDFLAGS="$LDFLAGS -Wl,-rpath-link,$PREFIX/lib"
+fi
+
+# linux-aarch64 activations fails to set `ar` tool. This can be
+# removed when ctng-compiler-activation is corrected.
+if [[ "${target_platform}" == linux-aarch64 ]]; then
+ if [[ -n "$AR" ]]; then
+ CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_AR=${AR}"
+ fi
+fi
+
+mkdir build-shared
+pushd build-shared || exit
+ cmake -GNinja \
+ ${CMAKE_ARGS} \
+ -DCMAKE_INSTALL_PREFIX=${PREFIX} \
+ -DBUILD_SHARED_LIBS=ON \
+ -DBUILD_STATIC_LIBS=OFF \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DCRYPTO_BACKEND=OpenSSL \
+ -DENABLE_ZLIB_COMPRESSION=ON \
+ -DBUILD_EXAMPLES=OFF \
+ -DBUILD_TESTING=ON \
+ -DRUN_DOCKER_TESTS=OFF \
+ -DRUN_SSHD_TESTS=OFF \
+ ..
+
+ ninja -j${CPU_COUNT}
+ # Skip Docker and SSHD tests (see above) because they involve external dependencies
+ ctest --output-on-failure
+ ninja install
+ # ctest fails on the docker image 'sh: docker: command not found'
+popd || exit
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/recipe/conda_build_config.yaml b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/recipe/conda_build_config.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..d162c1281ef667f772fb4a4e093ab506511fafca
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/recipe/conda_build_config.yaml
@@ -0,0 +1,107 @@
+VERBOSE_AT: V=1
+VERBOSE_CM: VERBOSE=1
+blas_impl: openblas
+boost: '1.82'
+boost_cpp: '1.82'
+bzip2: '1.0'
+c_compiler: gcc
+c_compiler_version: 11.2.0
+cairo: '1.16'
+cgo_compiler: go-cgo
+cgo_compiler_version: '1.21'
+channel_targets: defaults
+clang_variant: clang
+cpu_optimization_target: nocona
+cran_mirror: https://mran.microsoft.com/snapshot/2018-01-01
+cuda_compiler: cuda-nvcc
+cuda_compiler_version: '12.4'
+cxx_compiler: gxx
+cxx_compiler_version: 11.2.0
+cyrus_sasl: 2.1.28
+dbus: '1'
+expat: '2'
+extend_keys:
+- pin_run_as_build
+- extend_keys
+- ignore_build_only_deps
+- ignore_version
+fontconfig: '2.14'
+fortran_compiler: gfortran
+fortran_compiler_version: 11.2.0
+freetype: '2.10'
+g2clib: '1.6'
+geos: 3.8.0
+giflib: '5'
+glib: '2'
+gmp: '6.2'
+gnu: 2.12.2
+go_compiler: go-nocgo
+go_compiler_version: '1.21'
+gst_plugins_base: '1.14'
+gstreamer: '1.14'
+harfbuzz: 4.3.0
+hdf4: '4.2'
+hdf5: 1.12.1
+hdfeos2: '2.20'
+hdfeos5: '5.1'
+icu: '73'
+ignore_build_only_deps:
+- python
+- numpy
+jpeg: '9'
+libabseil: '20240116.2'
+libcurl: 8.1.1
+libdap4: '3.19'
+libffi: '3.4'
+libgd: 2.3.3
+libgdal: 3.6.2
+libgrpc: 1.62.2
+libgsasl: '1.10'
+libkml: '1.3'
+libnetcdf: '4.8'
+libpng: '1.6'
+libprotobuf: 4.25.3
+libtiff: 4.5.0
+libwebp: 1.3.2
+libxml2: '2.13'
+libxslt: '1.1'
+llvm_variant: llvm
+lua: '5'
+lzo: '2'
+mkl: 2023.*
+mpfr: '4'
+numpy: '1.26'
+openblas: 0.3.21
+openjpeg: '2.3'
+openssl: '3.0'
+perl: '5.34'
+pin_run_as_build:
+ python:
+ max_pin: x.x
+ min_pin: x.x
+ r-base:
+ max_pin: x.x
+ min_pin: x.x
+ libboost:
+ max_pin: x.x.x
+pixman: '0.40'
+proj: 9.3.1
+proj4: 5.2.0
+python: '3.12'
+python_impl: cpython
+python_implementation: cpython
+r_base: '3.5'
+r_implementation: mro-base
+r_version: 3.5.0
+readline: '8.1'
+rust_compiler: rust
+rust_compiler_version: 1.82.0
+sqlite: '3'
+target_platform: linux-64
+tk: '8.6'
+xz: '5'
+zip_keys:
+- - python
+ - numpy
+zlib: '1.2'
+zstd: 1.5.2
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/recipe/meta.yaml b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/recipe/meta.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..6bada299be1156f2f9969d1206295fbc4254c2fe
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/recipe/meta.yaml
@@ -0,0 +1,73 @@
+# This file created by conda-build 24.1.2
+# meta.yaml template originally from:
+# /feedstock/recipe, last modified Fri Nov 29 14:38:06 2024
+# ------------------------------------------------
+
+package:
+ name: libssh2
+ version: 1.11.1
+source:
+ sha256: d9ec76cbe34db98eec3539fe2c899d26b0c837cb3eb466a56b0f109cabf658f7
+ url: https://www.libssh2.org/download/libssh2-1.11.1.tar.gz
+build:
+ number: '0'
+ run_exports:
+ - libssh2 >=1.11.1,<2.0a0
+ string: h251f7ec_0
+requirements:
+ build:
+ - _libgcc_mutex 0.1 main
+ - _openmp_mutex 5.1 1_gnu
+ - _sysroot_linux-64_curr_repodata_hack 3 haa98f57_10
+ - binutils_impl_linux-64 2.40 h5293946_0
+ - binutils_linux-64 2.40.0 hc2dff05_1
+ - cmake-no-system 3.25.3 h6a678d5_0
+ - gcc_impl_linux-64 11.2.0 h1234567_1
+ - gcc_linux-64 11.2.0 h5c386dc_1
+ - kernel-headers_linux-64 3.10.0 h57e8cba_10
+ - ld_impl_linux-64 2.40 h12ee557_0
+ - libgcc-devel_linux-64 11.2.0 h1234567_1
+ - libgcc-ng 11.2.0 h1234567_1
+ - libgomp 11.2.0 h1234567_1
+ - libstdcxx-ng 11.2.0 h1234567_1
+ - ninja-base 1.12.1 hdb19cb5_0
+ - sysroot_linux-64 2.17 h57e8cba_10
+ host:
+ - _libgcc_mutex 0.1 main
+ - _openmp_mutex 5.1 1_gnu
+ - ca-certificates 2024.11.26 h06a4308_0
+ - libgcc-ng 11.2.0 h1234567_1
+ - libgomp 11.2.0 h1234567_1
+ - openssl 3.0.15 h5eee18b_0
+ - zlib 1.2.13 h5eee18b_1
+ run:
+ - libgcc-ng >=11.2.0
+ - openssl >=3.0.15,<4.0a0
+ - zlib >=1.2.13,<1.3.0a0
+test:
+ commands:
+ - test -f $PREFIX/include/libssh2.h
+ - test -f $PREFIX/include/libssh2_publickey.h
+ - test -f $PREFIX/include/libssh2_sftp.h
+ - test -f $PREFIX/lib/libssh2${SHLIB_EXT}
+ - test -f $PREFIX/lib/pkgconfig/libssh2.pc
+about:
+ description: 'libssh2 is a library implementing the SSH2 protocol, available under
+ the revised BSD license.
+
+ '
+ dev_url: https://github.com/libssh2/libssh2
+ doc_url: https://www.libssh2.org/docs.html
+ home: https://www.libssh2.org/
+ license: BSD-3-Clause
+ license_family: BSD
+ license_file: COPYING
+ summary: the SSH library
+extra:
+ copy_test_source_files: true
+ final: true
+ flow_run_id: 4b0cea38-9e15-42af-bd4a-1ec053c9b0d5
+ recipe-maintainers:
+ - shadowwalkersb
+ remote_url: git@github.com:AnacondaRecipes/libssh2-feedstock.git
+ sha: ccf17c18a57eafac668302e8b68bd89ce4526611
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/recipe/meta.yaml.template b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/recipe/meta.yaml.template
new file mode 100644
index 0000000000000000000000000000000000000000..8d5ac725c38370081791944aadc12fbe8f164eb1
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/recipe/meta.yaml.template
@@ -0,0 +1,61 @@
+{% set name = "libssh2" %}
+{% set version = "1.11.1" %}
+
+package:
+ name: {{ name }}
+ version: {{ version }}
+
+source:
+ url: https://www.libssh2.org/download/{{ name }}-{{ version }}.tar.gz
+ sha256: d9ec76cbe34db98eec3539fe2c899d26b0c837cb3eb466a56b0f109cabf658f7
+
+build:
+ number: 0
+ run_exports:
+ - {{ pin_subpackage('libssh2') }}
+
+requirements:
+ build:
+ - {{ compiler('c') }}
+ # This breaks a dependency cycle:
+ # curl->libssh2->cmake->curl
+ - cmake-no-system
+ - ninja-base
+ host:
+ - openssl {{ openssl }}
+ - zlib {{ zlib }}
+ run:
+ # exact pin handled through openssl and zlib run_exports
+ - openssl
+ - zlib
+
+test:
+ commands:
+ - test -f $PREFIX/include/libssh2.h # [not win]
+ - test -f $PREFIX/include/libssh2_publickey.h # [not win]
+ - test -f $PREFIX/include/libssh2_sftp.h # [not win]
+
+ - test -f $PREFIX/lib/libssh2${SHLIB_EXT} # [not win]
+ - test -f $PREFIX/lib/pkgconfig/libssh2.pc # [not win]
+
+ - if not exist %LIBRARY_INC%\\libssh2.h exit 1 # [win]
+ - if not exist %LIBRARY_INC%\\libssh2_publickey.h exit 1 # [win]
+ - if not exist %LIBRARY_INC%\\libssh2_sftp.h exit 1 # [win]
+ - if not exist %LIBRARY_LIB%\\libssh2.lib exit 1 # [win]
+ - if not exist %LIBRARY_LIB%\\pkgconfig\\libssh2.pc exit 1 # [win]
+ - if not exist %LIBRARY_BIN%\\libssh2.dll exit 1 # [win]
+
+about:
+ home: https://www.libssh2.org/
+ license: BSD-3-Clause
+ license_family: BSD
+ license_file: COPYING
+ summary: 'the SSH library'
+ description: |
+ libssh2 is a library implementing the SSH2 protocol, available under the revised BSD license.
+ doc_url: https://www.libssh2.org/docs.html
+ dev_url: https://github.com/libssh2/libssh2
+
+extra:
+ recipe-maintainers:
+ - shadowwalkersb
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/repodata_record.json b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/repodata_record.json
new file mode 100644
index 0000000000000000000000000000000000000000..097c0e646ad24819b57d80be0a867d49ac18331e
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/repodata_record.json
@@ -0,0 +1,24 @@
+{
+ "arch": "x86_64",
+ "build": "h251f7ec_0",
+ "build_number": 0,
+ "channel": "https://repo.anaconda.com/pkgs/main/linux-64/",
+ "constrains": [],
+ "depends": [
+ "libgcc-ng >=11.2.0",
+ "openssl >=3.0.15,<4.0a0",
+ "zlib >=1.2.13,<2.0.0a0"
+ ],
+ "fn": "libssh2-1.11.1-h251f7ec_0.conda",
+ "license": "BSD-3-Clause",
+ "license_family": "BSD",
+ "md5": "dd68c24355431c0543339dda1404129d",
+ "name": "libssh2",
+ "platform": "linux",
+ "sha256": "57da13c06557d7d6f21a0ac6d1e83a3e990d2217adcc4dc395009eb56ed040a2",
+ "size": 315187,
+ "subdir": "linux-64",
+ "timestamp": 1732891131000,
+ "url": "https://repo.anaconda.com/pkgs/main/linux-64/libssh2-1.11.1-h251f7ec_0.conda",
+ "version": "1.11.1"
+}
\ No newline at end of file
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/run_exports.json b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/run_exports.json
new file mode 100644
index 0000000000000000000000000000000000000000..2af9ae8511dd2740c2b095b9488b54933863799c
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/run_exports.json
@@ -0,0 +1 @@
+{"weak": ["libssh2 >=1.11.1,<2.0a0"]}
\ No newline at end of file
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/test/run_test.sh b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/test/run_test.sh
new file mode 100644
index 0000000000000000000000000000000000000000..8b01f732af80bd01962cfb5a1b1c2780fe1c87ef
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/info/test/run_test.sh
@@ -0,0 +1,12 @@
+
+
+set -ex
+
+
+
+test -f $PREFIX/include/libssh2.h
+test -f $PREFIX/include/libssh2_publickey.h
+test -f $PREFIX/include/libssh2_sftp.h
+test -f $PREFIX/lib/libssh2${SHLIB_EXT}
+test -f $PREFIX/lib/pkgconfig/libssh2.pc
+exit 0
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/lib/cmake/libssh2/FindLibgcrypt.cmake b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/lib/cmake/libssh2/FindLibgcrypt.cmake
new file mode 100644
index 0000000000000000000000000000000000000000..4582ce9b21dd987a3dc7aa39d0a40d9715173fb8
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/lib/cmake/libssh2/FindLibgcrypt.cmake
@@ -0,0 +1,59 @@
+# Copyright (C) The libssh2 project and its contributors.
+# SPDX-License-Identifier: BSD-3-Clause
+#
+###########################################################################
+# Find the libgcrypt library
+#
+# Input variables:
+#
+# LIBGCRYPT_INCLUDE_DIR The libgcrypt include directory
+# LIBGCRYPT_LIBRARY Path to libgcrypt library
+#
+# Result variables:
+#
+# LIBGCRYPT_FOUND System has libgcrypt
+# LIBGCRYPT_INCLUDE_DIRS The libgcrypt include directories
+# LIBGCRYPT_LIBRARIES The libgcrypt library names
+# LIBGCRYPT_LIBRARY_DIRS The libgcrypt library directories
+# LIBGCRYPT_CFLAGS Required compiler flags
+# LIBGCRYPT_VERSION Version of libgcrypt
+
+if((UNIX OR VCPKG_TOOLCHAIN OR (MINGW AND NOT CMAKE_CROSSCOMPILING)) AND
+ NOT DEFINED LIBGCRYPT_INCLUDE_DIR AND
+ NOT DEFINED LIBGCRYPT_LIBRARY)
+ find_package(PkgConfig QUIET)
+ pkg_check_modules(LIBGCRYPT "libgcrypt")
+endif()
+
+if(LIBGCRYPT_FOUND)
+ string(REPLACE ";" " " LIBGCRYPT_CFLAGS "${LIBGCRYPT_CFLAGS}")
+ message(STATUS "Found Libgcrypt (via pkg-config): ${LIBGCRYPT_INCLUDE_DIRS} (found version \"${LIBGCRYPT_VERSION}\")")
+else()
+ find_path(LIBGCRYPT_INCLUDE_DIR NAMES "gcrypt.h")
+ find_library(LIBGCRYPT_LIBRARY NAMES "gcrypt" "libgcrypt")
+
+ if(LIBGCRYPT_INCLUDE_DIR AND EXISTS "${LIBGCRYPT_INCLUDE_DIR}/gcrypt.h")
+ set(_version_regex "#[\t ]*define[\t ]+GCRYPT_VERSION[\t ]+\"([^\"]*)\"")
+ file(STRINGS "${LIBGCRYPT_INCLUDE_DIR}/gcrypt.h" _version_str REGEX "${_version_regex}")
+ string(REGEX REPLACE "${_version_regex}" "\\1" _version_str "${_version_str}")
+ set(LIBGCRYPT_VERSION "${_version_str}")
+ unset(_version_regex)
+ unset(_version_str)
+ endif()
+
+ include(FindPackageHandleStandardArgs)
+ find_package_handle_standard_args(Libgcrypt
+ REQUIRED_VARS
+ LIBGCRYPT_INCLUDE_DIR
+ LIBGCRYPT_LIBRARY
+ VERSION_VAR
+ LIBGCRYPT_VERSION
+ )
+
+ if(LIBGCRYPT_FOUND)
+ set(LIBGCRYPT_INCLUDE_DIRS ${LIBGCRYPT_INCLUDE_DIR})
+ set(LIBGCRYPT_LIBRARIES ${LIBGCRYPT_LIBRARY})
+ endif()
+
+ mark_as_advanced(LIBGCRYPT_INCLUDE_DIR LIBGCRYPT_LIBRARY)
+endif()
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/lib/cmake/libssh2/FindMbedTLS.cmake b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/lib/cmake/libssh2/FindMbedTLS.cmake
new file mode 100644
index 0000000000000000000000000000000000000000..26bc565576ffd58352a5b0d7b1631d3e6d868633
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/lib/cmake/libssh2/FindMbedTLS.cmake
@@ -0,0 +1,69 @@
+# Copyright (C) The libssh2 project and its contributors.
+# SPDX-License-Identifier: BSD-3-Clause
+#
+###########################################################################
+# Find the mbedtls library
+#
+# Input variables:
+#
+# MBEDTLS_INCLUDE_DIR The mbedtls include directory
+# MBEDCRYPTO_LIBRARY Path to mbedcrypto library
+#
+# Result variables:
+#
+# MBEDTLS_FOUND System has mbedtls
+# MBEDTLS_INCLUDE_DIRS The mbedtls include directories
+# MBEDTLS_LIBRARIES The mbedtls library names
+# MBEDTLS_LIBRARY_DIRS The mbedtls library directories
+# MBEDTLS_CFLAGS Required compiler flags
+# MBEDTLS_VERSION Version of mbedtls
+
+if((UNIX OR VCPKG_TOOLCHAIN OR (MINGW AND NOT CMAKE_CROSSCOMPILING)) AND
+ NOT DEFINED MBEDTLS_INCLUDE_DIR AND
+ NOT DEFINED MBEDCRYPTO_LIBRARY)
+ find_package(PkgConfig QUIET)
+ pkg_check_modules(MBEDTLS "mbedcrypto")
+endif()
+
+if(MBEDTLS_FOUND)
+ string(REPLACE ";" " " MBEDTLS_CFLAGS "${MBEDTLS_CFLAGS}")
+ message(STATUS "Found MbedTLS (via pkg-config): ${MBEDTLS_INCLUDE_DIRS} (found version \"${MBEDTLS_VERSION}\")")
+else()
+ find_path(MBEDTLS_INCLUDE_DIR NAMES "mbedtls/version.h")
+ find_library(MBEDCRYPTO_LIBRARY NAMES "mbedcrypto" "libmbedcrypto")
+
+ if(MBEDTLS_INCLUDE_DIR)
+ if(EXISTS "${MBEDTLS_INCLUDE_DIR}/mbedtls/build_info.h") # 3.x
+ set(_version_header "${MBEDTLS_INCLUDE_DIR}/mbedtls/build_info.h")
+ elseif(EXISTS "${MBEDTLS_INCLUDE_DIR}/mbedtls/version.h") # 2.x
+ set(_version_header "${MBEDTLS_INCLUDE_DIR}/mbedtls/version.h")
+ else()
+ unset(_version_header)
+ endif()
+ if(_version_header)
+ set(_version_regex "#[\t ]*define[\t ]+MBEDTLS_VERSION_STRING[\t ]+\"([0-9.]+)\"")
+ file(STRINGS "${_version_header}" _version_str REGEX "${_version_regex}")
+ string(REGEX REPLACE "${_version_regex}" "\\1" _version_str "${_version_str}")
+ set(MBEDTLS_VERSION "${_version_str}")
+ unset(_version_regex)
+ unset(_version_str)
+ unset(_version_header)
+ endif()
+ endif()
+
+ include(FindPackageHandleStandardArgs)
+ find_package_handle_standard_args(MbedTLS
+ REQUIRED_VARS
+ MBEDTLS_INCLUDE_DIR
+ MBEDCRYPTO_LIBRARY
+ VERSION_VAR
+ MBEDTLS_VERSION
+ )
+
+ if(MBEDTLS_FOUND)
+ set(MBEDTLS_INCLUDE_DIRS ${MBEDTLS_INCLUDE_DIR})
+ set(MBEDTLS_LIBRARIES ${MBEDCRYPTO_LIBRARY})
+ endif()
+
+ mark_as_advanced(MBEDTLS_INCLUDE_DIR MBEDCRYPTO_LIBRARY)
+endif()
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/lib/cmake/libssh2/FindWolfSSL.cmake b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/lib/cmake/libssh2/FindWolfSSL.cmake
new file mode 100644
index 0000000000000000000000000000000000000000..f66a59dfe60d8eaf8a321b36ba60ffee7d96ad8b
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/lib/cmake/libssh2/FindWolfSSL.cmake
@@ -0,0 +1,59 @@
+# Copyright (C) The libssh2 project and its contributors.
+# SPDX-License-Identifier: BSD-3-Clause
+#
+###########################################################################
+# Find the wolfssl library
+#
+# Input variables:
+#
+# WOLFSSL_INCLUDE_DIR The wolfssl include directory
+# WOLFSSL_LIBRARY Path to wolfssl library
+#
+# Result variables:
+#
+# WOLFSSL_FOUND System has wolfssl
+# WOLFSSL_INCLUDE_DIRS The wolfssl include directories
+# WOLFSSL_LIBRARIES The wolfssl library names
+# WOLFSSL_LIBRARY_DIRS The wolfssl library directories
+# WOLFSSL_CFLAGS Required compiler flags
+# WOLFSSL_VERSION Version of wolfssl
+
+if((UNIX OR VCPKG_TOOLCHAIN OR (MINGW AND NOT CMAKE_CROSSCOMPILING)) AND
+ NOT DEFINED WOLFSSL_INCLUDE_DIR AND
+ NOT DEFINED WOLFSSL_LIBRARY)
+ find_package(PkgConfig QUIET)
+ pkg_check_modules(WOLFSSL "wolfssl")
+endif()
+
+if(WOLFSSL_FOUND)
+ string(REPLACE ";" " " WOLFSSL_CFLAGS "${WOLFSSL_CFLAGS}")
+ message(STATUS "Found WolfSSL (via pkg-config): ${WOLFSSL_INCLUDE_DIRS} (found version \"${WOLFSSL_VERSION}\")")
+else()
+ find_path(WOLFSSL_INCLUDE_DIR NAMES "wolfssl/options.h")
+ find_library(WOLFSSL_LIBRARY NAMES "wolfssl")
+
+ if(WOLFSSL_INCLUDE_DIR AND EXISTS "${WOLFSSL_INCLUDE_DIR}/wolfssl/version.h")
+ set(_version_regex "#[\t ]*define[\t ]+LIBWOLFSSL_VERSION_STRING[\t ]+\"([^\"]*)\"")
+ file(STRINGS "${WOLFSSL_INCLUDE_DIR}/wolfssl/version.h" _version_str REGEX "${_version_regex}")
+ string(REGEX REPLACE "${_version_regex}" "\\1" _version_str "${_version_str}")
+ set(WOLFSSL_VERSION "${_version_str}")
+ unset(_version_regex)
+ unset(_version_str)
+ endif()
+
+ include(FindPackageHandleStandardArgs)
+ find_package_handle_standard_args(WolfSSL
+ REQUIRED_VARS
+ WOLFSSL_INCLUDE_DIR
+ WOLFSSL_LIBRARY
+ VERSION_VAR
+ WOLFSSL_VERSION
+ )
+
+ if(WOLFSSL_FOUND)
+ set(WOLFSSL_INCLUDE_DIRS ${WOLFSSL_INCLUDE_DIR})
+ set(WOLFSSL_LIBRARIES ${WOLFSSL_LIBRARY})
+ endif()
+
+ mark_as_advanced(WOLFSSL_INCLUDE_DIR WOLFSSL_LIBRARY)
+endif()
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/lib/cmake/libssh2/libssh2-config-version.cmake b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/lib/cmake/libssh2/libssh2-config-version.cmake
new file mode 100644
index 0000000000000000000000000000000000000000..fbdab0cc82240325fac55f9bdca0d9b0270023a8
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/lib/cmake/libssh2/libssh2-config-version.cmake
@@ -0,0 +1,70 @@
+# This is a basic version file for the Config-mode of find_package().
+# It is used by write_basic_package_version_file() as input file for configure_file()
+# to create a version-file which can be installed along a config.cmake file.
+#
+# The created file sets PACKAGE_VERSION_EXACT if the current version string and
+# the requested version string are exactly the same and it sets
+# PACKAGE_VERSION_COMPATIBLE if the current version is >= requested version,
+# but only if the requested major version is the same as the current one.
+# The variable CVF_VERSION must be set before calling configure_file().
+
+
+set(PACKAGE_VERSION "1.11.1")
+
+if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
+ set(PACKAGE_VERSION_COMPATIBLE FALSE)
+else()
+
+ if("1.11.1" MATCHES "^([0-9]+)\\.")
+ set(CVF_VERSION_MAJOR "${CMAKE_MATCH_1}")
+ if(NOT CVF_VERSION_MAJOR VERSION_EQUAL 0)
+ string(REGEX REPLACE "^0+" "" CVF_VERSION_MAJOR "${CVF_VERSION_MAJOR}")
+ endif()
+ else()
+ set(CVF_VERSION_MAJOR "1.11.1")
+ endif()
+
+ if(PACKAGE_FIND_VERSION_RANGE)
+ # both endpoints of the range must have the expected major version
+ math (EXPR CVF_VERSION_MAJOR_NEXT "${CVF_VERSION_MAJOR} + 1")
+ if (NOT PACKAGE_FIND_VERSION_MIN_MAJOR STREQUAL CVF_VERSION_MAJOR
+ OR ((PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "INCLUDE" AND NOT PACKAGE_FIND_VERSION_MAX_MAJOR STREQUAL CVF_VERSION_MAJOR)
+ OR (PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "EXCLUDE" AND NOT PACKAGE_FIND_VERSION_MAX VERSION_LESS_EQUAL CVF_VERSION_MAJOR_NEXT)))
+ set(PACKAGE_VERSION_COMPATIBLE FALSE)
+ elseif(PACKAGE_FIND_VERSION_MIN_MAJOR STREQUAL CVF_VERSION_MAJOR
+ AND ((PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "INCLUDE" AND PACKAGE_VERSION VERSION_LESS_EQUAL PACKAGE_FIND_VERSION_MAX)
+ OR (PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "EXCLUDE" AND PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION_MAX)))
+ set(PACKAGE_VERSION_COMPATIBLE TRUE)
+ else()
+ set(PACKAGE_VERSION_COMPATIBLE FALSE)
+ endif()
+ else()
+ if(PACKAGE_FIND_VERSION_MAJOR STREQUAL CVF_VERSION_MAJOR)
+ set(PACKAGE_VERSION_COMPATIBLE TRUE)
+ else()
+ set(PACKAGE_VERSION_COMPATIBLE FALSE)
+ endif()
+
+ if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
+ set(PACKAGE_VERSION_EXACT TRUE)
+ endif()
+ endif()
+endif()
+
+
+# if the installed project requested no architecture check, don't perform the check
+if("FALSE")
+ return()
+endif()
+
+# if the installed or the using project don't have CMAKE_SIZEOF_VOID_P set, ignore it:
+if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "" OR "8" STREQUAL "")
+ return()
+endif()
+
+# check that the installed version has the same 32/64bit-ness as the one which is currently searching:
+if(NOT CMAKE_SIZEOF_VOID_P STREQUAL "8")
+ math(EXPR installedBits "8 * 8")
+ set(PACKAGE_VERSION "${PACKAGE_VERSION} (${installedBits}bit)")
+ set(PACKAGE_VERSION_UNSUITABLE TRUE)
+endif()
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/lib/cmake/libssh2/libssh2-config.cmake b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/lib/cmake/libssh2/libssh2-config.cmake
new file mode 100644
index 0000000000000000000000000000000000000000..ccc72ec4fb451329bdb7a5121e8fad15109d48f3
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/lib/cmake/libssh2/libssh2-config.cmake
@@ -0,0 +1,31 @@
+# Copyright (C) The libssh2 project and its contributors.
+# SPDX-License-Identifier: BSD-3-Clause
+
+include(CMakeFindDependencyMacro)
+list(PREPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR})
+
+if("OpenSSL" STREQUAL "OpenSSL")
+ find_dependency(OpenSSL)
+elseif("OpenSSL" STREQUAL "wolfSSL")
+ find_dependency(WolfSSL)
+elseif("OpenSSL" STREQUAL "Libgcrypt")
+ find_dependency(Libgcrypt)
+elseif("OpenSSL" STREQUAL "mbedTLS")
+ find_dependency(MbedTLS)
+endif()
+
+if(TRUE)
+ find_dependency(ZLIB)
+endif()
+
+include("${CMAKE_CURRENT_LIST_DIR}/libssh2-targets.cmake")
+
+# Alias for either shared or static library
+if(NOT TARGET libssh2::libssh2)
+ add_library(libssh2::libssh2 ALIAS libssh2::libssh2_shared)
+endif()
+
+# Compatibility alias
+if(NOT TARGET Libssh2::libssh2)
+ add_library(Libssh2::libssh2 ALIAS libssh2::libssh2_shared)
+endif()
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/lib/cmake/libssh2/libssh2-targets-noconfig.cmake b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/lib/cmake/libssh2/libssh2-targets-noconfig.cmake
new file mode 100644
index 0000000000000000000000000000000000000000..6f84ae433944a21f6463eabf682afb5ebd929971
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/lib/cmake/libssh2/libssh2-targets-noconfig.cmake
@@ -0,0 +1,19 @@
+#----------------------------------------------------------------
+# Generated CMake target import file.
+#----------------------------------------------------------------
+
+# Commands may need to know the format version.
+set(CMAKE_IMPORT_FILE_VERSION 1)
+
+# Import target "libssh2::libssh2_shared" for configuration ""
+set_property(TARGET libssh2::libssh2_shared APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG)
+set_target_properties(libssh2::libssh2_shared PROPERTIES
+ IMPORTED_LOCATION_NOCONFIG "${_IMPORT_PREFIX}/lib/libssh2.so.1.0.1"
+ IMPORTED_SONAME_NOCONFIG "libssh2.so.1"
+ )
+
+list(APPEND _cmake_import_check_targets libssh2::libssh2_shared )
+list(APPEND _cmake_import_check_files_for_libssh2::libssh2_shared "${_IMPORT_PREFIX}/lib/libssh2.so.1.0.1" )
+
+# Commands beyond this point should not need to know the version.
+set(CMAKE_IMPORT_FILE_VERSION)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/lib/cmake/libssh2/libssh2-targets.cmake b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/lib/cmake/libssh2/libssh2-targets.cmake
new file mode 100644
index 0000000000000000000000000000000000000000..a30310991c79847d2d03812c166f8b797ef4c42d
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/lib/cmake/libssh2/libssh2-targets.cmake
@@ -0,0 +1,102 @@
+# Generated by CMake
+
+if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8)
+ message(FATAL_ERROR "CMake >= 2.8.0 required")
+endif()
+if(CMAKE_VERSION VERSION_LESS "2.8.3")
+ message(FATAL_ERROR "CMake >= 2.8.3 required")
+endif()
+cmake_policy(PUSH)
+cmake_policy(VERSION 2.8.3...3.23)
+#----------------------------------------------------------------
+# Generated CMake target import file.
+#----------------------------------------------------------------
+
+# Commands may need to know the format version.
+set(CMAKE_IMPORT_FILE_VERSION 1)
+
+# Protect against multiple inclusion, which would fail when already imported targets are added once more.
+set(_cmake_targets_defined "")
+set(_cmake_targets_not_defined "")
+set(_cmake_expected_targets "")
+foreach(_cmake_expected_target IN ITEMS libssh2::libssh2_shared)
+ list(APPEND _cmake_expected_targets "${_cmake_expected_target}")
+ if(TARGET "${_cmake_expected_target}")
+ list(APPEND _cmake_targets_defined "${_cmake_expected_target}")
+ else()
+ list(APPEND _cmake_targets_not_defined "${_cmake_expected_target}")
+ endif()
+endforeach()
+unset(_cmake_expected_target)
+if(_cmake_targets_defined STREQUAL _cmake_expected_targets)
+ unset(_cmake_targets_defined)
+ unset(_cmake_targets_not_defined)
+ unset(_cmake_expected_targets)
+ unset(CMAKE_IMPORT_FILE_VERSION)
+ cmake_policy(POP)
+ return()
+endif()
+if(NOT _cmake_targets_defined STREQUAL "")
+ string(REPLACE ";" ", " _cmake_targets_defined_text "${_cmake_targets_defined}")
+ string(REPLACE ";" ", " _cmake_targets_not_defined_text "${_cmake_targets_not_defined}")
+ message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_cmake_targets_defined_text}\nTargets not yet defined: ${_cmake_targets_not_defined_text}\n")
+endif()
+unset(_cmake_targets_defined)
+unset(_cmake_targets_not_defined)
+unset(_cmake_expected_targets)
+
+
+# Compute the installation prefix relative to this file.
+get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
+get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
+get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
+get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
+if(_IMPORT_PREFIX STREQUAL "/")
+ set(_IMPORT_PREFIX "")
+endif()
+
+# Create imported target libssh2::libssh2_shared
+add_library(libssh2::libssh2_shared SHARED IMPORTED)
+
+set_target_properties(libssh2::libssh2_shared PROPERTIES
+ INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
+)
+
+# Load information for each installed configuration.
+file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/libssh2-targets-*.cmake")
+foreach(_cmake_config_file IN LISTS _cmake_config_files)
+ include("${_cmake_config_file}")
+endforeach()
+unset(_cmake_config_file)
+unset(_cmake_config_files)
+
+# Cleanup temporary variables.
+set(_IMPORT_PREFIX)
+
+# Loop over all imported files and verify that they actually exist
+foreach(_cmake_target IN LISTS _cmake_import_check_targets)
+ foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}")
+ if(NOT EXISTS "${_cmake_file}")
+ message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file
+ \"${_cmake_file}\"
+but this file does not exist. Possible reasons include:
+* The file was deleted, renamed, or moved to another location.
+* An install or uninstall procedure did not complete successfully.
+* The installation package was faulty and contained
+ \"${CMAKE_CURRENT_LIST_FILE}\"
+but not all the files it references.
+")
+ endif()
+ endforeach()
+ unset(_cmake_file)
+ unset("_cmake_import_check_files_for_${_cmake_target}")
+endforeach()
+unset(_cmake_target)
+unset(_cmake_import_check_targets)
+
+# This file does not depend on other imported targets which have
+# been exported from the same project but in a separate export set.
+
+# Commands beyond this point should not need to know the version.
+set(CMAKE_IMPORT_FILE_VERSION)
+cmake_policy(POP)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/lib/pkgconfig/libssh2.pc b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/lib/pkgconfig/libssh2.pc
new file mode 100644
index 0000000000000000000000000000000000000000..2af8d3a37b209d4f3d8f448df800fd2d15eea3c4
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/lib/pkgconfig/libssh2.pc
@@ -0,0 +1,21 @@
+###########################################################################
+# libssh2 installation details
+#
+# Copyright (C) The libssh2 project and its contributors.
+# SPDX-License-Identifier: BSD-3-Clause
+###########################################################################
+
+prefix=/croot/libssh2_1732891098804/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: libssh2
+URL: https://libssh2.org/
+Description: Library for SSH-based communication
+Version: 1.11.1
+Requires:
+Requires.private: libcrypto,zlib
+Libs: -L${libdir} -lssh2
+Libs.private: -lcrypto -lz
+Cflags: -I${includedir}
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/doc/libssh2/AUTHORS b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/doc/libssh2/AUTHORS
new file mode 100644
index 0000000000000000000000000000000000000000..e94299fcf6beffb15f222d659f49f585f24e8816
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/doc/libssh2/AUTHORS
@@ -0,0 +1,80 @@
+ libssh2 is the result of many friendly people. This list is an attempt to
+ mention all contributors. If we have missed anyone, tell us!
+
+ This list of names is a-z sorted.
+
+Adam Gobiowski
+Alexander Holyapin
+Alexander Lamaison
+Alfred Gebert
+Ben Kibbey
+Bjorn Stenborg
+Carlo Bramini
+Cristian Rodríguez
+Daiki Ueno
+Dan Casey
+Dan Fandrich
+Daniel Stenberg
+Dave Hayden
+Dave McCaldon
+David J Sullivan
+David Robins
+Dmitry Smirnov
+Douglas Masterson
+Edink Kadribasic
+Erik Brossler
+Francois Dupoux
+Gellule Xg
+Grubsky Grigory
+Guenter Knauf
+Heiner Steven
+Henrik Nordstrom
+James Housleys
+Jasmeet Bagga
+Jean-Louis Charton
+Jernej Kovacic
+Joey Degges
+John Little
+Jose Baars
+Jussi Mononen
+Kamil Dudka
+Lars Nordin
+Mark McPherson
+Mark Smith
+Markus Moeller
+Matt Lilley
+Matthew Booth
+Maxime Larocque
+Mike Protts
+Mikhail Gusarov
+Neil Gierman
+Olivier Hervieu
+Paul Howarth
+Paul Querna
+Paul Veldkamp
+Peter Krempa
+Peter O'Gorman
+Peter Stuge
+Pierre Joye
+Rafael Kitover
+Romain Bondue
+Sara Golemon
+Satish Mittal
+Sean Peterson
+Selcuk Gueney
+Simon Hart
+Simon Josefsson
+Sofian Brabez
+Steven Ayre
+Steven Dake
+Steven Van Ingelgem
+TJ Saunders
+Tommy Lindgren
+Tor Arntsen
+Viktor Szakats
+Vincent Jaulin
+Vincent Torri
+Vlad Grachov
+Wez Furlong
+Yang Tse
+Zl Liu
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/doc/libssh2/BINDINGS.md b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/doc/libssh2/BINDINGS.md
new file mode 100644
index 0000000000000000000000000000000000000000..63ad1b0d34fca1d2fc35f9e1a5bcfc8d8cdcc90b
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/doc/libssh2/BINDINGS.md
@@ -0,0 +1,25 @@
+libssh2 bindings
+================
+
+Creative people have written bindings or interfaces for various environments
+and programming languages. Using one of these bindings allows you to take
+advantage of libssh2 directly from within your favourite language.
+
+The bindings listed below are not part of the libssh2 distribution archives,
+but must be downloaded and installed separately.
+
+
+
+[Cocoa/Objective-C](https://github.com/karelia/libssh2_sftp-Cocoa-wrapper)
+
+[Haskell FFI bindings](https://hackage.haskell.org/package/libssh2)
+
+[Perl Net::SSH2](https://metacpan.org/pod/Net::SSH2)
+
+[PHP ssh2](https://pecl.php.net/package/ssh2)
+
+[Python pylibssh2](https://pypi.python.org/pypi/pylibssh2)
+
+[Python-ctypes PySsh2](https://github.com/gellule/PySsh2)
+
+[Ruby libssh2-ruby](https://github.com/mitchellh/libssh2-ruby)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/doc/libssh2/COPYING b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/doc/libssh2/COPYING
new file mode 100644
index 0000000000000000000000000000000000000000..6eb51468404b21423ff3d842adfab0cd475de13d
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/doc/libssh2/COPYING
@@ -0,0 +1,43 @@
+/* Copyright (C) 2004-2007 Sara Golemon
+ * Copyright (C) 2005,2006 Mikhail Gusarov
+ * Copyright (C) 2006-2007 The Written Word, Inc.
+ * Copyright (C) 2007 Eli Fant
+ * Copyright (C) 2009-2023 Daniel Stenberg
+ * Copyright (C) 2008, 2009 Simon Josefsson
+ * Copyright (C) 2000 Markus Friedl
+ * Copyright (C) 2015 Microsoft Corp.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms,
+ * with or without modification, are permitted provided
+ * that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above
+ * copyright notice, this list of conditions and the
+ * following disclaimer.
+ *
+ * Redistributions in binary form must reproduce the above
+ * copyright notice, this list of conditions and the following
+ * disclaimer in the documentation and/or other materials
+ * provided with the distribution.
+ *
+ * Neither the name of the copyright holder nor the names
+ * of any other contributors may be used to endorse or
+ * promote products derived from this software without
+ * specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
+ * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
+ * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
+ * OF SUCH DAMAGE.
+ */
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/doc/libssh2/HACKING.md b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/doc/libssh2/HACKING.md
new file mode 100644
index 0000000000000000000000000000000000000000..11ddbd305dd7626ab6cab27bbea7f7149978fef9
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/doc/libssh2/HACKING.md
@@ -0,0 +1,14 @@
+# libssh2 source code style guide
+
+- 4 level indent
+- spaces-only (no tabs)
+- open braces on the if/for line:
+
+ ```
+ if (banana) {
+ go_nuts();
+ }
+ ```
+
+- keep source lines shorter than 80 columns
+- See `libssh2-style.el` for how to achieve this within Emacs
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/doc/libssh2/NEWS b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/doc/libssh2/NEWS
new file mode 100644
index 0000000000000000000000000000000000000000..b3bd14cbab9a36062a11c6ac52c0e83ef95ac47d
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/doc/libssh2/NEWS
@@ -0,0 +1,10896 @@
+ Changelog for the libssh2 project. Generated with git2news.pl
+
+Daniel Stenberg (16 Oct 2024)
+- RELEASE-NOTES: 1.11.1
+
+Viktor Szakats (8 Oct 2024)
+- RELEASE-NOTES: sync [ci skip]
+
+- [Anders Borum brought this change]
+
+ session: support server banners up to 8192 bytes (was: 256)
+
+ If server had banner exceeding 256 bytes there wasn't enough room in
+ `_LIBSSH2_SESSION.banner_TxRx_banner`. Only the first 256 bytes would be
+ read making the first packet read fail but also dooming key exchange as
+ `session->remote.banner` didn't include everything.
+
+ This change bumps the banner buffer to 8KB to match OpenSSH.
+
+ Fixes #1442
+ Closes #1443
+
+- RELEASE-NOTES: sync [ci skip]
+
+- cmake: sync and improve Find modules, add `pkg-config` native detection
+
+ - sync code between Find modules.
+ - wolfssl: replace `pkg-config` hints with native detection.
+ - libgcrypt, mbedtls: add `pkg-config`-based native detection.
+ - libgcrypt: add version detection.
+ - limit `pkg-config` use for `UNIX`, vcpkg, and non-cross MinGW builds,
+ and builds with no manual customization via `*_INCLUDE_DIR` or
+ `*_LIBRARY`.
+ - replace and sync Find module header comments.
+ - ci: delete manual mbedTLS config that's now redundant.
+
+ Based on similar work done in curl.
+
+ Second attempt at #1420
+ Closes #1445
+
+- cmake: initialize `LIBSSH2_LIBDIRS` [ci skip]
+
+ Follow-up to c87f12963037b22e6b60411c9c2d6513c06e2f03 #1466
+
+- ci/appveyor: fix and bump OpenSSL 3 path, add path check
+
+ Follow-up to b5e68bdc37c6afa0dc777794dda8307167919d04 #1461
+ Closes #1468
+
+- cmake: link to OpenSSL::Crypto, not OpenSSL::SSL
+
+ Follow-up to 82b09f9b3aae97f641fbcc2d746d2a6383abe857 #1322
+ Follow-up to c84745e34e53f863ffba997ceeee7d43d1c63a4b #1128
+ Cherry-picked from #1445
+ Closes #1467
+
+- cmake: generate `LIBSSH2_PC_LIBS_PRIVATE` dynamically
+
+ Generate `LIBSSH2_PC_LIBS_PRIVATE` from `LIBSSH2_LIBS`.
+
+ Also add extra libdirs (`-L`) to `Libs` and `Libs.private`.
+
+ Logic copied from curl.
+
+ Closes #1466
+
+- cmake: initialize `LIBSSH2_PC_REQUIRES_PRIVATE` [ci skip]
+
+ Follow-up to 0fce9dcc2909ffff5f4a1a1bc3d359fc7f409299 #1464
+
+- cmake: add comment about `ibssh2.pc.in` variables [ci skip]
+
+- cmake: support absolute `CMAKE_INSTALL_INCLUDEDIR`/`CMAKE_INSTALL_LIBDIR`
+
+ in `libssh2.pc`.
+
+ Also use `${exec_prefix}` (instead of `${prefix}`) as a base for `libdir`.
+
+ Closes #1465
+
+- cmake: rename two variables and initialize them
+
+ - `LIBRARIES` -> `LIBSSH2_LIBS`
+ - `SOCKET_LIBRARIES` -> `LIBSSH2_LIBS_SOCKET`
+
+ Also initialize them before use.
+
+ Cherry-picked from #1445
+ Closes #1464
+
+- ci/appveyor: reduce test runs (workaround for infrastructure permafails)
+
+ Jobs consistently fail to connect to the test server (run in GHA) since
+ 2024-Aug-29:
+ https://ci.appveyor.com/project/libssh2org/libssh2/builds/50498393
+
+ There was an earlier phase of failures one month before that, that got
+ fixed by increasing the wait for the server in
+ bf3af90b3f1bb14cf452df7a8eb55cc9088f3e7f.
+
+ Thus, skip running tests in AppVeyor CI jobs, except: After some
+ experiments, it seems that running tests with the last OpenSSL job and
+ the last WinCrypt job _work_, which still leaves some coverage.
+ It remains to be seen how stable this is.
+
+ This is meant as a temporary fix till there is a solution to make all
+ jobs run tests reliable like up until a few months ago.
+
+ Closes #1461
+
+- [Patrick Monnerat brought this change]
+
+ os400: drop vsprintf() use
+
+ Follow-up to discussion in #1457
+
+ Plus e-mail address update.
+
+ Closes #1462
+
+- RELEASE-NOTES: sync [ci skip]
+
+Daniel Stenberg (30 Sep 2024)
+- openssl: free allocated resources when using openssl3
+
+ Reproduces consistently with curl test case 638
+
+ Closes #1459
+
+Viktor Szakats (28 Sep 2024)
+- checksrc: update, check all sources, fix fallouts
+
+ update from curl:
+ https://github.com/curl/curl/blob/cff75acfeca65738da8297aee0b30427b004b240/scripts/checksrc.pl
+
+ Closes #1457
+
+- cmake: prefer `find_dependency()` in `libssh2-config.cmake`
+
+ CMake manual suggest using `find_dependency()` (over `find_package()`)
+ in `config.cmake` scripts.
+
+ Ref: https://cmake.org/cmake/help/latest/module/CMakeFindDependencyMacro.html
+
+ Closes #1460
+
+- ci: use Ninja with cmake
+
+ Closes #1458
+
+GitHub (27 Sep 2024)
+- [dksslq brought this change]
+
+ Fix memory leaks in _libssh2_ecdsa_curve_name_with_octal_new and _libssh2_ecdsa_verify (#1449)
+
+ Better error handling in`_libssh2_ecdsa_curve_name_with_octal_new` and `_libssh2_ecdsa_verify` to prevent leaks.
+
+ Credit: dksslq
+
+- [rolag brought this change]
+
+ Fix unstable connections over nonblocking sockets (#1454)
+
+ The `send_existing()` function allows partially sent packets to be sent
+ fully before any further packets are sent. Originally this returned
+ `LIBSSH2_ERROR_BAD_USE` when a different caller or thread tried to send
+ an existing packet created by a different caller or thread causing the
+ connection to disconnect. Commit 33dddd2f8ac3bc81 removed the return
+ allowing any caller to continue sending another caller's packet. This
+ caused connection instability as discussed in #1397 and confused the
+ client and server causing occasional duplicate packets to be sent and
+ giving the error `rcvd too much data` as discussed in #1431. We return
+ `LIBSSH2_ERROR_EAGAIN` instead to allow existing callers to finish
+ sending their own packets.
+
+ Fixes #1397
+ Fixes #1431
+ Related #720
+
+ Credit: klux21, rolag
+
+- [Will Cosgrove brought this change]
+
+ Prevent possible double free of hostkey (#1452)
+
+ NULL server hostkey based on fuzzer failure case.
+
+Viktor Szakats (7 Sep 2024)
+- cmake: tidy up syntax, minor improvements
+
+ - make internal variables underscore-lowercase.
+ - unfold lines.
+ - fold lines setting header directories.
+ - fix indent.
+ - drop interim variable `EXAMPLES`.
+ - initialize some variables before populating them.
+ - clear a variable after use.
+ - add `libssh2_dumpvars()` function for debugging.
+ - allow to override default `CMAKE_UNITY_BUILD_BATCH_SIZE`.
+ - bump up default `CMAKE_UNITY_BUILD_BATCH_SIZE` to 0 (was 32).
+ - tidy up option descriptions.
+
+ Closes #1446
+
+- cmake: rename mbedTLS and wolfSSL Find modules
+
+ To match the curl ones.
+
+ Cherry-picked from #1445
+
+- RELEASE-NOTES: sync [ci skip]
+
+- cmake: fixup version detection in mbedTLS find module
+
+ - avoid warning with 2.x versions about missing header file while
+ extracting the version number.
+
+ - clear temp variables.
+
+ Closes #1444
+
+- buildconf: drop
+
+ Use `autoreconf -fi` instead.
+
+ Follow-up to fc5d77881eb6bb179f831e626d15f4f29179aad5
+ Closes #1441
+
+- [Michael Buckley brought this change]
+
+ Implement chacha20-poly1305@openssh.com
+
+ Probably the biggest and potentially most controversial change we have
+ to upstream.
+
+ Because earlier versions of OpenSSL implemented the algorithm before
+ standardization, using an older version of OpenSSL can cause problems
+ connecting to OpenSSH servers. Because of this, we use the public domain
+ reference implementation instead of the crypto backends, just like
+ OpenSSH does.
+
+ We've been holding this one for a few years. We were about to upstream
+ it around the same time as aes128gcm landed upstream, and the two
+ changes were completely incompatible. Honestly, it took me weeks to
+ reconcile these two implementations, and it could be much better.
+
+ Our original implementation changed every crypt method to decrypt the
+ entire message at once. the AESGCM implementation instead went with this
+ firstlast design, where a firstlast paramater indicates whether this is
+ the first or last call to the crypt method for each message. That added
+ a lot of bookkeeping overhead, and wasn't compatible with the chacha
+ public domain implementation.
+
+ As far as I could tell, OpenSSH uses the technique of decrypting the
+ entire message in one go, and doesn't have anything like firstlast.
+ However, I could not get out aes128gcm implementation to work that way,
+ nor could I get the chacha implementation to work with firstlast, so I
+ split it down the middle and let each implementation work differently.
+ It's kind of a mess, and probably should be cleaned up, but I don't have
+ the time to spend on it anymore, and it's probably better to have
+ everything upstream.
+
+ Fixes #584
+ Closes #1426
+
+- tidy-up: do/while formatting
+
+ Also fix an indentation and delete empty lines.
+
+ Closes #1440
+
+- wolfssl: drop header path hack
+
+ The wolfSSL OpenSSL headers reside in `wolfssl/openssl/*.h`.
+
+ Before this patch the wolfSSL OpenSSL compatibilty header includes were
+ shared with the native OpenSSL codepath, and used `openssl/*h`. For
+ wolfSSL builds this required a hack to append the
+ `/wolfssl` directory to the header search path, to find
+ the headers.
+
+ This patch changes the source to use the correct header references,
+ allowing to drop the header path hack.
+
+ Also fix to use the correct variable to set up the header path in CMake:
+ `WOLFSSL_INCLUDE_DIRS` (was: `WOLFSSL_INCLUDE_DIR`, without the `S`)
+
+ Closes #1439
+
+- cmake: mbedTLS detection tidy-ups
+
+ - set and use `MBEDTLS_INCLUDE_DIRS`.
+ - stop marking `MBEDTLS_LIBRARIES` as advanced.
+
+ Closes #1438
+
+- cmake: add quotes, delete ending dirseps
+
+ Follow-up to 3fa5282d6284efba62dc591697e6a687152bdcb1 #1166
+ Closes #1437
+
+- CI/appveyor: increase wait for SSH server on GHA [ci skip]
+
+ Blind attempt to make AppVeyor CI tests work again.
+
+- disable DSA by default
+
+ Also:
+ - add `LIBSSH2_DSA_ENABLE` to enable it explicitly.
+ - test the above option in CI.
+ - say 'deprecated' in docs and public header.
+ - disable DSA in the CI server config.
+ (OpenSSH 9.8 no longer builds with it by default)
+ https://www.openssh.com/txt/release-9.8
+ Patch-by: Jose Quaresma
+ - disable more DSA code when not enabled.
+
+ Fixes #1433
+ Closes #1435
+
+GitHub (30 Jul 2024)
+- [Viktor Szakats brought this change]
+
+ tidy-up: link updates (#1434)
+
+Marc Hoersken (27 Jul 2024)
+- ci/GHA: revert concurrency and improve permissions
+
+ Statuses are per AppVeyor event and commit, not pull-request.
+ Also align permissions approach with curl, least priviledge.
+
+ Partially reverts b08cfbc99fa4df3459db4e1ccf4263fd260e9b15.
+
+GitHub (23 Jul 2024)
+- [Will Cosgrove brought this change]
+
+ Always init mbedtls_pk_context (#1430)
+
+ In the failure case, mbedtls_pk_context could be free'd without first being initialized.
+
+- [Viktor Szakats brought this change]
+
+ mbedtls: tidy-up (#1429)
+
+- [Will Cosgrove brought this change]
+
+ Correctly initialize values (#1428)
+
+ Fix regression with commit from #1421
+
+Viktor Szakats (14 Jul 2024)
+- RELEASE-NOTES: sync [ci skip]
+
+- [Seo Suchan brought this change]
+
+ mbedtls: expose `mbedtls_pk_load_file()` for our use
+
+ While it's moved to pk_internal, it won't removed in mbedTLS 3.6 LTS
+ so it's safe to redeclare it on our side to find it.
+
+ This is implementing emergency fix suggested from
+ https://github.com/libssh2/libssh2/commit/2e4c5ec4627b3ecf4b6da16f365c011dec9a31b4#commitcomment-141379351
+
+ Follow-up to e973493f992313b3be73f51d3f7ca6d52e288558 #1393
+ Follow-up to 2e4c5ec4627b3ecf4b6da16f365c011dec9a31b4 #1349
+ Closes #1421
+
+GitHub (13 Jul 2024)
+- [Viktor Szakats brought this change]
+
+ ci/GHA: simplify mbedTLS build hack for autotools (#1425)
+
+ Follow-up to e973493f992313b3be73f51d3f7ca6d52e288558 #1393
+
+- [Michael Buckley brought this change]
+
+ Always check for null pointers before calling _libssh2_bn_set_word (#1423)
+
+- [Viktor Szakats brought this change]
+
+ ci/GHA: FreeBSD 14.1, actions bump (#1424)
+
+- [Michael Buckley brought this change]
+
+ Increase SFTP_HANDLE_MAXLEN back to 4092 (#1422)
+
+ Match OpenSSH for compatibility.
+
+Viktor Szakats (10 Jul 2024)
+- ci/GHA: tidy up casing [ci skip]
+
+- REUSE: fix typo in comment
+
+- REUSE: shorten and improve
+
+ Follow-up to 70b8bf314cf4566a7529c5d6eae63097a926abb0 #1419
+
+- REUSE: upgrade to `REUSE.toml`
+
+ Closes #1419
+
+- build: stop detecting `sys/param.h` header
+
+ This header is no longer used.
+
+ Follow-up to 12427f4fb8e789adcee4a6e30974932883915e88 #1415
+ Closes #1418
+
+- [Nicolas Mora brought this change]
+
+ tests: avoid using `MAXPATHLEN`, for portability
+
+ `MAXPATHLEN` is not present in some systems, e.g. GNU Hurd.
+
+ Co-authored-by: Viktor Szakats
+ Ref: 54bef4c5dad868a9d45fdbfca9729b191c0abab5 #198
+ Fixes #1414
+ Closes #1415
+
+- cmake: sync formatting in `cmake/Find*` modules
+
+- [Michael Buckley brought this change]
+
+ sftp: implement posix-rename@openssh.com
+
+ Add a new function `libssh2_sftp_posix_rename_ex()` and
+ `libssh2_sftp_posix_rename()`, which implement
+ the posix-rename@openssh.com extension.
+
+ If the server does not support this extension, the function returns
+ `LIBSSH2_FX_OP_UNSUPPORTED` and it's up to the user to recover, possibly
+ by calling `libssh2_sftp_rename()`.
+
+ Co-authored-by: Viktor Szakats (bump to size_t)
+ Closes #1386
+
+- src: use `UINT32_MAX`
+
+ Needs to be defined for platforms missing it, e.g. VS2008.
+
+ Closes #1413
+
+GitHub (25 Jun 2024)
+- [Michael Buckley brought this change]
+
+ Fix a memory leak in key exchange. (#1412)
+
+ Original fix submitted as a patch by Trzik.
+
+ Co-authored-by: Michael Buckley
+
+Viktor Szakats (25 Jun 2024)
+- RELEASE-NOTES: sync [ci skip]
+
+- wolfssl: fix `EVP_Cipher()` use with v5.6.0 and older
+
+ Add workaround for the wolfSSL `EVP_Cipher(*p, NULL, NULL, 0)` bug to
+ make libssh2 work with wolfSSL v5.6.0 and older.
+
+ wolfSSL fixed this issue in v5.7.0:
+ https://github.com/wolfSSL/wolfssl/pull/7143
+ https://github.com/wolfSSL/wolfssl/commit/b0de0a1c95119786cf5651dd76dd7d7bdfac5a04
+
+ Without our local workaround:
+
+ - v5.3.0 and older fail most tests:
+ Ref: https://github.com/libssh2/libssh2/actions/runs/9646827522/job/26604211476#step:17:1263
+
+ - v5.4.0, v5.5.x, v5.6.0 fail these:
+ ```
+ 29 - test_read-aes128-cbc (Failed)
+ 30 - test_read-aes128-ctr (Failed)
+ 32 - test_read-aes192-cbc (Failed)
+ 33 - test_read-aes192-ctr (Failed)
+ 34 - test_read-aes256-cbc (Failed)
+ 35 - test_read-aes256-ctr (Failed)
+ ```
+ Ref: https://github.com/libssh2/libssh2/actions/runs/9646827522/job/26604233819#step:17:978
+
+ Oddly enough the workaround breaks OpenSSL tests, so only enable it for
+ the affected wolfSSL versions.
+
+ Also add new build-from-source wolfSSL CI job to test the new codepath.
+
+ wolfSSL has a build bug where `wolfssl/options.h` and
+ `wolfssl/version.h` are not copied to the `install` destination with
+ autotools. With CMake it has a different bug where `wolfcrypt/sp_int.h`
+ is not copied (with v5.4.0). And another with CMake where `FIPS_mode()`
+ remains missing (with v5.6.0 and earlier.)
+
+ Therefore use CMake with v5.5.4 and a workaround for `FIPS_mode()`.
+ Another option is autotools with v5.4.0 and a workaround for `install`,
+ but CMake builds quicker.
+
+ Regression-from 3c953c05d67eb1ebcfd3316f279f12c4b1d600b4 #797
+ Fixes #1020
+ Fixes #1299
+ Assisted-by: Michael Buckley via #1394
+ Closes #1394 (another attempt to fix the mentioned wolfSSL bug)
+ Closes #1407
+
+- wolfssl: bump version in upstream issue comment [ci skip]
+
+- wolfssl: require v5.4.0 for AES-GCM
+
+ Earlier versions crash while running tests.
+
+ This patch is part of a series of fixes to make wolfSSL AES-GCM support
+ work together with libssh2.
+
+ Possibly related is this wolfSSL bugfix patch, released in v5.4.0:
+ https://github.com/wolfSSL/wolfssl/pull/5205
+ https://github.com/wolfSSL/wolfssl/commit/fb3c611275dfe454c331baa0818445a0406c208a
+ "Fix another AES-GCM EVP control command issue"
+
+ Ref: #1020
+ Ref: #1299
+ Cherry-picked from #1407
+ Closes #1411
+
+- tests: fix excluding AES-GCM tests
+
+ Replace hard-coded crypto backends and rely on `LIBSSH2_GCM` macro
+ to decide whether to run AES-GCM tests.
+
+ Without this, build attempted to run AES-GCM tests (and failed)
+ for crypto backends that have conditional support for this feature, e.g.
+ wolfSSL without the necessary features built-in
+ (as in before Homewbrew wolfssl 5.7.0_1, or OpenSSL v1.1.0 and older).
+
+ This patch is part of a series of fixes to make wolfSSL AES-GCM support
+ work together with libssh2.
+
+ Cherry-picked from #1407
+ Closes #1410
+
+- ci/GHA: fix wolfSSL-from-source AES-GCM tests
+
+ Turns out these tests:
+ ```
+ 31 - test_read-aes128-gcm@openssh.com (Failed)
+ 36 - test_read-aes256-gcm@openssh.com (Failed)
+ ```
+ were failing because AES-GCM wasn't enabled in libssh2. This in turn
+ happened because the `WOLFSSL_AESGCM_STREAM` macro wasn't enabled while
+ building wolfSSL. Which happened because this macro isn't enabled by
+ any CMake-level wolfSSL option. Passing it as `CPPFLAGS` fixes it.
+
+ This allows enabling tests with wolfSSL 5.7.0.
+
+ Follow-up to d4cea53f53c78febad14b4caa600e25d1aaf92fd #1408
+ Closes #1409
+
+- ci/GHA: add Linux job with latest wolfSSL built from source
+
+ After this patch it's possible to run tests with wolfSSL 5.7.0.
+
+ wolfSSL 5.7.0 fixes this bug that affects open issues #1020 and #1299:
+ https://github.com/wolfSSL/wolfssl/pull/7143
+
+ `-DWOLFSSL_OPENSSLALL=ON` is necessary for `wolfSSL_FIPS_mode()`
+
+ Closes #1408
+
+- ci/GHA: tidy up build-from-source steps [ci skip]
+
+ - make curl downloads less verbose.
+
+ - fix cmake warning:
+ ```
+ CMake Warning:
+ No source or binary directory provided. Both will be assumed to be the
+ same as the current working directory, but note that this warning will
+ become a fatal error in future CMake releases.
+ ```
+ Ref: https://github.com/libssh2/libssh2/actions/runs/9509866494/job/26213472410#step:5:32
+
+- [Adam brought this change]
+
+ src: fix type warning in `libssh2_sftp_unlink` macro
+
+ The `libssh2_sftp_unlink` macro was implicitly casting the `size_t`
+ returned by `strlen` to the `unsigned int` type expected by
+ `libssh2_sftp_unlink_ex`.
+
+ This fix adds an explicit cast to match similar macro definitions in
+ the same file (e.g. `libssh2_sftp_rename`, `libssh2_sftp_mkdir`).
+
+ Closes #1406
+
+- libssh2.pc: reference mbedcrypto pkgconfig
+
+ mbedtls 3.6.0 got pkgconfig support:
+ https://github.com/Mbed-TLS/mbedtls/commit/a4d17b34f354557838e05d2cb47200e8dcaaf59b
+
+ Reference it from `libssh2.pc`.
+
+ Closes #1405
+
+- tidy-up: typo in comment [ci skip]
+
+- RELEASE-NOTES: sync [ci skip]
+
+ Also bump planned deprecation dates.
+
+- ci/GHA: show configure logs on failure and other tidy-ups
+
+ - dump cmake error log on configure failure. (for cmake 3.26 and newer)
+ - dump `config.log` on autotools configure failure.
+ - convert specs filename to Windows format before passing to CMake.
+ - add missing quotes.
+
+ Closes #1403
+
+- ci/GHA: bump parallel jobs to nproc+1
+
+ Ref: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories
+
+ Closes #1402
+
+- ci/GHA: show test logs on failure
+
+ Closes #1401
+
+- ci/GHA: fix `Dockerfile` failing after Ubuntu package update
+
+ Likely due an upstream Ubuntu package update (requiring an apt-get
+ install call beforehand), tests run via autotools started failing with
+ no change in the libssh2 repo:
+ ```
+ FAIL: test_aa_warmup
+ ====================
+
+ Error running command 'docker build --quiet -t libssh2/openssh_server %s' (exit 256): Dockerfile:10
+ --------------------
+ 8 | && apt-get clean \
+ 9 | && rm -rf /var/lib/apt/lists/*
+ 10 | >>> RUN mkdir /var/run/sshd
+ 11 |
+ 12 | # Chmodding because, when building on Windows, files are copied in with
+ --------------------
+ ERROR: failed to solve: process "/bin/sh -c mkdir /var/run/sshd" did not complete successfully: exit code: 1
+
+ Failed to build docker image
+ Cannot stop session - none started
+ Cannot stop container - none started
+ Command: docker build --quiet -t libssh2/openssh_server ../../tests/openssh_server
+ FAIL test_aa_warmup (exit status: 1)
+ ```
+ Ref: https://github.com/libssh2/libssh2/actions/runs/9322194756/job/25662748095#step:11:390
+
+ Fix it by skipping `mkdir` if `/var/run/sshd` already exists.
+
+ (Why cmake-based jobs aren't affected, I don't know.)
+
+ Ref: https://github.com/libssh2/libssh2/commit/50143d5867d35df76a6cf589ca8a13b22105aa64#commitcomment-142560875
+ Closes #1400
+
+- ci/GHA: use ubuntu-latest with OmniOS job
+
+ It's the same as ubuntu-22.04.
+
+ Also update OmniOS package search link.
+
+- ci: disable dependency tracking in autotools builds
+
+ For better build performance. Dependency tracking causes a build
+ overhead while compiling to help a subsequent build, but in CI there is
+ never one and the extra work is discarded.
+
+ Closes #1396
+
+- mbedtls: fail to compile with v3.6.0 outside CI
+
+ A compile-time failure is preferred over an unexpected one at
+ runtime.
+
+ The problem is silenced with a macro in CI and this macro will have
+ to be added to more platforms when mbedTLS v3.6.0 reaches them.
+
+ Follow-up to 2e4c5ec4627b3ecf4b6da16f365c011dec9a31b4 #1349
+ Closes #1393
+
+- tests: drop default cygpath option `-u`
+
+- tidy-up: fix typo found by codespell
+
+ Ref: https://github.com/libssh2/libssh2/actions/runs/9224795055/job/25380857082?pr=1393#step:4:5
+
+- ci/GHA: shell syntax tidy-up
+
+ Closes #1390
+
+- RELEASE-NOTES: sync [ci skip]
+
+- ci/GHA: bump NetBSD/OpenBSD, add NetBSD arm64 job
+
+ OpenBSD arm64 jobs were very slow, so skipped that.
+
+ Closes #1388
+
+- autotools: fix to update `LDFLAGS` for each detected dependency
+
+ autotools lib detection routine failed to extend LDFLAGS for each
+ detection. This could cause successful detection of a dependency, but
+ later failing to use it. This did not cause an issue as long as all
+ dependencies lived under the same prefix, but started breaking on macOS
+ ARM + Homebrew where this was no longer true for mbedTLS and zlib in
+ particular.
+
+ Follow-up to 844115393bffb4e92c6569204cbe4cd8e553480d #1381
+ Follow-up to ae2770de25949bc7c74e60b4cc6a011bbe1d3d7c #1377
+ Closes #1384
+
+GitHub (8 May 2024)
+- [Michael Buckley brought this change]
+
+ OpenSSL 3: Fix calculating DSA public key (#1380)
+
+Viktor Szakats (8 May 2024)
+- ci/GHA: tidy-up wolfSSL autotools config on macOS
+
+ Closes #1383
+
+- ci/GHA: shorter mbedTLS autotools workaround
+
+ Follow-up to 844115393bffb4e92c6569204cbe4cd8e553480d #1381
+ Closes #1382
+
+GitHub (8 May 2024)
+- [Michael Buckley brought this change]
+
+ ci: fix mbedtls runners on macOS (#1381)
+
+ Sets LDFLAGS while configuring the autoconf mbedTLS build for macOS.
+
+Viktor Szakats (29 Apr 2024)
+- RELEASE-NOTES: sync [ci skip]
+
+- [binary1248 brought this change]
+
+ wincng: fix `DH_GEX_MAXGROUP` set higher than supported
+
+ In 1c3a03ebc3166cf69735111aba2b8cee57cdba51 #493,
+ `LIBSSH2_DH_GEX_MAXGROUP` was introduced to specify
+ crypto-backend-specific modulus sizes. Unfortunately, the max size for
+ the wincng DH modulus was defined to 8192, probably because this is the
+ value most other backends support.
+
+ According to Microsoft documentation [1], `BCryptGenerateKeyPair`
+ currently only supports up to 4096-bit keys when the selected algorithm
+ is `BCRYPT_DH_ALGORITHM`. Requesting larger keys when calling
+ `BCryptGenerateKeyPair` in `_libssh2_dh_key_pair` always results in
+ `STATUS_INVALID_PARAMETER` being returned and ultimately key exchange
+ failing.
+
+ When attempting to connect to any server that offers 8192 bit DH, this
+ causes key exchange to always fail when using the wincng backend.
+ Reducing `LIBSSH2_DH_GEX_MAXGROUP` to 4096 fixes the issue.
+
+ [1] https://learn.microsoft.com/en-us/windows/win32/api/bcrypt/nf-bcrypt-bcryptgeneratekeypair
+
+ Closes #1372
+
+- build: silence warnings inside `FD_SET()`/`FD_ISSET()` macros
+
+ Use an ugly workaround to silence `-Wsign-conversion` warnings triggered
+ by the internals of `FD_SET()`/`FD_ISSET()` macros. They've been showing
+ up in OmniOS CI builds when compiling `example` programs. They also have
+ been seen with older Cygwin and other envs and configurations.
+
+ Also scope two related variables in examples.
+
+ E.g.:
+ ```
+ ../../example/direct_tcpip.c:251:9: warning: conversion to 'long unsigned int' from 'libssh2_socket_t' {aka 'int'} may change the sign of the result [-Wsign-conversion]
+ 251 | FD_SET(forwardsock, &fds);
+ | ^~~~~~
+ ../../example/direct_tcpip.c:251:9: warning: conversion to 'long unsigned int' from 'libssh2_socket_t' {aka 'int'} may change the sign of the result [-Wsign-conversion]
+ ../../example/direct_tcpip.c:251:9: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion]
+ ../../example/direct_tcpip.c:251:9: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion]
+ ../../example/direct_tcpip.c:259:18: warning: conversion to 'long unsigned int' from 'libssh2_socket_t' {aka 'int'} may change the sign of the result [-Wsign-conversion]
+ 259 | if(rc && FD_ISSET(forwardsock, &fds)) {
+ | ^~~~~~~~
+ ../../example/direct_tcpip.c:259:18: warning: conversion to 'long unsigned int' from 'libssh2_socket_t' {aka 'int'} may change the sign of the result [-Wsign-conversion]
+ ../../example/direct_tcpip.c:259:18: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion]
+ ```
+ Ref: https://github.com/libssh2/libssh2/actions/runs/8854199687/job/24316762831#step:3:2020
+
+ Closes #1379
+
+- autotools: use `AM_CFLAGS`
+
+ Use `AM_CFLAGS` to pass custom, per-target C flags. This replaces using
+ `CFLAGS` which triggered this warning when running `autoreconf -fi`:
+ ```
+ tests/Makefile.am:8: warning: 'CFLAGS' is a user variable, you should not override it;
+ tests/Makefile.am:8: use 'AM_CFLAGS' instead
+ ```
+ (Only for `tests`, even though `example` and `src` also used this
+ method. The warning is also missing from curl, that also uses
+ `CFLAGS`.)
+
+ Follow-up to 3ec53f3ea26f61cbf2e0fbbeccb852fca7f9b156 #1286
+ Closes #1378
+
+GitHub (25 Apr 2024)
+- [Viktor Szakats brought this change]
+
+ ci/GHA: fix gcrypt with autotools/macOS/Homebrew/ARM64 (#1377)
+
+ mbedtls configure fails to detect anything due to this:
+ ```
+ configure:23101: gcc -o conftest -g -O2 -I/opt/homebrew/include conftest.c -lmbedcrypto -lz >&5
+ ld: library 'mbedcrypto' not found
+ clang: error: linker command failed with exit code 1 (use -v to see invocation)
+ ```
+
+Viktor Szakats (25 Apr 2024)
+- autotools: delete bogus square bracket from help text [ci skip]
+
+ Follow-up to 3f98bfb0900b5e68445a339cfebc60b307a24650 #1368
+
+GitHub (25 Apr 2024)
+- [Viktor Szakats brought this change]
+
+ ci/GHA: fix verbose option for autotools jobs (#1376)
+
+ Also enable verbose for macOS `make` step.
+
+- [Viktor Szakats brought this change]
+
+ ci/GHA: dump `config.log` on failure for macOS autotools jobs (#1375)
+
+- [Viktor Szakats brought this change]
+
+ ci/GHA: fix `autoreconf` failure on macOS/Homebrew (#1374)
+
+ By manually installing `libtool`.
+
+ ```
+ autoreconf -fi
+ shell: /bin/bash -e {0}
+ configure.ac:75: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
+ If this token and others are legitimate, please use m4_pattern_allow.
+ See the Autoconf documentation.
+ configure.ac:76: error: possibly undefined macro: AC_PROG_LIBTOOL
+ autoreconf: error: /opt/homebrew/Cellar/autoconf/2.72/bin/autoconf failed with exit status: 1
+ ```
+ Ref: https://github.com/libssh2/libssh2/actions/runs/8833608758/job/24253334557#step:4:1
+
+- [Viktor Szakats brought this change]
+
+ ci/GHA: fixup Homebrew location (for ARM runners) (#1373)
+
+ GHA macOS runners became ARM64 machines. Make the Homebrew prefix
+ dynamic to adapt to these installations.
+
+Viktor Szakats (14 Apr 2024)
+- RELEASE-NOTES: sync [ci skip]
+
+- [Patrick Monnerat brought this change]
+
+ os400: Add two recent files to the distribution
+
+ Closes #1364
+
+- wincng: add to ci/GHA, add `./configure` option `--enable-ecdsa-wincng`
+
+ - add `./configure` option `--enable-ecdsa-wincng`
+
+ - add WinCNG autotools jobs to GHA.
+
+ - enable WinCNG ECDSA in some GHA jobs (both CMake and autotools).
+
+ Follow-up to 3e72343737e5b17ac98236c03d5591d429b119ae #1315
+ Closes #1368
+
+GitHub (14 Apr 2024)
+- [Johannes Passing brought this change]
+
+ wincng: add ECDSA support for host and user authentication (#1315)
+
+ The WinCNG backend currently only supports DSA and RSA. This PR
+ adds ECDSA support for host and user authentication.
+
+ * Disable WinCNG ECDSA support by default to maintain backward
+ compatibility for projects that target versions below Windows 10.
+
+ * Add cmake option `ENABLE_ECDSA_WINCNG` to guard ECDSA support.
+
+ * Update AppVeyor job matrix to only enable ECDSA on Server 2016+
+
+Viktor Szakats (14 Apr 2024)
+- ci: enable Unity mode for most CMake builds
+
+ Ref: 7129ea9ca8cca86dac80a6bac2d63937987efe9d #1034
+ Closes #1367
+
+- os400: fix shellcheck warnings in scripts (fixups)
+
+ - Build scripts must be executed by the os/400 shell (sh), not bash which
+ is a PASE program: The `-ot` non-POSIX test extension works in os/400 as
+ well. Ref: https://github.com/libssh2/libssh2/pull/1364#issue-2241646754
+
+ - Drop/fixup mods trying to make some syntax highlighters happier.
+
+ Follow-up to c6625707b94d9093f38f1a0a4d89c11b64f12ba8 #1358
+ Assisted-by: Patrick Monnerat
+ Closes #1364
+ Closes #1366
+
+- cmake: style tidy-up (more)
+
+ Follow-up to 3fa5282d6284efba62dc591697e6a687152bdcb1 #1166
+ Closes #1365
+
+- RELEASE-NOTES: sync [ci skip]
+
+- os400: fix shellcheck warnings in scripts
+
+ - use `$()` instead of backticks, and re-arrange double-quotes inside.
+ - add missing `|| exit 1` to `cd` calls. (could be dropped by using `set -eu`.)
+ - add `-n` to a few `if`s.
+ - shorten redirections by using `{} >` (as shellcheck recommended).
+ - silence warnings where variables were detected as unused (SC2034).
+ - a couple misc updates to silence warnings.
+ - switch to bash shebang for `-ot` feature.
+ - split two lines to unbreak syntax highlighting in my editor. (`$(expr \`, `$(dirname \`)
+
+ Also enable CI checks for OS/400 shell scripts.
+
+ Ref: d88b9bcdafe9d19aad2fb120d0a0acb3edab64f7
+ Closes #1358
+
+- RELEASE-NOTES: sync [ci skip]
+
+- ci: add shellcheck job and script
+
+ Add FIXME for OS/400 scripts.
+
+ Cherry-picked from #1358
+
+- tests: fix shellcheck issues in `test_sshd.test`
+
+ Cherry-picked from #1358
+
+- RELEASE-NOTES: sync [ci skip]
+
+GitHub (9 Apr 2024)
+- [Viktor Szakats brought this change]
+
+ ci/appveyor: re-enable OpenSSL 3, also bump to 3.2.1 (#1363)
+
+ Ref: 104744f4a523de574ce3767c50948d9b8385be4c #1348
+
+Viktor Szakats (9 Apr 2024)
+- ci: use a better test timestamp [ci skip]
+
+ Mar 27 2024 08:00:00 GMT+0000
+
+ Follow-up to 2d765e454d98b794a5e5bbc497b1fcba4a9b8c4b #1360
+
+GitHub (9 Apr 2024)
+- [Viktor Szakats brought this change]
+
+ ci: verify build and install from tarball (#1362)
+
+ Install verification based on:
+ https://github.com/curl/curl/blob/28c5ddf13ac311d10bc4e8f9fc4ce0858a19b888/scripts/installcheck.sh
+
+Viktor Szakats (9 Apr 2024)
+- tidy-up: dir names, command-line [ci skip]
+
+ Follow-up to 2d765e454d98b794a5e5bbc497b1fcba4a9b8c4b #1360
+
+- cmake: tidy up function name casing in `CopyRuntimeDependencies.cmake`
+
+ Use lowercase to match callers.
+
+GitHub (9 Apr 2024)
+- [Viktor Szakats brought this change]
+
+ ci: add reproducibility test for `maketgz` (#1360)
+
+Viktor Szakats (9 Apr 2024)
+- maketgz: add reproducible dir entries to tarballs
+
+ In the initial implementation of reproducible tarballs, they were
+ missing directory entries, while .zip archives had them. It meant
+ that on extracting the tarball, on-disk directory entries got the
+ current timestamp.
+
+ This patch fixes this by including directory entries in the tarball,
+ with reproducible timestamps. It also moves sorting inside tar,
+ to ensure reproducible directory entry timestamps on extract
+ (without the need of `--delay-directory-restore` option, when
+ extracting with GNU tar. BSD tar got that right by default.)
+
+ GNU tar 1.28 (2014-07-28) introduced `--sort=`.
+
+ Follow-up to d52fe1b4358fab891037d86b5c73c098079567db #1357
+ Closes #1359
+
+- ci/GHA: improve version number in `maketgz` test
+
+ Follow-up to cba7f97506c1b8e5ff131bbbc57b5796ac634c56 #1353
+
+GitHub (8 Apr 2024)
+- [Michael Buckley brought this change]
+
+ src: check the return value from `_libssh2_bn_*()` functions (#1354)
+
+ Found by oss-fuzz. In `diffie_hellman_sha_algo()`, we were calling
+ `_libssh2_bn_from_bin()` with data recieved by the server without
+ checking whether that data was zero-length or ridiculously long.
+ In the OpenSSL backend, this would cause `_libssh2_bn_from_bin()`
+ to fail an allocation, which would eventually lead to a NULL
+ dereference when the bignum was used.
+
+ Add the same check for `_libssh2_bn_set_word()` and
+ `_libssh2_bn_to_bin()`.
+
+Viktor Szakats (8 Apr 2024)
+- maketgz: reproducible tarballs/zip, display tarball hashes
+
+ - support `SOURCE_DATE_EPOCH` for reproducibility.
+ - make tarballs reproducible.
+ - make file timestamps in tarball/zip reproducible.
+ - make directory timestamps in zip reproducible.
+ - make timestamps of tarballs/zip reproducible.
+ - make file order in tarball/zip reproducible.
+ - use POSIX ustar tarball format to avoid supply chain vulnerability: https://seclists.org/oss-sec/2021/q4/0
+ - make uid/gid in tarball reproducible.
+ - omit owner user/group names from tarball for reproducibility and privacy.
+ - omit current timestamp from .gz header for reproducibility.
+ - display SHA-256 hashes of produced tarballs/zip. (Requires `sha256sum`)
+ - re-sync formatting with curl's `maketgz`.
+
+ Closes #1357
+
+- maketgz: `set -eu`, reproducibility, improve zip, add CI test
+
+ - set bash `-eu`.
+ - fix bash `-eu` issues.
+ - apply `TZ=UTC` and `LC_ALL=C` for reproducibility.
+ - sort `.zip` entries for reproducibility.
+ - zip with `--no-extra` for reproducibliity.
+ - use maximum zip compression.
+ - add the gpg sign command-line. Copied from curl.
+ - add CI test for `maketgz`.
+
+ Closes #1353
+
+- RELEASE-NOTES: sync and cleanups [ci skip]
+
+GitHub (3 Apr 2024)
+- [Tejaswikandula brought this change]
+
+ Support RSA SHA2 cert-based authentication (rsa-sha2-512_cert and rsa-sha2-256_cert) (#1314)
+
+ Replicating OpenSSH's behavior to handle RSA certificate authentication
+ differently based on the remote server version.
+
+ 1. For OpenSSH versions >= 7.8, ascertain server's support for RSA Cert
+ types by checking if the certificate's signature type is present in
+ the `server-sig-algs`.
+
+ 2. For OpenSSH versions < 7.8, Set the "SSH_BUG_SIGTYPE" flag when the
+ RSA key in question is a certificate to ignore `server-sig-algs` and
+ only offer ssh-rsa signature algorithm for RSA certs.
+
+ This arises from the fact that OpenSSH versions up to 7.7 accept
+ RSA-SHA2 keys but not RSA-SHA2 certificate types. Although OpenSSH <=7.7
+ includes RSA-SHA2 keys in the `server-sig-algs`, versions <=7.7 do not
+ actually support RSA certs. Therefore, server sending RSA-SHA2 keys in
+ `server-sig-algs` should not be interpreted as indicating support for
+ RSA-SHA2 certs. So, `server-sig-algs` are ignored when the RSA key in
+ question is a cert, and the remote server version is 7.7 or below.
+
+ Relevant sections of the OpenSSH source code:
+
+
+
+
+ Assisted-by: Will Cosgrove
+ Reviewed-by: Viktor Szakats
+
+Viktor Szakats (3 Apr 2024)
+- RELEASE-NOTES: sync [ci skip]
+
+ Also fix to include 3-digit issue/PR references.
+
+- mbedtls: add workaround + FIXME to build with 3.6.0
+
+ This is just a stub to make `_libssh2_mbedtls_ecdsa_new_private`
+ compile.
+
+ mbedtls 3.6.0 silently deleted its public API `mbedtls_pk_load_file`,
+ which this function relies on.
+
+ Closes #1349
+
+GitHub (3 Apr 2024)
+- [Viktor Szakats brought this change]
+
+ ci/appveyor: OpenSSL 3 no longer found by CMake, revert to 1.1.1 (#1348)
+
+ Ref: https://github.com/appveyor/build-images/commit/702e8cdca01f28f6a40687783f493c786cebbe2c
+ Ref: https://github.com/appveyor/build-images/pull/149
+
+Viktor Szakats (3 Apr 2024)
+- docs: improve `libssh2_userauth_publickey_from*` manpages
+
+ Reported-by: Lyndon Brown
+ Assisted-by: Ryan Kelley
+ Fixes #652
+ Closes #1308
+ Closes #xxxx
+
+- RELEASE-NOTES: sync [ci skip]
+
+GitHub (2 Apr 2024)
+- [Viktor Szakats brought this change]
+
+ test debian:testing-slim post xz backdoor removal (#1346)
+
+ The unexplained CI fallouts are gone with the latest debian:testing (20240330).
+
+ Ref #1328 #1329 #1338.
+ Closes #1346
+
+Viktor Szakats (30 Mar 2024)
+- ci: use Linux runner for BSDs, add arm64 FreeBSD 14 job
+
+ - bump cross-platform-actions to 0.23.0.
+ Ref: https://github.com/cross-platform-actions/action/releases/tag/v0.23.0
+
+ - switch to Linux runners (from macOS) for cross-platform-actions.
+ It's significantly faster.
+
+ - switch back FreeBSD 14 job to cross-platform-actions.
+ Also switch back to default shell.
+
+ - add FreeBSD 14 arm64 job.
+
+ Closes #1343
+
+- ci: use single quotes in yaml [ci skip]
+
+- ci: tidy-up job order [ci skip]
+
+- build: drop `-Wformat-nonliteral` warning suppressions
+
+ Also markup a vararg function as such.
+
+ In functions marked up as vararg functions, there is no need to suppress
+ `-Wformat-nonliteral` warnings. It's done automatically by the compiler.
+
+ Closes #1342
+
+- ci: delete flaky FreeBSD 13.2 job
+
+ Keep FreeBSD 14.
+
+- RELEASE-NOTES: sync [ci skip]
+
+- example: restore `sys/time.h` for AIX
+
+ In AIX, `time.h` header file doesn't have definitions like
+ `fd_set`, `struct timeval`, which are found in `sys/time.h`.
+
+ Add `sys/time.h` to files affected when available.
+
+ Regression from e53aae0e16dbf53ddd1a4fcfc50e365a15fcb8b9 #1001.
+
+ Reported-by: shubhamhii on GitHub
+ Assisted-by: shubhamhii on GitHub
+ Fixes #1334
+ Fixes #1335
+ Closes #1340
+
+- userauth: avoid oob with huge interactive kbd response
+
+ - If the length of a response is `UINT_MAX - 3` or larger, an unsigned
+ integer overflow occurs on 64-bit systems. Avoid such truncation to
+ always allocate enough memory to avoid subsequent out of boundary
+ writes.
+
+ Patch-by: Tobias Stoeckmann
+
+ - also add FIXME to bump up length field to `size_t` (ABI break)
+
+ Closes #1337
+
+GitHub (28 Mar 2024)
+- [Josef Cejka brought this change]
+
+ transport: check ETM on remote end when receiving (#1332)
+
+ We should check if encrypt-then-MAC feature is enabled in remote end's
+ configuration.
+
+ Fixes #1331
+
+- [Josef Cejka brought this change]
+
+ kex: always add extension indicators to kex_algorithms (#1327)
+
+ KEX pseudo-methods "ext-info-c" and "kex-strict-c-v00@openssh.com"
+ are in default kex method list but they were lost after configuring
+ custom kex method list in libssh2_session_method_pref().
+
+ Fixes #1326
+
+- [Jiwoo Park brought this change]
+
+ cmake: use the imported target of FindOpenSSL module (#1322)
+
+ * Use the imported target of FindOpenSSL module
+ * Build libssh2 before test runner
+ * Use find_package() in the CMake config file
+ * Use find_dependency() rather than find_package()
+ * Install CMake module files and use them in the config file
+ * Use elseif() to choose the crypto backend
+
+- [Andrei Augustin brought this change]
+
+ docs: update INSTALL_AUTOTOOLS (#1316)
+
+ corrected --with-libmbedtls-prefix to current option --with-libmbedcrypto-prefix
+
+Viktor Szakats (28 Mar 2024)
+- ci: don't parallelize `distcheck` job
+
+ A while ago the `distcheck` CI job became flaky. This continued after
+ switching to Debian stable (from testing). Try stabilzing it by running
+ it single-threaded.
+
+ Closes #1339
+
+- Dockerfile: switch to Debian stable (from testing)
+
+ This fixes flakiness experienced recently with two OpenSSL jobs and one
+ libgcrypt job, and/or intermittently causing all Docker-based tests to
+ fail.
+
+ Reported-by: András Fekete
+ Fixes #1328
+ Fixes #1329
+ Closes #1338
+
+GitHub (22 Feb 2024)
+- [Michael Buckley brought this change]
+
+ Supply empty hash functions for mac_method_hmac_aesgcm to avoid a crash when e.g. setting LIBSSH2_METHOD_CRYPT_CS (#1321)
+
+- [Michael Buckley brought this change]
+
+ gen_publickey_from_dsa: Initialize BIGNUMs to NULL for OpenSSL 3 (#1320)
+
+Viktor Szakats (23 Jan 2024)
+- RELEASE-NOTES: add algo deprecation notices [ci skip]
+
+ Closes #1307
+
+- RELEASE-NOTES: sync [ci skip]
+
+GitHub (22 Jan 2024)
+- [Juliusz Sosinowicz brought this change]
+
+ wolfssl: enable debug logging in wolfSSL when compiled in (#1310)
+
+ Co-authored-by: Viktor Szakats
+
+- [monnerat brought this change]
+
+ os400: maintain up to date (#1309)
+
+ - Handle MD5 conditionals in os400qc3.
+ - Check for errors in os400qc3 pbkdf1.
+ - Implement an optional build options override file.
+ - Sync ILE/RPG copy files with current C header files.
+ - Allow a null session within a string conversion cache.
+ - Add an ILE/RPG example.
+ - Adjust outdated copyrights in changed files.
+
+Viktor Szakats (18 Jan 2024)
+- RELEASE-NOTES: sync
+
+- src: check hash update/final success
+
+ Also:
+ - delete unused internal macro `libssh2_md5()` where defined.
+ - prefix `libssh2_os400qc3_hash*()` function names with underscore.
+ These are public/visible, but internal.
+ - add FIXMEs to OS/400 code to verify update/final calls; some OS API,
+ some internal.
+
+ Ref: https://github.com/libssh2/libssh2/pull/1301#discussion_r1446861650
+ Reviewed-by: Michael Buckley
+ Reviewed-by: Patrick Monnerat
+ Closes #1303
+
+- RELEASE-NOTES: sync [ci skip]
+
+GitHub (18 Jan 2024)
+- [Ryan Kelley brought this change]
+
+ openssl: fix cppcheck found NULL dereferences (#1304)
+
+ * Fix NULL dereference in gen_publickey_from_rsa_evp and
+ gen_publickey_from_dsa_evp.
+ * Add checks for en_publickey_from_ec_evp and en_publickey_from_ed_evp
+
+Viktor Szakats (12 Jan 2024)
+- openssl: delete internal `read_openssh_private_key_from_memory()`
+
+ It was wrapping another internal function with no added logic.
+
+ Closes #1306
+
+- openssl: formatting/whitespace
+
+ Also use `NULL` instead of `0` for pointers.
+
+ Closes #1305
+
+- HACKING-CRYPTO: more fixups [ci skip]
+
+ Follow-up to f64885b6ab9bbdae2da9ebd70f4dd5cea56e838a #1297
+
+- HACKING-CRYPTO: fixups [ci skip]
+
+ Follow-up to f64885b6ab9bbdae2da9ebd70f4dd5cea56e838a #1297
+
+- RELEASE-NOTES: sync [ci skip]
+
+- src: check hash init success
+
+ Before this patch, SHA2 and SHA1 init function results were cast to
+ `void`. This patch makes sure to verify these values.
+
+ Also:
+ - exclude an `assert(0)` from release builds in `_libssh2_sha_algo_ctx_init()`.
+ (return error instead)
+ - fix indentation / whitespace
+
+ Reviewed-by: Michael Buckley
+ Closes #1301
+
+- mac: handle low-level errors
+
+ - update low-level hmac functions from macros to functions.
+ - libgcrypt: propagate low-level hmac errors.
+ - libgcrypt: add error checks for hmac calls.
+ - os400qc3: add error checks, propagate them.
+ Assisted-by: Patrick Monnerat
+ - mbedtls: fix propagating low-level hmac errors.
+ - wincng: fix propagating low-level hmac errors.
+ - mac: verify success of low-level hmac functions.
+ - knownhost: verify success of low-level hmac functions.
+ - transport: verify success of MAC hash call.
+ - minor type cleanup in wincng.
+ - delete unused ripemd wrapper in wincng.
+ - delete unused SHA384 wrapper in mbedtls.
+
+ Reported-by: Paul Howarth
+ Reviewed-by: Michael Buckley
+ Closes #1297
+
+GitHub (8 Jan 2024)
+- [Michael Buckley brought this change]
+
+ Fix an out-of-bounds read in _libssh2_kex_agree_instr when searching for a KEX not in the server list (#1302)
+
+Viktor Szakats (21 Dec 2023)
+- RELEASE-NOTES: sync [ci skip]
+
+- ci/appveyor: re-enable parallel mode
+
+ The comment cited earlier is no longer true with recent CMake versions.
+ This options does actually enable parallel builds with MSVC since CMake
+ v3.26.0: https://gitlab.kitware.com/cmake/cmake/-/issues/20564
+
+ The effect isn't much for libssh2, because it spends most time in tests,
+ but let's enable it anyway for efficiency.
+
+ Ref: 0d08974633cfc02641e6593db8d569ddb3644255 #884
+ Ref: 7a039d9a7a2945c10b4622f38eeed21ba6b4ec55 #867
+
+ Closes #1294
+
+- ci/gha: review/fixup auto-cancel settings
+
+ - use the group expression from `reuse.yml` (via curl).
+ - add auto-cancel for `ci` and `cifuzz`.
+ - add auto-cancel to `appveyor_docker`. I'm just guessing here.
+ The hope is that it fixes AppVeyor CI runs when re-pushing a PR.
+ This frequently caused the freshly pushed session to fail waiting for
+ a connection.
+ - sync group expression in `appveyor_status` with `reuse`.
+
+ Closes #1292
+
+- RELEASE-NOTES: fix casing in GitHub names [ci skip]
+
+- RELEASE-NOTES: synced [ci skip]
+
+ Closes #1279
+
+- [Michael Buckley brought this change]
+
+ src: add 'strict KEX' to fix CVE-2023-48795 "Terrapin Attack"
+
+ Refs:
+ https://terrapin-attack.com/
+ https://seclists.org/oss-sec/2023/q4/292
+ https://osv.dev/list?ecosystem=&q=CVE-2023-48795
+ https://github.com/advisories/GHSA-45x7-px36-x8w8
+ https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-48795
+
+ Fixes #1290
+ Closes #1291
+
+- session: add `libssh2_session_callback_set2()`
+
+ Add new `libssh2_session_callback_set2()` API that deprecates
+ `libssh2_session_callback_set()`.
+
+ The new implementation offers the same functionality, but accepts and
+ returns a generic function pointer (of type `libssh2_cb_generic *`), as
+ opposed to the old function that used data pointers (`void *`). The new
+ solution thus avoids data to function (and vice versa) pointer
+ conversions, which has undefined behaviour in standard C.
+
+ About the name: It seems the `*2` suffix was used in the past for
+ replacement functions for deprecated ones. Let's stick with that.
+ `*_ex` was preferred for new functions that extend existing ones with
+ new features.
+
+ Closes #1285
+
+- build: enable `-pedantic-errors`
+
+ According to the manual, this isn't the same as `-Werror -pedantic`.
+ Enable it together with `-Werror`.
+
+ https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-pedantic-errors-1
+
+ This option results in autotools feature detection going into crazies.
+ To avoid this, we add it to `CFLAGS` late. Idea copied from curl.
+
+ This option has an effect only with gcc 5.0 and newer as of this commit.
+ Let's enable it for clang and older versions too for simplicity. Ref:
+ https://github.com/curl/curl/commit/d5c0351055d5709da8f3e16c91348092fdb481aa
+ https://github.com/curl/curl/pull/2747
+
+ Closes #1286
+
+- build: add mingw-w64 support to `LIBSSH2_PRINTF()` attribute
+
+ And fix the warning it detected.
+
+ Closes #1287
+
+- libssh2.h: add deprecated function warnings
+
+ With deprecated-at versions and suggested replacement function.
+
+ It's possible to silence them by defining `LIBSSH2_DISABLE_DEPRECATION`.
+
+ Also add depcreated-at versions to documentation, and unify wording.
+
+ Ref: https://github.com/libssh2/libssh2/pull/1260#issuecomment-1837017987
+ Closes #1289
+
+- ci/spellcheck: delete redundant option [ci skip]
+
+ `--check-hidden` not necessary when passing filenames explicitly.
+
+ Follow-up to a79218d3a058a333bb9de14079548a3511679a04
+
+- tidy-up: add empty line for clarity [ci skip]
+
+- build: FIXME `-Wsign-conversion` to be errors [ci skip]
+
+- src: disable `-Wsign-conversion` warnings, add option to re-enable
+
+ To avoid the log noise till we fix those ~360 compiler warnings.
+
+ Also add macro `LIBSSH2_WARN_SIGN_CONVERSION` to re-enable them.
+
+ Follow-up to afa6b865604019ab27ec033294edfe3ded9ae0c0 #1257
+
+ Closes #1284
+
+- cmake: fix indentation [ci skip]
+
+- example, tests: call `WSACleanup()` for each `WSAStartup()`
+
+ On Windows.
+
+ Closes #1283
+
+- RELEASE-NOTES: update credits [ci skip]
+
+ Ref: https://github.com/libssh2/libssh2/pull/1241#issuecomment-1830118584
+
+- RELEASE-NOTES: avoid splitting names, fix typo, refine order [ci skip]
+
+- RELEASE-NOTES: synced [ci skip]
+
+- add portable `LIBSSH2_SOCKET_CLOSE()` macro
+
+ Add `LIBSSH2_SOCKET_CLOSE()` to the public `libssh2.h` header, for user
+ code. It translates to `closesocket()` on Windows and `close()` on other
+ platforms.
+
+ Use it in example code.
+
+ It makes them more readable by reducing the number of `_WIN32` guards.
+
+ Closes #1278
+
+- ci: add FreeBSD 14 job, fix issues
+
+ - install bash to fix error when running tests:
+ ```
+ ERROR: test_sshd.test - missing test plan
+ ERROR: test_sshd.test - exited with status 127 (command not found?)
+ =====================================
+ [...]
+ # TOTAL: 4
+ # PASS: 2
+ # SKIP: 0
+ # XFAIL: 0
+ # FAIL: 0
+ # XPASS: 0
+ # ERROR: 2
+ [...]
+ env: bash: No such file or directory
+ ```
+ Ref: https://github.com/libssh2/libssh2/actions/runs/7133852508/job/19427420687#step:3:3998
+
+ - fix sshd issue when running tests:
+ ```
+ # sshd log:
+ # Server listening on :: port 4711.
+ # Server listening on 0.0.0.0 port 4711.
+ # Authentication refused: bad ownership or modes for file /home/runner/work/libssh2/libssh2/tests/key_rsa.pub
+ # Authentication refused: bad ownership or modes for file /home/runner/work/libssh2/libssh2/tests/openssh_server/authorized_keys
+ ```
+ Ref: https://github.com/libssh2/libssh2/actions/runs/7134629175/job/19429828342#step:3:4059
+
+ Cherry-picked from #1277
+ Closes #1277
+
+- ci: add OmniOS job, fix issues
+
+ - use GNU Make, to avoid errors:
+ ```
+ make: Fatal error in reader: Makefile, line 983: Badly formed macro assignment
+ ```
+ Ref: https://github.com/libssh2/libssh2/actions/runs/7134629175/job/19429838379#step:3:1956
+
+ Caused by `?=` in `Makefile.am`. Fix it just in case.
+
+ ```
+ make: Fatal error in reader: Makefile, line 438: Unexpected end of line seen
+ ```
+ Ref: https://github.com/libssh2/libssh2/actions/runs/7135524843/job/19432451767#step:3:1966
+
+ It's around line 43 in `Makefile.am`, reason undiscovered.
+
+ - fix error:
+ ```
+ ../../src/hostkey.c:1227:44: error: pointer targets in passing argument 5 of '_libssh2_ed25519_sign' differ in signedness [-Werror=pointer-sign]
+ 1227 | datavec[0].iov_base, datavec[0].iov_len);
+ | ~~~~~~~~~~^~~~~~~~~
+ | |
+ | caddr_t {aka char *}
+ ```
+ Ref: https://github.com/libssh2/libssh2/actions/runs/7135102832/job/19431233967#step:3:2225
+
+ https://docs.oracle.com/cd/E36784_01/html/E36887/iovec-9s.html
+
+ - FIXME: new `-Wsign-conversion` warnings appeared in examples:
+ ```
+ ../../example/direct_tcpip.c:251:9: warning: conversion to 'long unsigned int' from 'libssh2_socket_t' {aka 'int'} may change the sign of the result [-Wsign-conversion]
+ 251 | FD_SET(forwardsock, &fds);
+ | ^~~~~~
+ ../../example/direct_tcpip.c:251:9: warning: conversion to 'long unsigned int' from 'libssh2_socket_t' {aka 'int'} may change the sign of the result [-Wsign-conversion]
+ ../../example/direct_tcpip.c:251:9: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion]
+ ../../example/direct_tcpip.c:251:9: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion]
+ ../../example/direct_tcpip.c:259:18: warning: conversion to 'long unsigned int' from 'libssh2_socket_t' {aka 'int'} may change the sign of the result [-Wsign-conversion]
+ 259 | if(rc && FD_ISSET(forwardsock, &fds)) {
+ | ^~~~~~~~
+ ../../example/direct_tcpip.c:259:18: warning: conversion to 'long unsigned int' from 'libssh2_socket_t' {aka 'int'} may change the sign of the result [-Wsign-conversion]
+ ../../example/direct_tcpip.c:259:18: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion]
+ [...]
+ ```
+ Ref: https://github.com/libssh2/libssh2/actions/runs/7136086865/job/19433997429#step:3:3450
+
+ Cherry-picked from #1277
+
+- example: use `libssh2_socket_t` in X11 example
+
+ Cherry-picked from #1277
+
+- [Aaron Stone brought this change]
+
+ Handle EINTR from send/recv/poll/select to try again as the error is not fatal
+
+ Integration-patches-by: Viktor Szakats
+ Fixes #955
+ Closes #1058
+
+- appveyor: delete UWP job broken since Visual Studio upgrade
+
+ Few days ago UWP job started permafailing.
+
+ fail: https://ci.appveyor.com/project/libssh2org/libssh2/builds/48678129/job/yb8n2pox8mfjwv6m
+ good: https://ci.appveyor.com/project/libssh2org/libssh2/builds/48673013
+
+ Other projects also affected:
+ https://ci.appveyor.com/project/c-ares/c-ares/builds/48687390/job/l0fo4b0sijvqkw9r
+
+ No related local update. Same CMake version. Same CI image.
+
+ This seems to be the culprit, which could mean that this update broke
+ CMake detection, needs a different CMake configuration on our end, or
+ that this MSVC update pulled support for UWP apps:
+
+ fail: -- The C compiler identification is MSVC 19.38.33130.0 (~ Visual Studio 2022 v17.8)
+ good: -- The C compiler identification is MSVC 19.37.32825.0 (~ Visual Studio 2022 v17.7)
+
+ If this is v17.8, release notes don't readily suggest a feature removal:
+ https://learn.microsoft.com/en-us/visualstudio/releases/2022/release-notes-v17.8
+
+ So it might just be UWP accidentally broken in this release.
+
+ Closes #1275
+
+- checksrc: sync with curl
+
+ Closes #1272
+
+- autotools: delete `--disable-tests` option, fix CI tests
+
+ Originally added to improve build performance by skipping building
+ tests. But, there seems to be no point in this, because autotools
+ doesn't build tests by default, unless explicitly invoking
+ `make check`.
+
+ Delete this option from Cygwin and FreeBSD CI tests, where it caused
+ `make check` to do nothing. Tests are built now, and runtime tests are
+ too, where supported.
+
+ Also disable Docker-based tests for these, and add a missing `make -j3`
+ for FreeBSD.
+
+ Reverts 7483edfada1f7e17cf8f9ac1c87ffa3d814c987e #715
+
+ Closes #1271
+
+GitHub (6 Dec 2023)
+- [ren mingshuai brought this change]
+
+ build: add `LIBSSH2_NO_DEPRECATED` option (#1266)
+
+ The following APIs have been deprecated for over 10 years and
+ use `LIBSSH2_NO_DEPRECATED` to mark them as deprecated:
+
+ libssh2_session_startup()
+ libssh2_banner_set()
+ libssh2_channel_receive_window_adjust()
+ libssh2_channel_handle_extended_data()
+ libssh2_scp_recv()
+
+ Add these options to disable them:
+ - autotools: `--disable-deprecated`
+ - cmake: `-DLIBSSH2_NO_DEPRECATED=ON`
+ - `CPPFLAGS`: `-DLIBSSH2_NO_DEPRECATED`
+
+ Fixes #1259
+ Replaces #1260
+ Co-authored-by: Viktor Szakats
+ Closes #1267
+
+Viktor Szakats (5 Dec 2023)
+- autotools: show the default for `hidden-symbols` option
+
+ Closes #1269
+
+- tidy-up: bump casts from int to long for large C99 types in printfs
+
+ Cast large integer types to avoid dealing with printf masks for
+ `size_t` and other C99 types. Some of existing code used `int`
+ for this, bump them to `long`.
+
+ Ref: afa6b865604019ab27ec033294edfe3ded9ae0c0 #1257
+
+ Closes #1264
+
+- build: enable missing OpenSSF-recommended warnings, with fixes
+
+ Ref:
+ https://best.openssf.org/Compiler-Hardening-Guides/Compiler-Options-Hardening-Guide-for-C-and-C++.html
+ (2023-11-29)
+
+ Enable new warnings:
+
+ - replace `-Wno-sign-conversion` with `-Wsign-conversion`.
+
+ Fix them in example, tests and wincng. There remain about 360 of these
+ warnings in `src`. Add a TODO item for those and disable `-Werror` for
+ this particular warning.
+
+ - enable `-Wformat=2` for clang (in both cmake and autotools).
+
+ - enable `__attribute__((format))` for `_libssh2_debug()`,
+ `_libssh2_snprintf()` and in tests for `run_command()`.
+
+ `LIBSSH2_PRINTF()` copied from `CURL_TEMP_PRINTF()` in curl.
+
+ - enable `-Wimplicit-fallthrough`.
+
+ - enable `-Wtrampolines`.
+
+ Fix them:
+
+ - src: replace obsolete fall-through-comments with
+ `__attribute__((fallthrough))`.
+
+ - wincng: fix `-Wsign-conversion` warnings.
+
+ - tests: fix `-Wsign-conversion` warnings.
+
+ - example: fix `-Wsign-conversion` warnings.
+
+ - src: fix `-Wformat` issues in trace calls.
+
+ Also, where necessary fix `int` and `unsigned char` casts to
+ `unsigned int` and adjust printf format strings. These were not
+ causing compiler warnings.
+
+ Cast large types to `long` to avoid dealing with printf masks for
+ `size_t` and other C99 types. Existing code often used `int` for this.
+ I'll update them to `long` in an upcoming commit.
+
+ - tests: fix `-Wformat` warning.
+
+ - silence `-Wformat-nonliteral` warnings.
+
+ - mbedtls: silence `-Wsign-conversion`/`-Warith-conversion`
+ in external header.
+
+ Closes #1257
+
+- packet: whitespace fix
+
+ Tested via #1257
+
+- tidy-up: unsigned -> unsigned int
+
+ In the `interval` argument of public `libssh2_keepalive_config()`.
+
+ Tested via #1257
+
+- tests: sync port number type with the rest of codebase
+
+ Tested via #1257
+
+- autotools: enable `-Wunused-macros` with gcc
+
+ It works with gcc without the libtool warnings seen with clang
+ on Windows in 96682bd5e14c20828e18bf10ed5b4b5c7543924a #1227.
+
+ Sync usage of of this macro with CMake and
+ autotools + clang + non-Windows. Making it enabled everywhere except
+ autotools + clang + Windows due to the libtool stub issue.
+
+ Follow-up to 7ecc309cd10454c54814b478c4f85d0041da6721 #1224
+
+ Closes #1262
+
+- TODO: disable or drop weak algos [ci skip]
+
+ Closes #1261
+
+- example, tests: fix/silence `-Wformat-truncation=2` gcc warnings
+
+ Then sync this warning option with curl.
+
+ Seems like a false positive and/or couldn't figure how to fix it, so silence:
+ ```
+ example/ssh2.c:227:38: error: '%s' directive output may be truncated writing likely 1 or more bytes into a region of size 0 [-Werror=format-truncation=]
+ 227 | snprintf(fn1, fn1sz, "%s/%s", h, pubkey);
+ | ^~
+ example/ssh2.c:227:34: note: assuming directive output of 1 byte
+ 227 | snprintf(fn1, fn1sz, "%s/%s", h, pubkey);
+ | ^~~~~~~
+ example/ssh2.c:227:13: note: 'snprintf' output 3 or more bytes (assuming 4) into a destination of size 2
+ 227 | snprintf(fn1, fn1sz, "%s/%s", h, pubkey);
+ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ example/ssh2.c:228:38: error: '%s' directive output may be truncated writing likely 1 or more bytes into a region of size 0 [-Werror=format-truncation=]
+ 228 | snprintf(fn2, fn2sz, "%s/%s", h, privkey);
+ | ^~
+ example/ssh2.c:228:34: note: assuming directive output of 1 byte
+ 228 | snprintf(fn2, fn2sz, "%s/%s", h, privkey);
+ | ^~~~~~~
+ example/ssh2.c:228:13: note: 'snprintf' output 3 or more bytes (assuming 4) into a destination of size 2
+ 228 | snprintf(fn2, fn2sz, "%s/%s", h, privkey);
+ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ ```
+ Ref: https://github.com/libssh2/libssh2/actions/runs/7055480458/job/19205970397#step:10:98
+
+ Fix:
+ ```
+ tests/openssh_fixture.c:116:38: error: ' 2>&1' directive output may be truncated writing 5 bytes into a region of size between 1 and 1024 [-Werror=format-truncation=]
+ tests/openssh_fixture.c:116:11: note: 'snprintf' output between 6 and 1029 bytes into a destination of size 1024
+ ```
+ Ref: https://github.com/libssh2/libssh2/actions/runs/7055480458/job/19205969221#step:10:51
+
+ Tested via #1257
+
+- example: fix indentation follow-up
+
+ Fix long line and fix more indentations.
+
+ Follow-up to 9e896e1b80911a53d6aabb322e034e6ca51b6898
+
+- example: fix indentation
+
+ Tested via #1257
+
+- autotools: fix missed `-pedantic` and `-Wall` options for gcc
+
+ Follow-up to 5996fefe2bad80cfba85b2569ce6ab6ef575142c #1223
+
+ Tested via #1257
+
+- ci: show compiler in cross/cygwin job names
+
+ Tested via #1257
+
+- mbedtls: further improve disabling `-Wredundant-decls`
+
+ Move warning option suppression to `src/mbedtls.h` to surround the actual
+ external header #includes that need it.
+
+ Follow-up to ecec68a2c13a9c63fe8c2dc457ae785a513e157c #1226
+ Follow-up to 7ecc309cd10454c54814b478c4f85d0041da6721 #1224
+
+ Tested via #1257
+
+GitHub (1 Dec 2023)
+- [ren mingshuai brought this change]
+
+ example: replace remaining libssh2_scp_recv with libssh2_scp_recv2 in output messages (#1258)
+
+ libssh2_scp_recv is deprecated and has been replaced by libssh2_scp_recv2
+ in prior commit.
+
+ Follow-up to 6c84a426beb494980579e5c1d244ea54d3fc1a3f
+
+Viktor Szakats (27 Nov 2023)
+- openssl: use OpenSSL 3 HMAC API, add `no-deprecated` CI job
+
+ - use OpenSSL 3 API when available for HMAC.
+ This fixes building with OpenSSL 3 `no-deprecated` builds.
+
+ - ensure we support pure OpenSSL 3 API by adding a CI job using
+ OpenSSL 3 custom-built with `no-deprecated`.
+
+ Follow-up to b0ab005fe79260e6e9fe08f8d73b58dd4856943d #1207
+
+ Fixes #1235
+ Closes #1243
+
+- ci: restore lost comment for FreeBSD [ci skip]
+
+ Follow-up to eee4e8055ab375c9f9061d4feb39086737f41a9c
+
+- ci: add OpenBSD (v7.4) job + fix build error in example
+
+ - Use CMake, LibreSSL and clang from the base install.
+
+ - This uncovered a build error in `example/subsystem_netconf.c`, caused
+ by using the `%n` printf mask. This is a security risk and some
+ systems (notably OpenBSD) disable this feature.
+
+ Fix it by applying this patch from OpenBSD ports (from 2021-09-11):
+ https://cvsweb.openbsd.org/ports/security/libssh2/patches/patch-example_subsystem_netconf_c?rev=1.1&content-type=text/x-cvsweb-markup
+ https://github.com/openbsd/ports/commit/2c5b2f3e94381914a3e8ade960ce8c997ca9d6d7
+ "The old code is also broken, as it passes a pointer to a variable
+ of a different size (on LP64). There is no check for truncation,
+ but buf[] is 1MB in size."
+ Patch-by: naddy
+
+ ```
+ /home/runner/work/libssh2/libssh2/example/subsystem_netconf.c:252:17: error: '%n' format specifier support is deactivated and will call abort(3) [-Werror]
+ "]]>]]>\n%n", (int *)&len);
+ ~^
+ /home/runner/work/libssh2/libssh2/example/subsystem_netconf.c:270:17: error: '%n' format specifier support is deactivated and will call abort(3) [-Werror]
+ "]]>]]>\n%n", (int *)&len);
+ ~^
+ 2 errors generated.
+ ```
+ Ref: https://github.com/libssh2/libssh2/actions/runs/6991449778/job/19022024280#step:3:420
+
+ Also made tests with arm64, but it takes consistently almost 14m to
+ finish the job, vs. 2-3m for the native amd64:
+ https://github.com/libssh2/libssh2/actions/runs/6991648984/job/19022440525
+ https://github.com/libssh2/libssh2/actions/runs/6991551220/job/19022233651
+
+ Cherry-picked from #1250
+ Closes #1250
+
+- ci: add NetBSD (v9.3) job
+
+ Use CMake, OpenSSL (v1.1) and clang from the base install.
+
+ Cherry-picked from #1250
+
+- ci: update and speed up FreeBSD job
+
+ - switch to an alternate GitHub action. This one seems (more) actively
+ maintained, and runs faster:
+ https://github.com/cross-platform-actions/action
+
+ - use clang instead of gcc. clang is already present in the base
+ install, saving install time and bandwidth.
+
+ - stop installing `openssl-quictls` and use the OpenSSL (v1.1) from
+ the base system.
+ (I'm suspecting that quictls before this patch wasn't detected by
+ the build.)
+ https://wiki.freebsd.org/OpenSSL
+
+ Cherry-picked from #1250
+
+- stop using leading underscores in macro names
+
+ Underscored macros are reserved for the compiler / standard lib / etc.
+ Stop using them in user code.
+
+ We used them as header guards in `src` and in `__FILESIZE` in `example`.
+
+ Closes #1248
+
+- ci: use absolute path in `CMAKE_INSTALL_PREFIX`
+
+ To make the installed locations unambiguous in the build logs.
+
+ Closes #1247
+
+- openssl: make a function static, add `#ifdef` comments
+
+ Follow-up to 03092292597ac601c3f9f0c267ecb145dda75e4e #248
+ where the function was added.
+
+ Also add comments to make `#ifdef` branches easier to follow in
+ `openssl.h`.
+
+ Closes #1246
+
+- ci: boost mbedTLS build speed
+
+ Build times down to 4 seconds (from 18-20).
+
+ Closes #1245
+
+- openssl: fix DSA code to use OpenSSL 3 API
+
+ - fix missing `DSA` type when building for OpenSSL 3 `no-deprecated`.
+ - fix fallouts after fixing the above by switching away from `DSA`
+ with OpenSSL 3.
+
+ Follow-up to b0ab005fe79260e6e9fe08f8d73b58dd4856943d #1207
+
+ Closes #1244
+
+- openssl: formatting (delete empty lines) [ci skip]
+
+- tests: fall back to `$LOGNAME` for username
+
+ If the `$USER` variable is empty, fall back to using `$LOGNAME` to
+ retrieve the logged-in username.
+
+ In POSIX, `$LOGNAME` is a mandatory variable, while `$USER` isn't, and
+ on some systems it may not be set. Without this value, tests were unable
+ to provide the correct username when logging into the SSH server running
+ under the active user's session.
+
+ Reported-by: Nicolas Mora
+ Suggested-by: Nicolas Mora
+ Ref: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056348
+ Fixes #1240
+ Closes #1241
+
+- libssh2.h: use `_WIN32` for Windows detection instead of rolling our own
+
+ Sync up `libssh2.h` Windows detection with the libssh2 source code.
+
+ `libssh2.h` was using `WIN32` and `LIBSSH2_WIN32` for Windows detection,
+ next to the official `_WIN32`. After this patch it only uses `_WIN32`
+ for this. Also, make it stop defining `LIBSSH2_WIN32`.
+
+ There is a slight chance these break compatibility with Windows
+ compilers that fail to define `_WIN32`. I'm not aware of any obsolete
+ or modern compiler affected, but in case there is one, one possible
+ solution is to define this macro manually.
+
+ Closes #1238
+
+- openssl: fix `EC_KEY` reference with OpenSSL 3 `no-deprecated` build
+
+ Fixes:
+ ```
+ src/openssl.c:650:5: error: use of undeclared identifier 'EC_KEY'
+ EC_KEY *ec_key = EC_KEY_new_by_curve_name(curve);
+ ^
+ src/openssl.c:650:13: error: use of undeclared identifier 'ec_key'
+ EC_KEY *ec_key = EC_KEY_new_by_curve_name(curve);
+ ^
+ src/openssl.c:650:22: error: implicit declaration of function 'EC_KEY_new_by_curve_name' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
+ EC_KEY *ec_key = EC_KEY_new_by_curve_name(curve);
+ ^
+ src/openssl.c:650:22: note: did you mean 'EC_GROUP_new_by_curve_name'?
+ ./quictls/_a64-mac-sys/usr/include/openssl/ec.h:483:11: note: 'EC_GROUP_new_by_curve_name' declared here
+ EC_GROUP *EC_GROUP_new_by_curve_name(int nid);
+ ^
+ In file included from ./_a64-mac-sys-bld/src/CMakeFiles/libssh2_static.dir/Unity/unity_0_c.c:19:
+ In file included from src/crypto.c:10:
+ src/openssl.c:652:8: error: use of undeclared identifier 'ec_key'
+ if(ec_key) {
+ ^
+ ```
+ Ref: https://github.com/curl/curl-for-win/actions/runs/6950001225/job/18909297867#step:3:4341
+
+ Follow-up to b0ab005fe79260e6e9fe08f8d73b58dd4856943d #1207
+
+ Bug #1235
+ Closes #1236
+
+- openssl: formatting
+
+ Sync up these lines with the other two similar occurrences in the code.
+
+ Cherry-picked from #1236
+
+GitHub (21 Nov 2023)
+- [Michael Buckley brought this change]
+
+ openssl: use non-deprecated APIs with OpenSSL 3.x (#1207)
+
+ Assisted-by: Viktor Szakats
+
+Viktor Szakats (21 Nov 2023)
+- ci: add BoringSSL job (cmake, gcc, amd64)
+
+ Closes #1233
+
+- autotools: fix dotless gcc and Apple clang version detections
+
+ - fix parsing dotless (major-only) gcc versions.
+ Follow-up to 00a3b88c51cdb407fbbb347a2e38c5c7d89875ad #1187
+
+ - sync gcc detection variable names with curl.
+
+ - fix Apple clang version detection for releases between
+ 'Apple LLVM version 7.3.0' and 'Apple LLVM version 10.0.1' where the
+ version was under-detected as 3.7 llvm/clang equivalent.
+
+ - fix Apple clang version detection for 'Apple clang version 11.0.0'
+ and newer where the Apple clang version was detected, instead of its
+ llvm/clang equivalent.
+
+ - revert to show `clang` instead of `Apple clang`, because we follow it
+ with an llvm/clang version number. (Apple-ness still visible in raw
+ version.)
+
+ Used this collection for Apple clang / llvm/clang translation and test
+ inputs: https://gist.github.com/yamaya/2924292
+
+ Closes #1232
+
+- acinclude.m4: revert accidental edit [ci skip]
+
+ Follow-up to 8c320a93a48775b74f40415e46f84bf68b4d5ae8
+
+- autotools: show more clang/gcc version details
+
+ Also:
+ - show if we detected Apple clang.
+ - delete duplicate version detection for clang.
+
+ Closes #1230
+
+- acinclude.m4: re-sync with curl [ci skip]
+
+- autotools: avoid warnings in libtool stub code
+
+ Seen on Windows with clang64, in libtool-generated stub code for
+ examples and tests.
+
+ The error didn't break the CI job for some reason.
+
+ msys2 (autotools, clang64, clang-x86_64:
+ ```
+ [...]
+ 2023-11-17T20:14:17.8639574Z ./.libs/lt-test_read.c:91:10: error: macro is not used [-Werror,-Wunused-macros]
+ [...]
+ 2023-11-17T20:14:39.8729255Z ./.libs/lt-sftp_write_nonblock.c:91:10: error: macro is not used [-Werror,-Wunused-macros]
+ [...]
+ ```
+ Ref: https://github.com/libssh2/libssh2/actions/runs/6908585056/job/18798193405?pr=1226#step:8:474
+
+ Follow-up to 7ecc309cd10454c54814b478c4f85d0041da6721 #1224
+
+ Closes #1227
+
+- mbedtls: improve disabling `-Wredundant-decls`
+
+ Disable these warnings specifically for the mbedTLS public headers
+ and leave it on for the the rest of the code. This also fixes this
+ issue for autotools. Previous solution was globally disabling this
+ warning for the whole code when using mbedTLS and only with CMake.
+
+ Follow-up to 7ecc309cd10454c54814b478c4f85d0041da6721 #1224
+
+ Closes #1226
+
+- cmake: rename picky warnings script
+
+ To match the camel-case style used in other CMake scripts and also
+ to match the name used in curl.
+
+ Closes #1225
+
+- build: enable more compiler warnings and fix them
+
+ Enable more picky compiler warnings. I've found these options in the
+ nghttp3 project when implementing the CMake quick picky warning
+ functionality for it.
+
+ Fix issues found along the way:
+
+ - wincng, mbedtls: delete duplicate function declarations.
+ Most of this was due to re-#defining crypto functions to
+ crypto-backend specific implementations These redefines also remapped
+ the declarations in `crypto.h`, making the backend-specific
+ declarations duplicates.
+ This patch deletes the backend-specific declarations.
+
+ - wincng mapped two crypto functions to the same local function.
+ Also causing double declarations.
+ Fix this by adding two disctinct wrappers and moving
+ the common function to a static one.
+
+ - delete unreachable `break;` statements.
+
+ - kex: disable macros when unused.
+
+ - agent: disable unused constants.
+
+ - mbedtls: disable double declaration warnings because public mbedTLS
+ headers trigger it. (with function `psa_set_key_domain_parameters`)
+
+ - crypto.h: formatting.
+
+ Ref: https://github.com/ngtcp2/nghttp3/blob/a70edb08e954d690e8fb2c1df999b5a056f8bf9f/cmake/PickyWarningsC.cmake
+
+ Closes #1224
+
+- autotools: sync warning enabler code with curl
+
+ Tiny changes and minor updates to bring this code closer
+ to curl's `m4/curl-compilers.m4`.
+
+ Closes #1223
+
+- acinclude.m4: fix indentation [ci skip]
+
+ Also match indentation of curl's `m4/curl-compilers.m4` for
+ easier syncing.
+
+- autotool: rename variable
+
+ `WARN` -> `tmp_CFLAGS`
+
+ To match curl and make syncing this code easier.
+
+ Ref: https://github.com/curl/curl/blob/d1820768cce0e797d1f072343868ce1902170e93/m4/curl-compilers.m4#L479
+
+ Closes #1222
+
+- autotools: picky warning options tidy-up
+
+ - sync clang warning version limits with CMake.
+ - make `WARN=` vs. `CURL_ADD_COMPILER_WARNINGS()` consistent with curl
+ and between clang and gcc (`WARN=` is for `no-` options in general).
+
+ Closes #1221
+
+- build: picky warning updates
+
+ - cmake, autotools: sync picky gcc warnings with curl.
+ - cmake, autotools: add `-Wold-style-definition` for clang too.
+ - cmake, autotools: add comment for `-Wformat-truncation=1`.
+ - cmake: more precise version info for old clang options.
+
+ Closes #1219
+
+- ci: fixup FreeBSD version, bump mbedtls
+
+ We haven't been using the FreeBSD version. Also it turns out,
+ the single version supported is 13.2 at the moment:
+ https://github.com/vmactions/freebsd-vm/tree/main/conf
+
+ Stop trying to set the version and instead rely on the action
+ providing the latest supported one automatically.
+
+ Follow-up to a7d2a573be26238cc2b55e5ff6649bbe620cb8d9
+
+ Also:
+ - add more details to the FreeBSD job description.
+ - bump mbedtls version while here.
+
+ Closes #1217
+
+- cmake: fix multiple include of libssh2 package
+
+ Also extend our integration test double inclusion. It will still not
+ catch this case, because that requires
+ `cmake_minimum_required(VERSION 3.18)` or higher.
+
+ Fixes:
+ ```
+ CMake Error at .../lib/cmake/libssh2/libssh2-config.cmake:8 (add_library):
+ add_library cannot create ALIAS target "libssh2::libssh2" because another
+ target with the same name already exists.
+ Call Stack (most recent call first):
+ CMakeLists.txt:24 (find_package)
+
+ CMake Error at .../lib/cmake/libssh2/libssh2-config.cmake:13 (add_library):
+ add_library cannot create ALIAS target "Libssh2::libssh2" because another
+ target with the same name already exists.
+ Call Stack (most recent call first):
+ CMakeLists.txt:24 (find_package)
+ ```
+
+ Test to reproduce:
+ ```cmake
+ cmake_minimum_required(VERSION 3.18) # must be 3.18 or higher
+
+ project(test)
+
+ find_package(libssh2 CONFIG)
+ find_package(libssh2 CONFIG) # fails
+
+ add_executable(test main.c)
+ target_link_libraries(test libssh2::libssh2)
+ ```
+
+ Ref: https://cmake.org/cmake/help/latest/release/3.18.html#other-changes
+ Ref: https://cmake.org/cmake/help/v3.18/policy/CMP0107.html
+
+ Assisted-by: Kai Pastor
+ Assisted-by: Harry Mallon
+ Ref: https://github.com/curl/curl/pull/11913
+
+ Closes #1216
+
+- ci: add FreeBSD 13.2 job
+
+ It runs over Linux via qemu. First two runs were (very) slow, then it
+ became (much) more performant at just 2x slower than a native Linux
+ build. Then got slow again, then fast again. Still seems acceptable
+ for the value this adds.
+
+ The build uses autotools and quictls.
+
+ Successful builds:
+ 1. https://github.com/libssh2/libssh2/actions/runs/6802676786/job/18496286419 (13m59s, -j3)
+ 2. https://github.com/libssh2/libssh2/actions/runs/6802976375/job/18497243225 (11m5s, -j2)
+ 3. https://github.com/libssh2/libssh2/actions/runs/6803142201/job/18497785049 (3m6s, -j1)
+ 4. https://github.com/libssh2/libssh2/actions/runs/6803194839/job/18497962766 (3m10s, -j2)
+ 5. https://github.com/libssh2/libssh2/actions/runs/6803267201/job/18498208501 (3m13s)
+ 6. https://github.com/libssh2/libssh2/actions/runs/6803510333/job/18498993698 (15m25s)
+ 7. https://github.com/libssh2/libssh2/actions/runs/6813602863/job/18528571057 (3m13s)
+
+ Similar solution exists for Solaris (over macOS via VirtualBox), but it
+ hangs forever at `Waiting for text: solaris console login`:
+ https://github.com/libssh2/libssh2/actions/runs/6802388128/job/18495391869#step:4:185
+
+ Idea taken from LibreSSL.
+
+ FIXME: Unrelated, the `distcheck` job became flaky in recent days:
+ https://github.com/libssh2/libssh2/actions/runs/6802976375/job/18497256437#step:10:536
+ ```
+ FAIL: test_auth_pubkey_ok_rsa_aes256gcm
+ ```
+ https://github.com/libssh2/libssh2/actions/runs/6813602863/job/18528588933#step:10:533
+ ```
+ FAIL: test_read
+ ```
+
+ Closes #1215
+
+- reuse: fix duplicate copyright warning
+
+ ```
+ PendingDeprecationWarning:
+ Copyright and licensing information for 'tests/openssh_server/Dockerfile'
+ has been found in both 'tests/openssh_server/Dockerfile' and in the DEP5
+ file located at '.reuse/dep5'. The information for these two sources has
+ been aggregated. In the future this behaviour will change, and you will
+ need to explicitly enable aggregation. [...]
+ ```
+ Ref: https://github.com/libssh2/libssh2/actions/runs/6789274955/job/18456085964#step:4:4
+
+- Makefile.mk: delete Windows-focused raw GNU Make build
+
+ We recommend using CMake instead. Especially in unity mode, it's faster
+ and probably more familiar for most. It's also easily portable.
+
+ (`Makefile.mk` was also portable, but in practice only usable for
+ Windows. Other platforms required a manual config header.)
+
+ Also:
+ - migrate `LIBSSH2_NO_*` option CI tests to CMake.
+ - make MSYS2 CMake builds verbose to show compilation options.
+
+ Closes #1204
+
+- tidy-up: around `stdint.h`
+
+ - os400: delete unused `HAVE_STDINT_H`.
+
+ - fuzz: delete redundant `stdint.h` use.
+ `inttypes.h` is already included via `testinput.h`.
+
+ - docs/TODO: adjust type in planned function.
+
+ Closes #1212
+
+- cmake: show crypto backend in feature summary
+
+ This was visible as an enabled package before this patch, but it missed
+ to show WinCNG.
+
+ Closes #1211
+
+- man: fix double spaces and dash escaping
+
+ - `- ` -> `- `
+ - `. ` -> `. `
+ - `\- ` -> `- `
+ - `-1` -> `\-1`
+ - fold long lines along the way
+
+ This makes the minus sign come out as a Unicode minus sign
+ (0x2212), and title separator dashes as Unicode hyphen (0x2010),
+ with `groff -Tutf8` v1.23.0.
+
+ Ref: https://lwn.net/Articles/947941/
+
+ Closes #1210
+
+- src: fix gcc 13 `-Wconversion` warning on Darwin
+
+ ```
+ src/session.c: In function 'libssh2_poll':
+ src/session.c:1776:22: warning: conversion from 'long int' to '__darwin_suseconds_t' {aka 'int'} may change value [-Wconversion]
+ 1776 | tv.tv_usec = (timeout_remaining % 1000) * 1000;
+ | ^
+ ```
+ Ref: https://github.com/curl/curl-for-win/actions/runs/6711735060/job/18239768548#step:3:4368
+
+ Follow-up to 08354e0abbe86d4cc5088d210d53531be6d8981a
+
+ Closes #1209
+
+- openssl: silence `-Wunused-value` warnings
+
+ Seen with gcc 12.
+
+ Manual: https://www.openssl.org/docs/man3.1/man3/BIO_reset.html
+
+ ```
+ ./quictls/linux-a64-musl/usr/include/openssl/bio.h:555:34: warning: value computed is not used [-Wunused-value]
+ 555 | # define BIO_reset(b) (int)BIO_ctrl(b,BIO_CTRL_RESET,0,NULL)
+ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ ./libssh2/src/openssl.c:3518:5: note: in expansion of macro 'BIO_reset'
+ ./libssh2/src/openssl.c:3884:5: note: in expansion of macro 'BIO_reset'
+ ./libssh2/src/openssl.c:3995:5: note: in expansion of macro 'BIO_reset'
+ ```
+ Ref: https://github.com/curl/curl-for-win/actions/runs/6696392318/job/18194032712#step:3:5060
+
+ Closes #1205
+
+- Makefile.am: fix `cp` to preserve attributes and timestamp
+
+- cmake: simplify showing CMake version
+
+ Move it to `CMakeLists.txt`. Drop `cmake --version` commands.
+
+ Credit to the `zlib-ng` project for the idea:
+ https://github.com/zlib-ng/zlib-ng/blob/61e181c8ae93dbf56040336179c9954078bd1399/CMakeLists.txt#L7
+
+ Closes #1203
+
+- ci: mbedtls 3.5.0
+
+ v3.5.0 needs extra compiler option for i386 to avoid:
+ ```
+ #error "Must use `-mpclmul -msse2 -maes` for MBEDTLS_AESNI_C"
+ ```
+
+ Closes #1202
+
+- tests: show cmake version used in integration tests
+
+ Closes #1201
+
+- readme.vms: fix typo [ci skip]
+
+ Detected by codespell 2.2.6
+
+- appveyor: YAML/PowerShell formatting, shorten variable name
+
+ - use single-quotes in yaml and PowerShell.
+
+ - shorten a variable name.
+
+ - use indentation 2 for scripts.
+
+ - use C else-style in PowerShell.
+
+ Closes #1200
+
+- ci: update actions, use shallow clones with appveyor
+
+ - update GitHub Actions to their latest versions.
+
+ - use shallow git clones in AppVeyor CI to save data over the wire.
+
+ Closes #1199
+
+- appveyor: move to pure PowerShell
+
+ - replace batch commands with PowerShell.
+
+ - merge separate command entries into single PowerShell blocks.
+
+ Closes #1197
+
+- windows: use built-in `_WIN32` macro to detect Windows
+
+ Instead of `WIN32`.
+
+ The compiler defines `_WIN32`. Windows SDK headers or build env defines
+ `WIN32`, or we have to take care of it. The agreement seems to be that
+ `_WIN32` is the preferred practice here.
+
+ Minor downside is that CMake uses `WIN32` and we also adopted it in
+ `Makefile.mk`.
+
+ In public libssh2 headers we stick with accepting either `_WIN32` or
+ `WIN32` and define our own namespaced `LIBSSH2_WIN32` based on them.
+
+ grepping for `WIN32` remains useful to detect Windows-specific code.
+
+ Closes #1195
+
+- cmake: cleanup mbedTLS version detection more
+
+ - lowercase, underscored local variables.
+ - fix `find_library()` to use the multiple names passed.
+ - rely more on `find_package_handle_standard_args()`.
+ Logic based on our `Findwolfssl.cmake`.
+ - delete ignored/unused `MBEDTLS_LIBRARY_DIR`.
+ - revert CI configuration to use `MBEDCRTYPO_LIBRARY`.
+ - clarify inputs/outputs in comment header.
+ - use variable for regex.
+ - formatting.
+
+ Follow-up to 41594675072c578294674230d4cf5f47fa828778 #1192
+
+ Closes #1196
+
+- cmake: delete duplicate `include()`
+
+- cmake: improve/fix mbedTLS detection
+
+ - libssh2 needs the crypto lib only, stop dealing with the rest.
+
+ - simplify logic.
+
+ - drop hard-wired toolchain specific options that broke with e.g. MSVC.
+
+ Reported by: AR Visions
+ Fixes #1191
+
+ - add mbedTLS version detection for recent releases.
+
+ - merge custom detection results display into a single line.
+
+ - shorten mbedTLS configuration in macOS CI job.
+
+ Used the curl mbedTLS detection logic for ideas:
+ https://github.com/curl/curl/blob/a8c773845f4fdbfb09b08a6ec4b656c812568995/CMake/FindMbedTLS.cmake
+
+ Closes #1192
+
+GitHub (24 Sep 2023)
+- [concussious brought this change]
+
+ libssh2_session_get_blocking.3: Add description (#1185)
+
+Viktor Szakats (21 Sep 2023)
+- autotools: fix selecting wincng in cross-builds (and more)
+
+ - Fix explicitly selecting WinCNG in autotools cross-builds by moving
+ `windows.h` header check before the WinCNG availability check.
+ Follow-up to d43b8d9b0b9cd62668459fe5d582ed83aabf77e7
+
+ Reported-by: Jack L
+ Fixes #1186
+
+ - Add Linux -> mingw-w64 cross-builds for autotools and CMake. This
+ doesn't detect #1186, because that happened when explicitly specifying
+ WinCNG via `--with-crypto=wincng`, but not when falling back to WinCNG
+ by default.
+
+ - autotools: fix to strip suffix from gcc version
+
+ Before this patch we expected `n.n` `-dumpversion` output, but Ubuntu
+ may return `n-win32` (also with `-dumpfullversion`). Causing these
+ errors and failing to enable picky warnings:
+ ```
+ ../configure: line 23845: test: : integer expression expected
+ ```
+ Ref: https://github.com/libssh2/libssh2/actions/runs/6263453828/job/17007893718#step:5:143
+
+ Fix that by stripping any dash-suffix.
+
+ gcc version detection is still half broken because we translate '10'
+ to '10.10' because `cut -d. -f2` returns the first word if the
+ delimiter missing.
+
+ More possible `-dumpversion` output: `10-posix`, `10-win32`,
+ `9.3-posix`, `9.3-win32`, `6`, `9.3.0`, `11`, `11.2`, `11.2.0`
+ Ref: https://github.com/mamedev/mame/pull/9767
+
+ Closes #1187
+
+GitHub (28 Aug 2023)
+- [Michael Buckley brought this change]
+
+ Properly bounds check packet_authagent_open() (#1179)
+
+ * Properly bounds check packet_authagent_open
+ * packet.c: use strlen instead of sizeof for strings
+ * Make LIBSSH_CHANNEL's channel_type_len a size_t
+ * packet_authagent_open: use size_t for offset
+
+ Credit:
+ Michael Buckley, signed off by Will Cosgrove
+
+Viktor Szakats (28 Aug 2023)
+- os400qc3: move FIXME comment [ci skip]
+
+ Follow-up to eb9f9de2c19ec67d12a444cce34bdd059fd26ddc
+
+- md5: allow disabling old-style encrypted private keys at build-time
+
+ Before this patch, this happened at runtime when using an old (pre-3.0),
+ FIPS-enabled OpenSSL backend.
+
+ This patch makes it possible to disable this via the build-time option
+ `LIBSSH2_NO_MD5_PEM`.
+
+ Also:
+ - make sure to exclude all MD5 internal APIs when both the above and
+ `LIBSSH2_NO_MD5` are enabled.
+ - fix tests to support build with`LIBSSH2_NO_MD5`, `LIBSSH2_NO_MD5_PEM`
+ and `LIBSSH2_NO_3DES`.
+ - add FIXME to apply this change to `os400qc3.*`.
+
+ Old-style encrypted private keys require MD5 and they look like this:
+ ```
+ -----BEGIN RSA PRIVATE KEY-----
+ Proc-Type: 4,ENCRYPTED
+ DEK-Info: AES-128-CBC,
+
+
+ -----END RSA PRIVATE KEY-----
+ ```
+
+ E.g.: `tests/key_rsa_encrypted`
+
+ Ref: https://github.com/libssh2/www/issues/20
+ Closes #1181
+
+- cmake: tidy-up `foreach()` syntax
+
+ Use `IN LISTS` and `IN ITEMS`. This appears to be the preferred way
+ within CMake's own source code and possibly improves readability.
+
+ Fixup a side-effect of `IN LISTS`, where it retains empty values at
+ the end of the list, as opposed to the syntax used before, which
+ dropped it. In our case this happened with lines read from a text
+ file via `file(READ)`.
+
+ https://cmake.org/cmake/help/v3.7/command/foreach.html
+
+ Closes #1180
+
+- ci: replace `mv` + `chmod` with `install` in `Dockerfile`
+
+ Cherry-picked from #1175
+ Closes #1175
+
+- ci: set file mode early in `appveyor_docker.yml`
+
+ Also:
+ - replace tab with spaces in generated config file
+ - formatting
+
+ Cherry-picked from #1175
+
+- ci: add spellcheck (codespell)
+
+ Also rename a variable in `src/os400qc3.c` to avoid a false positive.
+
+ Cherry-picked from #1175
+
+- cmake: also test for `libssh2_VERSION`
+
+ Cherry-picked from #1175
+
+- cmake: show cmake versions in ci
+
+ Cherry-picked from #1175
+
+- tests: formatting and tidy-ups
+
+ - Dockerfile: use standard sep with `sed`
+ - Dockerfile: use single quotes in shell command
+ - appveyor.yml: use long-form option with `choco`
+ - tests/cmake: add language to test project
+ - reuse.yml: fix indentation
+ ```
+ $ yamllint reuse.yml
+ reuse.yml
+ [...]
+ 11:5 error wrong indentation: expected 6 but found 4 (indentation)
+ 15:5 error wrong indentation: expected 6 but found 4 (indentation)
+ [...]
+ 27:5 error wrong indentation: expected 6 but found 4 (indentation)
+ ```
+
+ Cherry-picked from #1175
+
+- openssl.c: whitespace fixes
+
+ Cherry-picked from #1175
+
+- checksrc: fix spelling in comment [ci skip]
+
+- cmake: quote more strings
+
+ Follow-up to 3fa5282d6284efba62dc591697e6a687152bdcb1
+
+ Closes #1173
+
+- drop `www.` from `www.libssh2.org`
+
+ is now a 301 permanent redirect to
+ .
+
+ Update all references to point directly to the new destination.
+
+ Ref: https://github.com/libssh2/www/commit/ccf4a7de7f702a8ee17e2c697bcbef47fcf485ed
+
+ Closes #1172
+
+- cmake: add `ExternalProject` integration test
+
+ - via `ExternalProject_Add()`:
+ https://cmake.org/cmake/help/latest/module/ExternalProject.html
+ (as documented in `docs/INSTALL_CMAKE.md`)
+
+ - also make `FetchContent` fetch from local repo instead of live master.
+
+ Closes #1171
+
+- cmake: add integration tests
+
+ Add a small project to test dependent/downstream CMake build using
+ libssh2. Also added to the GHA CI, and you can also run it locally with
+ `tests/cmake/test.sh`.
+
+ Test three methods of integrating libssh2 into a project:
+ - via `find_package()`:
+ https://cmake.org/cmake/help/latest/command/find_package.html
+ - via `add_subdirectory()`:
+ https://cmake.org/cmake/help/latest/command/add_subdirectory.html
+ - via `FetchContent`:
+ https://cmake.org/cmake/help/latest/module/FetchContent.html
+
+ Closes #1170
+
+- cmake: (re-)add aliases for `add_subdirectory()` builds
+
+ Add internal libssh2 library aliases to make these available for
+ downstream/dependent projects building libssh2 via `add_subdirectory()`:
+
+ - `libssh2:libssh2_static`
+ - `libssh2:libssh2_shared`
+ - `libssh2:libssh2` (shared, or static when not building shared)
+ - `libssh2` (shared, or static when not building shared)
+
+ Of these, `libssh2` was present in v1.10.0 and earlier releases, but
+ missing from v1.11.0.
+
+ Closes #1169
+
+- cmake: delete empty line [ci skip]
+
+ Follow-up to 3fa5282d6284efba62dc591697e6a687152bdcb1
+
+- cmake: reflect minimum version in docs [ci skip]
+
+ Follow-up to 9cd18f4578baa41dfca197f60557063cad12cd59
+
+- cmake: style tidy up
+
+ - quote text literals to improve readability.
+ (exceptions: `FILES` items, `add_subdirectory` names, `find_package`
+ names, literal target names, version numbers, 0/1, built-in CMake
+ values and CMake keywords, list items in `cmake/max_warnings.cmake`)
+ - quote standalone variables that could break syntax on empty values.
+ - replace `libssh2_SOURCE_DIR` with `PROJECT_SOURCE_DIR`.
+ - add missing mode to `message()` call.
+ - `TRUE`/`FALSE` → `ON`/`OFF`.
+ - add missing default value `OFF` to `option()` for clarity.
+ - unfold some lines.
+ - `INSTALL_CMAKE.md` fixes and updates. Show defaults.
+
+ Closes #1166
+
+- wincng: prefer `ULONG`/`DWORD` over `unsigned long`
+
+ To match with the types used by the `Crypt*()` (uses `DWORD`) and
+ `BCrypt*()` (uses `ULONG`) Windows APIs.
+
+ This patch doesn't change data width or signedness.
+
+ Closes #1165
+
+- wincng: tidy-ups
+
+ - make `_libssh2_wincng_key_sha_verify` static.
+
+ - prefer `unsigned long` over `size_t` in two static functions.
+
+ - prefer `ULONG` over `DWORD` to match `BCryptImportKeyPair()`
+ and `BCryptGenerateKeyPair()`.
+
+ - add a newline.
+
+ Closes #1164
+
+- ci: add MSYS builds (autotools and cmake)
+
+ Use existing MSYS2 section and extend it with builds for the MSYS
+ environment with both autotools and cmake.
+
+ MSYS builds resemble Cygwin ones: The env is Unixy, where Windows
+ headers are all available but we don't use them.
+
+ Also:
+
+ - extend existing autotools logic for Cygwin to skip detecting
+ `windows.h` for MSYS targets too.
+
+ - require `windows.h` for the WinCNG backend in autotools. Before this
+ patch, autotools allowed selecting WinCNG on the Cygwin and MSYS
+ platforms, but the builds then fell apart due to the resulting mixed
+ Unixy + Windowsy environment. The general expectation for Cygwin/MSYS
+ builds is not to use the Windows API directly in them.
+
+ - stop manually selecting the `MSYS Makefiles` CMake generator for
+ MSYS2-based GHA CI builds. mingw-w64 builds work fine without it, but
+ it broke MSYS build which use `Unix Makefiles`. Deleting this setting
+ fixes all build flavours.
+
+ Closes #1162
+
+- ci: cygwin job tidy-ups
+
+ `CMAKE_C_COMPILER=gcc` not necessary, delete it.
+
+ Follow-up to f1e96e733fefb495bc31b07f5c2a5845ff877c9c
+
+ Cherry-picked from #1163
+ Closes #1163
+
+- ci: add Cygwin builds (autotools and cmake)
+
+ To avoid builds picking up non-Cygwin components coming by default with
+ the CI machine, I used the solution recommended by Cygwin [1] and set
+ `PATH` manually. To avoid repeating this for each step, I merged steps
+ into a single one. Let us know if there is a more elegant way.
+
+ Cygwin's Github Action uses cleartext HTTP. We upgrade this to HTTPS.
+
+ autotools build seemed to take slightly longer than other jobs. To save
+ turnaround time I disabled building tests.
+
+ Cygwin package search: https://cygwin.com/cgi-bin2/package-grep.cgi
+
+ [1] https://github.com/cygwin/cygwin-install-action/tree/v4#path
+
+ Closes #1161
+
+- cmake: add `LIB_NAME` variable
+
+ It holds the name `libssh2`. Mainly to document its uses, and also
+ syncing up with the same variable in libcurl.
+
+ Closes #1159
+
+- cmake: add one missed `PROJECT_NAME` variable
+
+ Follow-up to 72fd25958a7dc6f8e68f2b2d5d72839a2da98f9c
+
+ Closes #1158
+
+- cmake: tidy-up concatenation in `CMAKE_MODULE_PATH`
+
+ Former solution was appending an empty element to the array if
+ `CMAKE_MODULE_PATH` was originally empty. The new syntax doesn't have
+ this side-effect.
+
+ There is no known issue caused by this. Fixing it for good measure.
+
+ Closes #1157
+
+- ci: add mingw-w64 UWP build
+
+ Add a CI test for Windows UWP builds using mingw-w64. Before this patch
+ we had UWP builds tested with MSVC only.
+
+ Alike existing UWP jobs, it's not possible to run the binaries due to
+ the missing UWP runtime DLL:
+ https://github.com/libssh2/libssh2/actions/runs/5821297010/job/15783475118#step:11:42
+
+ We could install `winstorecompat-git` in the setup-msys2 step, but opted
+ to do it manually to avoid the overhead for every matrix job.
+
+ All this would work smoother with llvm-mingw, which features an UWP
+ toolchain prefix and provides all necessary implibs by default.
+
+ This also hit a CMake bug (with v3.26.4), where CMake gets confused and
+ sets up `windres.exe` to use the MSVC rc.exe-style command-line:
+ https://github.com/libssh2/libssh2/actions/runs/5819232677/job/15777236773#step:9:126
+
+ Notice that MS "sunset" UWP in 2021:
+ https://github.com/microsoft/WindowsAppSDK/discussions/1615
+
+ If this particular CI job turns out to be not worth the maintenance
+ burden or CPU time, or too much of a hack, feel free to delete it.
+
+ Ref: https://github.com/libssh2/libssh2/pull/1147#issuecomment-1670850890
+ Closes #1155
+
+- cmake: replace `libssh2` literals with `PROJECT_NAME` variable
+
+ Where applicable.
+
+ This also makes it more obvious which `libssh2` uses were referring
+ to the project itself.
+
+ Closes #1152
+
+- cmake: fix `STREQUAL` check in error branch
+
+ This caused a CMake error instead of our custom error when manually
+ selecting the `WinCNG` crypto-backend for a non-Windows target.
+
+ Also cleanup `STREQUAL` checks to use variable name without `${}` on
+ the left side and quoted string literals on the right.
+
+ Closes #1151
+
+- misc: flatten `_libssh2_explicit_zero` if tree
+
+ Closes #1149
+
+- src: drop a redundant `#include`
+
+ We include `misc.h` via `libssh2_priv.h` already.
+
+ Closes #1153
+
+- openssl: use automatic initialization with LibreSSL 2.7.0+
+
+ Stop calling `OpenSSL_add_all_*()` for LibreSSL 2.7.0 and later.
+
+ LibreSSL 2.7.0 (2018-03-21) introduced automatic initialization and
+ deprecated these functions. Stop calling these functions manually for
+ LibreSSL version that no longer need them.
+
+ Ref: https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-2.7.0-relnotes.txt
+ Ref: https://github.com/libressl/openbsd/commit/46f29f11977800547519ee65e2d1850f2483720b
+ Ref: https://github.com/libssh2/libssh2/issues/302
+
+ Also stop calling `ENGINE_*()` functions when initialization is
+ automatic with LibreSSL 2.7.0+ and OpenSSL 1.1.0+. Engines are also
+ initializated automatically with these.
+
+ Closes #1146
+
+- gha: restore curly braces in `if`
+
+ Without curly braces it was less obvious which string is a GHA expression.
+
+ Also fix an `if` expression that always missed its curly braces.
+
+ Reverts cab3db588769d6deed97ba89ca9221fd7503405e
+
+ Closes #1145
+
+- ci: bump mbedtls
+
+- [renmingshuai brought this change]
+
+ Add a new structure to separate memory read and file read.
+ We use different APIs when we read one private key from memory,
+ so it is improper to store the private key information in the
+ structure that stores the private key file information.
+
+ Fixes https://github.com/libssh2/libssh2/issues/773
+ Reported-by: mike-jumper
+
+- tests: replace FIXME with comments
+
+ `key_dsa_wrong` is the same kind of (valid) key as `key_dsa`, both with
+ an empty passphrase. Named "wrong" because it's intentionally not added
+ to our `openssh_server/authorized_keys` file.
+
+- tidy-up: delete duplicate word from comment
+
+- cmake: cache more config values on Windows
+
+ Set two cases of non-detection to save the time dynamically detecting
+ these on each build init. Affects old MSVC versions.
+
+ Before:
+ https://ci.appveyor.com/project/libssh2org/libssh2/builds/47668870/job/i17e0e9yx8rgpv4i
+
+ After:
+ https://ci.appveyor.com/project/libssh2org/libssh2/builds/47674950/job/ysa1jq0pxtyhui3f
+
+ Closes #1142
+
+- revert: build: respect autotools `DLL_EXPORT` in `libssh2.h`
+
+ Revert fb1195cf88268a11e2709b9912ab9dca8c23739c #917
+
+ On a second look this change did not improve anything with autotools
+ builds. autotools seems to handle the dll export matter without it.
+
+ This patch also broke (e.g.) curl-for-win autotools builds, where the
+ curl build defines `DLL_EXPORT` while building libcurl DLL. `libssh2.h`
+ picks it up, resulting in unresolved symbols while trying to link a
+ static libssh2 on Windows. The best fix seems to be to revert this,
+ instead of adding extra tweaks to dependents.
+
+ Fixes:
+ https://ci.appveyor.com/project/curlorg/curl-for-win/builds/47667412#L11035
+ ```
+ ld.lld-15: error: undefined symbol: __declspec(dllimport) libssh2_session_block_directions
+ >>> referenced by vssh/.libs/libcurl_la-libssh2.o:(ssh_do)
+ >>> referenced by vssh/.libs/libcurl_la-libssh2.o:(ssh_connect)
+ >>> referenced by vssh/.libs/libcurl_la-libssh2.o:(ssh_multi_statemach)
+ >>> referenced 8 more times
+
+ ld.lld-15: error: undefined symbol: __declspec(dllimport) libssh2_session_init_ex
+ >>> referenced by vssh/.libs/libcurl_la-libssh2.o:(ssh_connect)
+
+ ld.lld-15: error: undefined symbol: __declspec(dllimport) libssh2_session_set_read_timeout
+ [...]
+ ```
+
+ Closes #1141
+
+- gha: simplify `if` strings
+
+ Closes #1140
+
+- test_read: make it run without Docker
+
+ Apply an existing fix to `test_read`, so that it falls back to use
+ the current username instead of the hardcoded `libssh2` when run
+ outside Docker.
+
+ This allows to run algo tests with this command:
+ ```shell
+ cd tests
+ ./test_sshd.test ./test_read_algos.test
+ ```
+
+ Closes #1139
+
+- cmake: streamline invocation
+
+ Stop specifiying the current directory.
+ Simplify build instructions.
+
+ Closes #1138
+
+- NMakefile: delete
+
+ This make file was for long time unmaintained (last updated in 2014).
+ Despite best efforts to keep it working in the recent round of major
+ overhauls, it appears to be broken now. There is also no way to test it
+ without an actual MSVC env and it's also missing from our CI. Based on
+ our Issue tracker, it's also not widely used.
+
+ Since its addition in 2005, libssh2 got support for CMake in 2014.
+ CMake should be able to generate NMake makefiles with the option
+ `-G "NMake Makefiles"`. (I haven't tested this.)
+
+ Ref: https://github.com/libssh2/libssh2/discussions/1129
+ Closes #1134
+
+- tests: add aes256-gcm encrypted key test
+
+ Follow-up to #1133
+
+ Also update `tests/gen_keys.sh` to set `aes256-ctr` encryption method
+ for `key_ed25519_encrypted' explicitly.
+
+ Closes #1135
+
+GitHub (26 Jul 2023)
+- [Jakob Egger brought this change]
+
+ Fix private keys encrypted with aes-gcm methods (#1133)
+
+ libssh2 1.11.0 fails to decrypt private keys encrypted with
+ aes128-gcm@openssh.com and aes256-gcm@openssh.com ciphers.
+
+ To reproduce the issue, you can create a test key with a command like
+ the following:
+
+ ```bash
+ ssh-keygen -Z aes256-gcm@openssh.com -f id_aes256-gcm
+ ```
+
+ If you attempt to use this key for authentication, libssh2 returns the
+ not-so-helpful error message "Wrong passphrase or invalid/unrecognized
+ private key file format".
+
+ The problem is that OpenSSH encrypts keys differently than packets. It
+ does not include the length as AAD, and the 16 byte authentication tag
+ is appended after the encrypted key. The length of the authentication
+ tag is not included in the encrypted key length.
+
+ I have not found any documentation for this behaviour -- I discovered it
+ by looking at the OpenSSH source. See the `private2_decrypt` function in
+ .
+
+ This patch fixes the code for reading OpenSSH private keys encrypted
+ with AES-GCM methods.
+
+Viktor Szakats (26 Jul 2023)
+- ci: add missing timeout to 'autotools distcheck' step
+
+- cmake: merge `set_target_properties()` calls
+
+ Also rename variable `LIBSSH2_VERSION` to `LIBSSH2_LIBVERSION` in
+ context of lib versioning to avoid collision with another use.
+
+ Closes #1132
+
+- cmake: formatting [ci skip]
+
+- cmake: (re-)add zlib to `Libs.private` in `libssh2.pc`
+
+ We mistakently added transitive zlib to `Requires.private` before, then
+ removed it. This patch re-adds zlib, but this time to `Libs.private`,
+ which is listing raw libs and should include transitive libs as well.
+
+ Also add zlib when used as a direct dependency when zlib compression
+ support is enabled.
+
+ Follow-up to ef538069a661a43134fe7b848b1fe66b2b43bdac
+
+ Closes #1131
+
+- cmake: formatting [ci skip]
+
+- cmake: use `wolfssl/options.h` for detection, like autotools
+
+ Closes #1130
+
+- build: stop requiring libssl from openssl
+
+ libssh2 does not use or need the TLS/SSL library of OpenSSL.
+ It only needs libcrypto.
+
+ Closes #1128
+
+- cmake: add openssl libs to `Libs.private` in `libssh2.pc`
+
+ Also to sync up with autotools-generated `libssh2.pc`, that
+ already added them.
+
+ Closes #1127
+
+- Makefile.mk: stop linking unused mbedtls libs
+
+ Stop linking libmbedtls and libmbedx509 (similarly to autotools).
+ Only libmbedcrypto is necessary for libssh2.
+
+- cmake: bump minimum CMake version to v3.7.0
+
+ Fixes the warning below, which appeared in CMake v3.27.0:
+ ```
+ CMake Deprecation Warning at CMakeLists.txt:39 (cmake_minimum_required):
+ Compatibility with CMake < 3.5 will be removed from a future version of
+ CMake.
+
+ Update the VERSION argument value or use a ... suffix to tell
+ CMake that the project does not need compatibility with older versions.
+ ```
+
+ Bump straight up to v3.7.0 to sync up with the curl project:
+ https://github.com/curl/curl/blob/2900c29218d2d24ab519853589da84caa850e8c7/CMakeLists.txt#L64
+
+ CMake release dates:
+ v3.7.0 2016-11-11
+ v3.5.0 2016-03-08
+ v3.1.0 2014-12-17
+
+ Closes #1126
+
+- build: tidy-up `libssh2.pc.in` variable names
+
+ - prefix with `LIBSSH2_PC_`
+
+ - match with the names of `pkg-config` values.
+
+ - use the same names in autotools and CMake scripts.
+
+ - use `LIBSSH2_VERSION` for the version number in autotools scripts,
+ to match the name used in CMake.
+
+ Closes #1125
+
+- libssh2.pc: re-add & extend support for static-only libssh2 builds
+
+ Adapted for libssh2 from the curl commit message by James Le Cuirot:
+
+ "A project built entirely statically will call `pkg-config` with
+ `--static`, which utilises the `Libs.private:` field. Conversely it will
+ not use `--static` when not being built entirely statically, even if
+ there is only a static build of libssh2 available. This will most
+ likely cause the build to fail due to underlinking unless we merge the
+ `Libs:` fields.
+
+ Consider that this is what the Meson build system does when it generates
+ `pkg-config` files."
+
+ This patch extends the above to `Requires:`, to mirror `Libs:` with
+ `pkg-config` package names.
+
+ Follow-up to 1209c16d93cba3c5e0f68c12fa4a5049f49c00d8 #1114
+
+ Ref: https://github.com/libssh2/libssh2/pull/1114#issuecomment-1634334809
+ Ref: https://github.com/curl/curl/commit/98e5904165859679cd78825bcccb52306ee3bb66
+ Ref: https://github.com/curl/curl/pull/5373
+ Closes #1119
+
+GitHub (14 Jul 2023)
+- [Nursan Valeyev brought this change]
+
+ cmake: CMAKE_SOURCE_DIR -> PROJECT_SOURCE_DIR (#1121)
+
+ Fixes compiling as dependency with FetchContent
+
+ Co-authored-by: Viktor Szakats
+
+Viktor Szakats (14 Jul 2023)
+- autotools: use comma separator in `Requires.private` of `libssh2.pc`
+
+ In `Requires*:`, the documented name separator is comma. We already used
+ it in the CMake-generated `libssh2.pc`. Adjust the autotools-generated
+ one to use it too, instead of spaces.
+
+ Ref: https://linux.die.net/man/1/pkg-config
+ Ref: https://gitlab.freedesktop.org/pkg-config/pkg-config/-/blob/d97db4fae4c1cd099b506970b285dc2afd818ea2/pkg-config.1
+
+ Closes #1124
+
+- build: add/fix `Requires.private` packages in `libssh2.pc`
+
+ - autotools was using `libwolfssl`. CMake left it empty. wolfSSL
+ provides `wolfssl.pc`. This patch sets `Requires.private: wolfssl`
+ with both build tools.
+
+ - add `libgcrypt` to `Requires.private` with both autotools and CMake.
+ Ref:
+ https://github.com/gpg/libgcrypt/blob/e76e88eef7811ada4c6e1d57520ba8c439139782/src/libgcrypt.pc.in
+ Present since 2005-04-22:
+ https://github.com/gpg/libgcrypt/commit/32bf3f13e8b45497322177645bebf0b5d0c9cb8e
+ Released in v1.3.0 2007-05-04:
+ https://github.com/gpg/libgcrypt/releases/tag/libgcrypt-1.3.0
+
+ - also stop adding transitive `zlib` deps to `Requires.private`.
+ The referenced crypto package is adding it as nedded.
+ This makes deduplication of the list redundant, so stop doing it.
+ Follow-up to 2fc367900701e6149efc42bd674c4b69127756dd
+
+ (`libssh2.pc` not tested as a project dependency.)
+
+ Closes #1123
+
+- cmake: tidy-ups
+
+ - dedupe `Requires.private` in `libssh2.pc`.
+ `zlib` could appear on the list twice:
+ ```
+ Requires.private: libssl,libcrypto,zlib,zlib
+ ```
+ According to CMake docs `list(REMOVE_DUPLICATES ...)`, is supported by
+ our minimum required CMake version (and by earlier ones even):
+ https://cmake.org/cmake/help/v3.1/command/list.html#remove-duplicates
+
+ - move `cmake_minimum_required()` to the top.
+
+ - move `set(CMAKE_MODULE_PATH)` to the top.
+
+ - delete duplicate `set(CMAKE_MODULE_PATH)`.
+
+ - replace `CMAKE_CURRENT_SOURCE_DIR` with `PROJECT_SOURCE_DIR` in root
+ `CMakeLists.txt` for robustness.
+
+ - replace `gcovr` option with long-form for readability/consistency.
+
+ - rename `GCOV_OPTIONS` to `GCOV_CFLAGS`. These are C options we enable
+ when using gcov, not gcov tooling options.
+
+ Closes #1122
+
+- openssl: add missing check for `LIBRESSL_VERSION_NUMBER` before use
+
+ Fixes:
+ ```
+ openssl.h:101:5: warning: "LIBRESSL_VERSION_NUMBER" is not defined [-Wundef]
+ LIBRESSL_VERSION_NUMBER >= 0x3050000fL
+ ^
+ ```
+
+ Ref: https://github.com/libssh2/libssh2/issues/1115#issuecomment-1631845640
+ Closes #1117
+
+- [Harmen Stoppels brought this change]
+
+ Don't put `@LIBS@` in pc file
+
+- misc: delete redundant NULL check and assignment
+
+ Follow-up to 724effcb47ebb713d3ef1776684b8f6407b4b6a5 #1109
+
+ Ref: https://github.com/libssh2/libssh2/pull/1109#discussion_r1246613274
+ Closes #1111
+
+- [renmingshuai brought this change]
+
+ We should check whether *key_method is a NULL pointer instead of key_method
+
+ Signed-off-by: renmingshuai
+
+GitHub (30 Jun 2023)
+- [ren mingshuai brought this change]
+
+ Add NULL pointer check for outlen before use (#1109)
+
+ Before assigning a value to the outlen, we need to check whether it is NULL.
+
+ Credit: Ren Mingshuai
+
+Viktor Szakats (25 Jun 2023)
+- cmake: re-add `Libssh2:libssh2` for compatibiliy + lowercase namespace
+
+ - add `libssh2:libssh2` target that selects the shared lib if built,
+ otherwise the static one.
+
+ - re-add `Libssh2:libssh2` target for compatibility with v1.10.0 and
+ earlier. This is an alias for `libssh2:libssh2`.
+
+ - keep `libssh2:libssh2_shared` and `libssh2_libssh2_static` targets.
+
+ - allow using `find_package(libssh2)` in dependents as an alternative
+ to `find_package(Libssh2)`.
+
+ Co-authored-by: Radek Brich
+ Suggested-by: Haowei Hsu
+
+ Fixes #1103
+ Fixes #731
+ Closes #1104
+
+- example: fix regression in `ssh2_exec.c`
+
+ Regression from b13936bd6a89993cd3bf4a18317ca5bd84bb08d7 #861 #846.
+ Update a variable name missed above.
+
+ Reported-by: PewPewPew
+ Fixes #1105
+ Closes #1106
+
+- docs: replace SHA1 with SHA256 in CMake example
+
+- checksrc: modernise perl file open
+
+ Use regular variables and separate file open modes from filenames.
+
+ Suggested by perlcritic
+
+ Copied from https://github.com/curl/curl/commit/7f669aa0f1d40ef5d64543981f22bdc5af1272f5
+ Copied from https://github.com/curl/trurl/commit/f2784a9240f47ee28a845
+
+- reuse: comply with 3.1 spec and 2.0.0 checker
+
+ The checker tool was upgraded upstream to 2.0.0 and the REUSE
+ Specification to version 3.1 (from 3.0), causing these new errors:
+ ```
+ reuse.project - WARNING - Copyright and licensing information for 'docs/INSTALL_AUTOTOOLS' have been found in 'docs/INSTALL_AUTOTOOLS' and the DEP5 file located at '.reuse/dep5'. The information in the DEP5 file has been overridden. Please ensure that this is correct.
+ reuse.project - WARNING - Copyright and licensing information for 'tests/openssh_server/Dockerfile' have been found in 'tests/openssh_server/Dockerfile' and the DEP5 file located at '.reuse/dep5'. The information in the DEP5 file has been overridden. Please ensure that this is correct.
+
+ The following files have no licensing information:
+ * docs/INSTALL_AUTOTOOLS
+ * tests/openssh_server/Dockerfile
+ ```
+ Via: https://github.com/libssh2/libssh2/actions/runs/5333572682/jobs/9664211341?pr=1098#step:4:4
+
+ Ref: https://github.com/fsfe/reuse-tool/releases/tag/v2.0.0
+ Ref: https://git.fsfe.org/reuse/docs/src/branch/stable/CHANGELOG.md#3-1-2023-06-21
+
+ Original discovery: https://github.com/libssh2/libssh2/pull/1098#issuecomment-1600719575
+
+ Fixes #1101
+ Closes #1102
+
+- tests: trap signals in scripts
+
+ Closes #1098
+
+- test_sshd.test: fixup to distcheck failure
+
+ Fixes:
+ ```
+ ERROR: test_sshd.test - missing test plan
+ ERROR: test_sshd.test - exited with status 1
+ ```
+ Ref: https://github.com/libssh2/libssh2/actions/runs/5322354271/jobs/9638694218#step:10:532
+
+ Caused by trying to create the log file in a read-only directory.
+
+ Follow-up to 299c2040625830d06ad757d687807a166b57d6de
+ Closes #1099
+
+GitHub (21 Jun 2023)
+- [Viktor Szakats brought this change]
+
+ test_sshd.test: show sshd and test connect logs on harness failure (#1097)
+
+- [Joel Depooter brought this change]
+
+ Fix incorrect byte offset in debug message (#1096)
+
+ Fixes debug log message
+
+ Credit:
+ Joel Depooter
+
+Viktor Szakats (16 Jun 2023)
+- tidy-up: delete whitespace at EOL [ci skip]
+
+- mbedtls: include `version.h` for `MBEDTLS_VERSION_NUMBER`
+
+ Older (2021 or earlier?) mbedTLS releases require this.
+
+ Reported-by: rahmanih on Github
+ Fixes #1094
+ Closes #1095
+
+- hostkey: do not advertise ssh-rsa when SHA1 is disabled
+
+ Before this patch OpenSSL, mbedTLS, WinCNG and OS/400 advertised both
+ SHA2 and SHA1 host key algos, even when SHA1 was not supported by the
+ crypto backend or when forcefully disabled via `LIBSSH2_NO_RSA_SHA1`.
+
+ Reported-by: João M. S. Silva
+ Fixes #1092
+ Closes #1093
+
+- openssl.h: whitespace tidy-up [ci skip]
+
+GitHub (14 Jun 2023)
+- [Dan Fandrich brought this change]
+
+ test_sshd.test: set a safe PID directory (#1089)
+
+ The compiled in default to sshd can be a non-writable location since it
+ expects to be run as root.
+
+Viktor Szakats (13 Jun 2023)
+- mingw: fix printf mask for 64-bit integers
+
+ Before 02f2700a61157ce5a264319bdb80754c92a40a24 #846 #876, we used
+ `%I64d'. That patch changed this to `%lld`. This patch uses `PRId64`
+ (defined in `inttypes.h`).
+
+ Fixes #1090
+ Closes #1091
+
+- test_sshd.test: minor cleanups
+
+Daniel Stenberg (7 Jun 2023)
+- provide SPDX identifiers
+
+ - 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
+
+Viktor Szakats (6 Jun 2023)
+- src: improve MSVC C4701 warning fix
+
+ Simplify the code to avoid this warning. This might also help avoiding
+ it with other compilers (e.g. gcc?).
+
+ Improves 02f2700a61157ce5a264319bdb80754c92a40a24 #876
+ Might fix #1083
+ Closes #1086
+
+Daniel Stenberg (5 Jun 2023)
+- configure.ac: remove AB_INIT
+
+ Not used. Remove m4/autobuild.m4 as well
+
+Viktor Szakats (4 Jun 2023)
+- copyright: remove years from copyright headers
+
+ Also:
+ - uppercase `(C)`.
+ - add missing 'All rights reserved.' lines.
+ - drop duplicate 'Author' lines.
+ - add copyright headers where missing.
+ - enable copyright header check in checksrc.
+
+ Reasons for deleting years (copied as-is from curl):
+ - they are mostly pointless in all major jurisdictions
+ - many big corporations and projects already don't use them
+ - saves us from pointless churn
+ - git keeps history for us
+ - the year range is kept in COPYING
+
+ Closes #1082
+
+- tests: cast to avoid `-Wchar-subscripts` with Cygwin
+
+ ```
+ In file included from $HOME/src/cygwin/libssh2/libssh2-1.11.0-1.x86_64/src/libssh2-1.11.0/tests/openssh_fixture.c:57:
+ $HOME/src/cygwin/libssh2/libssh2-1.11.0-1.x86_64/src/libssh2-1.11.0/tests/openssh_fixture.c: In function 'run_command_varg':
+ $HOME/src/cygwin/libssh2/libssh2-1.11.0-1.x86_64/src/libssh2-1.11.0/tests/openssh_fixture.c:136:37: warning: array subscript has type 'char' [-Wchar-subscripts]
+ 136 | while(end > 0 && isspace(buf[end - 1])) {
+ | ~~~^~~~~~~~~
+ ```
+ Ref: https://github.com/libssh2/libssh2/files/11644340/cygwin-x86_64-libssh2-1.11.0-1-check.log
+
+ Reported-by: Brian Inglis
+ Fixes #1080
+ Closes #1081
+
+- tidy-up: avoid exclamations, prefer single quotes, in outputs
+
+ Closes #1079
+
+- autotools: improve libz position
+
+ We repositioned crypto libs in 4f0f4bff5a92dce6a6cd7a5600a8ee5660402c3f
+ via #941 and subsequently in d4f58f03438e326b8696edd31acadd6f3e028763
+ from d93ccf4901ef26443707d341553994715414e207 via #1013.
+
+ This patch moves libz accordingly, to unbreak certain build scenarios.
+
+ Reported-by: Kenneth Davidson
+ Regression from 4f0f4bff5a92dce6a6cd7a5600a8ee5660402c3f #941
+ Fixes #1075
+ Closes #1077
+
+- src: bump `hash_len` to `size_t` in `LIBSSH2_HOSTKEY_METHOD`
+
+ Follow-up to 7b8e02257f01a6dac5f65305b18bb74a157fb5c4
+ Closes #1076
+
+- ci: add non-static autotools i386 build, ignore GHA updates on AppVeyor
+
+ Add a non-static autotools build to GitHub Actions. Make this build
+ target i386 and libgcrypt, to test a new build combination if we are at
+ it.
+
+ Also:
+ - GHA: add necessary generic bits for i386 autotools builds.
+ - AppVeyor CI: teach it to ignore commits updating our GHA config.
+
+ Follow-up to 572c57c9d8d4e89cfce19dde40125d55481256d1 #1072
+ Closes #1074
+
+GitHub (31 May 2023)
+- [Xi Ruoyao brought this change]
+
+ autotools: skip tests requiring static lib if `--disable-static` (#1072)
+
+ Co-authored-by: Viktor Szakats
+ Regression from 83853f8aea0e2f739cacd491632eb7fd3d03ad2d #663
+ Fixes #1056
+
+Viktor Szakats (31 May 2023)
+- ci: prefer `=` operator in shell snippets
+
+ Closes #1073
+
+- src: bump DSA and ECDSA sign `hash_len` to `size_t`
+
+ Closes #1055
+
+- scp: fix missing cast for targets without large file support
+
+ E.g. on 32-bit Linux. Issue revealed after adding i386 Linux CI build
+ in abdf40c741c575f94bdea1c67a9d1182ff813ccb #1057.
+
+ ```
+ /home/runner/work/libssh2/libssh2/src/scp.c: In function 'scp_recv':
+ /home/runner/work/libssh2/libssh2/src/scp.c:765:23: error: conversion from 'libssh2_int64_t' {aka 'long long int'} to '__off_t' {aka 'long int'} may change value [-Werror=conversion]
+ 765 | sb->st_size = session->scpRecv_size;
+ | ^~~~~~~
+ ```
+ Ref: https://github.com/libssh2/libssh2/actions/runs/5126803482/jobs/9221746299?pr=1054#step:12:51
+
+ Regression from 5db836b2a829c6fff1e8c7acaa4b21b246ae1757 #1002
+ Closes #1060
+
+- mbedtls.h: formatting [ci skip]
+
+ For consistency with `mbedtls.c`.
+
+ Follow-up to 1153ebdeba563ac657b525edd6bf6da68b1fe5e2
+
+- libssh2.h: bump to 1.11.1_DEV [ci skip]
+
+- mbedtls: use more `size_t` to sync up with `crypto.h`
+
+ Ref: 5a96f494ee0b00282afb2db2e091246fc5e1774a #846 #879
+
+ Fixes #1053
+ Closes #1054
+
+- ci: drop redundant/unused vars, sync var names
+
+ Closes #1059
+
+- ci: add i386 Linux build (with mbedTLS)
+
+ Also:
+ - reorder Linux build matrix to make build tool more visible.
+ - hide apt-get progress bar.
+ - prepare package install step for i386 builds.
+
+ Detects bug #1053
+ Closes #1057
+
+- checksrc: switch to dot file
+
+ Closes #1052
+
+Version 1.11.0 (30 May 2023)
+
+Daniel Stenberg (30 May 2023)
+- libssh2.h: bump to 1.11.0 for release
+
+GitHub (30 May 2023)
+- [Will Cosgrove brought this change]
+
+ Libssh2 1.11 release notes, copyright (#1048)
+
+ * Libssh2 1.11 release notes, copyright
+
+Viktor Szakats (29 May 2023)
+- add copyright/credits
+
+ Closes #1050
+
+- ci: add LIBSSH2_NO_AES_CBC to GNU Make build
+
+ Closes #1049
+
+- ci: add wolfSSL Linux builds
+
+ Exclude wolfSSL builds from tests. All fail:
+
+ ```
+ 2/43 Test #2: test_aa_warmup ............................***Failed 5.59 sec
+ libssh2_session_handshake failed (-44): Unable to ask for ssh-userauth service
+ ```
+ Ref: https://github.com/libssh2/libssh2/actions/runs/5085775952/jobs/9139583212#step:12:942 (with logging)
+ Ref: https://github.com/libssh2/libssh2/actions/runs/5085586301/jobs/9139192562#step:12:225
+
+ wolfSSL version:
+ ```
+ Get:1 http://azure.archive.ubuntu.com/ubuntu jammy/universe amd64 libwolfssl32 amd64 5.2.0-2 [818 kB]
+ Get:2 http://azure.archive.ubuntu.com/ubuntu jammy/universe amd64 libwolfssl-dev amd64 5.2.0-2 [1194 kB]
+ ```
+
+ Cherry-picked from #1046
+ Closes #1046
+
+- ci: mbedTLS build config tidy-up
+
+ Cherry-picked from #1046
+
+- wolfssl: fix detection of AES-GCM feature
+
+ Follow-up to df513c0128e1a811ad863d153892618e728845f0
+
+ Ref: https://github.com/libssh2/libssh2/issues/1020#issuecomment-1562069241
+ Closes #1045
+
+- build: fix 'unused' compiler warnings with all `NO` options set
+
+ - add `LIBSSH2_NO_ED25519` build-time option to force-disable ED25519
+ support. Useful to replicate crypto-backend builds without ED25519,
+ such as wolfSSL.
+
+ - openssl: fix unused variable and function warnings with all supported
+ `LIBSSH2_NO_*` options enabled.
+
+ - mbedtls: fix misplaced `#endif` leaving out the required internal
+ public function `libssh2_supported_key_sign_algorithms()`.
+
+ - mbedtls: add missing prototype for two internal public functions.
+
+ - delete a redundant block.
+
+ All `NO` options:
+ ```shell
+ CPPFLAGS='
+ -DLIBSSH2_NO_MD5 -DLIBSSH2_NO_HMAC_RIPEMD -DLIBSSH2_NO_DSA
+ -DLIBSSH2_NO_RSA -DLIBSSH2_NO_RSA_SHA1
+ -DLIBSSH2_NO_ECDSA -DLIBSSH2_NO_ED25519 -DLIBSSH2_NO_AES_CTR
+ -DLIBSSH2_NO_BLOWFISH -DLIBSSH2_NO_RC4 -DLIBSSH2_NO_CAST
+ -DLIBSSH2_NO_3DES'
+ ```
+
+ Closes #1044
+
+- cmake: avoid `list(PREPEND)` for compatibility
+
+ `list(PREPEND)` requires CMake v3.15, our minimum is v3.1. `APPEND`
+ should work fine for headers anyway.
+
+ Also fix a wrongly placed comment.
+
+ Ref: https://cmake.org/cmake/help/latest/command/list.html#prepend
+
+ Regression from 1e3319a167d2f32d295603167486e9e88af9bb4e
+
+ Closes #1043
+
+- checksrc: verify label indent, fix fallouts
+
+ Also update two labels to match the rest of the source.
+
+ checksrc update credit: Emanuele Torre @emanuele6
+
+ Ref: https://github.com/curl/curl/pull/11134
+
+ Closes #1042
+
+- tidy-up: minor nits
+
+- ci: drop default shared/static configuration options
+
+ Both autotools and cmake build both shared and static lib by default.
+
+ Ref: 896154bc17f000c0a1bb89b74bc879692ac0d47c
+
+ Delete configuration enabling these explicitly in CI jobs.
+
+ Cherry-picked from #1036
+ Closes #1036
+
+- cmake: enable shared libssh2 library by default
+
+ This brings default behaviour in sync with autotools, which builds both
+ lib flavours by default.
+
+ (Notice that on Windows, autotools includes the Windows Resource in the
+ static library, when building both at the same time. CMake doesn't have
+ this issue.)
+
+ Enabling both lib flavours has a side-effect when using non-MinGW
+ toolchains (e.g. MSVC): to resolve the filename conflict between import
+ and static libraries, we add a suffix to the static lib, naming it
+ `libssh2_static.lib`. This can break dependent builds relying on
+ `libssh2.lib` for linking the static libssh2.
+
+ Workarounds:
+
+ - disable either shared or static libssh2 via
+ `-DBUILD_STATIC_LIBS=OFF` or
+ `-DBUILD_SHARED_LIBS=OFF`. This results in a libssh2 library (either
+ static or shared) without a prefix: `libssh2.lib`.
+
+ - set a custom static library suffix via:
+ `-DSTATIC_LIB_SUFFIX=_my_static`. Resulting in
+ `libssh2_my_static.lib`, and import library
+ `libssh2.lib`.
+
+ - set a custom import library suffix via:
+ `-DIMPORT_LIB_SUFFIX=_my_implib`. Resulting in
+ `libssh2_my_implib.lib` import library, and static library
+ `libssh2.lib`.
+
+ - customize the default static/import library suffix (incl. extension)
+ via
+ `-DCMAKE_STATIC_LIBRARY_SUFFIX=_my_static_suffix.lib` or
+ `-DCMAKE_IMPORT_LIBRARY_SUFFIX=_my_import_suffix.lib`.
+
+ Cherry-picked from #1036
+
+- cmake: tweak static/import lib name collision avoidance logic
+
+ The collision issue affects (typically) MSVC, when building both shared
+ and static libssh2 in one go.
+
+ Ref: https://stackoverflow.com/questions/2140129/what-is-proper-naming-convention-for-msvc-dlls-static-libraries-and-import-libr
+
+ Initially we handled this by appending the `_imp` suffix to the import
+ library filename. This is how curl tackles this, but on a second look,
+ this solution seem to be accidental and has no widespread use.
+
+ It seems more widely accepted to use the '_static' suffix for the static
+ library. This patch implements this.
+
+ (MinGW, Cygwin and unixy platforms are not affected by this issue.)
+
+ Follow-up to 4e2580628dd1f8dc51ac65ac747ebcf0e93fa3d1
+
+ Cherry-picked from #1036
+
+- cmake: add `IMPORT_LIB_SUFFIX` (like `STATIC_LIB_SUFFIX`)
+
+ Allow resolving the import/static library name collision also by setting
+ a custom _import_ library name suffix.
+
+ Follow-up to 4e2580628dd1f8dc51ac65ac747ebcf0e93fa3d1
+
+ Cherry-picked from #1036
+
+- ci: do not disable shared lib with msys2/autotools in GHA
+
+ Cherry-picked from #1036
+
+- Makefile.mk: fix `DYN=1 test` by skipping tests needing static lib
+
+ `DYN=1` means to build examples/tests against the shared libssh2.
+
+ Before this patch this was broken for building tests. This patch skips
+ building tests that require the static libssh2 library, so the build now
+ succeeds.
+
+ Also move the list of tests that require static lib from
+ `CMakeLists.txt` to `Makefile.inc`, so that we can reuse it in
+ `Makefile.mk`.
+
+ Couldn't find a way to also reuse it in `Makefile.am`. Move the
+ `Makefile.am` specific definitions close to the shared list, to make it
+ easier to keep them synced.
+
+ Cherry-picked from #1036
+
+- ci: make one of the AppVeyor CMake jobs shared-only
+
+ This build combination did not have a CI test before.
+
+ Cherry-picked from #1036
+
+- cmake: allow tests with `BUILD_STATIC_LIBS=OFF`
+
+ Before this patch, the CMake build did not allow to disable static
+ libssh2 library while also building tests.
+
+ This patch removes this constraint, and makes this combination possible.
+ In this case the 3 (at the moment) tests that require a static libssh2
+ library, are skipped from the build and test runs.
+
+ Cherry-picked from #1036
+
+- build: fix to set `-DLIBSSH2DEBUG` for tests
+
+ Required for tests using libssh2 internals. These are the ones
+ requiring the libssh2 _static_ lib.
+
+ Before this patch, `src` and `tests` declared the `session` structure
+ differently, due to extra struct members added with the `LIBSSH2DEBUG`
+ macro set. But, the macro was only set for `src` when using CMake. At
+ runtime this caused struct members to be at different offsets between
+ lib and test code, resulting in the test failures below.
+
+ Due to another bug in the affected test, these failures did not reflect
+ in the exit code, which always returned success, so this went unnoticed
+ for a good while. Fixed in: 84d31d0ca7b647ad4c2aa92bf8f4a94b233f5d3b
+
+ ```
+ Start 5: test_auth_keyboard_info_request
+ [...]
+ 5: Test case 1 passed
+ 5: Test case 2 passed
+ 5: Test case 3: expected return code to be 0 got -1
+ 5: Test case 4: expected last error code to be "-6" got "-38"
+ 5: Test case 5: expected last error code to be "-6" got "-38"
+ 5: Test case 6: expected last error code to be "-6" got "-38"
+ 5: Test case 7: expected last error message to be "Unable to decode keyboard-interactive number of keyboard prompts" got "userauth keyboard data buffer too small to get l
+ 5: Test case 8: expected last error code to be "-41" got "-38"
+ 5: Test case 9: expected return code to be 0 got -1
+ 5: Test case 10: expected return code to be 0 got -1
+ 5: Test case 11: expected last error code to be "-6" got "-38"
+ 5: Test case 12: expected last error message to be "Unable to decode user auth keyboard prompt echo" got "userauth keyboard data buffer too small to get length"
+ 5: Test case 13: expected return code to be 0 got -1
+ 5: Test case 14: expected return code to be 0 got -1
+ 5: Test case 15: expected last error code to be "-6" got "-38"
+ 5: Test case 16: expected last error code to be "-6" got "-38"
+ 5: Test case 17: expected last error code to be "-6" got "-38"
+ 5: Test case 18: expected last error code to be "-6" got "-38"
+ ```
+ Ref: https://ci.appveyor.com/project/libssh2org/libssh2/builds/46925869/job/i9uasceu3coss0i2#L440
+ Ref: https://ci.appveyor.com/project/libssh2org/libssh2/builds/46983040/job/c3vag25c26a77lyr#L485
+
+ Cherry-picked from #1037
+ Closes #1037
+
+- test_auth_keyboard_info_request: fix to return failure
+
+ Before this patch, this test returned success even when one of its tests
+ failed. Fix it by returning 1 in case any of the tests fails.
+
+ This issue masked a CMake build bug with logging enabled. Subject to an
+ upcoming patch.
+
+ Cherry-picked from #1037
+
+- test_auth_keyboard_info_request: fix indentation
+
+ Cherry-picked from #1037
+
+- tidy-up: move comment off from copyright header
+
+ Cherry-picked from #1037
+
+- ci: enable shared libs in msys2/macOS cmake builds
+
+ Shared libs improve example/tests build times. For "unity"
+ builds the overhead of building shared lib is negligible, so
+ this even reduced the overall build-time.
+
+ Follow-up to 3d64a3f5100f7f4cf52202396eb4f1c3f3567771
+ Follow-up to d93ccf4901ef26443707d341553994715414e207
+
+ Tests:
+ https://github.com/libssh2/libssh2/actions/runs/4906586658: unity builds enabled
+ https://github.com/libssh2/libssh2/actions/runs/4906925743: unity builds enabled + parallel msys2 builds
+ https://github.com/libssh2/libssh2/actions/runs/4906777629: unity + shared lib (this commit)
+ https://github.com/libssh2/libssh2/actions/runs/4906927190: unity + shared lib (this commit) + parallel msys2 builds
+
+ Consider making shared libs enabled by default also in CMake, to sync it with autotools?
+
+ Closes #1035
+
+- ci: add missed --parallel 3 from msys2 cmake builds
+
+ Follow-up to 3d64a3f5100f7f4cf52202396eb4f1c3f3567771
+
+- cmake: add and test "unity" builds
+
+ "Unity" (aka "jumbo", aka "amalgamation" builds concatenate source files
+ before compiling. It has these benefits for example: faster builds,
+ improved code optimization, cleaner code. Let's support and test this.
+
+ - enable unity builds for some existing CI builds to test this build
+ scenario.
+ - tune `UNITY_BUILD_BATCH_SIZE` size.
+ - disable unity build for example and test programs (they use one source
+ each already).
+
+ You can enable it by passing `-DCMAKE_UNITY_BUILD=ON` to cmake.
+ Supported by CMake 3.16 and newer.
+
+ Ref: https://cmake.org/cmake/help/latest/prop_tgt/UNITY_BUILD.html
+
+ Closes #1034
+
+- tests: simplify passing `srcdir` to tests
+
+ Before this patch libssh2 used a variety of solutions to pass the source
+ directory to tests: `FIXTURE_WORKDIR` build-time macro (cmake),
+ `FIXTURE_WORKDIR` envvar (unused), setting `srcdir` manually
+ (autotools), setting current directory (cmake), and also `builddir`
+ envvar (autotools) for passing current working dir to `mansyntax.sh`.
+
+ This patch reduces this to using existing `srcdir` with autotools and
+ setting it ourselves in CMake. This was mostly enabled by this recent
+ patch: 4c9ed51f962f542b98789b15bedaaa427f4029a2
+
+ Details:
+
+ - cmake: replace baked-in `FIXTURE_WORKDIR` macro with env.
+
+ Added in 54bef4c5dad868a9d45fdbfca9729b191c0abab5 #198 (2018-03-21)
+
+ - rename `FIXTURE_WORKDIR` to `srcdir`, to match autotools.
+
+ - cmake: add missing `srcdir` for algo and sshd tests.
+
+ - session_fixture: stop `chdir()`-ing, rely on prefixing with `srcdir`.
+
+ Changing current directory should be unnecessary after
+ 4c9ed51f962f542b98789b15bedaaa427f4029a2 #801 (2023-02-24),
+ that prefixes referenced input filenames with the `srcdir` envvar.
+
+ The `srcdir` envvar was already exported by autotools, and now we're
+ also setting it from CMake.
+
+ - cmake: stop setting `WORKING_DIRECTORY`, rely on `srcdir` env.
+
+ `WORKING_DIRECTORY` is no longer necessary, after passing `srcdir` to
+ all tests, so they can find our source tree and keys/etc in it
+ regardless of the current directory.
+
+ Also this past commit hints that `WORKING_DIRECTORY` wasn't always
+ working for this purpose as expected:
+ "tests: Xcode doesn't obey CMake's test working directory"
+ Ref: https://github.com/libssh2/libssh2/pull/198/commits/10a5cbf945abcc60153ee3d59284d09fc64ea152
+
+ - autotools: delete explicit `srcdir` for test env.
+
+ Added in 13f8addd1bc17e6c55d52491cc6304319ac38c6d (2015-07-02)
+
+ automake documents `srcdir` as exported to the test environment:
+ https://github.com/autotools-mirror/automake/blob/c04c4e8856e3c933239959ce18e16599fcc04a8b/doc/automake.texi#L9302-L9304
+ https://www.gnu.org/software/automake/manual/html_node/Scripts_002dbased-Testsuites.html
+ It's mentioned in the docs back in 1997 and got a regression test in
+ 2012. We can safely assume it to be available without setting it
+ ourselves.
+
+ - autotools: delete explicit `builddir`.
+
+ Added in 13f8addd1bc17e6c55d52491cc6304319ac38c6d (2015-07-02)
+
+ It seems this wasn't necessary to make the above fix work, and
+ `mansyntax.sh` is able to figure out the build workdir by reading
+ `$PWD`. Our out-of-tree and `make distcheck` CI builds also work
+ without it.
+
+ Let us know if there is a scenario we're missing and needs this.
+
+ Closes #1032
+
+- src: fix `libssh2_store_*()` for >u32 inputs
+
+ `_libssh2_store_str()` and `_libssh2_store_bignum2_bytes()` accept
+ inputs of `size_t` max, store the size as 32-bit unsigned integer, then
+ store the complete input buffer.
+
+ With inputs larger than `UINT_MAX` this means the stored size is smaller
+ than the data that follows it.
+
+ This patch truncates the stored data to the stored size, and now returns
+ a boolean with false if the stored length differs from the requested
+ one. Also add `assert()`s for this condition.
+
+ This is still not a correct fix, as we now dump consistent, but still
+ truncated data which is not what the caller wants. In future steps we'll
+ need to update all callers that might pass large data to this function
+ to check the return value and handle an error, or make sure to not call
+ this function with more than UINT_MAX bytes of data.
+
+ Ref: c3bcdd88a44c4636818407aeb894fabc90bb0ecd (2010-04-17)
+ Ref: ed439a29bb0b4d1c3f681f87ccfcd3e5a66c3ba0 (2022-09-29)
+
+ Closes #1025
+
+- cmake: limit WinCNG to Windows
+
+ After deleting the `bcrypt.h` check, no check remained. Restore
+ a `WIN32` check here to ensure WinCNG is not enabled outside Windows.
+
+ Follow-up to 1289033598546ee5089ff0fc4369d24e1e2be81f
+
+ Tested-in #1032
+
+- cmake: move `CMAKE_VS_GLOBALS` setting to CI configs
+
+ To not force this setting for local builds where they might serve
+ a good purpose.
+
+ It makes our CI runs slightly faster and we don't need to track
+ file changes in unattended, single, CI runs.
+
+ Cherry-picked from #1031
+
+- cmake: prefill for faster config phase on Windows
+
+ Prefill known detection results on Windows with MinGW and MSVC, to
+ avoid spending time on detecting these on every cmake configuration
+ run.
+
+ With MinGW + clang and MSVC, this elminates all detections.
+ With MinGW + gcc, it reduces them to 3.
+
+ Cherry-picked from #1031
+
+- libssh2_setup.h: set `HAVE_INTTYPES_H` for MSVC
+
+ To sync up the hand-crafted config with actual detection results
+ by CMake and autotools. Sources compiled fine without it anyway.
+
+ Cherry-picked from #1031
+
+- cmake: re-add `select()` detection (regression)
+
+ `select()` detection suffered two regressions: First I accidentally
+ deleted it for non-Windows [1]. Then the Windows-specific setting got
+ missed from the generated `libssh2_config.h` after a rearrangement in
+ `CMakeLists.txt` files.
+
+ [1] 31fb8860dbaae3e0b7d38f2a647ee527b4b2a95f (2023-03-07)
+ [2] 803f19f004eb6a5b525c48fff6f46a493d25775c (2023-04-18)
+
+ This patch restores detection. For Windows, enable it unconditionally,
+ not only for speed reasons, but because detection needs `ws2_32`, and
+ even that is broken on the x86 platform. According to the original
+ `cmake/SocketLibraries.cmake`, caused by a calling convention mismatch.
+ FWIW autotools detects it correctly.
+
+ Cherry-picked from #1031
+
+- ci: merge make job into msys2 section, enable zlib + openssl
+
+ Follow up to dd625766271a0ba13f5ac661bdc2fa40bbfa580a
+
+ Cherry-picked from #1030
+
+- ci: add missing timeouts for autotools tests
+
+ Cherry-picked from #1030
+
+- ci: add mingw-w64 clang and gcc CMake jobs
+
+ Cherry-picked from #1030
+
+- cmake: assume `bcrypt.h` with WinCNG
+
+ autotools already didn't check for `bcrypt.h`, and such check is only
+ required for old/legacy mingw without obsolete/incomplete Windows
+ headers.
+
+ curl deprecated old-mingw support just recently and will delete support
+ in September 2023.
+
+ This patch saves some complexity and detection time by dropping this
+ check for CMake. Meaning that mingw-w64 is now required to compile
+ libssh2 when using the WinCNG backend for 32-bit builds. Other backends
+ and CPU platforms are not affected.
+
+ Ref: https://github.com/curl/curl/commit/e4d5685cb5d6eb07e1b43156fd7e3ba3563afba5
+
+ Closes #1026
+
+- cmake: do not check for `poll()` on Windows
+
+ While it seems to exist on mingw in theory, it's not detected as of this
+ writing. It also has issues, and not ready for production use:
+ https://stackoverflow.com/questions/1671827/poll-c-function-on-windows
+
+ On MSVC it's even less supported.
+
+ Skip checking this to save CMake detection time.
+
+ Closes #1027
+
+- agent_win: make a struct static and other build improvements
+
+ Also:
+ - merge back `agent.h` into `agent.c` where it was earlier.
+ Ref: c998f79384116e9f6633cb69c2731c60d3a442bb
+ - introduce `HAVE_WIN32_AGENT` internal macro.
+ - fix two guards to exclude more code unused in UWP builds.
+
+ Follow-up to 1c1317cb768688eee0e5496c72683190aaf63b29
+
+ Closes #1028
+
+- tidy-up: formatting nits
+
+ Whitespace and redundant parenthesis in `return`s.
+
+ Closes #1029
+
+GitHub (3 May 2023)
+- [Nick Woodruff brought this change]
+
+ sftp: parse attribute extensions, if present, to avoid stream parsing errors (#1019)
+
+ Prevents directory listing errors when attribute extensions are present
+ by advancing stream parsing past extensions.
+
+Viktor Szakats (3 May 2023)
+- tests: merge `sshd_fixture.sh` into `test_sshd.test`
+
+ Merge the loop executing multiple tests and the script that actually
+ launches the tests into a single script. This same script is now called
+ from both autotools and CMake. autotools loads the list of tests from
+ `Makefile.inc`, CMake passes it via the command-line. It's also possible
+ to call the script manually with a custom list of tests or individual
+ ones.
+
+ With this setup we're now launching a single sshd session for all tests,
+ instead of launching and killing it for each test. This did not improve
+ reliability of these test on CI machines, and it's easy to go back to
+ the previous behaviour if necessary.
+
+ Also:
+
+ - allow passing custom sshd options via `SSHD_FLAGS`.
+
+ - add `SSHD_TESTS_LIMIT_TO` to limit the number of tests to its value.
+ E.g. `SSHD_TESTS_LIMIT_TO=1` executes the first test only. Meant for
+ debugging.
+
+ - use `ssh` to test the connection (if available) instead of fixed
+ amount of wait. Made to also work on Windows.
+
+ - set `PermitRootLogin yes` in `sshd`, to allow running tests as root.
+
+ - show `sshd` path and version.
+
+ Cherry-picked from #1017 (the last one)
+ Closes #1024
+
+- ci: make sure to run tests after all builds in GHA
+
+ Whenever possible. Due to flakiness/hangs/timeouts, keep sshd
+ tests disabled on Windows and macOS.
+
+ Also keep Docker tests disabled on these platforms, they do not work:
+
+ GHA Windows:
+ ```
+ no matching manifest for windows/amd64 in the manifest list entries
+ ```
+
+ GHA macOS:
+ ```
+ sh: docker: command not found
+ ```
+
+ It's not possible to run UWP and ARM64 binaries:
+ UWP:
+ ```
+ Test #2: test_simple ......................Exit code 0xc0000135
+ ```
+ Needs but doesn't find: `VCRUNTIME140_APP.dll`.
+
+ ARM64
+ ```
+ D:/a/libssh2/libssh2/bld/tests/Release/test_ssh2.exe: cannot execute binary file: Exec format error
+ ```
+
+ Cherry-picked from #1017
+
+- tests: disable sshd tests on Windows via new options
+
+ Instead of using hacks inside the build systems.
+
+ `SSHD` variable added to GitHub Actions is not currently used.
+ Added there to make it easy to experiment with these tests and
+ the path is non-trivial to discover. Using the Windows built-in
+ sshd server is another option (haven't discovered its path yet).
+
+ Cherry-picked from #1017
+
+- tests: add cmake/autotools options to disable running tests
+
+ autotools:
+ - `--disable-docker-tests`
+ - `--disable-sshd-tests`
+
+ cmake:
+ - `RUN_DOCKER_TESTS`
+ - `RUN_SSHD_TESTS`
+
+ Update automake and ci to use this new flag and delete former logic
+ of relying on Windows detection and `HOST_WINDOWS`. Also fix honoring
+ this when running `test_read_algos.test`.
+
+ This allows to disable these individually and on per-CI/local-job basis.
+ To run as much tests as the env allows.
+
+ Cherry-picked from #1017
+
+- ci: add `make distcheck` job
+
+ Cherry-picked from #1017
+
+- ci: switch to out-of-tree autotools builds
+
+ Cherry-picked from #1017
+
+- ci: restore parallel builds with cmake
+
+ Also add missing -j3 for macOS builds.
+
+ Partial revert of 0d08974633cfc02641e6593db8d569ddb3644255
+
+ Cherry-picked from #1017
+
+- ci: sync names, steps, syntax, build dirname between jobs
+
+ Also:
+
+ - delete an unused 64-bit option for Linux (all jobs are 64-bit).
+
+ - fix to not install libgcrypt and openssl when doing mbedTLS builds.
+
+ [ Empty lines after multiline run commands are solely to unbreak
+ my editor's syntax highlighting. They can be deleted in the future ]
+
+ Cherry-picked from #1017
+
+- ci: add `Makefile.mk` test, with `LIBSSH2_NO_*` options
+
+ Cherry-picked from #1017
+
+- Makefile.mk: use Makefile.inc from example and tests
+
+ Instead of assembling the list using `$(wildcard ...)`.
+
+ Also split off a `tests/Makefile.inc` from `tests/Makefile.am`. With its
+ simpler syntax, this also allows to delete some complexity from the
+ CMake loader.
+
+ Cherry-picked from #1017
+
+- example, tests: fix ssh2 to correctly return failure
+
+ Before this patch ssh2 and test_ssh2 returned success even if the session
+ failed at `libssh2_session_handshake()` or after.
+
+ This patch depends on cda41f7cb87c3af5258ba48ccef19d3efdbd3d3b, that fixed
+ running test_ssh2 on Windows via sshd_fixture.
+
+ Cherry-picked from #1017
+
+- tests: set -e -u in shell scripts
+
+ Cherry-picked from #1017
+
+- cmake: use shared libs again in example and tests
+
+ Re-sync with autotools and v1.10.0 behavior.
+
+ This improves build times. It also allows to stop building our special
+ shared test target to test shared builds.
+
+ Follow-up to 4e2580628dd1f8dc51ac65ac747ebcf0e93fa3d1
+
+ Cherry-picked from #1017
+ Closes #1022
+
+- tests: retry KEX failures when using the WinCNG backend
+
+ Twice. This tests are flaky and we haven't figured out why. In the
+ meantime use this workaround to test and log these issues, but also
+ ensure that CI run aren't flagged red because of it.
+
+ Also:
+ - kex: add debug message when hostkey `sig_verify` fails,
+ to help tracking WinCNG KEX failures.
+ - test_ssh2: also add retry logic.
+ I'm not quite sure this is correct. Please let me know.
+ - session_fixture: bump up `src_path` slots to fit retries and show
+ message when hitting the limit.
+ - session_fixture: clear `kbd_password` static variable after use.
+ - session_fixture: close and deinit socket after use.
+ - session_fixture: deinit libssh2 after use.
+
+ Ref: #804 #846 #979 #1012 #1015
+
+ Cherry-picked from #1017
+ Closes #1023
+
+- example, test_ssh2: shutdown socket before close
+
+ Syncing them with `tests/session_fixture.c`.
+
+ Cherry-picked from #1017
+
+- ci.yml: fix indentation [ci skip]
+
+ Cherry-picked from #1017
+
+- Makefile.mk: make tests depend on runner lib
+
+ Cherry-picked from #1017
+
+- build: compile agent_win.c via agent.c
+
+ Silences these warnings on non-Windows:
+ ```
+ ranlib: file: libssh2.a(agent_win.c.o) has no symbols
+ ```
+
+ Cherry-picked from #1017
+
+- cmake: delete obsolete comment
+
+ Follow-up to 80175921638fa0a345237d23206a2ad1644cdd9b
+
+ Cherry-picked from #1017
+
+- checksrc.sh: fix it to run from any current directory
+
+ Also silence a shellcheck warning.
+
+ Cherry-picked from #1017
+
+- ISSUE_TEMPLATE: ask for crypto backend version
+
+ Also fix casing in backend names.
+
+ Cherry-picked from #1017
+
+- tests: fix newlines in test keys for sshd on Windows
+
+ Make sure these files get LF newlines on checkout. Before this patch
+ a checked out libssh2 Git repository may have used CRLF newlines in text
+ files, include test keys. Private keys with CRLF newlines could confuse
+ sshd on Windows:
+
+ ```
+ # sshd version: 'OpenSSH_9.2, OpenSSL 1.1.1t 7 Feb 2023'
+ Unable to load host key "/d/a/libssh2/libssh2/tests/openssh_server/ssh_host_ed25519_key": invalid format
+ Unable to load host key: /d/a/libssh2/libssh2/tests/openssh_server/ssh_host_ed25519_key
+ ```
+ Ref: https://github.com/libssh2/libssh2/actions/runs/4846188677/jobs/8635575847#step:6:39
+
+ Cherry-picked from #1017
+
+- cmake: move option descriptions next to definition
+
+ Cherry-picked from #1017
+
+- checksrc: sync with curl
+
+ There were no new issues detected.
+
+ Cherry-picked from #1017
+
+- openssl: enable AES-GCM with wolfSSL
+
+ Follow-up to 3c953c05d67eb1ebcfd3316f279f12c4b1d600b4 #797
+
+ There is pending issue with wolfSSL, where encryption/decryption is not
+ working (both with and without this patch). Ref: #1020
+
+ Cherry-picked from #1017
+
+- appveyor: add a UWP OpenSSL 3 build
+
+ Cherry-picked from #1017
+
+- appveyor: skip `before_test` when not doing tests
+
+ Also merge `before_test` section into `test_script`.
+
+ Cherry-picked from #1017
+
+- docs: delete two stray characters
+
+ Cherry-picked from #1017
+
+- tidy-up: avoid expression 'of course'
+
+ Cherry-picked from #1017
+
+- tidy-up: avoid word 'just'
+
+ Cherry-picked from #1017
+
+- tidy-up: avoid word 'simply'
+
+ Cherry-picked from #1017
+
+- tests: teach to use the `USERNAME` envvar on Windows
+
+ Necessary to pick the correct local username when run on Windows.
+
+ Cherry-picked from #1017
+
+- test_ssh2: support `FIXTURE_TRACE_ALL*` envvars
+
+ Cherry-picked from #1017
+
+- tidy-up: add missing newline to error msg, formatting
+
+ Also:
+ - fix indent
+ - lowercase variables names
+ - fix formatting in `src/global.c`
+
+ Cherry-picked from #1017
+
+- appveyor: wait more for SSH connection from GHA
+
+ Cherry-picked from #1017
+
+- ci: restrict permissions in GitHub Actions
+
+ Cherry-picked from #1017
+
+- build: fix autoreconf warnings
+
+ - update `AC_HELP_STRING' to 'AS_HELP_STRING`:
+ ```
+ configure.ac:[...]: warning: The macro `AC_HELP_STRING' is obsolete.
+ ```
+ "AC_HELP_STRING is deprecated in 2.70+ and I believe AS_HELP_STRING works
+ already since 2.59 so bump the minimum required version to that."
+
+ Ref: https://github.com/curl/curl/commit/a59f04611629f0db9ad8e768b9def73b9b4d9423
+
+ - simplify to avoid:
+ ```
+ src/Makefile.inc:48: warning: variable 'EXTRA_DIST_SOURCES' is defined but no program or
+ src/Makefile.inc:48: library has 'DIST' as canonical name (possible typo)
+ ```
+ Regression from 2c18b6fc8df060c770fa7e5da704c32cf40a5757
+
+ - `AC_TRY_LINK`/`AC_TRY_COMPILE`:
+ ```
+ configure.ac:335: warning: The macro `AC_TRY_COMPILE' is obsolete.
+ configure.ac:335: warning: The macro `AC_TRY_LINK' is obsolete.
+ ```
+
+ - `libtool`-related ones:
+ ```
+ configure.ac:70: warning: The macro `AC_LIBTOOL_WIN32_DLL' is obsolete.
+ configure.ac:70: warning: AC_LIBTOOL_WIN32_DLL: Remove this warning and the call to _LT_SET_OPTION when you
+ configure.ac:70: put the 'win32-dll' option into LT_INIT's first parameter.
+ configure.ac:71: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
+ ```
+ Using code copied from curl:
+ https://github.com/curl/curl/blob/9ce7eee07042605045dcfd02a6f5b38ad5c8a05d/m4/xc-lt-iface.m4#L157-L163
+
+ - delete commented and obsolete `AC_HEADER_STDC`.
+
+ - formatting.
+
+ Most cherry-picked from `autoupdate` updates.
+
+ Cherry-picked from #1017
+ Closes #1021
+
+- docker-bridge.ps1: use native newlines
+
+ Also add a shebang and exec flag to ease testing/handling on *nix.
+ PowerShell accepts both LF and CRLF.
+
+ Cherry-picked from #1017
+
+GitHub (1 May 2023)
+- [Zenju brought this change]
+
+ sftp: remove packet limit for directory reading (#791)
+
+ Currently libssh2 cannot read huge directory listings when the package
+ size of `LIBSSH2_SFTP_PACKET_MAXLEN` (256KB) is hit. For example AWS
+ always sends a single package with all files of a directory, no matter
+ how big it is: https://freefilesync.org/forum/viewtopic.php?t=10020
+ Package size is probably around 7MB in this case!
+
+ `LIBSSH2_SFTP_PACKET_MAXLEN` is a good idea in general, but there
+ doesn't seem to be a one size fits all. While almost all(?) SFTP
+ responses come in very small packages, I believe the `SSH_FXP_READDIR`
+ request should be exempted.
+
+ The proposed patch, enhances the package size reading to include parsing
+ the full SFTP packet header. And in case a package is of type
+ `SSH_FXP_NAME` and matches an expected `readdir_request_id`, it does not
+ fail if `LIBSSH2_SFTP_PACKET_MAXLEN` is hit. The chances of accidentally
+ hiding data-corruption are pretty non-existent, because both SFTP
+ `request_id` and packet type must match. No change in behavior
+ otherwise.
+
+ Best, Zenju
+
+ Previous discussion: #268 #269
+
+ With the above changes, the `LIBSSH2_SFTP_PACKET_MAXLEN` value could
+ (and should?) probably be set back to a small number again.
+
+ Integration-patches-by: Viktor Szakats
+
+Viktor Szakats (28 Apr 2023)
+- checksrc: update and apply fixes
+
+ Update to latest revision and fix new issues detected.
+
+ Closes #1014
+
+- ci: add macOS CI jobs + fix issues revealed
+
+ Add macOS CI jobs, both cmake and autotools for all supported crypto
+ backends (except BoringSSL), with debug, zlib enabled. Without running
+ tests. It also introduces OpenSSL 1.1 into the CI with a non-MSVC
+ compiler.
+
+ Credits to curl's `macos.yml`, that I used as a base.
+
+ Fix these issues uncovered by the new tests:
+
+ - openssl: fix warning when built with wolfSSL, or OpenSSL 1.1 and
+ earlier. CI missed it because apparently the only OpenSSL 1.1 test
+ we had used MSVC, which did not complain.
+
+ ```
+ ../src/openssl.c:3852:19: error: variable 'sslError' set but not used [-Werror,-Wunused-but-set-variable]
+ unsigned long sslError;
+ ^
+ ```
+
+ Regression from 097c8f0dae558643d43051947a1c35b65e1c5761
+
+ - pem: add hack to build without MD5 crypto-backend support.
+
+ The Homebrew wolfSSL build comes with MD5 support disabled. We can
+ expect this becoming the norm. FIPS also requires MD5 disabled.
+
+ We deleted the same hack from `hostkey.c` a month ago:
+ ad6aae302aaec84afbfacf0c1dfdc446d46eaf21
+
+ A better fix would be to guard the MD5 logic with our `LIBSSH2_MD5`
+ macro.
+
+ ```
+ pem.c:214:32: error: use of undeclared identifier 'MD5_DIGEST_LENGTH'; did you mean 'SHA_DIGEST_LENGTH'?
+ unsigned char secret[2*MD5_DIGEST_LENGTH];
+ ^~~~~~~~~~~~~~~~~
+ SHA_DIGEST_LENGTH
+ ```
+
+ Regression from 386e012292a96fcf0dc6861588397845df0aba2c
+
+ - `configure.ac`: add crypto libs late.
+
+ Fix it by adding crypto libs to `LIBS` at the end of the configuration
+ process.
+
+ Otherwise `configure` links crypto libs while doing feature tests,
+ which can cause unwanted detections. For example LibreSSL publishes
+ the function `explicit_bzero()`, which masks the system alternative,
+ e.g. `memset_s()` on macOS. Then when trying to compile libssh2, its
+ declaration is missing:
+
+ ```
+ bcrypt_pbkdf.c:93:5: error: implicit declaration of function 'explicit_bzero' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
+ _libssh2_explicit_zero(ciphertext, sizeof(ciphertext));
+ ^
+ ../src/misc.h:50:43: note: expanded from macro '_libssh2_explicit_zero'
+ ^
+ ```
+
+ Regression from 4f0f4bff5a92dce6a6cd7a5600a8ee5660402c3f
+
+ - cmake: fix to list our own include directory before the crypto libs',
+ when building tests.
+
+ Otherwise a global crypto header path, such as `/usr/local/include`,
+ containing an external `libssh2.h` of a different version, could cause
+ weird errors:
+
+ ```
+ cc -DHAVE_CONFIG_H -DLIBSSH2_LIBGCRYPT \
+ -I../src -I../../src -I/usr/local/include -I[...]/libssh2/include \
+ -g -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.1.sdk \
+ -mmacosx-version-min=12.6 -MD -MT \
+ tests/CMakeFiles/test_aa_warmup.dir/test_aa_warmup.c.o \
+ -MF CMakeFiles/test_aa_warmup.dir/test_aa_warmup.c.o.d \
+ -o CMakeFiles/test_aa_warmup.dir/test_aa_warmup.c.o -c \
+ [...]/libssh2/tests/test_aa_warmup.c
+ ```
+
+ ```
+ [ 62%] Building C object tests/CMakeFiles/test_aa_warmup.dir/test_aa_warmup.c.o
+ In file included from /Users/runner/work/libssh2/libssh2/tests/test_aa_warmup.c:4:
+ In file included from /Users/runner/work/libssh2/libssh2/tests/runner.h:42:
+ In file included from /Users/runner/work/libssh2/libssh2/tests/session_fixture.h:43:
+ /Users/runner/work/libssh2/libssh2/tests/../src/libssh2_priv.h:649:5: error: type name requires a specifier or qualifier
+ LIBSSH2_AUTHAGENT_FUNC((*authagent));
+ ^
+ /Users/runner/work/libssh2/libssh2/tests/../src/libssh2_priv.h:649:30: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
+ LIBSSH2_AUTHAGENT_FUNC((*authagent));
+ ^
+ /Users/runner/work/libssh2/libssh2/tests/../src/libssh2_priv.h:650:5: error: type name requires a specifier or qualifier
+ LIBSSH2_ADD_IDENTITIES_FUNC((*addLocalIdentities));
+ ^
+ /Users/runner/work/libssh2/libssh2/tests/../src/libssh2_priv.h:650:35: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
+ LIBSSH2_ADD_IDENTITIES_FUNC((*addLocalIdentities));
+ ^
+ /Users/runner/work/libssh2/libssh2/tests/../src/libssh2_priv.h:651:5: error: type name requires a specifier or qualifier
+ LIBSSH2_AUTHAGENT_SIGN_FUNC((*agentSignCallback));
+ ^
+ /Users/runner/work/libssh2/libssh2/tests/../src/libssh2_priv.h:651:35: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
+ LIBSSH2_AUTHAGENT_SIGN_FUNC((*agentSignCallback));
+ ^
+ 6 errors generated.
+ ```
+
+ - `tests/session_fixture.h`: delete duplicate `libssh2.h`,
+ `libssh2_priv.h` already includes it.
+
+ Follow-up to a683133dfe96de126194f58f183131a84c7d36a2
+
+ CI logs with these errors:
+ https://github.com/libssh2/libssh2/actions/runs/4824079094
+ https://github.com/libssh2/libssh2/actions/runs/4824270819
+
+ curl's `macos.yml`: https://github.com/curl/curl/blob/da2470de96e94e1c8d276b9ae6e4c97c2cf54239/.github/workflows/macos.yml
+
+ Tidying-up while here:
+
+ - tests/session_fixture.h: delete duplicate `libssh2.h`.
+ `libssh2_priv.h` includes it already.
+
+ Follow-up to a683133dfe96de126194f58f183131a84c7d36a2
+
+ - ci.yml: yamllint warnings and formatting.
+
+ - ci.yml: msvc section formatting and step-naming sync with macOS.
+
+ Follow-up to f4a4c05dc3bcd62ecaa1b0cac5997faefe16c83f
+
+ - ci.yml: enable `--enable-werror` for msys2 jobs.
+
+ Follow-up to 71cae949d577fdd632a271da0bec89f977dc5dd2
+
+ - appveyor.yml: show OpenSSL versions, link to image content.
+
+ Closes #1013
+
+- ci: convert `docker-bridge.bat` to shell script
+
+ Convert `ci/appveyor/docker-bridge.bat` to a POSIX shell script.
+
+ Also bump the tunnel to use ed25519 (was RSA-2048).
+
+ Closes #997
+
+- kex: use distinctive error strings
+
+ Use unique error strings to help localize errors.
+
+ Closes #1011
+
+- tidy-up: C header use
+
+ - drop unused or duplicate C headers.
+ - add missing ones (that worked by chance).
+ (`string.h`, `stdlib.h`)
+ - mention the functions that need certain headers.
+ - move some headers from crypto header to crypto C source.
+ - reorder headers in some places.
+ - simplify the #if tree for `sys/select.h` in `libssh2_priv.h`.
+ - move scp-specific macros next to their header to `scp.c`
+ Follow-up to 5db836b2a829c6fff1e8c7acaa4b21b246ae1757
+
+ Closes #999
+
+- tidy-up: text nits, English contractions [ci skip]
+
+ In input/output text and docs mostly.
+
+- ci: add MSVC and UWP builds to GitHub Actions
+
+ - add MSVC jobs to GitHub Actions. They are similar to the 'Build-only'
+ jobs we have on AppVeyor CI, though only the ARM64 Windows one is
+ identical. Major disadvantage is that we don't run tests here. Major
+ advantage is they only take a few minutes to complete, compared to
+ an hour on AppVeyor, so WinCNG build results now appear quicker.
+
+ Docker tests might be possible, but my light attempts failed.
+ Finding ZLIB also failed, so we still miss an MSVC test with it.
+
+ Tool versions as of now: Server 2022, VS2022, OpenSSL 1.1.1
+
+ - add UWP builds for both ARM64 and x64. This hasn't been CI tested
+ before.
+
+ (We could probably enable UWP on AppVeyor CI as well.
+ I haven't tried.)
+
+ - fix two uncovered UWP issues in tests.
+
+ - rename internal macro `LIBSSH2_WINDOWS_APP` to `LIBSSH2_WINDOWS_UWP`.
+
+ Follow-up to 2addafb77b662e64248d156c71c69b91ba7b926e
+
+ - fold long lines and quote truthy values in `.github/workflows/ci.yml`.
+
+ Closes #1010
+
+- session_fixture: avoid no-op `chdir(getcwd())`
+
+ If no `FIXTURE_WORKDIR` macro or envvar is present to set the cwd,
+ avoid querying the cwd and then calling chdir with the result.
+
+ Ref: 54bef4c5dad868a9d45fdbfca9729b191c0abab5 (patch)
+ Ref: 10a5cbf945abcc60153ee3d59284d09fc64ea152 (individual commit)
+
+ Closes #1009
+
+- tests/sshd_fixture.sh: convert back to POSIX
+
+ There was no strong reason to require bash. Let's use POSIX shell
+ like before the recent overhaul.
+
+ Follow-up to a459a25302a31f6e2aba3c4e15b1472b83b596fc
+
+ Closes #1008
+
+GitHub (26 Apr 2023)
+- [Miguel de Icaza brought this change]
+
+ If SFTP fails to initialize, do not busy loop waiting for IO to happen (#720)
+
+ Currently SFTP's init will busy loop waiting for the channel to close,
+ even if the underlying transport returns EAGAIN. While this works for
+ sockets, it might not work out if you have a different transport that
+ needs to do some additional processing on the side.
+
+ Integration-patches-by: Viktor Szakats
+
+Viktor Szakats (26 Apr 2023)
+- docs: simplify `.TH` header & other cleanups [ci skip]
+
+ - simplify `.TH` headers.
+ - delete empty lines before sections.
+ - update template with an `AVAILABILITY` section.
+
+ Left libssh2 version number in the `.TH` header for entries without an
+ `AVAILABILITY` section, or where there was a different version number
+ there.
+
+- tidy-up: formatting nits [ci skip]
+
+- vms: fix to include `sys/socket.h`
+
+ Due to a typo in the `HAVE_*` macro, this header was never included.
+
+ A comment suggests that `socklen_t` is not defined on VMS and defines it
+ manually. This symbol is usually in `sys/socket.h`, so the typo may have
+ been the reason for it to be missing.
+
+ Closes #1007
+
+- build: fix `make distcheck` regressions
+
+ - add #included C files to `EXTRA_DIST`.
+
+ Regression from 4f0f4bff5a92dce6a6cd7a5600a8ee5660402c3f
+
+ - fix `tests/sshd_fixture.sh` to not write into the test dir, by using
+ a pre-assembled `TrustedUserCAKeys` file. Update `Dockerfile` too to
+ use this.
+
+ Regression from a459a25302a31f6e2aba3c4e15b1472b83b596fc
+
+ Also update `tests/sshd_fixture.sh` to use
+ `openssh_server/authorized_keys` like `Dockerfile` does. And a few more
+ cosmetic updates.
+
+ Closes #1006
+
+- libssh2_priv.h: assume `HAVE_LONGLONG`
+
+ Unless I'm missing something, it looks like `libssh2.h` has been using
+ `libssh2_int64_t` unconditionally since at least 2010-04-17 when
+ `libssh2_scp_send64()` landed via commit
+ be9ee7095e2d5021985f57d88f5f889d3c2b9d8f.
+
+ This makes it redundant to detect `HAVE_LONGLONG` to fallback to a
+ 32-bit `scpRecv_size` in `libssh2_priv.h`. Then deal with possible
+ combinations of this flag and `strtoll()` options, which was
+ error-prone.
+
+ Instead, assume in `libssh2_priv.h` that we have `libssh2_int64_t`, and
+ use it always.
+
+ For MSVC, this means `_MSC_VER` `1310` (from year 2003) is now
+ required. Based on the above, this was already so before this patch.
+
+ If there happens to be no 64-bit `strtoll()` detected, fall back to the
+ 32-bit `strtol()` (this should never happen with MSVC, and probably
+ neither with any other reasonably modern toolchain.)
+
+ Also make sure to set `HAVE_STRTOI64` for older, non-CMake, MSVC builds
+ (e.g. `Makefile.mk` or `NMakefile` ones).
+
+ Closes #1002
+
+GitHub (26 Apr 2023)
+- [Miguel de Icaza brought this change]
+
+ fix a couple of small regressions (#1004)
+
+ - openssl: fix potentially missing `ERR_*` constants by including
+ `openssl/err.h`. This could happen with recent version of Xcode
+ or when building against OpenSSL built with the `OPENSSL_NO_ENGINE`
+ option.
+
+ Regression from 097c8f0dae558643d43051947a1c35b65e1c5761 (#789)
+
+ - channel: fix an issue that would corrupt the data stream when
+ attempting to initialize the agent in non-blocking mode, as it is
+ necessary to propagate the `EAGAIN` signal upstream when the transport
+ returns `EAGAIN`.
+
+ Regression from bc4e619e76071393e466c29220fc4ef5764c2820 (#752)
+
+ - packet: the current code does not set the state machine upon reaching
+ this point which means that if the code is suspended due to the
+ transport returning an `EAGAIN`, this will re-initialize the structure
+ every time.
+
+ The issue is that this keeps assigning a new channel-id downstream,
+ which does not match the initial channel-id that is initially
+ generated, causing a lookup later to fail as there is no matching
+ channel.
+
+ Regression from bc4e619e76071393e466c29220fc4ef5764c2820 (#752)
+
+Viktor Szakats (26 Apr 2023)
+- tidy-up: `gettimeofday()` fallback and use
+
+ Simplify the way we handle `gettimeofday()` fallback for platforms
+ without native support or without any support. Make it similar to
+ how we handle `snprintf()`.
+
+ In case of no native `gettimeofday()` support and a non-Windows
+ platform, our local fallback returns zero in `tv_usec` and `tv_sec`,
+ ending up with a zero `timeout_remaining` in `session.c`, same as
+ before this patch.
+
+ Also:
+ - drop unused `sys/time.h` headers.
+ - fix our fallback code to compile with any Windows compilers
+ (not just MSVC)
+ - delete unnecessary casts.
+
+ Closes #1001
+
+- libssh2_priv.h: fix checksrc warning [ci skip]
+
+ Regression from 9ef75298fae0728305d9d38ba1e3c838ad0513f7
+
+- libssh2_priv.h: whitespace fixes cont. [ci skip]
+
+- libssh2_priv.h: whitespace fixes [ci skip]
+
+- cmake: use portable mkdir for tests/coverage target [ci skip]
+
+ Makes `make coverage` work without a POSIX mkdir.
+
+ Tested locally.
+
+ Ref: https://cmake.org/cmake/help/latest/manual/cmake.1.html#cmdoption-cmake-E-arg-make_directory
+
+- kex: fix overlapping memcpy() to memmove()
+
+ Noticed this when libasan started kicking out errors when sending in
+ MACs preferences that were not supported yet.
+
+ Reported-by: fourierules on github
+ Fixes #611
+ Closes #1000
+
+- test/CMakeLists.txt: reuse `Makefile.am` librunner source list
+
+ Follow-up to a459a25302a31f6e2aba3c4e15b1472b83b596fc
+
+ Closes #998
+
+GitHub (25 Apr 2023)
+- [Zenju brought this change]
+
+ openssl: fix misleading error message if wrong passphrase (#789)
+
+ Fixes #608
+
+Viktor Szakats (25 Apr 2023)
+- tidy-up: tiny nits [ci skip]
+
+- tests: improve running tests
+
+ TL;DR: Sync test builds between autotools and CMake. Sync sshd
+ configuration between Docker and non-Docker fixtures. Bump up
+ sshd_config for recent OpenSSH releases.
+
+ This also opens up the path to have non-Docker tests that use a
+ local sshd process. Though sshd is practically unusable on Windows
+ CI machines out of the box, so this will need further efforts.
+
+ Details:
+
+ - cmake: run sshd fixture test just like autotool did already.
+
+ - sync tests and their order between autotools and CMake.
+
+ It makes `test_aa_warmup` the first test with both.
+
+ - cmake: load test lists from `Makefile.am`.
+
+ Needed to update the loader to throw away certain lines to keep the
+ converted output conform CMake syntax. Using regexp might be an
+ alternative way of doing this, but couldn't make it work.
+
+ - cmake: use the official way to configure test environment variables.
+ Switch to syntax that's extendable.
+
+ - cmake: allow to run the same test both under Docker and sshd fixture.
+
+ Useful for testing the sshd fixture runner, or how the same test
+ behaves in each fixture.
+
+ - update test fixture to read the username from `USER` envvar instead of
+ using the Dockfile-specific hardwired one, when running outside Docker.
+
+ - rework `ssh2.sh` into `sshd_fixture.sh`, to:
+
+ - allow running any tests (not just `test_ssh2`).
+ - configure Docker tests for running outside Docker.
+ - fixup `SSHD` path when running on Windows (e.g. in AppVeyor CI).
+ Fixes: `sshd re-exec requires execution with an absolute path`
+ - allow overriding `PUBKEY` and `PRIVKEY` envvars.
+ - allow overriding `ssh_config` via `SSHD_FIXTURE_CONFIG`.
+
+ - prepare support for running multiple tests via sshd_fixture.
+
+ Add a TAP runner for autotools and extend CMake logic. The TAP runner
+ loads the test list from `Makefile.am`.
+
+ Notice however that on Windows, `sshd_fixture.sh` is very flaky with
+ GitHub Actions. And consistently broken for subsequent tests in
+ AppVeyor CI:
+ 'libssh2_session_handshake failed (-43): Failed getting banner'
+
+ Another way to try is a single sshd instance serving all tests.
+ For CMake this would probably mean using an external script.
+
+ - ed25519 test keys were identical for auth and host. Regenerate the
+ auth keypair to make them distinct.
+
+ - sync the sshd environment between Docker and sshd_fixture.
+
+ - use common via `openssh_server/sshd_config`.
+ - accept same auth keys.
+ - offer the same host keys.
+ - sync TrustedUserCAKeys.
+ - delete now unused keypairs: `etc/host*`, `etc/user*`.
+ - bump up startup delay for Windows (randomly, to 5 secs, from 3).
+ - delete `UsePrivilegeSeparation no` to avoid deprecation warnings.
+ `command-line line 0: Deprecated option UsePrivilegeSeparation`
+ - delete `Protocol 2` to avoid deprecation warnings.
+ It has been the default since OpenSSH 3.0 (2001-11-06).
+ - delete `StrictModes no` (CI tests work without it, Docker tests
+ never used it).
+
+ - bump `Dockerfile` base image to `testing-slim` (from `bullseye-slim`).
+
+ It needed `sshd_config` updates to keep things working with
+ OpenSSH 9.2 (compared to bullseye's 8.4).
+
+ - replace `ChallengeResponseAuthentication` alias with
+ `KbdInteractiveAuthentication`.
+ The former is no longer present in default `sshd_config` since
+ OpenSSH 8.7 (2021-08-20). This broke the `Dockerfile` script.
+ The new name is documented since OpenSSH 4.9 (2008-03-31)
+
+ - add `PubkeyAcceptedKeyTypes +ssh-rsa,ssh-dss,ssh-rsa-cert-v01@openssh.com`
+ and `HostKeyAlgorithms +ssh-rsa`.
+
+ Original-patch-by: Eric van Gyzen (@vangyzen on github)
+ Fixes #691
+
+ There is a new name for `PubkeyAcceptedKeyTypes`:
+ `PubkeyAcceptedAlgorithms`.
+ It requires OpenSSH 8.5 (2021-03-03) and breaks some envs so we're
+ not using it just yet.
+
+ - drop `rijndael-cbc@lysator.liu.se` tests and references from config.
+
+ This is a draft alias for `aes256-cbc`. No need to test it twice.
+ Also this alias is no longer recognized by OpenSSH 8.5 (2021-03-03).
+
+ - update `mansyntax.sh` and `sshd_fixture.sh` to not rely on `srcdir`.
+
+ Hopefully this works with out-of-tree builds.
+
+ - fix `test_read_algos.test` to honor CRLF EOLs in their inputs
+ (necessary when running on Windows.)
+
+ - fix `test_read_algos.test` to honor `EXEEXT`. Might be useful when
+ running tests under cross-builds?
+
+ - `test_ssh2.c`:
+
+ - use libssh2 API to set blocking mode. This makes it support all
+ platforms.
+ - adapt socket open timeout logic from `openssh_fixture.c`.
+ Sadly this did not help fix flakiness on GHA Windows.
+
+ - tests: delete unused C headers and variable initialization.
+
+ - delete unused test files: `sshd_fixture.sh.in`, `sshdwrap`,
+ `etc/sshd_config`.
+
+ Ref: cf80f2f4b5255cc85a04ee43b27a29c678c1edb1
+
+ - autotools: delete stray `.c` test sources from `EXTRA_DIST` in tests.
+
+ - `tests/.gitignore`: drop two stray tests.
+
+ - autotools: fix passing `SSHD` containing space (Windows needs this).
+
+ - autotools: sort `EXTRA_DIST` in tests.
+
+ - cmake: fix to add `test_ssh2` to `TEST_TARGETS`.
+
+ - fix `authorized_key` order in `tests/gen_keys.sh`.
+
+ - silence shellcheck warning in `ci/checksrc.sh`.
+
+ - set `SSHD` for autotools on GitHub Actions Windows. [skipped]
+
+ Auto-detection doesn't work (maybe because sshd is installed via
+ Git for Windows and we're using MSYS2's shell.)
+
+ It enables running sshd fixture (non-Docker) tests in these jobs.
+
+ I did not include this in the final patch due to flakiness:
+ ```
+ Connection to 127.0.0.1:4711 attempt #0 failed: retrying...
+ Connection to 127.0.0.1:4711 attempt #1 failed: retrying...
+ Connection to 127.0.0.1:4711 attempt #2 failed: retrying...
+ Failure establishing SSH session: -43
+ ```
+
+ Can be enabled with:
+ `export SSHD='C:/Program Files/Git/usr/bin/sshd.exe'`
+
+ Closes #996
+
+- ci: reduce algo test runtime on AppVeyor
+
+ Make the block count customizable in `test_read` via environment
+ `FIXTURE_XFER_COUNT`.
+
+ Set the custom count lower than the default when running on AppVeyor.
+
+ The goal is to reduce CI roundtrip times.
+
+ Closes #995
+
+GitHub (22 Apr 2023)
+- [Michael Buckley brought this change]
+
+ Agent forwarding implementation (#752)
+
+ This PR contains a series of patches that date back many years and I
+ believe were discussed on the mailing list, but never merged. We have
+ been using these in our local copy of libssh2 without issue since 2015,
+ if not earlier. I believe this is the full set of changes, as we tried
+ to use comments to mark where our copy of libssh2 differs from the
+ canonical version.
+
+ This also contains changes I made earlier this year, but which were not
+ discussed on the mailing list, to support certificates and FIDO2 keys
+ with agent forwarding.
+
+ Note that this is not a complete implementation of agent forwarding, as
+ that is outside the scope of libssh2. Clients still need to provide
+ their own implementation that parses ssh-agent methods after calling
+ libssh2_channel_read() and calls the appropriate callback messages in
+ libssh2. See the man page changes in this PR for more details.
+
+ Integration-patches-by: Viktor Szakats
+
+ * prefer size_t
+ * prefer unsigned int over u_int in public function
+ * add const
+ * docs, indent, checksrc, debug call, compiler warning fixes
+
+Viktor Szakats (21 Apr 2023)
+- ci: add Windows Server 2016 into the test mix
+
+ We had Windows Server 2012 R2 (8.1) and Windows Server 2019 (10) before
+ this patch. After, we also have Windows Server 2016 (10).
+
+ The WinCNG flakey tests should have a better chance when running on the
+ newer OS.
+
+ This update does not change the compiler mix.
+
+ Also change the test fixture to not use the `--quiet` option with the
+ `docker pull` commant. This option requires docker v19.03, and
+ AppVeyor's Visual Studio 2017 image doesn't support it. Log output did
+ not change without `--quiet`, so it seems safe to delete it. In case
+ we'd need it, another solution is to retry without `--quiet` if the
+ command fails. docker's exit status is 125 in that case.
+
+ Ref: https://github.com/libssh2/libssh2/issues/804#issuecomment-1515232799
+ Ref: https://www.appveyor.com/docs/windows-images-software/
+
+ Closes #994
+
+- build: add autotools test_read support and more
+
+ Keep a single list for mac and crypt algos that we use in both CMake
+ and autotools. Use the same test names across build tools.
+
+ Use the TAP protocol to track individual tests run from a single shell
+ script.
+
+ Also:
+
+ - enable the rest of our tests with autotools.
+
+ - set `make check` verbose to see errors in case they happen.
+
+ - silence stray 'command not found' error when running `mansyntax.sh`
+ on Windows.
+
+ GitHub Actions Windows docker tests disabled due to:
+ ```
+ Command: docker build --quiet -t libssh2/openssh_server ../tests/openssh_server
+ Error running command 'docker build --quiet -t libssh2/openssh_server ../tests/openssh_server' (exit 1): Sending build context to Docker daemon 22.02kB
+ Step 1/42 : FROM debian:bullseye-slim
+ bullseye-slim: Pulling from library/debian
+ no matching manifest for windows/amd64 10.0.20348 in the manifest list entries
+ Failed to build docker image
+ ```
+
+ Closes #993
+
+- cmake: restore a dash char in comment [ci skip]
+
+ It's a CMake comment header convention.
+
+GitHub (21 Apr 2023)
+- [Dan Fandrich brought this change]
+
+ tests: add AES-GCM protocol read tests (#992)
+
+ Closes #992
+
+- [Viktor Szakats brought this change]
+
+ support encrypt-then-mac (etm) MACs (#987)
+
+ Support for calculating MAC (message authentication code) on encrypted
+ data instead of plain text data.
+
+ This adds support for the following MACs:
+ - `hmac-sha1-etm@openssh.com`
+ - `hmac-sha2-256-etm@openssh.com`
+ - `hmac-sha2-512-etm@openssh.com`
+
+ Integration-patches-by: Viktor Szakats
+
+ * rebase on master
+ * fix checksec warnings
+ * fix compiler warning
+ * fix indent/whitespace/eol
+ * rebase/manual merge onto AES-GCM patch #797
+ * more manual merge of `libssh2_transport_send()` based
+ on dfandrich/shellfish
+
+ Fixes #582
+ Closes #655
+ Closes #987
+
+Viktor Szakats (20 Apr 2023)
+- docs: fix typo in argument name [ci skip]
+
+- [Keith Dart brought this change]
+
+ channel: add support for "signal" message
+
+ Can send specific signals to remote process. Allows for slightly
+ improved remote process management, if the server supports it.
+
+ Integration-patches-by: Viktor Szakats
+
+ * doc updates
+ * change `signame_len` to `size_t`
+ * variable scopes
+ * fix checksrc warnings
+
+ Closes #672
+ Closes #991
+
+- crypto: add `LIBSSH2_NO_AES_CBC` option
+
+ Also rename internal `LIBSSH2_AES` to `LIBSSH2_AES_CBC`.
+
+ Follow-up to 857e431648df6edcb3e17138d877f2e65d2d769d
+
+ Closes #990
+
+- tidy-up: indentation fixes [ci skip]
+
+GitHub (20 Apr 2023)
+- [Dan Fandrich brought this change]
+
+ Add support for AES-GCM crypto protocols (#797)
+
+ Add support for aes256-gcm@openssh.com and aes128-gcm@openssh.com
+ ciphers, which are the OpenSSH implementations of AES-GCM cryptography.
+ It is similar to RFC5647 but has changes to the MAC protocol
+ negotiation. These are implemented for recent versions of OpenSSL only.
+
+ The ciphers work differently than most previous ones in two big areas:
+ the cipher includes its own integrated MAC, and the packet length field
+ in the SSH frame is left unencrypted. The code changes necessary are
+ gated by flags in the LIBSSH2_CRYPT_METHOD configuration structure.
+
+ These differences mean that both the first and last parts of a block
+ require special handling during encryption. The first part is where the
+ packet length field is, which must be kept out of the encryption path
+ but in the authenticated part (as AAD). The last part is where the
+ Authentication Tag is found, which is calculated and appended during
+ encryption or removed and validated on decryption. As encryption/
+ decryption is performed on each packet in a loop, one block at a time,
+ flags indicating when the first and last blocks are being processed are
+ passed down to the encryption layers.
+
+ The strict block-by-block encryption that occurs with other protocols is
+ inappropriate for AES-GCM, since the packet length shifts the first
+ encrypted byte 4 bytes into the block. Additionally, the final part of
+ the block must contain the AES-GCM's Authentication Tag, so it must be
+ presented to the lower encryption layer whole. These requirements mean
+ added code to consolidate blocks as they are passed down.
+
+ When AES-GCM is negotiated as the cipher, its built-in MAC is
+ automatically used as the SSH MAC so further MAC negotiation is not
+ necessary. The SSH negotiation is skipped when _libssh2_mac_override()
+ indicates that such a cipher is in use. The virtual MAC configuration
+ block mac_method_hmac_aesgcm is then used as the MAC placeholder.
+
+ This work was sponsored by Anders Borum.
+
+ Integration-patches-by: Viktor Szakats
+
+ * fix checksrc errors
+ * fix openssl.c warning
+ * fix transport.c warnings
+ * switch to `LIBSSH2_MIN/MAX()` from `MIN()`/`MAX()`
+ * fix indent
+ * fix libgcrypt unused warning
+ * fix mbedtls unused warning
+ * fix wincng unused warning
+ * fix old openssl unused variable warnings
+ * delete blank lines
+ * updates to help merging with the ETM patch
+
+Viktor Szakats (20 Apr 2023)
+- tidy-up: align comments [ci skip]
+
+- tidy-up: whitespace nits [ci skip]
+
+- crypto: add/fix algo guards and extend `NO` options
+
+ Add new guard `LIBSSH2_RSA_SHA1`. Add missing guards for `LIBSSH2_RSA`,
+ `LIBSSH2_DSA`.
+
+ Fix warnings when all options are disabled.
+
+ This is still not complete and it's possible to break a build with
+ certain crypto backends (e.g. mbedTLS) and/or combination of options.
+ It's not guaranteed that all bits everywhere get disabled by these
+ settings. Consider this a "best effort".
+
+ Add these new options to disable certain crypto elements:
+ - `LIBSSH2_NO_3DES`
+ - `LIBSSH2_NO_AES_CTR`
+ - `LIBSSH2_NO_BLOWFISH`
+ - `LIBSSH2_NO_CAST`
+ - `LIBSSH2_NO_ECDSA`
+ - `LIBSSH2_NO_RC4`
+ - `LIBSSH2_NO_RSA_SHA1`
+ - `LIBSSH2_NO_RSA`
+
+ The goal is to offer a way to disable legacy/obsolete/insecure ones.
+
+ See also: 146a25a06dd2365a4330dad34fefcdcee1a206aa `LIBSSH2_NO_HMAC_RIPEMD`
+ See also: 38015f4e46d8dbeea522dc7ee664522d4f47fc75 `LIBSSH2_NO_DSA`
+ See also: be31457f3071686b555a0f0b19e5dcf63d67fc27 `LIBSSH2_NO_MD5`
+
+ Closes #986
+
+- scp: fix typo in comments [ci skip]
+
+ Follow-up to 0a500b3554c29451708353279eefce750f4bca6c
+
+- base64: do not use `snprintf()` on encoding
+
+ This also significantly (by 7-8x in my limited tests with a short
+ string) speeds up this function. The impact is still minor as this
+ function is only used in `knownhost.c` in release builds.
+
+ Closes #985
+
+- wincng: constify data arg of `libssh2_wincng_hash()`
+
+ Tested in #979
+
+- wincng: fix unused variables with `LIBSSH2_RSA_SHA2` disabled
+
+ Tested in #979
+
+- ci: delete config elements for unused 32-bit Linux builds
+
+ They have been disabled since d9b4222ef1c5ab9b9e499fe6234556e5cca7c4fe
+
+ Tested in #979
+
+- ci: enable FIXTURE_TRACE_ALL_CONNECT for WinCNG tests
+
+ To hopefully help finding the WinCNG hostkey verification
+ intermittent failure #804.
+
+ Tested in #979
+
+- tests: add `FIXTURE_TRACE_ALL_CONNECT` option
+
+ Works like the `FIXTURE_TRACE_ALL` envvar, but enables full trace for
+ the connection phase only.
+
+ Also fix a possible NULL deref with `FIXTURE_TRACE_ALL` and a failed
+ `libssh2_session_init_ex()`.
+
+ Tested in #979
+
+- ci: really enable logging in AppVeyor CMake builds
+
+ `CONFIGURATION` was never passed to the cmake command, so it had
+ never enabled logging when set to `Debug`.
+
+ Also `CONFIGURATION` is ambiguous depending on the "generator" used
+ by CMake. In case of Visual Studio, this is a build/ctest-time
+ setting, not a cmake-config parameter.
+
+ So set this permanently to `Release` and enable logging via our
+ dedicated CMake option `ENABLE_DEBUG_LOGGING`.
+
+ Tested in #979
+
+- HACKING-CRYPTO: fix stray whitespace
+
+- tidy-up: fix more nits
+
+ - fix indentation errors.
+ - reformat `cmake/FindmbedTLS.cmake`
+ - replace a macro with a variable in `example/sftp_RW_nonblock.c`.
+ - delete macOS macro `_DARWIN_USE_64_BIT_INODE` from the
+ OS/400 config header, `os400/libssh2_config.h`.
+ - fix other minor nits.
+
+ Closes #983
+
+- mansyntax: make it work on macOS, check reqs locally
+
+ - use `gman` alias if present. This makes it work when the correct `man`
+ command is provided via `brew` on macOS.
+
+ - move CMake attempts to detect tools necessary to run `mansyntax.sh`
+ into the script itself.
+
+ - delete CMake TODO to move more test logic into CMake. This would make
+ it CMake-specific and require maintaining it separately for each build
+ tool. Just use our external script when a POSIX shell is available.
+
+ Closes #982
+
+- cmake: dedupe setting `-DHAVE_CONFIG_H`
+
+ Move `libssh2_config.h` generation and setting `-DHAVE_CONFIG_H` to
+ the root `CMakeFile.txt`.
+
+ Also move symbol hiding setup there. It needs to be done before
+ generating the config file for `LIBSSH2_API` value to be set in it.
+
+ After this change the `HIDE_SYMBOLS` setting is accepted without an
+ annoying CMake warning when not actually building a shared libssh2 lib.
+
+ Closes #981
+
+- build: assume non-blocking I/O on Windows
+
+ Drop checks from Windows builds and enable it based on `WIN32`.
+
+ This saves detection time and also makes 3rd party builds simpler.
+
+ Also:
+
+ - delete `HAVE_DISABLED_NONBLOCKING`, that we used in build tools to
+ explicitly disable an explicit `#error` in `session.c`.
+
+ - replace existing `WSAEWOULDBLOCK` check for Windows support with
+ `WIN32`. Cleaner with the same result.
+
+ Follow-up to f1e80d8d8ce9570d81836da96ba02f4d4552a7b3
+ Follow-up to 5644eea2161b17f7c16e18f3a10465ebb217ca1f
+
+ Closes #980
+
+- ci: rename Logging to Debug in AppVeyor
+
+- switch to internal base64 decode that uses size_t
+
+ Make the public `libssh2_base64_decode()` a wrapper for that.
+ Bump up length sizes in callers.
+
+ Also fix output size calculation to first divide then multiply.
+
+ Closes #978
+
+- tests: switch to debian:bullseye-slim in Dockerfile
+
+ 'slim' provides all we need, with less bloat.
+
+ Tested in #976
+
+ Follow-up to 78cb64a85955f2cd9700c4fbad3f02d589dd7169
+
+- tests: build improvements and more
+
+ - rename tests to have more succint names and a more useful natural
+ order.
+
+ - rename `simple` and `ssh2` in tests to have the `test_` prefix.
+
+ This avoids a name collisions with `ssh2` in examples.
+
+ - cmake: drop the `example-` prefix for generated examples.
+
+ Bringing their names in sync with other build tools, like autotools.
+
+ - move common auth test code into the fixture and simplify tests by
+ using that.
+
+ - move feature guards from CMake to preprocessor for auth tests.
+
+ Now it works with all build tools and it's easier to keep it in sync
+ with the lib itself.
+
+ For this we need to include `libssh2_priv.h` in tests, which in turn
+ needs tweaking on the trick we use to suppress extra MSVS warnings
+ when building tests and examples.
+
+ - move mbedTLS blocklist for crypto tests from CMake to the test
+ fixture.
+
+ - add ed25519 hostkey tests to `test_hostkey` and `test_hostkey_hash`.
+
+ - add shell script to regenerate all test keys used for our tests.
+
+ - alpha-sort tests.
+
+ - rename `signed_*` keys to begin with `key` like the rest of the keys
+ do.
+
+ - whitespace fixes.
+
+ Closes #969
+
+- autotools: rename a variable
+
+ To match its counterpart we use for clang and to better match
+ the original code in curl.
+
+ Follow-up to ec0feae7920d695ce234a5aba13014bf29824c09
+
+ Closes #977
+
+- ssh2.sh: revert likely wrong quoting [ci skip]
+
+ Follow-up to 50124428509ffc2f5d08d8d3c152fa36546c9a75
+
+- build: add `-Wbad-function-cast` picky warning
+
+ Also adjust minimum gcc versions in comment.
+
+ Closes #975
+
+- tests: restore debian:bullseye in Dockerfile
+
+ Follow-up to 78cb64a85955f2cd9700c4fbad3f02d589dd7169
+
+- session: simplify preprocessor logic
+
+ - by using #elif
+ - by merging two blocks
+
+ Closes #972
+
+- tests: try debian:testing for Dockerfile
+
+ Follow-up to 78cb64a85955f2cd9700c4fbad3f02d589dd7169
+
+- src: add and use `LIBSSH2_MIN/MAX` macros
+
+ Also for #797
+
+ Closes #974
+
+- tests: switch Dockerfile to debian:testing-slim
+
+ From debian:bullseye
+
+ - doesn't need manual bumps.
+ - is ahead of stable and should be stable enough for our purpose.
+ - slim is saving resources.
+
+ Closes #971
+
+- cmake: optimize non-blocking tests on WIN32/non-WIN32
+
+ Skip testing unixy methods on Windows and vice versa.
+
+ I continue to assume that CMake doesn't define `WIN32` with Cygwin
+ (as Cygwin doesn't define `_WIN32`/`WIN32` for C), though I haven't
+ tested this.
+
+ Closes #970
+
+GitHub (15 Apr 2023)
+- [Jörgen Sigvardsson brought this change]
+
+ scp: option to not quote paths (#803)
+
+ A new flag named `LIBSSH2_FLAG_QUOTE_PATHS` has been added, to make
+ libssh2 not quote file paths sent to the remote's scp subsystem. Some
+ custom ssh daemons cannot handle quoted paths, and this makes this flag
+ useful.
+
+ Authored-by: Jörgen Sigvardsson
+
+Viktor Szakats (15 Apr 2023)
+- cmake: make Windows builds initialize faster
+
+ By skipping unixy header checks that always fail with
+ the MSVC toolchain or all Windows toolchains.
+
+ Closes #968
+
+- cmake: use a single build rule for all tests
+
+ - use the complete filename of test sources in the input list.
+
+ - build all tests with the ability to access libssh2 internals.
+
+ This is necessary for `test_keyboard_interactive_auth_info_request`
+ now and might be necessary for others in the future, e.g. to avoid
+ the depreacted public base64 decoding API.
+
+ - move `test_keyboard_interactive_auth_info_request` into the main
+ test build loop.
+
+ - move `simple` into the main test build loop too.
+
+ - build `ssh2` also in static mode.
+
+ - cleanup the way we detect and enable gcov.
+
+ - fix indentation.
+
+ Closes #967
+
+- tidy-up: more whitespace in src
+
+ Closes #966
+
+- checksrc: fix `EQUALSNULL` warnings
+
+ `s/([a-z0-9._>*-]+) == NULL/!\1/g`
+
+ Closes #964
+
+- Makefile.am: add new OS400 header [ci skip]
+
+ Follow-up to 6dc42e9d625deb816a051d312d09e68926959e78
+
+- checksrc: fix `NOTEQUALSZERO` warnings
+
+ Closes #963
+
+- checksrc: fix `SIZEOFNOPAREN` warnings
+
+ `s/sizeof ([a-z0-9._>*-]+)/sizeof(\1)/g`
+
+ Closes #962
+
+- crypto: add `LIBSSH2_NO_HMAC_RIPEMD` option
+
+ See also: 38015f4e46d8dbeea522dc7ee664522d4f47fc75
+ See also: be31457f3071686b555a0f0b19e5dcf63d67fc27
+
+ Ref: https://github.com/stribika/stribika.github.io/issues/46
+
+ Closes #965
+
+- tidy-up: example, tests continued
+
+ - fix skip auth if `userauthlist` is NULL.
+ Closes #836 (Reported-by: @sudipm-mukherjee on github)
+ - fix most silenced `checksrc` warnings.
+ - sync examples/tests code between each other.
+ (output messages, error handling, declaration order, comments)
+ - stop including unnecessary headers.
+ - always deinitialize in case of error.
+ - drop some redundant variables.
+ - add error handling where missing.
+ - show more error codes.
+ - switch `perror()` to `fprintf()`.
+ - fix some `printf()`s to be `fprintf()`.
+ - formatting.
+
+ Closes #960
+
+- src: fix indentation of macro definitions (follow-up)
+
+ Follow-up to d5438f4ba9036e8028f35258dd1ab97cc2edb37c
+
+- src: fix indentation of macro definitions
+
+ And some comment cleanup.
+
+ Closes #958
+
+- example/ssh2_exec: drop conditional code for deprecated API
+
+GitHub (13 Apr 2023)
+- [monnerat brought this change]
+
+ Make OS/400 implementation work again (#953)
+
+ * os400: support QADRT development files in a non-standard directory
+
+ This enables the possibility to compile libssh2 even if the ascii
+ runtime development files are not installed system-wide.
+
+ * userauth_kbd_packet: fix a pointer target type mismatch.
+
+ A temporary variable matching the parameter type is used before copying
+ to the real target and checking for overflow (that should not occur!).
+
+ * os400qc3: move and fix big number procedures
+
+ A bug added by a previous code style cleaning is fixed.
+ _libssh2_random() now checks and return the success status.
+
+ * os400qc3: fix cipher definition block lengths
+
+ They were wrongly set to the key size.
+
+ * Diffie-Hellman min/max modulus sizes are dependent of crypto-backend
+
+ In particular, os400qc3 limits the maximum group size to 2048-bits.
+ Move definitions of these parameters to crypto backend header files.
+
+ * kex: return an error if Diffie-Hellman key pair generation fails
+
+ * os400: add an ascii assert.h header file
+
+ * os400qc3: implement RSA SHA2 256/512
+
+Viktor Szakats (13 Apr 2023)
+- sftp: add open functions with custom attribute support
+
+ Before this patch, libssh2 sent hardcoded `LIBSSH2_SFTP_ATTRIBUTES`
+ struct on handle open. This can be problematic on some special OS,
+ where the file size should be known on new file creation. I added
+ two new functions to resolve this issue.
+
+ Patch-by: @vajdaakos on github via #506
+
+ Changes compared to #506:
+ - drop attr size fixup in favour of #946.
+ - move `memcpy()` under the state where we need it.
+ - bump filename length type to `size_t`.
+ - fix filenames in documentation and other nits.
+
+ Closes #506
+ Closes #947
+
+- build: speed up and extend picky compiler options
+
+ Implement picky warnings with clang in autotools. Extend picky gcc
+ warnings, sync them between build tools and compilers and greatly
+ speed up detection in CMake.
+
+ - autotools: enable clang compiler warnings with `--enable-debug`.
+
+ - autotools: enable more gcc compiler warnings with `--enable-debug`.
+
+ - autotools/cmake: sync compiler warning options between gcc and clang.
+
+ - sync compiler warning options between autotools and cmake.
+
+ - cmake: reduce option-checks to speed up the detection phase.
+ Bring them down to 3 (from 35). Leaving some checks to keep the
+ CMake logic alive and for an easy way to add new options.
+
+ clang 3.0 (2011-11-29) and gcc 2.95 (1999-07-31) now required.
+
+ - autotools logic copied from curl, with these differences:
+
+ - delete `-Wimplicit-fallthrough=4` due to a false positive.
+
+ - reduce `-Wformat-truncation=2` to `1` due to a false positive.
+
+ - simplify MinGW detection for `-Wno-pedantic-ms-format`.
+
+ - cmake: show enabled picky compiler options (like autotools).
+
+ - cmake: do compile `tests/simple.c` and `tests/ssh2.c`.
+
+ - fix new compiler warnings.
+
+ - `tests/CMakeLists.txt`: fix indentation.
+
+ Original source of autotools logic:
+ - https://github.com/curl/curl/blob/a8fbdb461cecbfe1ac6ecc5d8f6cf181e1507da8/acinclude.m4
+ - https://github.com/curl/curl/blob/a8fbdb461cecbfe1ac6ecc5d8f6cf181e1507da8/m4/curl-compilers.m4
+
+ Notice that the autotools implementation considers Apple clang as
+ legacy clang 3.7. CMake detection works more accurately, at the same
+ time more error-prone and difficult to update due to the sparsely
+ documented nature of Apple clang option evolution.
+
+ Closes #952
+
+- include: delete leading underscore from macro name
+
+ It can cause compiler warnings in 3rd-party code.
+
+ Follow-up to 59666e03f04927e5fe3e8d8772d40729f63c570e
+
+ Closes #957
+
+- ci: use OpenSSL 3 on AppVeyor VS2022 images
+
+ Closes #954
+
+- build: be friendly with 3rd-party build tools
+
+ After recent build changes, 3rd party build that took the list of
+ C source to compile them as-is, stopped working as expected, due to
+ `blowfish.c` and crypto-backend C sources no longer expected to compile
+ separately but via `bcrypt_pbkdf.c` and `crypto.c`, respectively.
+
+ This patch ensures that compiling these files directly result in an
+ empty object instead of redundant code and duplicated symbols.
+
+ Also:
+ - add a compile-time error if none of the supported crypto backends
+ are enabled.
+ - fix `libssh2_crypto_engine()` for wolfSSL and os400qc3.
+ Rearrange code to avoid a hard-to-find copy of crypto-backend
+ selection guards.
+
+ Follow-up to 4f0f4bff5a92dce6a6cd7a5600a8ee5660402c3f
+ Follow-up to ff3c774e03585252b70a9ee0fcf254de7b14a767
+
+ Closes #951
+
+- sftp: calculate attr size based on attr content in `sftp_open()`
+
+ Improve robustness by replacing constant argument of `sftp_attrsize()`
+ in `sftp_open()` with the actual `flag` value read from the `attr` we
+ plan to transfer. Restores state of this before
+ 37624b61e3ec4aa65a608800613d00b55ced56d7.
+
+ Prerequisite for #947, #506.
+
+ Also improve readability a bit and link to SFTP specs. Delete comment
+ about version 6: The latest spec no longer features the mentioned
+ "DO NOT IMPLEMENT" notice.
+
+ Closes #946
+
+- man: fixups
+
+ - add missing `.fi` tags.
+ - fix misplaced `.nf` tags.
+ - add `.nf`/`.fi` tags `SYNOPSIS` where missing.
+ - fix missing/wrong function name from `SH NAME`.
+ - fix wrong function name in `TH`.
+ - keep return values in a separate line.
+ - indent.
+ - fold long lines.
+ - deleted `libssh2_channel_direct_streamlocal()`, there is no such function.
+ - add missing types.
+ - add missing headers.
+
+ Closes #949
+
+- include: indentation fixes
+
+- tidy-up: misc & minor cmake MSVS fix
+
+ - `libssh2.rc`: document language/codepage codes.
+
+ Ref: https://learn.microsoft.com/windows/win32/intl/code-page-identifiers
+
+ - convert to Markdown: `docs/BINDINGS`, `docs/HACKING`
+
+ Blind update for `vms/libssh2_make_help.dcl`. Please double-check.
+
+ - cmake: fix to recognize dash-style warning options (`-Wn`) with MSVC.
+
+ - `NMakefile`: sync `rd` command with `Makefile.mk`.
+
+ - delete a CVS header.
+
+ - cmake: simplify a `LIBSSH2_HAVE_ZLIB` macro.
+
+ - few other nits and whitespace mods.
+
+ Closes #943
+
+GitHub (10 Apr 2023)
+- [Viktor Szakats brought this change]
+
+ Support for direct-streamlocal@openssh.com UNIX socket connection (#945)
+
+ This patch allow to use direct-streamlocal service from OpenSSH 6.7,
+ that allows UNIX socket connections.
+
+ Mods:
+ - delete unrelated condition:
+ Ref: https://github.com/libssh2/libssh2/pull/216#discussion_r374748111
+ - rebase on master, whitespace updates.
+
+ Patch-by: @gjalves Gustavo Junior Alves
+
+ Closes #216
+ Closes #632
+ Closes #945
+
+Viktor Szakats (10 Apr 2023)
+- build: support `libssh2.rc` with autotools
+
+ Caveat: When building `--enable-static` and `--enable-shared` at the
+ same time, the compiled Windows resource is also included in the
+ static library. This appears to be an autotools limitation, with no
+ way to have different input lists (or different custom options) for
+ shared and static libraries, even though it builds them separately.
+
+ The workaround is to build static libraries in a separate
+ `./configure` + `make` pass.
+
+ Closes #944
+
+- crypto: add `LIBSSH2_NO_DSA` to disable DSA support
+
+ See also: be31457f3071686b555a0f0b19e5dcf63d67fc27
+
+ Closes #942
+
+- build: unify source lists
+
+ - introduce `src/crypto.c` as an umbrella source that does nothing else
+ than include the selected crypto backend source. Moving this job from
+ the built-tool to the C preprocessor.
+
+ - this allows dropping the various techniques to pick the correct crypto
+ backend sources in autotools, CMake and other build method. Including
+ the per-backend `Makefile..inc` makefiles.
+
+ - copy a trick from curl and instead of maintaining duplicate source
+ lists for CMake, convert the GNU Makefile kept for autotools
+ automatically. Do this in `docs`, `examples` and `src`.
+
+ Ref: https://github.com/curl/curl/blob/dfabe8bca218d2524af052bd551aa87e13b8a10b/CMakeLists.txt#L1399-L1413
+
+ Also fixes missing `libssh2_setup.h` from `src/CMakeFiles.txt` after
+ 59666e03f04927e5fe3e8d8772d40729f63c570e.
+
+ - move `Makefile.inc` from root to `src`.
+
+ - reformat `src/Makefile.inc` to list each source in separate lines,
+ re-align the continuation character and sort the lists alphabetically.
+
+ - update `docs/HACKING-CRYPTO` accordingly.
+
+ - autotools: update the way we add crypto-backends to `LIBS`.
+
+ - delete old CSV headers, indent, and merge two lines in
+ `docs/Makefile.am` and `src/Makefile.am`.
+
+ - add `libssh2.pc` to `.gitignore`, while there.
+
+ Closes #941
+
+GitHub (9 Apr 2023)
+- [Zenju brought this change]
+
+ sftp: always clear protocol error (#787)
+
+Viktor Szakats (9 Apr 2023)
+- cmake: add `HIDE_SYMBOLS` option & do symbol hiding on *nix
+
+ - implement symbol hiding on non-Windows platforms.
+
+ The essence of the detection logic was copied from:
+ https://github.com/curl/curl/blob/dfabe8bca218d2524af052bd551aa87e13b8a10b/CMake/CurlSymbolHiding.cmake
+
+ Then simplified and shortened. This method doesn't require a recent
+ CMake version, nor an external, auto-generated C header.
+
+ Move `configure_file()` after `set(LIBSSH2_API ...)`, for the config
+ file to pick up `LIBSSH2_API`s value.
+
+ Closes #602
+
+ - add CMake option `HIDE_SYMBOLS`.
+
+ This setting means to hide non-public functions from the libssh2
+ dynamic library when set to `ON`. The default.
+
+ When set to `OFF`, make all non-static/internal functions visible
+ in the dynamic library.
+
+ This setting requires `BUILD_SHARED_LIBS=ON`.
+
+ - honor this setting on Windows.
+
+ By setting the `LIBSSH2_EXPORTS` manual macro again, and stop
+ recognizing the automatic CMake macro for this purpose:
+ `libssh2_shared_EXPORT`.
+
+ Closes #939
+
+- build: make `windows.h` even leaner
+
+ Disable GDI and NLS features in `windows.h`. libssh2 doesn't use these.
+
+ Closes #940
+
+- blowfish: build improvements
+
+ - include `blowfish.c` into `bcrypt_pbkdf.c`, instead of
+ compiling it as a distinct object.
+
+ - make low-level blowfish functions static. This prevents this symbols
+ to pollute the public namespace of libssh2. It also allows the
+ compiler to inline these functions.
+
+ - integrate `blf.h` header into `bcrypt_pbkdf.c` as well.
+
+ - use `_DEBUG_BLOWFISH` instead of `#if 0`.
+
+ - fix `_DEBUG_BLOWFISH` compiler warnings and other nits.
+
+ - `#undef` `inline` before redefining it in `libssh2_priv.h`.
+ (copied from `blowfish.c`)
+
+ - delete unused `inline` redefinitions from `blowfish.c`.
+
+ - disable unused low-level blowfish functions.
+
+ - formatting, header order.
+
+ Closes #938
+
+- libssh2.rc: fix debug flag, other cleanups
+
+ - fix to use `LIBSSH2DEBUG` macro to set the debug flag.
+ (was `DEBUGBUILD`, a curl-specific macro)
+
+ - use manifest constants instead of literals
+
+ - change language to neutral
+
+ Closes #937
+
+- tidy-up: example, tests
+
+ - drop unnecessary `WIN32`-specific branches.
+
+ - add `static`.
+
+ - sync header inclusion order.
+
+ - sync some common code between examples/tests.
+
+ - fix formatting/indentation.
+
+ - fix some `checksrc` errors not caught by `checksrc`.
+
+ Closes #936
+
+- tests/mansyntax.sh: avoid `if !` for portability
+
+ Ref: https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Limitations-of-Builtins.html#Limitations-of-Builtins
+
+ Fixes #704
+ Closes #935
+
+- tidy-up: indentation in guarded #includes [ci skip]
+
+- Makefile.mk: drop `PROOT` variable [ci skip]
+
+- build: hand-crafted config rework & header tidy-up
+
+ - introduce the concept of a project level setup header
+ `src/libssh2_setup.h`, that is used by `src`, `example` and `tests`
+ alike. Move there all common platform/compiler configuration from
+ `src/libssh2_priv.h`, individual sources and `CMakeFiles.txt` files.
+ Also move there our hand-crafted (= not auto-generated by CMake or
+ autotools) configuration `win32/libssh2-config.h`.
+
+ - `win32` directory is empty now, delete it.
+
+ - `Makefile.mk`: adapt to the above. Build-directory is the target
+ triplet, or any custom name set via `BLD_DIR`.
+
+ - sync header path order between build systems:
+ build/src -> source/src -> source/include
+
+ - delete redundant references to `windows.h`, `winsock2.h`,
+ `ws2tcpip.h`.
+
+ - delete unnecessary #includes, update order (`libssh2_setup.h` first,
+ `winsock2.h` first), simplify where possible.
+
+ This makes the code warning-free without `WIN32_LEAN_AND_MEAN`.
+ At the same time this patch applies this macro globally, to avoid
+ header bloat.
+
+ - example: add missing *nix header guards.
+
+ - example: fix misindented `HAVE_UNISTD_H` `#ifdef`s.
+
+ - set `WIN32` with all build-tools.
+
+ - set `HAVE_SYS_PARAM_H` in the hand-crafted config for MinGW.
+ To match auto-detection.
+
+ - move a source-specific macro to `misc.c` from `libssh2_priv.h`.
+
+ See the PR's individual commits for step-by-step updates.
+
+ Closes #932
+
+- Makefile.mk: build tests and other improvements [ci skip]
+
+ - use `example` target for building examples (was: `test`).
+
+ - add support for building tests via the `test` target.
+
+ - accept lib-only options in a new `LIBSSH2_CPPFLAGS_LIB` variable.
+
+ Useful to pass `-DLIBSSH2_EXPORTS` for correct `dllexport` in
+ `libssh2.dll`.
+
+ - fix to put dynamic library in lib directory for non-Windows builds
+
+ - fix to not delete lib objects on `testclean`
+
+- test_warmup: re-implement as `test()`
+
+ Instead of overriding `main()`. To align with the other tests.
+
+ Overriding `main()` can cause duplicate symbols without using a lib for
+ the `runner` code.
+
+ Follow-up to 40ac6b230a309d35c57aa65a8f6d7ab6654aa3d8
+
+ Closes #934
+
+- NMakefile: drop `/DEBUG` linker option in release mode [ci skip]
+
+- NMakefile: simplify [ci skip]
+
+- Makefile.mk: merge two rules [ci skip]
+
+- TODO: update item about compiler warnings [ci skip]
+
+ Follow-up to 08354e0abbe86d4cc5088d210d53531be6d8981a
+ Follow-up to 29347905721d2e7fbb97dabfb0071bee51db3013
+ Follow-up to 5a96f494ee0b00282afb2db2e091246fc5e1774a
+ Follow-up to 463449fb9ee7dbe5fbe71a28494579a9a6890d6d
+ Follow-up to 02f2700a61157ce5a264319bdb80754c92a40a24
+
+GitHub (5 Apr 2023)
+- [ihsinme brought this change]
+
+ example/x11: Add null-termination (#749)
+
+Viktor Szakats (5 Apr 2023)
+- crypto: fix `LIBSSH2_NO_MD5` compiler warnings
+
+ Follow-up to be31457f3071686b555a0f0b19e5dcf63d67fc27
+
+ Closes #933
+
+- build: add new man pages
+
+ Follow-up to c20c81ab105cdf27f5a4e2604bd13085f46e21de
+
+GitHub (5 Apr 2023)
+- [Daniel Silverstone brought this change]
+
+ Configurable session read timeout (#892)
+
+ This set of changes provides a mechanism to runtime-configure the
+ previously #define'd timeout for reading packets from a session. The
+ intention here is to also extend libcurl to be able to use this
+ interface so that when fetching from sftp servers which are very slow
+ to return directory listings, connections do not time-out so much.
+
+ * Add new field to session to hold configurable read timeout
+
+ * Updated `_libssh2_packet_require()`, `_libssh2_packet_requirev()`,
+ and `sftp_packet_requirev()` to use new field in session structure
+
+ * Updated docs for API functions to set/get read timeout field in
+ session structure
+
+ * Updated `libssh2.h` to declare the get/set read timeout functions
+
+ Co-authored-by: Jon Axtell
+ Credit: Daniel Silverstone
+
+Viktor Szakats (4 Apr 2023)
+- cmake: whitespace fixes [ci skip]
+
+- libssh2.h: bump LIBSSH2_COPYRIGHT year [ci skip]
+
+- Makefile.mk: move portable GNU Make file to the root
+
+ Move the GNU Make file formerly known as `win32/GNUmakefile` to the
+ root directory from `win32`. It now supports any platform with a
+ GCC-like toolchain, while also keeping support for win32.
+
+ For non-Windows platforms it's necessary to provide a hand-crafted
+ `libssh2_config.h` header for now.
+
+ Usage: `make -f Makefile.mk`
+
+- src: include `limits.h` for `*_MAX` macros
+
+ Follow-up to 5a96f494ee0b00282afb2db2e091246fc5e1774a
+
+ Reported-by: OldWorldOrdr on github
+ Fixes #928
+ Closes #930
+
+- build: MSVS warning suppression option tidy-up
+
+ - in `win32/libssh2_config.h` replace `_CRT_SECURE_NO_DEPRECATE` with
+ `_CRT_SECURE_NO_WARNINGS`, to use the official macro for this, like
+ in CMake.
+
+ Also, it's now safe to move it back under `_MSC_VER`.
+
+ Suppressing:
+
+ `warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead.`
+ `warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead.`
+
+ - move `_CRT_NONSTDC_NO_DEPRECATE` to `example` and `tests`.
+ Not needed for `src`.
+
+ Suppressing:
+
+ `warning C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _strdup.`
+ `warning C4996: 'write': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _write.`
+
+ - move `_WINSOCK_DEPRECATED_NO_WARNINGS` from source files to
+ CMake files, in `example` and `tests`. Also limit this to MSVC.
+
+ Suppressing:
+
+ `warning C4996: 'inet_addr': Use inet_pton() or InetPton() instead`
+
+ TODO: try fixing these instead of suppressing.
+
+ Closes #929
+
+- win32/GNUmakefile: make it movable [ci skip]
+
+ - add `BLD_DIR` to customize the output directory (where libs, .zip,
+ obj subdir will go). This directory must exist.
+
+ It remains `./win32` for Windows builds.
+
+ - add `CONFIG_H_DIR` option to customize `libssh2_config.h` location.
+
+ It remains `./win32` for Windows builds.
+
+ - include `.def` in distro zip for Windows.
+
+ - ready to move to the root directory.
+
+- win32/GNUmakefile: drop an unnecessary variable [ci skip]
+
+- windows: re-add `libssh2.rc`
+
+ Lost while moving it from the win32 directory
+
+ Follow-up to 194cfc0f84192809c87f846140e5bf06b7a864af
+
+- crypto: add `LIBSSH2_NO_MD5` to disable MD5 support
+
+ Closes #927
+
+- hostkey: fix `hash_len` field constants
+
+ Replace incorrect `MD5_DIGEST_LENGTH` with `SHA_DIGEST_LENGTH` for these
+ hostkey algos:
+
+ - `ssh-rsa` and `ssh-dss`
+
+ Ref: 7a5ffc8cee259bbde82ab92515cd8fea2166854b (2004-12-07 Initial)
+
+ - `ssh-rsa-cert-v01@openssh.com`
+
+ Ref: 4b21e49d9d2db74579b18804ed1f5eeb16578b2f (2022-07-28)
+ Ref: #710
+
+ Also delete local fall-back definition of `MD5_DIGEST_LENGTH` (added
+ in 9af7eb48dc3854ce8ee0589f7e2beb944e064847). Macro is no longer used.
+
+ Reported-by: Markus-Schmidt on github
+ Fixes #919
+ Closes #926
+
+- ci: add MSVS 2008/2010 build tests and fix warnings
+
+ Also:
+
+ - fix newly surfaced (bogus) warnings in examples with MSVS 2010:
+
+ ```
+ ..\..\example\direct_tcpip.c(262): warning C4127: conditional expression is constant
+ ```
+ Happens for every `FD_SET()` macro reference.
+
+ Ref: https://ci.appveyor.com/project/libssh2org/libssh2/builds/46677835/job/ni4hs97bh18c14ap
+
+ - silence MSVS 2010 predefined Windows macro warnings:
+
+ ```
+ ..\..\src\wincng.c(867): warning C4306: 'type cast' : conversion from 'int' to 'LPCSTR' of greater size
+ ..\..\src\wincng.c(897): warning C4306: 'type cast' : conversion from 'int' to 'LPCSTR' of greater size
+ ..\..\src\wincng.c(1132): warning C4306: 'type cast' : conversion from 'int' to 'LPCSTR' of greater size
+ ```
+
+ Ref: https://ci.appveyor.com/project/libssh2org/libssh2/builds/46678071/job/08t5ktvkcgdghp7r
+
+ Closes #925
+
+- transport: rename local `RANDOM_PADDING` macro
+
+ Rename `RANDOM_PADDING` macro used internally to enable some code.
+
+ Committed in the initial version of `transport.c` in
+ 9d55db6501aa4e21f0858cf36cdc2ddc11b96e83 (2007-02-02). libssh2 code
+ never defined it.
+
+ The name happens to collide with a Windows macro in `wincrypt.h`.
+ `transport.c` doesn't include this header, but it includes `winsock2.h`,
+ and it turns out it can also define this macro in some cases, e.g.
+ when `WIN32_LEAN_AND_MEAN` is not set.
+
+ To be on the safe side, prefix the name with `LIBSSH2_` to avoid
+ enabling it by accident.
+
+ Q: Maybe it'd be best to delete it with the guarded code?
+
+ Reported-by: Markus-Schmidt on github
+ Fixes #921
+ Closes #924
+
+- windows: move `libssh2.rc` to the `src` directory
+
+ Closes #918
+
+- autotools: delete unused conditional `HAVE_SYS_UN_H`
+
+ No longer necessary after moving the disabling/enabling logic from
+ build tool to `example/x11.c`.
+
+ Reverts 4774d500e724bc4e548f743a0cb644ab05599474
+ Follow-up to d245c66cc0029e480674394c23e8be1c9410f7ad
+
+- win32/GNUmakefile: update help & exit without crypto backend [ci skip]
+
+ Follow-up to: 5bcd25c4c980e9765c00a2f20ac5348635063aad
+ Follow-up to: 68fd02fba002c8c6af3ba51a2780de46b47b3787
+
+- build: respect autotools `DLL_EXPORT` in `libssh2.h`
+
+ The `DLL_EXPORT` macro is automatically set by autotools when building
+ the libssh2 DLL. Certain toolchains might require this to correctly
+ export symbols, so make sure to respect it in `libssh2.h` to enable
+ `declspec(dllexport)`.
+
+ With this patch we have a manual macro for that (`LIBSSH2_EXPORT`),
+ this autotools one, the CMake one, and `_WINDLL` (added in
+ c355d31ff94a1622526c4988b9d09074f7f7605d), possibly defined by Visual
+ Studio.
+
+ Closes #917
+
+- build: make `HAVE_LIBCRYPT32` local to `wincng.c`
+
+ libssh2 uses `wincrypt.h` aka the `crypt32` Windows system library
+ for the function `CryptDecodeObjectEx()` [1]. This function has been
+ available for Win32 (and UWP/WinRT apps) for a long while. Even old
+ MinGW supports it, and also Watcom 1.9, of the rare/old compilers
+ I checked.
+
+ CMake had it permanently enabled, while it also did an extra check
+ for the header to add the lib to the lib list. Autotools did the
+ detection proper. Other builds had it permanently enabled.
+
+ It seems safe to assume this function/header/lib is available in all
+ environments we support.
+
+ In this patch we simplify by deleting these detections and feature
+ flags from all build tools.
+
+ Keep the feature flag internal to `wincng.h`, and for extra safety add
+ the new macro `LIBSSH2_WINCNG_DISABLE_WINCRYPT` do disable it via
+ custom `CPPFLAGS`.
+
+ WinCNG's other requirement is `bcrypt`. That also has been universally
+ available for a long time. Here the only known outlier is old/legacy
+ MinGW, which is missing support.
+
+ [1] https://learn.microsoft.com/en-us/windows/win32/api/wincrypt/nf-wincrypt-cryptdecodeobjectex
+
+ Closes #916
+
+- autotools: delete `src/libssh2.pc.in` reference [ci skip]
+
+ Follow-up to 06f281921907fa077884c7020917661ca805b9d3
+
+- tidy-up: null-mac/cipher documentation
+
+ Move documentation for these deleted build-level options from
+ autotools/cmake docs to the source code itself.
+
+ Follow-up to 50c9bf868e833258d23c5f55ed546d1fcd5687d0
+
+ Closes #915
+
+- cmake: re-use existing `libssh2.pc` template
+
+ Instead of maintaining a second copy of `libssh2.pc.in` in `src` just
+ for CMake, teach CMake to use the existing template in the root dir,
+ that we already use with autotools.
+
+ Closes #914
+
+- delete redundant `HAVE_STDLIB_H`
+
+ libssh2 used this standard C89 header unconditionally before this patch.
+
+ Delete the feature checks and all unnecessary header guards.
+
+ Closes #913
+
+- NMakefile: drop redundant variable and assignments [ci skip]
+
+- delete redundant `HAVE_WINSOCK2_H`
+
+ `libssh2.h` required `winsock2.h` for `_WIN32` since
+ 81d53de4dc5ee39bd6215958c7dce3b12731195e (2011-06-04).
+
+ Apply that to the whole codebase. This makes it unnecessary to detect
+ `HAVE_WINSOCK2_H` and allows to drop all its uses.
+
+ Completes TODO from b66d7317ca6c882afbe52fe426f68c119c40d348
+
+ TODO: Straighten out the use a mixture of `HAVE_WINDOWS_H`,
+ `WIN32`, `_WIN32` to detect Windows.
+
+- cmake: detect WinCNG last
+
+ This gives a chance to auto-detect mbedTLS on Windows with CMake.
+
+- NMakefile: rename config variables, default to WinCNG [ci skip]
+
+ - replace `OPENSSLINC` and `OPENSSLLIB` with `OPENSSL_PATH`.
+ Assume `include` and `lib` subdirs for headers and libs.
+
+ - replace `WITH_ZLIB`, `ZLIBINC` and `ZLIBLIB` with `ZLIB_PATH`.
+ Assume `include` and `lib` subdirs for header and lib.
+
+ - make WinCNG the default if `WITH_OPENSSL` is not set.
+
+- win32/GNUmakefile: rename object dir and update .gitignore [ci skip]
+
+ From `-{release|debug}` to `{release|debug}-`.
+
+ Follow-up to 68fd02fba002c8c6af3ba51a2780de46b47b3787
+
+- win32/GNUmakefile: add libgcrypt support [ci skip]
+
+ In the previous commit 969487113aae856e43d3d905c3f2260246d44f9b,
+ the commit message should read `win32/GNUmakefile: ` instead of
+ `libssh2-gnumake.sh: `. Sorry for the mixup.
+
+- libssh2-gnumake.sh: make variable names platform-agnostic [ci skip]
+
+ Also more consistent. Refer to DLL/SO/shared as 'dyn'.
+
+ Also add comment on how to find customizable environment variables.
+
+- win32/GNUmakefile: make it support non-Windows builds [ci skip]
+
+ With 20-ish extra lines, make this Makefile support all GCC-like
+ toolchains.
+
+ The temporary directory becomes `-{release|debug}` from
+ the former `{release|debug}`.
+
+ Also change the lib directory name in the `dist` package from
+ `win32` to `lib`, to match other packages and build tools.
+
+- win32/GNUmakefile: default to WinCNG [ci skip]
+
+ Also check for wolfSSL before mbedTLS to match CMake.
+
+- win32/GNUmakefile: fixups to previous commit [ci skip]
+
+ - `-lws2_32` is necessary when building examples.
+
+ - drop a temporary variable.
+
+ Follow-up to d245c66cc0029e480674394c23e8be1c9410f7ad
+
+- delete redundant `HAVE_WS2TCPIP_H`
+
+ It was used once in `src/libssh2_priv.h`, but without any effect.
+ The header included `ws2tcpip.h` twice, once guarded by
+ `HAVE_WS2TCPIP_H` and another time by `HAVE_WINSOCK2_H`.
+
+ Dedupe these to not use `HAVE_WS2TCPIP_H`. Then delete detection
+ of this feature from all build methods.
+
+ TODO: Replace `HAVE_WINSOCK2_H` with `_WIN32`/`WIN32`.
+
+- win32/libssh2_config.h: set `HAVE_LONGLONG` & `HAVE_STDLIB_H` [ci skip]
+
+ - enable `HAVE_LONGLONG` for MinGW and MSVC versions supporting it.
+
+ Necessary for `GNUmakefile`/`NMakefile` builds to create the same
+ binaries as CMake/autotools ones do.
+
+ - enable `HAVE_STDLIB_H`. It has been universally available on
+ Windows for a long time.
+
+ Fixes these clang-cl warnings:
+ ```
+ src\wincng.c(444,5) : warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
+ free(buf);
+ ^
+ src\wincng.c(491,20) : warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long long)' [-Wimplicit-function-declaration]
+ pbHashObject = malloc(dwHashObject);
+ ^
+ src\wincng.c(491,20) : note: include the header or explicitly provide a declaration for 'malloc'
+ src\wincng.c(2106,14) : warning: implicitly declaring library function 'realloc' with type 'void *(void *, unsigned long long)' [-Wimplicit-function-declaration]
+ bignum = realloc(bn->bignum, length);
+ ^
+ src\wincng.c(2106,14) : note: include the header or explicitly provide a declaration for 'realloc'
+ 3 warnings generated.
+ ```
+
+- example: make `x11` exclusion build-tool-agnostic
+
+ Whether to build the `x11` example or not was decided by each build
+ tool. CMake didn't build it even on supported platforms. GNUMakefile
+ used a specific blocklist for it, while autotools enabled it based on
+ feature-detection.
+
+ Migrate the enabler logic to an #ifdef in source and build `x11`
+ unconditionally with all build tools.
+
+ On unsupported platforms (=Windows) this program now displays a short
+ message stating that fact.
+
+ Also:
+
+ - fix `x11.c` warnings uncovered after CMake started building it.
+
+ - use `libssh2_socket_t` type for portability in `x11.c` too.
+
+ - use detected header guards in `x11.c`.
+
+ - delete a duplicate reference to `-lws2_32` from `win32/GNUmakefile`
+ while there.
+
+ Closes #909
+
+- .gitignore updates [ci skip]
+
+- tidy-up: whitespace, sorting, comment and naming fixups
+
+- cmake: add missing man pages
+
+- cmake: dedupe and merge config detection
+
+ Before this patch CMake did feature detections in three files:
+ `src/CMakefiles.txt`, `examples/CMakefiles.txt` and
+ `tests/CMakefiles.txt`.
+
+ Merge and move them to the root `CMakefiles.txt`.
+
+ After this patch we end up with a single `src/libssh2_config.h`. This
+ brings CMake in sync with autotools builds, which already worked with
+ a single config header.
+
+ This also prevents mistakes where feature detection went out of sync
+ between `src` & `tests` (see ae90a35d15d97154ac0c8554bce99ebfb18ee825).
+ `tests` do compile sources from `src` directly, so these should always
+ be in sync.
+
+ It also allows to better integrate hand-crafted, platform-specific
+ config headers into the builds, like the one currently residing in
+ the `win32` directory (and also in `vms` and `os400`). Subject to an
+ upcoming PR.
+
+ Also fix a warning revealed after this patch made CMake correctly
+ enable `HAVE_GETTIMEOFDAY` for `example` programs.
+
+ Closes #906
+
+- cmake: dedupe crypto-backend detection
+
+ Before this patch CMake did crypto-backend detection in both
+ `src/CMakefiles.txt` and `tests/CMakefiles.txt`.
+
+ Merge them and move it to the root `CMakefiles.txt`.
+
+ While here, also add zlib for OpenSSL. Necessary when using OpenSSL
+ builds with zlib enabled.
+
+ Closes #905
+
+- cmake: add missing #cmakedefines to src
+
+ - `HAVE_MEMSET_S` missing since
+ 03092292597ac601c3f9f0c267ecb145dda75e4e (2018-08-02)
+
+ - `HAVE_EXPLICIT_BZERO` and `HAVE_EXPLICIT_MEMSET` missing since
+ 00005682f7b9a1aa42be50e269056ea873637047 (2023-03-28)
+
+GitHub (31 Mar 2023)
+- [Viktor Szakats brought this change]
+
+ tidy-up: NMakefile (#903)
+
+Viktor Szakats (30 Mar 2023)
+- GNUmakefile: adjust win32/.gitignore [ci skip]
+
+- build: delete references to deleted NMake files [ci skip]
+
+ Follow-up to 057522bb0f15c10c33159e12899ecc60e40aa6ef
+
+GitHub (30 Mar 2023)
+- [Viktor Szakats brought this change]
+
+ NMakefile: merge them into a single file [ci skip] (#902)
+
+ Also:
+
+ - allow to override `AR` and `ARFLAGS`.
+
+ - The extra `src` subdir in the target directory is no longer, to
+ simplify things.
+
+ - gone the dynamically generated `objects.mk`. Now replaced with some
+ tricky logic to do that inline.
+
+ - add necessary `LIBS` for WinCNG. (untested)
+
+ Lightly tested via clang-cl.
+
+- [Viktor Szakats brought this change]
+
+ maketgz: tidy-up [ci skip] (#901)
+
+ - fix shellcheck warnings:
+ - use quotes
+ - use `$()`
+ - use `printf` (instead of calling perl).
+ - indent.
+ - copy/adapt header comment from curl to `maketgz`.
+
+- [Viktor Szakats brought this change]
+
+ ci: flatten AppVeyor jobs, add debug builds (#900)
+
+ This results in better job names (now including CPU), avoiding the
+ complex exception rules, and fine-tuning the order and variation of
+ these tests.
+
+ Enable `LIBSSH2DEBUG` for two of the existing jobs.
+
+- [Viktor Szakats brought this change]
+
+ ci: add VS2022 builds (incl. ARM64) to AppVeyor (#899)
+
+ - add MSVS 2022 WinCNG builds for x64 and ARM64,
+ replacing MSVS 2013 WinCNG builds for x64 and x86.
+
+ - add MSVS 2022 OpenSSL builds for x64.
+
+ - fix a compiler warning uncovered by the new ARM64 build:
+
+ ```
+ tests\openssh_fixture.c(393,17): warning C4477: 'fprintf' : format string '%d' requires an argument of type 'int', but variadic argument 1 has type 'libssh2_socket_t'
+ tests\openssh_fixture.c(393,17): message : consider using '%lld' in the format string
+ tests\openssh_fixture.c(393,17): message : consider using '%Id' in the format string
+ tests\openssh_fixture.c(393,17): message : consider using '%I64d' in the format string
+ ```
+
+ - echo the actual CMake command-line.
+
+ - cmake: echo the DLL filenames found by the OpenSSL DLL-finder
+ heuristics.
+
+ - cmake: delete `libcrypto.dll` and `libssl.dll` names from the above
+ logic.
+
+ I've added these in 19884e5055b6c65f0df93d7cc776a01c518a2f06. That
+ resulted in CMake picking up a rogue `libcrypto.dll` (with no
+ `libssl.dll` pair) from `C:\Windows\System32\` on the
+ `Visual Studio 2022` image, breaking tests.
+
+ Turns out, OpenSSL v1.0.2 uses the "EAY" names, but let's not re-add
+ those either, because CMake mis-picks those up from
+ `C:/OpenSSL-Win64/bin/`, even while pointing `OPENSSL_ROOT_DIR` to a
+ v1.1.1 installation.
+
+ - cmake: set `NO_DEFAULT_PATH` for OpenSSL DLL lookup to avoid picking
+ up all kinds of wrong DLLs. CMake considers not the first, but the
+ _last_ hit the valid one. This happened to be
+ `C:/Program Files/Meson/lib*-1_1.dll` when using the
+ `Visual Studio 2022` image.
+
+ Ref: https://cmake.org/cmake/help/latest/command/find_file.html
+
+ - cmake: leave two commented debug lines that will be useful next time
+ the DLL detection lookup goes wrong.
+
+ Ref: https://cmake.org/cmake/help/latest/variable/CMAKE_FIND_DEBUG_MODE.html
+
+ - on error, also dump `CMakeFiles/CMakeConfigureLog.yaml` if it exists
+ (requires CMake 3.26 and newer)
+
+- [Viktor Szakats brought this change]
+
+ src: fix compiler warning on Darwin (#898)
+
+ ```
+ src/session.c:675:52: warning: implicit conversion loses integer precision: 'long' to '__darwin_suseconds_t' (aka 'int') [-Wshorten-64-to-32]
+ tv.tv_usec = (ms_to_next - tv.tv_sec*1000) * 1000;
+ ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
+ ```
+
+Viktor Szakats (29 Mar 2023)
+- tidy-up: tabs to spaces in Makefile.am [ci skip]
+
+ Follow-up to 2f16d8105c9491beb2a02b3081f4f1c2a224fa62
+
+GitHub (29 Mar 2023)
+- [Viktor Szakats brought this change]
+
+ netware: delete support (#888)
+
+ Last related commit happened 15 years ago.
+ NetWare had it last release in 2009.
+
+ All links referenced from the make file are inaccessible.
+
+- [Viktor Szakats brought this change]
+
+ wolfssl: add workaround for HMAC_Update() len arg difference (#897)
+
+ It's `int` in wolfSSL. `size_t` in OpenSSL/quictls/LibreSSL/BoringSSL.
+
+ Ref: https://github.com/wolfSSL/wolfssl/blob/ba47562d182e10e59813da012e0ab8ef20892231/wolfssl/openssl/hmac.h#L60-L61
+
+ /cc @wolfSSL
+
+- [Viktor Szakats brought this change]
+
+ cmake: introduce variables for lib target names (#896)
+
+ Make our CMake config more self-documenting by introducing variables
+ for the shared and static lib target names. Without this, it might be
+ non-trivial to find out which line is referring to a target name vs
+ libname, export name or other occurrences of `libssh2`.
+
+ This allows to rename back the shared lib target name to the value used
+ before 4e2580628dd1f8dc51ac65ac747ebcf0e93fa3d1:
+ `libssh2_shared` -> `libssh2`, if necessary for compatibility. Notice:
+ before that patch, `libssh2` name referred to either the static or
+ shared lib, depending on build settings.
+
+- [Viktor Szakats brought this change]
+
+ detect and use explicit_bzero() and explicit_memset() (#895)
+
+ Also skip detecting these and `memset_s()` for Windows targets in CMake,
+ to save detection time. On Windows we always use `SecureZeroMemory()`.
+
+- [Viktor Szakats brought this change]
+
+ ci: bump mbedtls (#894)
+
+- [Viktor Szakats brought this change]
+
+ GNUmakefile: minor fix for DYN mode [ci skip] (#893)
+
+ Follow-up to b8762c1003d97e109efa587bdc760ff9873949eb
+
+- [Viktor Szakats brought this change]
+
+ build: delete MS Dev Studio build files (#891)
+
+ Last updated in 2007.
+
+ Also delete `VCPROJ` target remains (necessary files seem to have
+ been missing from the repo all along) for Visual Studio 2008.
+
+Viktor Szakats (28 Mar 2023)
+- checksrc: fix reference in Makefile.am, update options [ci skip]
+
+GitHub (28 Mar 2023)
+- [Viktor Szakats brought this change]
+
+ build: delete native Watcom wmake support with Win32 (#889)
+
+ CMake supports generating Watcom wmake files:
+ https://cmake.org/cmake/help/v3.1/generator/Watcom%20WMake.html
+
+- [Viktor Szakats brought this change]
+
+ checksrc: update and fix warnings (#890)
+
+ Update from:
+ https://github.com/curl/curl/blob/5fec927374e4d9553205d861f2dcb39ec78002cc/scripts/checksrc.pl
+
+ - suppress these new checks:
+
+ - EQUALSNULL: 320 warnings
+ - NOTEQUALSZERO: 142 warnings
+ - TYPEDEFSTRUCT: 16 warnings
+
+ We can enabled them in the future.
+
+ - fix all other new ones.
+
+ - also fix whitespace in two `NMakefile` files.
+
+- [Viktor Szakats brought this change]
+
+ tidy-up: fix/update URLs (#887)
+
+- [Viktor Szakats brought this change]
+
+ tidy-up: fix typos (#886)
+
+ detected by codespell 2.2.4.
+
+- [Viktor Szakats brought this change]
+
+ tidy-up: replace tabs and other whitespace (#885)
+
+ There are a few non-whitespace changes, see them here:
+ https://github.com/libssh2/libssh2/pull/885/files?w=1
+
+- [Viktor Szakats brought this change]
+
+ ci: drop cmake --parallel (#884)
+
+ `--parallel 2` did not seem to make builds faster. Neither did 4 or 6.
+
+ Delete this option from both GHA and AppVeyor jobs.
+
+ On AppVeyor, with VS, it uses MSBuild under the hood where apparently
+ `--parallel` doesn't do much [1]. The suggested MSBuild-specific option
+ `/p:CL_MPcount=2` did not improve build times either.
+
+ CMake spends significant time (comparable to building the project
+ itself) on feature detection, it'd be nice to execute those in parallel,
+ but I found not such CMake option.
+
+ [1] https://discourse.cmake.org/t/parallel-does-not-really-enable-parallel-compiles-with-msbuild/964
+
+ Partial revert of 7a039d9a7a2945c10b4622f38eeed21ba6b4ec55
+
+- [Viktor Szakats brought this change]
+
+ rework how to enable insecure null-cipher/null-MAC (#873)
+
+ Null-cipher and null-MAC are security footguns we want to avoid.
+
+ Existing option names to toggle these were ambiguous and gave room for
+ misinterpretation. Some projects may have had these options enabled by
+ accident.
+
+ This patch aims to make it more difficult to enable them, and making
+ sure that existing methods require an update to stay enabled.
+
+ - delete CMake/autotools settings to enable the "none" cipher and MAC.
+
+ - rename existing C macros that can enable them.
+
+ To use them, pass them as custom `CPPFLAGS` to the build.
+
+ - enable them only if `LIBSSH2DEBUG` is also enabled.
+
+ Best would be to delete them, though they may have some use while
+ developing libssh2 itself, or debugging.
+
+- [Viktor Szakats brought this change]
+
+ delete old gex (SSH2_MSG_KEX_DH_GEX_REQUEST_OLD) build option (#872)
+
+ libssh2 supports an "old" style KEX message
+ `SSH2_MSG_KEX_DH_GEX_REQUEST_OLD`, as an off-by-default build option.
+
+ OpenSSH deprecated/disabled this feature in v6.9 (2015-07-01):
+ https://www.openssh.com/releasenotes.html#6.9
+
+ This patch deletes this obsolete feature from libssh2, with no option
+ to enable it.
+
+ Added to libssh2 in: cf8ca63ea0c9388c8ae9079961d7e6a91b72b5c8 (2004-12-31)
+ RFC: https://datatracker.ietf.org/doc/html/rfc4419 (2006-03)
+
+- [Viktor Szakats brought this change]
+
+ src: more tolerant snprintf() local override (#881)
+
+ `#undef snprintf` before redefining it, when `HAVE_SNPRINTF` is not
+ defined, even though `snprintf` is available and it should have been.
+ Possibly with 3rd party builds.
+
+ Downside is that cases of missing `HAVE_SNPRINTF` are less trivially
+ detected at compile-time.
+
+- [Viktor Szakats brought this change]
+
+ ci: fix cmake warning with AppVeyor WinCNG builds (#883)
+
+ ```
+ CMake Warning:
+ Manually-specified variables were not used by the project:
+
+ OPENSSL_ROOT_DIR
+ ```
+
+ Follow-up to 0834b9bcc85b90c78afff103f909b5a909b95e45
+
+- [Viktor Szakats brought this change]
+
+ ci: cmake `ENABLE_WERROR` -> `ON` (#877)
+
+ Consider warnings as errors for CMake jobs in CI.
+
+Viktor Szakats (26 Mar 2023)
+- src: silence compiler warnings 4 (alignment in WinCNG)
+
+ Silence alignment warnings in WinCNG, by reworking the code.
+
+ Also add two unrelated casts to avoid gcc compiler warnings
+ in surrounding code.
+
+ `increases required alignment from 1 to 4 [-Wcast-align]`
+ `increases required alignment from 1 to 8 [-Wcast-align]`
+
+ See warning details in the PR's individual commits.
+
+ Reviewed-by: Marc Hörsken in
+ Cherry-picked from #846
+ Closes #880
+
+- src: silence compiler warnings 3 (change types)
+
+ Apply type changes to avoid casts and warnings. In most cases this
+ means changing to a larger type, usually `size_t` or `ssize_t`.
+
+ Change signedness in a few places.
+
+ Also introduce new variables to avoid reusing them for multiple
+ purposes, to avoid casts and warnings.
+
+ - add FIXME for public `libssh2_sftp_readdir_ex()` return type.
+
+ - fix `_libssh2_mbedtls_rsa_sha2_verify()` to verify if `sig_len`
+ is large enough.
+
+ - fix `_libssh2_dh_key_pair()` in `wincng.c` to return error if
+ `group_order` input is negative.
+
+ Maybe we should also reject zero?
+
+ - bump `_libssh2_random()` size type `int` -> `size_t`. Add checks
+ for WinCNG and OpenSSL to return error if requested more than they
+ support (`ULONG_MAX`, `INT_MAX` respectively).
+
+ - change `_libssh2_ntohu32()` return value `unsigned int` -> `uint32_t`.
+
+ - fix `_libssh2_mbedtls_bignum_random()` to check for a negative `top`
+ input.
+
+ - size down `_libssh2_wincng_key_sha_verify()` `hashlen` to match
+ Windows'.
+
+ - fix `session_disconnect()` to limit length of `lang_len`
+ (to 256 bytes).
+
+ - fix bad syntax in an `assert()`.
+
+ - add a few `const` to casts.
+
+ - `while(1)` -> `for(;;)`.
+
+ - add casts that didn't fit into #876.
+
+ - update `docs/HACKING-CRYPTO` with new sizes.
+
+ May need review for OS400QC3: /cc @monnerat @jonrumsey
+
+ See warning details in the PR's individual commits.
+
+ Cherry-picked from #846
+ Closes #879
+
+- src: silence compiler warnings 2 (ZLIB interface)
+
+ Silence warnings in the ZLIB interface by adding casts and changing
+ types.
+
+ See PR for individual commits.
+
+ Cherry-picked from #846
+ Closes #878
+
+- src: silence compiler warnings 1
+
+ Most of the changes aim to silence warnings by adding casts.
+
+ An assortment of other issues, mainly compiler warnings, resolved:
+
+ - unreachable code fixed by using `goto` in
+ `publickey_response_success()` in `publickey.c`.
+
+ - potentially uninitialized variable in `sftp_open()`.
+
+ - MSVS-specific bogus warnings with `nid_type` in `kex.c`.
+
+ - check result of `kex_session_ecdh_curve_type()`.
+
+ - add missing function declarations.
+
+ - type changes to fit values without casts:
+ - `cmd_len` in `scp_recv()` and `scp_send()`: `int` -> `size_t`
+ - `Blowfish_expandstate()`, `Blowfish_expand0state()` loop counters:
+ `uint16_t` -> `int`
+ - `RECV_SEND_ALL()`: `int` -> `ssize_t`
+ - `shell_quotearg()` -> `unsigned` -> `size_t`
+ - `sig_len` in `_libssh2_mbedtls_rsa_sha2_sign()`:
+ `unsigned` -> `size_t`
+ - `prefs_len` in `libssh2_session_method_pref()`: `int` -> `size_t`
+ - `firstsec` in `_libssh2_debug_low()`: `int` -> `long`
+ - `method_len` in `libssh2_session_method_pref()`: `int` -> `size_t`
+
+ - simplify `_libssh2_ntohu64()`.
+
+ - fix `LIBSSH2_INT64_T_FORMAT` for MinGW.
+
+ - fix gcc warning by not using a bit field for
+ `burn_optimistic_kexinit`.
+
+ - fix unused variable warning in `_libssh2_cipher_crypt()` in
+ `libgcrypt.c`.
+
+ - fix unused variables with `HAVE_DISABLED_NONBLOCKING`.
+
+ - avoid const stripping with `BIO_new_mem_buf()` and OpenSSL 1.0.2 and
+ newer.
+
+ - add a missing const in `wincng.h`.
+
+ - FIXME added for public:
+ - `libssh2_channel_window_read_ex()` `read_avail` argument type.
+ - `libssh2_base64_decode()` `datalen` argument type.
+
+ - fix possible overflow in `sftp_read()`.
+
+ Ref: 4552c73cd58fccb1fc49cb0f25f86619133e560f
+
+ - formatting in `wincng.h`.
+
+ See warning details in the PR's individual commits.
+
+ Cherry-picked from #846
+ Closes #876
+
+GitHub (24 Mar 2023)
+- [Viktor Szakats brought this change]
+
+ cmake: automatic exports macro tidy-up (#875)
+
+ In a recent CMake update I left the original CMake EXPORTS macro
+ unchanged (`libssh2_EXPORTS`) for compatibility.
+
+ However, that macro was also recently added [1] and not present in an
+ official release yet, so we might as well just use the new native one
+ instead (`libssh2_shared_EXPORTS`), defined by CMake automatically.
+ This way we don't need to define the old macro manually.
+
+ CMake forms this macro from the lib's internal name as defined in
+ `add_library()` by appending `_EXPORTS`. That target name changed from
+ `libssh2` to `libssh2_shared` after introducing dual shared + static
+ builds in the recent update.
+
+ If we're here, add a new, stable, build-tool agnostic macro with the
+ same effect, for non-CMake use: `LIBSSH2_EXPORTS`
+
+ [1] 1f0fe7443a1ecddd320f2c693607b2afee9bbe2f (2021-10-26)
+
+ Follow-up to 4e2580628dd1f8dc51ac65ac747ebcf0e93fa3d1
+
+- [Viktor Szakats brought this change]
+
+ maketgz: add .xz, .bz2, .zip source archive formats (#874)
+
+ Copied from curl:
+ https://github.com/curl/curl/blob/4528690cd51e5445df74aef8f83470a602683797/maketgz#L174-L222
+
+ [ci skip]
+
+Viktor Szakats (23 Mar 2023)
+- dist: delete reference to recently deleted file [ci skip]
+
+ Follow-up to b8762c1003d97e109efa587bdc760ff9873949eb
+
+GitHub (23 Mar 2023)
+- [Viktor Szakats brought this change]
+
+ cmake: separate compilation passes for shared/static (#871)
+
+ Before this patch, cmake did a single compilation pass when we enabled
+ both shared and static lib targets. This saves build time (esp. with
+ MinGW targets and cross-compiling), but has the disadvantage that static
+ libs built this way must have PIC enabled (offering slightly less
+ performance) and `dllexport` enabled also, which means that executables
+ linking the static libssh2 lib export its public symbols.
+
+ To avoid these downsides, this patch separates the two passes and
+ creates a non-PIC, non-`dllexport` static lib, even when also building
+ the shared lib.
+
+- [Viktor Szakats brought this change]
+
+ ci: test with OpenSSL v1.1.1 on AppVeyor (#870)
+
+ Was: v1.0.2.
+
+ Keep using v1.0.2 with the static-only test. To make sure we don't break
+ support.
+
+- [Viktor Szakats brought this change]
+
+ ci: speed up static-only build tests on AppVeyor (#868)
+
+ - limit static-only build to a single platform (x64).
+
+ - skip running ctest for the static-only build.
+
+ - use MSVS 2013 for static-only builds. It's faster.
+
+ - run static-only test before WinCNG ones. Otherwise it's often skipped
+ due to WinCNG failures (#804).
+
+- [Viktor Szakats brought this change]
+
+ cmake: fix error with static lib off and example/tests on (#869)
+
+ Regression from 4e2580628dd1f8dc51ac65ac747ebcf0e93fa3d1
+
+- [Viktor Szakats brought this change]
+
+ ci: parallelize more (#867)
+
+- [Viktor Szakats brought this change]
+
+ cmake/src: move build options before target definitions (#864)
+
+ To allow more flexibility when defining targets.
+
+- [Viktor Szakats brought this change]
+
+ ci: use static+shared builds to cut number of cmake jobs (#865)
+
+ With CMake builds supporting static-shared libssh2 builds in a single
+ pass, we no longer need to run static and shared jobs separately. For
+ the same effect it's enough to run builds with both shared and static
+ builds enabled. Halving CI jobs.
+
+ We add an extra run to test the CMake config-path without shared builds
+ enabled.
+
+ This allows to add useful jobs, e.g. MSVS 2022 or ZLIB-enabled builds
+ for Windows, valgrind builds or other useful stuff, without stretching
+ CI run times further.
+
+ Ref: #863
+
+Viktor Szakats (22 Mar 2023)
+- cmake: allow building static + shared libs in a single pass
+
+ - `BUILD_SHARED_LIBS=ON` no longer disables building static lib.
+
+ When set, we build the static lib with PIC enabled.
+
+ For shared lib only, set `BUILD_STATIC_LIBS=OFF`. For static lib
+ without PIC, leave this option disabled.
+
+ - new setting: `BUILD_STATIC_LIBS`. `ON` by default.
+
+ Force-enabled when building examples or tests (we build those in
+ static mode always.)
+
+ - fix to exclude Windows Resource from the static lib.
+
+ - fix to not overwrite static lib with shared implib on Windows
+ platforms using identical suffix for them (MSVS). By using
+ `libssh2_imp<.ext>` implib filename.
+
+ - add support for `STATIC_LIB_SUFFIX` setting to set an optional suffix
+ (e.g. `_static`) for the static lib. (experimental, not documented).
+ Overrides the above when set.
+
+ - fix to set `dllexport` when building shared lib.
+
+ - set `TrackFileAccess=false` for MSVS.
+
+ For faster builds, shorter verbose logs.
+
+ - tests: new test linking against shared libssh2: `test_warmup_shared`
+
+ - tests: simplify 'runner' lib by merging 3 libs into a single one.
+
+ - tests: drop hack from `test_keyboard_interactive_auth_info_request`
+ build.
+
+ We no longer need to compile `src/misc.c` because we always link
+ libssh2 statically.
+
+ - tests: limit `FIXTURE_WORKDIR=` to the `runner` target.
+
+ TL;DR: Default behavior unchanged: static (no-PIC), no shared.
+ Enabling shared unchanged, but now also builds a static (PIC)
+ lib by default.
+
+ Based-on: b60dca8b6450a9729670986d2899cca54ccdbb6d #547 by berney on github
+ Fixes: #547
+ Fixes: #675
+ Closes: #863
+
+- include: silence warnings with casts in public `libssh2_sftp.h`
+
+ Avoid triggering warnings in macros coming from public libssh2 headers.
+
+ Cherry-picked from: #846
+ Closes #862
+
+- example, tests: address compiler warnings
+
+ Fix or silence all C compiler warnings discovered with (or without)
+ `PICKY_COMPILER=ON` (in CMake). This means all warnings showing up in
+ CI (gcc, clang, MSVS 2013/2015), in local tests on macOS (clang 14) and
+ Windows cross-builds using gcc (12) and llvm/clang (14/15).
+
+ Also fix the expression `nread -= nread` in `sftp_RW_nonblock.c`.
+
+ Cherry-picked from: #846
+ Closes #861
+
+- openssl: require `EVP_aes_128_ctr()` support
+
+ libssh2 built with OpenSSL and without its `EVP_aes_128_ctr()`, aka
+ `HAVE_EVP_AES_128_CTR`, option are working incorrectly. This option
+ wasn't always auto-detected by autotools up until recently (#811).
+ Non-cmake, non-autotools build methods never enabled it automatically.
+
+ OpenSSL supports this options since at least v1.0.2, which is already
+ EOLed and considered obsolete. OpenSSL forks (LibreSSL, BoringSSL)
+ supported it all along.
+
+ In this patch we enable this option unconditionally, now requiring
+ OpenSSL supporting this function, or one of its forks.
+
+ Also modernize OpenSSL lib references to what 1.0.2 and newer versions
+ have been using.
+
+ Fixes #739
+
+- wincng: fix memory leak in `_libssh2_dh_secret()`
+
+ Patch-by: iruis on github
+ Assisted-by: Marc Hörsken
+ Bug #846, commit e3487092ef9553af67633c6747cb9ab2f86465e0.
+ Fixes #856
+ Closes #858
+
+GitHub (19 Mar 2023)
+- [Viktor Szakats brought this change]
+
+ nw, os400, watcom: stop setting unused macros [ci skip] (#859)
+
+Viktor Szakats (19 Mar 2023)
+- cmake: fix `ENABLE_WERROR=ON` breaking auto-detections
+
+ - cmake: fix compiler warnings in `CheckNonblockingSocketSupport`.
+ detection functions.
+
+ Without this, these detections fail when `ENABLE_WERROR=ON`.
+
+ - cmake: disable ENABLE_WERROR for MSVC during symbol checks in `src`.
+
+ CMake's built-in symbol check function `check_symbol_exists()`
+ generate warnings with MSVC. With warnings considered errors, these
+ detections fail permanently. Our workaround is to disable
+ warnings-as-errors while running these checks.
+
+ ```
+ CheckSymbolExists.c(8): warning C4054: 'type cast': from function pointer '__int64 (__cdecl *)(const char *,char **,int)' to data pointer 'int *'
+ in `return ((int*)(&strtoll))[argc];`
+ ```
+
+ Ref: https://ci.appveyor.com/project/libssh2org/libssh2/builds/46537222/job/4vg4yg333mu2lg9b
+
+ - example: replace `strcasecmp()` with C89 `strcmp()`.
+
+ To avoid using CMake symbol checks in `example`.
+
+ Another option is to duplicate the `check_symbol_exists()` workaround
+ from `src`, but I figure it's not worth the complexity. We use
+ `strcasecmp()` solely to check optional command-line options for
+ example programs, and those are fine as lower-case.
+
+ Without this, these detections fail when `ENABLE_WERROR=ON`.
+
+ - also delete `__function__` detection/use in `example`.
+
+ To avoid the complexity for the sake of using it at a single place in
+ of the example's error branch. Replace that use with a literal name of
+ the function.
+
+ - cmake: also use `CMakePushCheckState` functions instead of manual
+ save/restore.
+
+ Closes #857
+
+- build: improve a test build workaround with bcrypt
+
+ - cmake: extend workaround for linking a test with shared libssh2.
+
+ One of the tests uses internal libssh2 functions, and with CMake it
+ compiles `src/misc.c` directly for this. `misc.c` references bcrypt /
+ blowfish code. This needs a workaround for build configs where libssh2
+ doesn't export these.
+
+ Before this patch, we enabled this workaround for MSVC.
+
+ In the patch we extend this to all Windows. There is no CI test for
+ this, but gcc and llvm/clang + mingw64 builds also need it. This may
+ well apply to other configurations (it should, as shared libs are not
+ supposed to export internal functions), so also make it easy to enable
+ it at a single point.
+
+ [ autotools builds force-link this one test against static libssh2. ]
+
+ - make `misc.c` not depend on bcrypt.
+
+ By moving out our `bcrypt_pbkdf()` wrapper into `bcrypt_pbkdf.c`
+ itself.
+
+ This allows to compile `misc.c` into tests without pulling in bcrypt /
+ blowfish functions, and simplify the above workaround.
+
+ Source code uses `HAVE_BCRYPT_PBKDF`, a leftover from original bcrypt
+ source. We never define this inside libssh2. Defining it breaks the
+ build, and this patch doesn't change that.
+
+ - make `bcrypt_pbkdf()` static.
+
+ While here, make the low-level `bcrypt_pbkdf()` function static to
+ avoid namespace pollution.
+
+ Closes #855
+
+GitHub (17 Mar 2023)
+- [Viktor Szakats brought this change]
+
+ ci: more timeout adjustments (#853)
+
+ - add timeout to SSH connection wait loop in AppVeyor test prep.
+ (2 minutes)
+
+ - switch to per-step timeout for GitHub CI cmake/ctest runs.
+ (10 minutes)
+
+ ctest timeout (of 450 seconds) didn't seem to make any difference.
+
+Viktor Szakats (17 Mar 2023)
+- ci: set timeout to ctest and GitHub CI jobs
+
+ - `ctest` shows a the default timeout '10000000' (turns out to be
+ in seconds), cause infinite waits e.g. in case the necessary server
+ worker is not available.
+
+ CMake CI tests take approx:
+ - GitHub / Linux : 125 seconds
+ - AppVeyor / Windows: 300 seconds
+
+ New timeouts are: 450 and 900 seconds respectively.
+
+ - set timeouts for style-check, fuzz, Linux and Windows GitHub CI
+ jobs to avoid hanging forever.
+
+ Also:
+
+ - move `choco install` to before_test to make builds start faster
+ in `appveyor.yml`.
+
+ - fix some yamllint `ON`/`OFF`-confusion issue by quoting these
+ values in `appveyor.yml`.
+
+ - fix indentation in `appveyor.yml`.
+
+ - convert to GitHub workflows to LF line-ending.
+
+ Ref: https://github.com/libssh2/libssh2/pull/655#issuecomment-1472853493
+
+ Closes #851
+
+GitHub (17 Mar 2023)
+- [Viktor Szakats brought this change]
+
+ ci: update mbedTLS repo URL, delete Travis CI (#850)
+
+ Last Travis CI session run on 2021-11-18.
+
+ Ref: https://app.travis-ci.com/github/libssh2/libssh2
+ Ref: https://travis-ci.org/github/libssh2/libssh2/builds
+
+- [Viktor Szakats brought this change]
+
+ appveyor.yml: reorder tests to return relevant feedback earlier (#849)
+
+ - build x64 first
+
+ x64 is the more interesting target. Most type conversion issues are
+ revealed here. Also more commonly used by now.
+
+ - test VS 2013 earlier
+
+ - test WinCNG earlier
+
+ - delete reference to no longer used VS 2008
+
+ After this patch we end up starting with all Shared builds (2015, 2013,
+ OpenSSL, WinCNG), then continue with Static ones. Shared/Static makes
+ a minor if any difference in builds/tests compared to different VS
+ versions of TLS backends.
+
+ --
+
+ CI run times:
+
+ Preparation + build takes:
+ 8 x VS2015 4.5 mins -> total: 36
+ 8 x VS2013 2 mins -> total: 16
+ Total: 52 mins
+
+ with our 30 tests, it increases to:
+ 8 x VS2015 8-10 mins -> total: 72
+ 8 x VS2013 6- 9 mins -> total: 60
+ Total: 132 mins
+
+ Without tests: https://ci.appveyor.com/project/libssh2org/libssh2/builds/46475315
+ With tests: https://ci.appveyor.com/project/libssh2org/libssh2/builds/46480549
+
+Dan Fandrich (14 Mar 2023)
+- src: check for NULL pointer passed to _libssh2_get_string
+
+ Callers should be protecting against this, but it's prudent to check
+ here anyway.
+
+ Fixes #802
+ Closes #848
+
+Viktor Szakats (14 Mar 2023)
+- appveyor.yml: choco install improvements [ci skip]
+
+ - avoid outputting 4000 log lines by hiding the progress bar.
+ Reduces log size by 5x.
+
+ - decrease timeout (from the default 2700 seconds).
+
+ - omit unnecessary output.
+
+ Tested as part of #846
+
+GitHub (14 Mar 2023)
+- [Jakob Egger brought this change]
+
+ build: update instructions for autoreconf (#847)
+
+ The "convenience script" talks about the "buildconf" file,
+ which is no longer recommended.
+
+- [Viktor Szakats brought this change]
+
+ win32: set HAVE_STRTOLL with MSVS 2013 and newer (#845)
+
+ As in curl:
+ https://github.com/curl/curl/blob/7fa6e36583b52dd8f1e639b370c9a2849be81b54/lib/config-win32.h#L221
+
+- [Viktor Szakats brought this change]
+
+ GNUmakefile: move HAVE_STRTOLL to libssh2_config.h [ci skip] (#844)
+
+- [Viktor Szakats brought this change]
+
+ src: silence unused variable warnings (#843)
+
+Viktor Szakats (13 Mar 2023)
+- GNUmakefile: add wolfSSL support + major rework
+
+ - add wolfSSL support.
+ - reduce size and redundant logic.
+ - fix a bunch of small issues.
+ - rework configuration, now with: `CC`, `AR`, `RC`, `TRIPLET`, `CFLAGS`,
+ `CPPFLAGS`, `LDFLAGS`, `RCFLAGS`, `LIBS`, `LIBSSH2_DLL_SUFFIX`,
+ `LIBSSH2_LDFLAGS_LIB`, `LIBSSH2_LDFLAGS_BIN` (and more).
+ - merge examples build into the main Makefile.
+ - relative dependency paths are now the same for building libssh2 or
+ examples.
+ - drop detection for obsolete OpenSSL versions (can be configure via new
+ `OPENSSL_LIBS`).
+ - merge dev/dist distribution zip options.
+ - build libssh2 with `-DHAVE_STRTOLL`.
+ - tidy-up.
+ - build examples in static mode by default (use `DYN` to build them in
+ shared mode).
+ - drop forced (in non-debug mode) `-O2`.
+ - drop Win9x support.
+ - deprecate `ARCH` in favour of custom options and `TRIPLET`.
+ - drop Windows resources from examples for simplicity
+ - drop `WITH_ZLIB`. Default `ZLIB_PATH` to enable zlib support.
+ - drop `LIBSSH2_DLL_A_SUFFIX`, use standard value `.dll` (as in
+ `libssh2.dll.a`).
+ - always link `bcrypt` (for LibreSSL and OpenSSL) and `crypt32`
+ (for wolfSSL).
+ - unhide executed build commands.
+ - fix mbedTLS `lib` path
+ - drop specific options to force static linking. Custom options seems
+ a better way for this.
+ - based on similar work made for curl:
+ https://github.com/curl/curl/commit/a8861b6ccdd7ca35b6115588a578e36d765c9e38
+
+ Closes #842
+
+GitHub (13 Mar 2023)
+- [Viktor Szakats brought this change]
+
+ wincng: fix memory leak in libssh2_dh_key_pair() (#829)
+
+ Fixes #722
+
+- [Viktor Szakats brought this change]
+
+ src: C89-compliant _libssh2_debug() macro (#831)
+
+ Before this patch, with debug logging disabled, libssh2 code used a
+ variadic macro to catch `_libssh2_debug()` calls, and convert them to
+ no-ops. In certain conditions, it used an empty inline function instead.
+
+ Variadic macro is a C99 feature. It means that depending on compiler,
+ and build settings, it littered the build log with warnings about this.
+
+ The new solution uses the trick of passing the variable arg list as a
+ single argument and pass that down to the debug function with a regular
+ macro. When disabled, another regular C89-compatible macro converts it
+ to a no-op.
+
+ This makes inlining, C99 variadic macros and maintaining the conditions
+ for each unnecessary and also makes the codebase compile more
+ consistently, e.g. with forced C standards and/or picky warnings.
+
+ TL;DR: It makes this feature C89-compliant.
+
+- [Viktor Szakats brought this change]
+
+ openssl: fix possible compiler warning in macro condition (#839)
+
+ Building with wolfSSL or pre-OpenSSL v1.1.1 triggered it.
+
+ ```
+ ../src/openssl.h:130:5: warning: 'LIBRESSL_VERSION_NUMBER' is not defined, evaluates to 0 [-Wundef]
+ LIBRESSL_VERSION_NUMBER >= 0x3070000fL
+ ^
+ ```
+
+ Regression from 2e2812dde8c1fc9b48eca592823770ab2e601f7a
+
+- [Viktor Szakats brought this change]
+
+ GNUmakefile: cleanups [ci skip] (#840)
+
+ - indent
+ - sync `test/GNUmakefile` with main
+ - delete `RANLIB`
+ - use `else if`
+ - use more `?=`
+ - use ASCII-7 copyright symbol (in test)
+
+- [Viktor Szakats brought this change]
+
+ win32: convert tabs to spaces [ci skip] (#838)
+
+ Also strip stray newlines from `win32/rules.mk`.
+
+- [Viktor Szakats brought this change]
+
+ ci: retry choco install on appveyor (#837)
+
+ Trying to mitigate occasional intermittent failures while installing
+ docker.
+
+ Ref: https://ci.appveyor.com/project/libssh2org/libssh2/builds/46460704/job/g3t7bro6ta6n3pk6#L52
+
+- [Viktor Szakats brought this change]
+
+ cmake: drop unnecessary exception for warmup build (#835)
+
+- [Viktor Szakats brought this change]
+
+ cmake: reflect minimum version in docs (#834)
+
+ Follow-up to 505ea626b6e125b7ce15caf453b522192008a884
+
+- [Viktor Szakats brought this change]
+
+ cmake: add wolfSSL support to tests (#833)
+
+ wolfSSL supports building with zlib as a dependency, that's the reason
+ for the ZLIB logic in the patch.
+
+ Also add it to `docs/INSTALL_CMAKE.md` and to the help text in
+ `src/CMakeLists.txt`.
+
+ Running tests not actually tested.
+
+ Follow-up to 9f217a17f6f3c2047c4a1668a5c037a75a02abfd
+
+ Ref: #817
+
+- [Viktor Szakats brought this change]
+
+ tests: workaround for intermittent first test failures (#832)
+
+ Flakiness got continously worse these last days. It didn't seem related
+ to recent commits. Flakiness also picked up in GitHub CI runs, something
+ rarely seen before. Manual restart consistently fixed them.
+
+ The repeating pattern was the _first_ test (`test_hostkey`) failing,
+ with `libssh2_session_handshake failed (-13): Failed getting banner`.
+ Failures came after a lengthy wait, suggesting a timeout.
+
+ I then reversed the order of the first two tests, and it turned out that
+ the _first_ test failed again (`test_hostkey_hash`). Also pointing to a
+ timeout issue.
+
+ Then I added a dummy test to "warm up" whatever needs warming up in the
+ layers of CI + Docker + ssh server and their interconnects. This helped,
+ and GitHub CI tests run without failure right for the first time.
+ AppVeyor CI also improved a little.
+
+ This patch adds a new first test called `test_warmup`, that creates a
+ new libssh2 session, and exits with success even if that attempt failed.
+
+ A stop-gap solution at best, and there is no guarantee it will continue
+ to fix this or similar future issues, but it's also untenable to have
+ almost every CI run fail for intermittent reasons.
+
+ In some [1] cases [2] it's not the first test failing intermittently.
+ That's a different issue, and this patch doesn't fix it.
+
+ [1] #804
+ [2] https://ci.appveyor.com/project/libssh2org/libssh2/builds/46440828/job/8rej6cq6itg7vc4w#L500
+
+- [Viktor Szakats brought this change]
+
+ cmake: detect HAVE_SNPRINTF for tests (#830)
+
+ Turns out `test_keyboard_interactive_auth_info_request.c` requires
+ `src/libssh2_priv.h`, which in turn requires a correctly set
+ `HAVE_SNPRINTF`.
+
+ Follow-up to 4cdf785cd313c3272d04c2ef7458a35d44533d8b.
+
+- [Viktor Szakats brought this change]
+
+ cmake: unset forced CMAKE_C_STANDARD 90 (#822)
+
+ Added in cf80f2f4b5255cc85a04ee43b27a29c678c1edb1 (on 2016-08-14),
+ with the title "Basic dockerised test suite".
+
+ It's not clear why a C standard was explicitly set, but a side-effect
+ of this is that CMake-built binaries diverged from ones built with
+ autotools or GNU Make (using the same compiler and configuration).
+
+ Another issue is that this may introduce ABI incompatibility with
+ binaries built with a different C standard flag, e.g. the C compiler
+ default or one used for other components of a final app.
+
+ Seems unlikely, but if our tests require this option, we should set it
+ for the CI builds only?
+
+- [Viktor Szakats brought this change]
+
+ example: silence MSVS 2013 C4127 warnings (#828)
+
+- [Viktor Szakats brought this change]
+
+ cmake: reposition ws2_32 to make binutils ld work again (#827)
+
+ This restores socket libs to their pre-regression positions.
+
+ Without this, `ld` doesn't find `ws2_32` symbols when referenced
+ from TLS libs.
+
+ Regression from 31fb8860dbaae3e0b7d38f2a647ee527b4b2a95f
+
+- [Viktor Szakats brought this change]
+
+ fix compiling with LIBSSH2_NO_CLEAR_MEMORY and OpenSSL (#825)
+
+ Regression from a0e424a51c27cc27af611ba20d134f9a9ae35273
+
+ Fixes #824
+
+- [Viktor Szakats brought this change]
+
+ snprintf: add missing prototype for local replacement (#820)
+
+ Should fix these warnings with MSVS 2013 and older:
+ `agent.c(294): warning C4013: '_libssh2_snprintf' undefined; assuming extern returning int`
+
+ Follow-up to 4cdf785cd313c3272d04c2ef7458a35d44533d8b.
+
+- [Viktor Szakats brought this change]
+
+ build: set _FILE_OFFSET_BITS=64 for mingw-w64 (#821)
+
+ autotools builds already did auto-detect and set this mingw-specific
+ macro, but CMake and GNU Make builds did not. This patch fixes that.
+
+ Necessary for `src/scp.c`.
+
+- [Viktor Szakats brought this change]
+
+ cmake: add os400qc3.c to SOURCES (#826)
+
+ This re-syncs the list of compiled objects in cmake builds with
+ non-cmake builds.
+
+ Follow-up to 16619a8eddec35bb8582d1c334db0fc13b0817c4.
+
+- [Viktor Szakats brought this change]
+
+ build: silence bogus C4127 warnings with MSVS 2013 and earlier (#819)
+
+ E.g.:
+ `channel.c(370): warning C4127: conditional expression is constant`
+ Ref:
+ https://ci.appveyor.com/project/libssh2org/libssh2/builds/46437333/job/5rak1vcl9hue31ei#L190
+
+- [Viktor Szakats brought this change]
+
+ cmake: use only needed socket libs when checking non-blocking sockets (#816)
+
+ Based on patch by Christian Beier.
+
+ Fixes #694
+ Closes #712
+
+- [Viktor Szakats brought this change]
+
+ cmake: update openssl dll list (#818)
+
+ Add OpenSSL 3 and versionless DLL names. Also modernize warning messages
+ and variable names.
+
+ Do we need the OpenSSL-Windows-specific check and the related
+ `RUNTIME_DEPENDENCIES` feature? The list of OpenSSL DLLs was out of date
+ for 1.5 years without anybody noticing. Keeping it fresh is a chore and
+ copying around DLL dependencies rarely helps as much as expected. This
+ check also results in unuseful warnings in certain build scenarios, e.g.
+ when linking to OpenSSL statically.
+
+- [Viktor Szakats brought this change]
+
+ cmake: add wolfSSL support (#817)
+
+ Implement wolfSSL support for libssh2 when building with CMake.
+
+ Configuration example from curl-for-win:
+ ```
+ -DCRYPTO_BACKEND=wolfSSL
+ -DWOLFSSL_LIBRARY=/path-to/wolfssl/lib/libwolfssl.a
+ -DWOLFSSL_INCLUDE_DIR=/path-to/wolfssl/include
+ ```
+
+ Module `cmake/Findwolfssl.cmake` copied from:
+ https://github.com/ngtcp2/ngtcp2/blob/e4d920c4b7a350d63b6978c68b216b76faa12635/cmake/Findwolfssl.cmake
+ via commit:
+ https://github.com/ngtcp2/ngtcp2/commit/296396d3730b721ad97f9de22f525400f8524c0e
+ by Stefan Eissing
+
+- [Viktor Szakats brought this change]
+
+ cmake: restore non-Windows socket lib detection (#815)
+
+ I mistakenly pruned some non-Windows logic, also missing the fact that
+ our local `check_function_exists_may_need_library()` set the `NEED_*`
+ variables. Oddly, only `src` imported this function, yet also `examples`
+ and `tests` called it indirectly. The referenced `HAVE_SOCKET` /
+ `HAVE_INET_ADDR` variables might be coming from an upstream CMake
+ project? Leaving those there also, just in case.
+
+ Regression from 31fb8860dbaae3e0b7d38f2a647ee527b4b2a95f
+
+Viktor Szakats (7 Mar 2023)
+- build: more fixes and tidy-up (mostly for Windows)
+
+ - cmake: always link `ws2_32` on Windows. Also add it to `libssh2.pc`.
+
+ Fixes #745
+
+ - agent: fix gcc compiler warning:
+ `src/agent.c:296:35: warning: 'snprintf' output truncated before the last format character [-Wformat-truncation=]`
+
+ - autotools: fix `EVP_aes_128_ctr` detection with binutils `ld`
+
+ The prerequisite for a successful detection is setting
+ `LIBS=-lbcrypt` if the chosen openssl-compatible library requires
+ it, e.g. libressl, or quictls/openssl built with
+ `-DUSE_BCRYPTGENRANDOM`.
+
+ With llvm `lld`, detection works out of the box. With binutils `ld`,
+ it does not. The reason is `ld`s world-famous pickiness with lib
+ order.
+
+ To fix it, we pass all custom libs before and after the TLS libs.
+ This ugly hack makes `ld` happy and detection succeed.
+
+ - agent: fix Windows-specific warning:
+ `src/agent.c:318:10: warning: implicit conversion loses integer precision: 'LRESULT' (aka 'long long') to 'int' [-Wshorten-64-to-32]`
+
+ - src: fix llvm/clang compiler warning:
+ `src/libssh2_priv.h:987:28: warning: variadic macros are a C99 feature [-Wvariadic-macros]`
+
+ - src: support `inline` with `__GNUC__` (llvm/clang and gcc), fixing:
+ ```
+ src/libssh2_priv.h:990:8: warning: extension used [-Wlanguage-extension-token]
+ static inline void
+ ^
+ ```
+
+ - blowfish: support `inline` keyword with MSVC.
+
+ Also switch to `__inline__` (from `__inline`) for `__GNUC__`:
+ https://gcc.gnu.org/onlinedocs/gcc/Inline.html
+ https://clang.llvm.org/docs/UsersManual.html#differences-between-various-standard-modes
+
+ - example/test: fix MSVC compiler warnings:
+
+ - `example\direct_tcpip.c(209): warning C4244: 'function': conversion from 'unsigned int' to 'u_short', possible loss of data`
+ - `tests\session_fixture.c(96): warning C4013: 'getcwd' undefined; assuming extern returning int`
+ - `tests\session_fixture.c(100): warning C4013: 'chdir' undefined; assuming extern returning int`
+
+ - delete unused macros:
+ - `HAVE_SOCKET`
+ - `HAVE_INET_ADDR`
+ - `NEED_LIB_NSL`
+ - `NEED_LIB_SOCKET`
+ - `HAVE_NTSTATUS_H`
+ - `HAVE_NTDEF_H`
+
+ - build: delete stale zlib/openssl version numbers from path defaults.
+
+ - cmake: convert tabs to spaces, add newline at EOFs.
+
+ Closes #811
+
+- cmake: make `test_read` runs cross-build-friendly
+
+ Improve tests added in 7487dcf4b4ddae54b2a850737789b57b4251b0ae by
+ running `test_read` commands directly. This makes external shell/batch
+ files unnecessary, and is friendlier with cross-builds and when run
+ from non-default shells, like MSYS2.
+
+ Also extend CRYPT/MAC test error messages with the CRYPT/MAC name.
+
+ External runner shell scripts kept for future use.
+
+ Closes #814
+
+- src: enable clear memory on all platforms
+
+ - convert `_libssh2_explicit_zero()` to macro. This allows inlining
+ where supported (e.g. `SecureZeroMemory()`).
+
+ - replace `SecureZeroMemory()` (in `wincng.c`) and
+ `LIBSSH2_CLEAR_MEMORY`-guarded `memset()` (in `os400qc3.c`) with
+ `_libssh2_explicit_zero()` macro.
+
+ - delete `LIBSSH2_CLEAR_MEMORY` guards, which enables secure-zeroing
+ universally.
+
+ - add `LIBSSH2_NO_CLEAR_MEMORY` option to disable secure-zeroing.
+
+ - while here, delete double/triple inclusion of `misc.h`.
+ `libssh2_priv.h` included it already.
+
+ Closes #810
+
+- cmake: bump minimum version to 3.1 (from 2.8.12)
+
+ This allows to delete some fallback code.
+
+ CMake release dates:
+ - 2014-12-15: 3.1
+ - 2013-10-07: 2.8.12
+
+ Closes #813
+
+- snprintf: unify fallback logic
+
+ Before this patch, the `snprintf()` fallback logic for envs not
+ supporting this function (i.e. Visual Studio 2013 and older) varied
+ depending on build tool, and used different techniques in examples,
+ tests and libssh2 itself.
+
+ This patch aims to apply a common logic to libssh2 and examples/tests.
+
+ - libssh2: use local `snprintf()` fallback with all build tools.
+
+ We already had a local implementation, but only with CMake. Move that
+ to the library as `_libssh2_snprintf()`, and map `snprintf()` to it
+ when `HAVE_SNPRINTF` is not set.
+
+ Also change the length type from `int` to `size_t`, and fix
+ formatting.
+
+ - set or detect `HAVE_SNPRINTF` in non-CMake builds.
+
+ Detect in autotools. Keep existing logic in `win32/libssh2_config.h`.
+ Always set for OS/400, NetWare and VMS, keeping existing behaviour.
+ (OS/400 builds use a different local implementation)
+
+ - examples/tests: drop the CMake-specific fallback logic and map
+ `snprintf()` to `_snprintf()` for old MSVC versions, like we did
+ before with other build tools. This is unsafe, but should be fine for
+ these uses.
+
+ - `win32/libssh2_config.h`: make it easier to read.
+
+ Closes #812
+
+- cmake: build fixes with OpenSSL/LibreSSL on Windows
+
+ - Link `bcrypt` for newer (non-fork) OpenSSL.
+
+ - Link `bcrypt` and `ws2_32` when using (non-fork) OpenSSL or LibreSSL,
+ to allow `Looking for EVP_aes_128_ctr` detecting this feature.
+
+ With the feature available, but not found by CMake, build failed with:
+ `openssl.c:636:21: error: incompatible integer to pointer conversion assigning to 'EVP_CIPHER *' (aka 'struct evp_cipher_st *') from 'int' [-Wint-conversion]`
+
+ Closes #809
+
+- build fixes and improvements (mostly for Windows)
+
+ - in `hostkey.c` check the result of `libssh2_sha256_init()` and
+ `libssh2_sha512_init()` calls. This avoid the warning that we're
+ ignoring the return values.
+
+ - fix code using `int` (or `SOCKET`) for sockets. Use libssh2's
+ dedicated `libssh2_socket_t` and `LIBSSH2_INVALID_SOCKET` instead.
+
+ - fix compiler warnings due to `STATUS_*` macro redefinitions between
+ `ntstatus.h` / `winnt.h`. Solve it by manually defining the single
+ `STATUS` value we need from `ntstatus.h` and stop including the whole
+ header.
+ Fixes #733
+
+ - improve Windows UWP/WinRT builds by detecting it with code copied
+ from the curl project. Then excluding problematic libssh2 parts
+ according to PR by Dmitry Kostjučenko.
+ Fixes #734
+
+ - always use `SecureZeroMemory()` on Windows.
+
+ We can tweak this if not found or not inlined by a C compiler which
+ we otherwise support. Same if it causes issues with UWP apps.
+
+ Ref: https://learn.microsoft.com/en-us/previous-versions/windows/desktop/legacy/aa366877(v=vs.85)
+ Ref: https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/wdm/nf-wdm-rtlsecurezeromemory
+
+ - always enable `LIBSSH2_CLEAR_MEMORY` on Windows. CMake and
+ curl-for-win builds already did that. Delete `SecureZeroMemory()`
+ detection from autotools' WinCNG backend logic, that this
+ setting used to depend on.
+
+ TODO: Enable it for all platforms in a separate PR.
+ TODO: For clearing buffers in WinCNG, call `_libssh2_explicit_zero()`,
+ insead of a local function or explicit `SecureZeroMemory()`.
+
+ - Makefile.inc: move `os400qc3.h` to `HEADERS`. This fixes
+ compilation on non-unixy platforms. Recent regression.
+
+ - `libssh2.rc`: replace copyright with plain ASCII, as in curl.
+
+ Ref: curl/curl@1ca62bb
+ Ref: curl/curl#7765
+ Ref: curl/curl#7776
+
+ - CMake fixes and improvements:
+
+ - enable warnings with llvm/clang.
+ - enable more comprehensive warnings with gcc and llvm/clang.
+ Logic copied from curl:
+ https://github.com/curl/curl/blob/233810bb5f6c5e7bedfc10bdd36607b958c0cfe4/CMakeLists.txt#L131-L148
+ - fix `Policy CMP0080` CMake warning by deleting that reference.
+ - add `ENABLE_WERROR` (default: `OFF`) option. Ported from curl.
+ - add `PICKY_COMPILER` (default: `ON`) option, as known from curl.
+
+ It controls both the newly added picky warnings for llvm/clang and
+ gcc, and also the pre-existing ones for MSVC.
+
+ - `win32/GNUmakefile` fixes and improvements:
+
+ - delete `_AMD64_` and add missing `-m64` for x64 builds under test.
+ - add support for `ARCH=custom`.
+ It disables hardcoded Intel 64-bit and Intel 32-bit options,
+ allowing ARM64 builds.
+ - add support for `LIBSSH2_RCFLAG_EXTRAS`.
+ To pass custom options to windres, e.g. in ARM64 builds.
+ - add support for `LIBSSH2_RC`. To override `windres`.
+ - delete support for Metrowerks C. Last released in 2004.
+
+ - `win32/libssh2_config.h`: delete unnecessary socket #includes
+
+ `src/libssh2_priv.h` includes `winsock2.h` and `ws2tcpip.h` further
+ down the line, triggered by `HAVE_WINSOCK2_H`.
+
+ `mswsock.h` does not seem to be necessary anymore.
+
+ Double-including these (before `windows.h`) caused compiler failures
+ when building against BoringSSL and warnings with LibreSSL. We could
+ work this around by passing `-DNOCRYPT`. Deleting the duplicates
+ fixes these issues.
+
+ Timeline:
+ 2013: c910cd382dfa07fed2adaabf688af9e4a084fa1d deleted `mswsock.h` from `src/libssh2_priv.h`
+ 2008: 8c43bc52b1e3de2c8fc7899a80aec0e98de4e2d8 added `winsock2.h` and `ws2tcpip.h` to `src/libssh2_priv.h`
+ 2005: dc4bb1af967d2c53e90349f2f37324c622e714f5 added the now deleted #includes
+
+ - delete or replace `LIBSSH2_WIN32` with `WIN32`.
+
+ - replace hand-rolled `HAVE_WINDOWS_H` macro with `WIN32`. Also delete
+ its detections/definitions.
+
+ - delete unused `LIBSSH2_DARWIN` macro.
+
+ - delete unused `writev()` Windows implementation
+
+ There is no reference to `writev()` since 2007-02-02, commit
+ 9d55db6501aa4e21f0858cf36cdc2ddc11b96e83.
+
+ - fix a bunch of MSVC / llvm/clang / gcc compiler warnings:
+
+ - `warning C4100: '...': unreferenced formal parameter`
+ - using value of undefined PP macro `LIBSSH2DEBUG`
+ - missing void from function definition
+ - `if()` block missing in non-debug builds
+ - unreferenced variable in non-debug builds
+ - `warning: must specify at least one argument for '...' parameter of variadic macro [-Wgnu-zero-variadic-macro-arguments]`
+ in `_libssh2_debug()`
+ - `warning C4295: 'ciphertext' : array is too small to include a terminating null character`
+ - `warning C4706: assignment within conditional expression`
+ - `warning C4996: 'inet_addr': Use inet_pton() or InetPton() instead or
+ define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings`
+ By suppressning it. Would be best to use inet_pton() as suggested.
+ On Windows this needs Vista though.
+ - `warning C4152: nonstandard extension, function/data pointer conversion in expression`
+ (silenced locally)
+ - `warning C4068: unknown pragma`
+
+ Ref: https://ci.appveyor.com/project/libssh2org/libssh2/builds/46354480/job/j7d0m34qgq8rag5w
+
+ Closes #808
+
+Dan Fandrich (1 Mar 2023)
+- Add tests to check individual crypt & HMAC methods
+
+ One specific crypt or hmac method is requested to be negotiated, then
+ several MB of data is transferred.
+
+- Add test to read lots of data over a channel
+
+ Connects to the ssh server then downloads several MB of data. This
+ tests the data transfer path as well as boundary cases in packet
+ handling as data is split into smaller SSH blocks.
+
+GitHub (27 Feb 2023)
+- [Will Cosgrove brought this change]
+
+ Disable deprecated warnings for OpenSSL 3 #805 (#806)
+
+ Disable deprecated warnings (for now) when building against OpenSSL 3 for a clean build.
+
+ Reported:
+ Daniel Stenberg
+
+Dan Fandrich (24 Feb 2023)
+- Fix a couple of warnings of errors in MSVC builds
+
+ Two warnings (in tests & examples) in particular would cause problems:
+ bad format causing invalid data output or a bad chdir due to out of
+ scope buffer use.
+
+- tests: Support running tests in out-of-tree builds
+
+ Various files are found by referencing the srcdir environment variable
+ in that case.
+
+ Closes #801
+
+- Improve the ssh2 example program to run a command
+
+ This performs better as an example since it shows more working code, and
+ in the simplest possible way. It also turns the program into an actually
+ useful tool out of the box, able to run an arbitrary command (with one
+ restriction) on a remote machine and return the response, without
+ needing to touch the source.
+
+ Closes #800
+
+GitHub (14 Feb 2023)
+- [Will Cosgrove brought this change]
+
+ Add NULL session check to _libssh2_error_flags() (#796)
+
+ Don't dereference null if a null session happens to make it into _libssh2_error_flags()
+
+Dan Fandrich (7 Feb 2023)
+- Reorder AES crypt methods so stronger ones are first
+
+ This make it more likely that a stronger one will be negotiated rather
+ than a weaker variant.
+
+- CI: update uses: dependencies to the latest versions
+
+ We were seeing some deprecation warning messages on some of the older
+ ones.
+
+- transport.c: Add some comments
+
+- Add missing files to automake makefiles & build tests
+
+ Many files have been added to the cmake build files but not the automake
+ ones in recent years. Missing ones have been added so automake "make
+ dist" will now create a usable tar ball.
+
+ The integration tests using Docker are now built with automake as well
+ (with "make check"). They are not run yet since they aren't working yet
+ on Linux.
+
+- tests: Fix gcc compile warnings
+
+ These were mostly due to missing and non-ANSI prototypes.
+
+- Enable trace debugging in example/ssh2
+
+ This is intended to be a test program, so debugging is likely to be
+ useful by default.
+
+- Improve example/ssh2 to allow unmodified use of public key auth
+
+ The previous hard-coded key file paths were not valid for normal users.
+ Make the paths relative to the user's home directory instead so they
+ can work out of the box. Add a banner showing what connection will be
+ attempted to make it easier for the user to see what is being attempted.
+ Enable trace debugging since this is designed as a test program.
+
+GitHub (13 Dec 2022)
+- [Viktor Szakats brought this change]
+
+ openssl.h: enable ed25519 for LibreSSL 3.7.0 (#778)
+
+ This brings LibreSSL libssh2 builds on par with OpenSSL.
+
+Dan Fandrich (5 Dec 2022)
+- configure.ac: check for sys/param.h
+
+ This file is required by glibc for the test suite.
+
+GitHub (12 Nov 2022)
+- [Viktor Szakats brought this change]
+
+ tests: add option to run tests without docker (#762)
+
+ via `export OPENSSH_NO_DOCKER=1`.
+
+ SSH server host can be set via:
+ `export OPENSSH_SERVER_HOST=127.0.0.1`
+
+ SSH server port via existing:
+ `export OPENSSH_SERVER_PORT=4711`
+
+ This requires more work to be usable out of the box. The necessery sshd
+ config is (partly) embedded into `tests/openssh_server/Dockerfile`.
+
+ After this patch, it is possible to run tests in envs where docker is
+ not installed or not available, by running a preconfigured,
+ non-containerized sshd.
+
+- [Michael Buckley brought this change]
+
+ Skip leading \r and \n characters in banner_receive() (#769)
+
+ Fixes #768
+
+ Credit:
+ Michael Buckley
+
+- [Zenju brought this change]
+
+ Fixed error handling of _libssh2_packet_requirev callers (#767)
+
+ Notes:
+
+ some callers of _libssh2_packet_requirev() fail to set _libssh2_error().
+ This creates the situation where e.g. libssh2_session_handshake() fails, but libssh2_session_last_error() confusingly returns LIBSSH2_ERROR_NONE.
+
+ Credit:
+ Zenju
+
+- [Will Cosgrove brought this change]
+
+ Revert usage of EVP_CipherUpdate #764 #739 (#765)
+
+ Revert usage of EVP_CipherUpdate from wolfSSL PR to fix #764 #739.
+
+- [Will Cosgrove brought this change]
+
+ Fix regression with rsa_sha2_verify #758 (#763)
+
+ Fixes comparison with the result value coming from `mbedtls_rsa_pkcs1_verify`. Success is 0, not 1.
+
+Marc Hoersken (24 Oct 2022)
+- CI: fix AppVeyor status failing for starting jobs
+
+Viktor Szakats (24 Oct 2022)
+- delete cast5 - null-cipher mapping
+
+- more feature guard cleanup
+
+- indent
+
+- formatting
+
+- fold long lines
+
+- cleanup
+
+- temporarily silence checksrc
+
+- add mbedTLS 3.x support
+
+ Make libssh2 compile cleanly with mbedTLS 3.x and later.
+
+ This patch makes use of `MBEDTLS_PRIVATE()`, which is not the
+ recommended, future-proof way to access mbedTLS data structures. This
+ method may break with a minor upgrade, according to the authors. This
+ is also the method used by libcurl.
+
+ Also:
+
+ - Fix a potentially uninitialized variable in
+ `libssh2_mbedtls_rsa_sha2_sign()`. This happened in an error path,
+ resulting in an unnecessary mbedTLS API call, with an uninitialized
+ `md_type`.
+
+ - Bump mbedTLS version used in CI tests to 3.2.1.
+
+ Fixes #751
+
+- tests: add option to enable all trace messages in fixture
+
+ via `export FIXTURE_TRACE_ALL=1`.
+
+- win32/GNUmakefile: add mbedTLS support
+
+ via `export MBEDTLS_PATH=`.
+
+Marc Hoersken (21 Oct 2022)
+- CI: fix AppVeyor job links only working for most recent build
+
+ Ref: https://github.com/curl/curl/pull/9768#issuecomment-1286675916
+ Reported-by: Daniel Stenberg
+
+ Follow up to #754
+
+- CI: add missing permission section to AppVeyor status workflow
+
+ Follow up to #754
+
+- Remove OSSFuzz integration which was replaced with CIFuzz (#756)
+
+ Confirmed-by: Max Dymond
+
+- Rename workflow file appveyor.yml to appveyor_docker.yml
+
+- Streamline names of CI workflow jobs
+
+- [Jeroen Ooms brought this change]
+
+ Add CI for mingw-w64 via msys2 (#742)
+
+ Credit: Jeroen Ooms
+
+- CI: report AppVeyor build status for each job (#754)
+
+ Also give each job on AppVeyor CI a human-readable name.
+
+ This aims to make job and therefore build failures more visible.
+
+GitHub (29 Sep 2022)
+- [Michael Buckley brought this change]
+
+ Support for sk-ecdsa-sha2-nistp256 and sk-ssh-ed25519 keys, FIDO (#698)
+
+ Notes:
+ Add support for sk-ecdsa-sha2-nistp256@openssh.com and sk-ssh-ed25519@openssh.com key exchange for FIDO auth using the OpenSSL backend. Stub API for other backends.
+
+ Credit:
+ Michael Buckley
+
+- [Y. Yang brought this change]
+
+ Fix DLL import library name (#711)
+
+ Notes:
+ Fix DLL import library name
+
+ https://aur.archlinux.org/packages/mingw-w64-libssh2
+ https://cmake.org/cmake/help/latest/prop_tgt/IMPORT_PREFIX.html
+
+ Credit:
+ metab0t
+ Y. Yang
+
+- [skundu07 brought this change]
+
+ Add RSA-SHA2 support for the WinCNG backend (#736)
+
+ Notes:
+ Added code to support RSA-SHA2 for WinCNG backend.
+
+ Credit:
+ skundu07
+
+- [Gabriel Smith brought this change]
+
+ sftp: Prevent files from being skipped if the output buffer is too small (#746)
+
+ Notes:
+ LIBSSH2_ERROR_BUFFER_TOO_SMALL is returned if the buffer is too small
+ to contain a returned directory entry. On this condition we jump to the
+ label `end`. At this point the number of names left is decremented
+ despite no name being returned.
+
+ As suggested in #714, this commit moves the error label after the
+ decrement of `names_left`.
+
+ Fixes #714
+
+ Credit:
+ Co-authored-by: Gabriel Smith
+
+- [bgermann brought this change]
+
+ Drop advertisement clause on Blowfish (#747)
+
+ Originally driven by https://github.com/pyca/bcrypt/issues/169, OpenBSD
+ removed Niels Provos's BSD advertisement clause in version 7.1:
+
+ https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/lib/libsa/blowfish.c.diff?r1=1.1&r2=1.2
+ https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/lib/libsa/blowfish.h.diff?r1=1.1&r2=1.2
+
+ This enables using libssh2 in GPL software.
+
+- [zhaochongliu brought this change]
+
+ Support building with gcc < version 8
+
+ Files: CMakeLists.txt
+
+ Notes: don't use gcc arguments that don't exist in gcc versions lower than 8 if building with older gcc.
+
+ Credit:
+ zhaochongliu
+
+- [Miguel de Icaza brought this change]
+
+ Document the obscure LIBSSH2_ERROR_BAD_USE when writing to a channel (#713)
+
+ Document the obscure LIBSSH2_ERROR_BAD_USE when writing to a channel
+
+ Credit:
+ Miguel de Icaza
+
+- [Michael Buckley brought this change]
+
+ Don't erroneously log SSH_MSG_REQUEST_FAILURE packets from keepalive (#727)
+
+ Notes:
+ When setting a ServerAliveInterval using libssh2_keepalive_config() with want_reply set to true, some servers will reply to the keep-alive requests with a single SSH_MSG_REQUEST_FAILURE packet. This is an allowed behavior in RFC 4254, section 4.
+
+ Credit:
+ Michael Buckley
+
+- [Ryan Kelley brought this change]
+
+ Updating docs for libssh2_channel_flush_ex (#728)
+
+ Notes:
+ In #614 it was identified the docs do not accurately show how libssh2_channel_flush_ex() return value is set. I have updated the doc's to correctly show what the function is returning.
+
+ Credit:
+ Ryan Kelley
+
+- [Sandeep Bansal brought this change]
+
+ Support RSA certificate authentication (#710)
+
+ * Adding support for signed RSA keys and unit test
+
+ Credit:
+ Sandeep Bansal
+
+Viktor Szakats (2 Jul 2022)
+- configure: add --disable-tests option
+
+- cmake: do not add libssh2.rc to the static library
+
+GitHub (23 May 2022)
+- [AyushiN brought this change]
+
+ Fixed typo #697 (#701)
+
+ Credit:
+ AyushiN
+
+- [Viktor Szakats brought this change]
+
+ Openssl: add support for LibreSSL 3.5.x (#700)
+
+ LibreSSL 3.5.0 made more structures opaque, so let's enable existing
+ support for that when building against these LibreSSL versions.
+
+ Ref: https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.5.0-relnotes.txt
+
+ Credit:
+ Viktor Szakats
+
+- [Michael Buckley brought this change]
+
+ Ensure KEX replies don't include extra bytes (#696)
+
+ Addresses #695
+
+ Credit:
+ Michael Buckley, reported by Harry Sintonen
+
+- [Zenju brought this change]
+
+ Fix buffer overflow during SSH_MSG_USERAUTH_BANNER (#693)
+
+ File: userauth.c
+ Notes:
+ This patch fixes application crashes due to heap corruption. Turns out the null terminator is written one byte outside of the allocated area.
+ Credit:
+ Zenju
+
+- [Will Cosgrove brought this change]
+
+ Changed NULL check to avoid logic change
+
+- [Will Cosgrove brought this change]
+
+ NULL check before calling session_handshake
+
+- [Harry Sintonen brought this change]
+
+ Fix build since openssl 1.1.0 when ECDSA and/or RIPEMD are disabled (#666)
+
+ File: openssl.h
+
+ Notes:
+ In openssl 1.1.0 and later openssl decided to change some of the defines used to check if certain features are not compiled in the libraries. This updates the define checks.
+
+ Credit:
+ Harry Sintonen
+ Co-authored-by: Harry Sintonen
+
+- [gbaraldi brought this change]
+
+ Add RSA-SHA2 support for the mbedtls backend (#688)
+
+ File: mbedtls.c
+
+ Notes:
+ * Add sha2 support for RSA key upgrading to mbedTLS backend
+
+ Credit:
+ gbaraldi
+
+Daniel Stenberg (21 Mar 2022)
+- misc/libssh2_copy_string: avoid malloc zero bytes
+
+ Avoids the inconsistent malloc return code for malloc(0)
+
+ Closes #686
+
+Marc Hoersken (17 Mar 2022)
+- wincng: rename struct field referring to the DH private big number
+
+ Closes #684
+
+- tests/openssh_fixture.c: print command after variable expansion
+
+- CI: store and reuse OpenSSH Server docker image used for tests
+
+ Supersedes #588
+ Fixes #665
+ Closes #685
+
+GitHub (26 Feb 2022)
+- [Will Cosgrove brought this change]
+
+ Added LibreSSL to crypto backend list
+
+- [Will Cosgrove brought this change]
+
+ Added crypto backend list to template
+
+ Added OS version as well
+
+- [Will Cosgrove brought this change]
+
+ Revert "Option to build both static and shared libraries (#547)" (#675)
+
+ This reverts commit b60dca8b6450a9729670986d2899cca54ccdbb6d.
+
+ #547 doesn't build clean anymore with the keyboard interactive changes.
+
+- [berney brought this change]
+
+ Option to build both static and shared libraries (#547)
+
+ files: cmakelists.txt
+
+ Notes:
+ * Option to build both static and shared libraries when using CMake
+
+ Credit:
+ berney
+
+- [xalopp brought this change]
+
+ Use modern API in userauth_keyboard_interactive() (#663)
+
+ Files: userauth_kbd_packet.c, userauth_kbd_packet.h, test_keyboard_interactive_auth_info_request.c, userauth.c
+
+ Notes:
+ This refactors `SSH_MSG_USERAUTH_INFO_REQUEST` processing in `userauth_keyboard_interactive()` in order to improve robustness, correctness and readability or the code.
+
+ * Refactor userauth_keyboard_interactive to use new api for packet parsing
+ * add unit test for userauth_keyboard_interactive_parse_response()
+ * add _libssh2_get_boolean() and _libssh2_get_byte() utility functions
+
+ Credit:
+ xalopp
+
+- [xalopp brought this change]
+
+ Fix formatting in manual page (#667)
+
+ Fixed formatting of `LIBSSH2_ERROR_AUTHENTICATION_FAILED` in the errors section.
+
+ credit: xalopp
+
+- [tihmstar brought this change]
+
+ NULL terminate server_sign_algorithms string (#669)
+
+ files: packet.c, libssh2_priv.h
+
+ notes:
+ * Fix heap buffer overflow in _libssh2_key_sign_algorithm
+
+ When allocating `session->server_sign_algorithms` which is a `char*` is is important to also allocate space for the string-terminating null byte at the end and make sure the string is actually null terminated.
+
+ Without this fix, the `strchr()` call inside the `_libssh2_key_sign_algorithm` (line 1219) function will try to parse the string and go out of buffer on the last invocation.
+
+ Credit: tihmstar
+ Co-authored-by: Will Cosgrove
+
+- [Will Cosgrove brought this change]
+
+ free RSA2 related memory (#664)
+
+ Free `server_sign_algorithms` and `sign_algo_prefs`.
+
+- [Will Cosgrove brought this change]
+
+ Legacy Agent support for rsa2 key upgrading/downgrading #659 (#662)
+
+ Files: libssh2.h, agent.c, userauth.c
+
+ Notes:
+ Part 2 of the fix for #659. This adds rsa key downgrading for agents that don't support sha2 upgrading. It also adds better trace output for debugging/logging around key upgrading.
+
+ Credit:
+ Will Cosgrove (signed off by Michael Buckley)
+
+- [Ian Hattendorf brought this change]
+
+ Support rsa-sha2 agent flags (#661)
+
+ File: agent.c
+ Notes: implements rsa-sha2 flags used to tell the agent which signing algo to use.
+ https://tools.ietf.org/id/draft-miller-ssh-agent-01.html#rfc.section.4.5.1
+
+ Credit:
+ Ian Hattendorf
+
+Daniel Stenberg (13 Jan 2022)
+- [Sunil Nimmagadda brought this change]
+
+ ssh: Add support for userauth banner.
+
+ The new libssh2_userauth_banner API allows to get an optional
+ userauth banner sent with SSH_MSG_USERAUTH_BANNER packet by the
+ server.
+
+ Closes #610
+
+GitHub (6 Jan 2022)
+- [Michael Buckley brought this change]
+
+ Fix a memcmp errors in code that was changed from memmem to memcmp (#656)
+
+ Notes:
+ Fixed supported algo prefs list check when upgrading rsa keys
+
+ Credit: Michael Buckley
+
+- [Hayden Roche brought this change]
+
+ Add support for a wolfSSL crypto backend. (#629)
+
+ It uses wolfSSL's OpenSSL compatibility layer, so rather than introduce new
+ wolfssl.h/c files, the new backend just reuses openssl.h/c. Additionally,
+ replace EVP_Cipher() calls with EVP_CipherUpdate(), since EVP_Cipher() is not
+ recommended.
+
+ Credit: Hayden Roche
+
+- [Bastien Durel brought this change]
+
+ Runtime engine detection with libssh2_crypto_engine() (#643)
+
+ File:
+ version.c, HACKING-CRYPTO, libssh2.h, libssh2_crypto_engine.3, makefile.
+
+ Notes:
+ libssh2_crypto_engine() API to get crypto engine at runtime.
+
+ Credit: Bastien Durel
+
+- [Will Cosgrove brought this change]
+
+ RSA SHA2 256/512 key upgrade support RFC 8332 #536 (#626)
+
+ Notes:
+ * Host Key RSA 256/512 support #536
+ * Client side key hash upgrading for RFC 8332
+ * Support for server-sig-algs, ext-info-c server messages
+ * Customizing preferred server-sig-algs via the preference LIBSSH2_METHOD_SIGN_ALGO
+
+ Credit: Anders Borum, Will Cosgrove
+
+- [xalopp brought this change]
+
+ fix: use userauth name length to check memory boundaries for userauth name, fixes #653 (#654)
+
+ File: userauth.c
+
+ Notes:
+ Fixes `userauth_kybd_auth_name_len` length check
+
+ Co-authored-by: Xaver Lopenstedt
+
+- [Daniel Stenberg brought this change]
+
+ agent: handle overly large comment lengths (#651)
+
+ Reported-by: Harry Sintonen
+
+- [Daniel Stenberg brought this change]
+
+ userauth: check for too large userauth_kybd_auth_name_len (#650)
+
+ ... before using it.
+
+ Reported-by: MarcoPoloPie
+ Fixes #649
+
+Daniel Stenberg (17 Dec 2021)
+- .github/SECURITY.md: fix the URL
+
+- .github/SECURITY.md: add security policy
+
+GitHub (30 Nov 2021)
+- [Will Cosgrove brought this change]
+
+ hostkey_method_ssh_ed25519_init() check key bounds (#645)
+
+ * hostkey_method_ssh_ed25519_init() check key bounds
+
+ File: hostkey.c
+
+ Notes:
+ Additional key length checking before calling _libssh2_ed25519_new_public()
+
+ Credit:
+ Will Cosgrove
+
+- [Will Cosgrove brought this change]
+
+ Fix error message in memory_read_privatekey #636
+
+ file: userauth.c
+ note: fix error message
+ credit:
+ volund
+
+- [cntrump brought this change]
+
+ Update maketgz for macOS (#543)
+
+ File:
+ maketgz
+
+ Notes:
+ Fix error on macOS: sed: -e: No such file or directory
+
+ Credit:
+ cntrump
+
+- [Jun Tseng brought this change]
+
+ CMake update minimum version to 2.8.12 (#639)
+
+ File:
+ CMakeLists.txt
+
+ Notes:
+ Following CMake's advice, Update the minimum required version.
+
+ Credit:
+ Jun Tseng
+
+Daniel Stenberg (8 Nov 2021)
+- [David Korczynski brought this change]
+
+ ci: Add CIFuzz integration
+
+ Notes:
+ Add CIFuzz integration to run fuzzer using the OSS-Fuzz infrastructure
+ at each PR.
+
+ Signed-off-by: David Korczynski
+ Closes #635
+
+GitHub (26 Oct 2021)
+- [Uwe L. Korn brought this change]
+
+ Use libssh2_EXPORTS as an alternative to _WINDLL (#470)
+
+ Files: libssh2.h
+
+ Notes:
+ `_WINDLL` is only defined when a Visual Studio CMake generator is used, `libssh2_EXPORTS` is used though for all CMake generator if a shared libssh2 library is being built.
+
+ Credit:
+ Uwe L. Korn
+
+Viktor Szakats (1 Oct 2021)
+- windows: fix clang and WinCNG warnings
+
+ Fix these categories of warning:
+
+ - in `wincng.c` disagreement in signed/unsigned char when passing around
+ the passphrase string:
+ `warning: pointer targets in passing argument [...] differ in signedness [-Wpointer-sign]`
+ Fixed by using `const unsigned char *` in all static functions and
+ applying/updating casts as necessary.
+
+ - in each use of `libssh2_*_init()` macros where the result is not used:
+ `warning: value computed is not used [-Wunused-value]`
+ Fixed by using `(void)` casts.
+
+ - `channel.c:1171:7: warning: 'rc' may be used uninitialized in this function [-Wmaybe-uninitialized]`
+ Fixed by initializing this variable with `LIBSSH2_ERROR_CHANNEL_UNKNOWN`.
+ While there I replaced a few 0 literals with `LIBSSH2_ERROR_NONE`.
+
+ - in `sftp.c`, several of these two warnings:
+ `warning: 'data' may be used uninitialized in this function [-Wmaybe-uninitialized]`
+ `warning: 'data_len' may be used uninitialized in this function [-Wmaybe-uninitialized]`
+ Fixed by initializing these variables with NULL and 0 respectively.
+
+ - Also removed the exec attribute from `wincng.h`.
+
+ Notes:
+ - There are many pre-existing checksrc issues.
+ - The `sftp.c` and `channel.c` warnings may apply to other platforms as well.
+
+ Closes #628
+
+Daniel Stenberg (25 Sep 2021)
+- README: use www.libssh2.org for the license link
+
+- libssh2.h: bump it to 1.10.1-dev
+
+- mailing list: moved to lists.haxx.se
+
+GitHub (2 Sep 2021)
+- [Laurent Stacul brought this change]
+
+ openssh_fixture.c: Fix openssh_server build not working (#616) (#620)
+
+ File: openssh_fixture.c
+
+ Notes:
+ fixes too long of output lines building docker image
+
+ Credit:
+ Laurent Stacul
+
+- [Will Cosgrove brought this change]
+
+ openssh_fixture.c: fix warning (#621)
+
+ File: openssh_fixture.c
+
+ Notes:
+ Fix `portable_sleep` return type warning
+
+ Credit:
+ Will Cosgrove
+
+- [Will Cosgrove brought this change]
+
+ Update CI to use latest Ubuntu #624 (#625)
+
+ File: ci.yml
+
+ Notes:
+ Update CI to use latest Ubuntu #624
+
+ Also removed 32 bit building in the matrix.
+
+ Credit:
+ Will Cosgrove
+
+- [Will Cosgrove brought this change]
+
+ Update .gitignore
+
+ Add .DS_Store files for macOS
+
+- [Laurent Stacul brought this change]
+
+ Makefile.am: Add missing key in case openssl > 1.1.0 (#617)
+
+ File: Makefile.am
+
+ Notes: fix missing test keys
+
+ Credit:
+ Laurent Stacul
+
+Version 1.10.0 (29 Aug 2021)
+
+Daniel Stenberg (29 Aug 2021)
+- [Will Cosgrove brought this change]
+
+ updated docs for 1.10.0 release
+
+Marc Hörsken (30 May 2021)
+- [Laurent Stacul brought this change]
+
+ [tests] Try several times to connect the ssh server
+
+ Sometimes, as the OCI container is run in detached mode, it is possible
+ the actual server is not ready yet to handle SSH traffic. The goal of
+ this PR is to try several times (max 3). The mechanism is the same as
+ for the connection to the docker machine.
+
+- [Laurent Stacul brought this change]
+
+ Remove openssh_server container on test exit
+
+- [Laurent Stacul brought this change]
+
+ Allow the tests to run inside a container
+
+ The current tests suite starts SSH server as OCI container. This commit
+ add the possibility to run the tests in a container provided that:
+
+ * the docker client is installed builder container
+ * the host docker daemon unix socket has been mounted in the builder
+ container (with, if needed, the DOCKER_HOST environment variable
+ accordingly set, and the permission to write on this socket)
+ * the builder container is run on the default bridge network, or the
+ host network. This PR does not handle the case where the builder
+ container is on another network.
+
+Marc Hoersken (28 May 2021)
+- CI/appveyor: run SSH server for tests on GitHub Actions (#607)
+
+ No longer rely on DigitalOcean to host the Docker container.
+
+ Unfortunately we require a small dispatcher script that has
+ access to a GitHub access token with scope repo in order to
+ trigger the daemon workflow on GitHub Actions also for PRs.
+
+ This script is hosted by myself for the time being until GitHub
+ provides a tighter scope to trigger the workflow_dispatch event.
+
+GitHub (26 May 2021)
+- [Will Cosgrove brought this change]
+
+ openssl.c: guards around calling FIPS_mode() #596 (#603)
+
+ Notes:
+ FIPS_mode() is not implemented in LibreSSL and this API is removed in OpenSSL 3.0 and was introduced in 0.9.7. Added guards around making this call.
+
+ Credit:
+ Will Cosgrove
+
+- [Will Cosgrove brought this change]
+
+ configure.ac: don't undefine scoped variable (#594)
+
+ * configure.ac: don't undefine scoped variable
+
+ To get this script to run with Autoconf 2.71 on macOS I had to remove the undefine of the backend for loop variable. It seems scoped to the for loop and also isn't referenced later in the script so it seems OK to remove it.
+
+ * configure.ac: remove cygwin specific CFLAGS #598
+
+ Notes:
+ Remove cygwin specific Win32 CFLAGS and treat the build like a posix build
+
+ Credit:
+ Will Cosgrove, Brian Inglis
+
+- [Laurent Stacul brought this change]
+
+ tests: Makefile.am: Add missing tests client keys in distribution tarball (#604)
+
+ Notes:
+ Added missing test keys.
+
+ Credit:
+ Laurent Stacul
+
+- [Laurent Stacul brought this change]
+
+ Makefile.am: Add missing test keys in the distribution tarball (#601)
+
+ Notes:
+ Fix tests missing key to build the OCI image
+
+ Credit:
+ Laurent Stacul
+
+Daniel Stenberg (16 May 2021)
+- dist: add src/agent.h
+
+ Fixes #597
+ Closes #599
+
+GitHub (12 May 2021)
+- [Will Cosgrove brought this change]
+
+ packet.c: Reset read timeout after received a packet (#576) (#586)
+
+ File:
+ packet.c
+
+ Notes:
+ Attempt keyboard interactive login (Azure AD 2FA login) and use more than 60 seconds to complete the login, the connection fails.
+
+ The _libssh2_packet_require function does almost the same as _libssh2_packet_requirev but this function sets state->start = 0 before returning.
+
+ Credit:
+ teottin, Co-authored-by: Tor Erik Ottinsen
+
+- [kkoenig brought this change]
+
+ Support ECDSA certificate authentication (#570)
+
+ Files: hostkey.c, userauth.c, test_public_key_auth_succeeds_with_correct_ecdsa_key.c
+
+ Notes:
+ Support ECDSA certificate authentication
+
+ Add a test for:
+ - Existing ecdsa basic public key authentication
+ - ecdsa public key authentication with a signed public key
+
+ Credit:
+ kkoenig
+
+- [Gabriel Smith brought this change]
+
+ agent.c: Add support for Windows OpenSSH agent (#517)
+
+ Files: agent.c, agent.h, agent_win.c
+
+ Notes:
+ * agent: Add support for Windows OpenSSH agent
+
+ The implementation was partially taken and modified from that found in
+ the Portable OpenSSH port to Win32 by the PowerShell team, but mostly
+ based on the existing Unix OpenSSH agent support.
+
+ https://github.com/PowerShell/openssh-portable
+
+ Regarding the partial transfer support implementation: partial transfers
+ are easy to deal with, but you need to track additional state when
+ non-blocking IO enters the picture. A tracker of how many bytes have
+ been transfered has been placed in the transfer context struct as that's
+ where it makes most sense. This tracker isn't placed behind a WIN32
+ #ifdef as it will probably be useful for other agent implementations.
+
+ * agent: win32 openssh: Disable overlapped IO
+
+ Non-blocking IO is not currently supported by the surrounding agent
+ code, despite a lot of the code having everything set up to handle it.
+
+ Credit:
+ Co-authored-by: Gabriel Smith
+
+- [Zenju brought this change]
+
+ Fix detailed _libssh2_error being overwritten (#473)
+
+ Files: openssl.c, pem.c, userauth.c
+
+ Notes:
+ * Fix detailed _libssh2_error being overwritten by generic errors
+ * Unified error handling
+
+ Credit:
+ Zenju
+
+- [Paul Capron brought this change]
+
+ Fix _libssh2_random() silently discarding errors (#520)
+
+ Notes:
+ * Make _libssh2_random return code consistent
+
+ Previously, _libssh2_random was advertized in HACKING.CRYPTO as
+ returning `void` (and was implemented that way in os400qc3.c), but that
+ was in other crypto backends a lie; _libssh2_random is (a macro
+ expanding) to an int-value expression or function.
+
+ Moreover, that returned code was:
+ — 0 or success, -1 on error for the MbedTLS & WinCNG crypto backends
+ But also:
+ — 1 on success, -1 or 0 on error for the OpenSSL backend!
+ – 1 on success, error cannot happen for libgcrypt!
+
+ This commit makes explicit that _libssh2_random can fail (because most of
+ the underlying crypto functions can indeed fail!), and it makes its result
+ code consistent: 0 on success, -1 on error.
+
+ This is related to issue #519 https://github.com/libssh2/libssh2/issues/519
+ It fixes the first half of it.
+
+ * Don't silent errors of _libssh2_random
+
+ Make sure to check the returned code of _libssh2_random(), and
+ propagates any failure.
+
+ A new LIBSSH_ERROR_RANDGEN constant is added to libssh2.h
+ None of the existing error constants seemed fit.
+
+ This commit is related to d74285b68450c0e9ea6d5f8070450837fb1e74a7
+ and to https://github.com/libssh2/libssh2/issues/519 (see the issue
+ for more info.) It closes #519.
+
+ Credit:
+ Paul Capron
+
+- [Gabriel Smith brought this change]
+
+ ci: Remove caching of docker image layers (#589)
+
+ Notes:
+ continued ci reliability work.
+
+ Credit:
+ Gabriel Smith
+
+- [Gabriel Smith brought this change]
+
+ ci: Speed up docker builds for tests (#587)
+
+ Notes:
+ The OpenSSH server docker image used for tests is pre-built to prevent
+ wasting time building it during a test, and unneeded rebuilds are
+ prevented by caching the image layers.
+
+ Credit:
+ Gabriel Smith
+
+- [Will Cosgrove brought this change]
+
+ userauth.c: don't error if using keys without RSA (#555)
+
+ file: userauth.c
+
+ notes: libssh2 now supports many other key types besides RSA, if the library is built without RSA support and a user attempts RSA auth it shouldn't be an automatic error
+
+ credit:
+ Will Cosgrove
+
+- [Marc brought this change]
+
+ openssl.c: Avoid OpenSSL latent error in FIPS mode (#528)
+
+ File:
+ openssl.c
+
+ Notes:
+ Avoid initing MD5 digest, which is not permitted in OpenSSL FIPS certified cryptography mode.
+
+ Credit:
+ Marc
+
+- [Laurent Stacul brought this change]
+
+ openssl.c: Fix EVP_Cipher interface change in openssl 3 #463
+
+ File:
+ openssl.c
+
+ Notes:
+ Fixes building with OpenSSL 3, #463.
+
+ The change is described there:
+ https://github.com/openssl/openssl/commit/f7397f0d58ce7ddf4c5366cd1846f16b341fbe43
+
+ Credit:
+ Laurent Stacul, reported by Sergei
+
+- [Gabriel Smith brought this change]
+
+ openssh_fixture.c: Fix potential overwrite of buffer when reading stdout of command (#580)
+
+ File:
+ openssh_fixture.c
+ Notes:
+ If reading the full output from the executed command took multiple
+ passes (such as when reading multiple lines) the old code would read
+ into the buffer starting at the some position (the start) every time.
+ The old code only works if fgets updated p or had an offset parameter,
+ both of which are not true.
+
+ Credit:
+ Gabriel Smith
+
+- [Gabriel Smith brought this change]
+
+ ci: explicitly state the default branch (#585)
+
+ Notes:
+ It looks like the $default-branch macro only works in templates, not
+ workflows. This is not explicitly stated anywhere except the linked PR
+ comment.
+
+ https://github.com/actions/starter-workflows/pull/590#issuecomment-672360634
+
+ credit:
+ Gabriel Smith
+
+- [Gabriel Smith brought this change]
+
+ ci: Swap from Travis to Github Actions (#581)
+
+ Files: ci files
+
+ Notes:
+ Move Linux CI using Github Actions
+
+ Credit:
+ Gabriel Smith, Marc Hörsken
+
+- [Mary brought this change]
+
+ libssh2_priv.h: add iovec on 3ds (#575)
+
+ file: libssh2_priv.h
+ note: include iovec for 3DS
+ credit: Mary Mstrodl
+
+- [Laurent Stacul brought this change]
+
+ Tests: Fix unused variables warning (#561)
+
+ file: test_public_key_auth_succeeds_with_correct_ed25519_key_from_mem.c
+
+ notes: fixed unused vars
+
+ credit:
+ Laurent Stacul
+
+- [Viktor Szakats brought this change]
+
+ bcrypt_pbkdf.c: fix clang10 false positive warning (#563)
+
+ File: bcrypt_pbkdf.c
+
+ Notes:
+ blf_enc() takes a number of 64-bit blocks to encrypt, but using
+ sizeof(uint64_t) in the calculation triggers a warning with
+ clang 10 because the actual data type is uint32_t. Pass
+ BCRYPT_BLOCKS / 2 for the number of blocks like libc bcrypt(3)
+ does.
+
+ Ref: https://github.com/openbsd/src/commit/04a2240bd8f465bcae6b595d912af3e2965856de
+
+ Fixes #562
+
+ Credit:
+ Viktor Szakats
+
+- [Will Cosgrove brought this change]
+
+ transport.c: release payload on error (#554)
+
+ file: transport.c
+ notes: If the payload is invalid and there is an early return, we could leak the payload
+ credit:
+ Will Cosgrove
+
+- [Will Cosgrove brought this change]
+
+ ssh2_client_fuzzer.cc: fixed building
+
+ The GitHub web editor did some funky things
+
+- [Will Cosgrove brought this change]
+
+ ssh_client_fuzzer.cc: set blocking mode on (#553)
+
+ file: ssh_client_fuzzer.cc
+
+ notes: the session needs blocking mode turned on to avoid EAGAIN being returned from libssh2_session_handshake()
+
+ credit:
+ Will Cosgrove, reviewed by Michael Buckley
+
+- [Etienne Samson brought this change]
+
+ Add a LINT option to CMake (#372)
+
+ * ci: make style-checking available locally
+
+ * cmake: add a linting target
+
+ * tests: check test suite syntax with checksrc.pl
+
+- [Will Cosgrove brought this change]
+
+ kex.c: kex_agree_instr() improve string reading (#552)
+
+ * kex.c: kex_agree_instr() improve string reading
+
+ file: kex.c
+ notes: if haystack isn't null terminated we should use memchr() not strchar(). We should also make sure we don't walk off the end of the buffer.
+ credit:
+ Will Cosgrove, reviewed by Michael Buckley
+
+- [Will Cosgrove brought this change]
+
+ kex.c: use string_buf in ecdh_sha2_nistp (#551)
+
+ * kex.c: use string_buf in ecdh_sha2_nistp
+
+ file: kex.c
+
+ notes:
+ use string_buf in ecdh_sha2_nistp() to avoid attempting to parse malformed data
+
+- [Will Cosgrove brought this change]
+
+ kex.c: move EC macro outside of if check #549 (#550)
+
+ File: kex.c
+
+ Notes:
+ Moved the macro LIBSSH2_KEX_METHOD_EC_SHA_HASH_CREATE_VERIFY outside of the LIBSSH2_ECDSA since it's also now used by the ED25519 code.
+
+ Sha 256, 384 and 512 need to be defined for all backends now even if they aren't used directly. I believe this is already the case, but just a heads up.
+
+ Credit:
+ Stefan-Ghinea
+
+- [Tim Gates brought this change]
+
+ kex.c: fix simple typo, niumber -> number (#545)
+
+ File: kex.c
+
+ Notes:
+ There is a small typo in src/kex.c.
+
+ Should read `number` rather than `niumber`.
+
+ Credit:
+ Tim Gates
+
+- [Tseng Jun brought this change]
+
+ session.c: Correct a typo which may lead to stack overflow (#533)
+
+ File: session.c
+
+ Notes:
+ Seems the author intend to terminate banner_dup buffer, later, print it to the debug console.
+
+ Author:
+ Tseng Jun
+
+Marc Hoersken (10 Oct 2020)
+- wincng: fix random big number generation to match openssl
+
+ The old function would set the least significant bits in
+ the most significant byte instead of the most significant bits.
+
+ The old function would also zero pad too much bits in the
+ most significant byte. This lead to a reduction of key space
+ in the most significant byte according to the following listing:
+ - 8 bits reduced to 0 bits => eg. 2048 bits to 2040 bits DH key
+ - 7 bits reduced to 1 bits => eg. 2047 bits to 2041 bits DH key
+ - 6 bits reduced to 2 bits => eg. 2046 bits to 2042 bits DH key
+ - 5 bits reduced to 3 bits => eg. 2045 bits to 2043 bits DH key
+
+ No change would occur for the case of 4 significant bits.
+ For 1 to 3 significant bits in the most significant byte
+ the DH key would actually be expanded instead of reduced:
+ - 3 bits expanded to 5 bits => eg. 2043 bits to 2045 bits DH key
+ - 2 bits expanded to 6 bits => eg. 2042 bits to 2046 bits DH key
+ - 1 bits expanded to 7 bits => eg. 2041 bits to 2047 bits DH key
+
+ There is no case of 0 significant bits in the most significant byte
+ since this would be a case of 8 significant bits in the next byte.
+
+ At the moment only the following case applies due to a fixed
+ DH key size value currently being used in libssh2:
+
+ The DH group_order is fixed to 256 (bytes) which leads to a
+ 2047 bits DH key size by calculating (256 * 8) - 1.
+
+ This means the DH keyspace was previously reduced from 2047 bits
+ to 2041 bits (while the top and bottom bits are always set), so the
+ keyspace is actually always reduced from 2045 bits to 2039 bits.
+
+ All of this is only relevant for Windows versions supporting the
+ WinCNG backend (Vista or newer) before Windows 10 version 1903.
+
+ Closes #521
+
+Daniel Stenberg (28 Sep 2020)
+- libssh2_session_callback_set.3: explain the recv/send callbacks
+
+ Describe how to actually use these callbacks.
+
+ Closes #518
+
+GitHub (23 Sep 2020)
+- [Will Cosgrove brought this change]
+
+ agent.c: formatting
+
+ Improved formatting of RECV_SEND_ALL macro.
+
+- [Will Cosgrove brought this change]
+
+ CMakeLists.txt: respect install lib dir #405 (#515)
+
+ Files:
+ CMakeLists.txt
+
+ Notes:
+ Use CMAKE_INSTALL_LIBDIR directory
+
+ Credit: Arfrever
+
+- [Will Cosgrove brought this change]
+
+ kex.c: group16-sha512 and group18-sha512 support #457 (#468)
+
+ Files: kex.c
+
+ Notes:
+ Added key exchange group16-sha512 and group18-sha512. As a result did the following:
+
+ Abstracted diffie_hellman_sha256() to diffie_hellman_sha_algo() which is now algorithm agnostic and takes the algorithm as a parameter since we needed sha512 support. Unfortunately it required some helper functions but they are simple.
+ Deleted diffie_hellman_sha1()
+ Deleted diffie_hellman_sha1 specific macro
+ Cleaned up some formatting
+ Defined sha384 in os400 and wincng backends
+ Defined LIBSSH2_DH_MAX_MODULUS_BITS to abort the connection if we receive too large of p from the server doing sha1 key exchange.
+ Reorder the default key exchange list to match OpenSSH and improve security
+
+ Credit:
+ Will Cosgrove
+
+- [Igor Klevanets brought this change]
+
+ agent.c: Recv and send all bytes via network in agent_transact_unix() (#510)
+
+ Files: agent.c
+
+ Notes:
+ Handle sending/receiving partial packet replies in agent.c API.
+
+ Credit: Klevanets Igor
+
+- [Daniel Stenberg brought this change]
+
+ Makefile.am: include all test files in the dist #379
+
+ File:
+ Makefile.am
+
+ Notes:
+ No longer conditionally include OpenSSL specific test files, they aren't run if we're not building against OpenSSL 1.1.x anyway.
+
+ Credit:
+ Daniel Stenberg
+
+- [Max Dymond brought this change]
+
+ Add support for an OSS Fuzzer fuzzing target (#392)
+
+ Files:
+ .travis.yml, configure.ac, ossfuzz
+
+ Notes:
+ This adds support for an OSS-Fuzz fuzzing target in ssh2_client_fuzzer,
+ which is a cut down example of ssh2.c. Future enhancements can improve
+ coverage.
+
+ Credit:
+ Max Dymond
+
+- [Sebastián Katzer brought this change]
+
+ mbedtls.c: ECDSA support for mbed TLS (#385)
+
+ Files:
+ mbedtls.c, mbedtls.h, .travis.yml
+
+ Notes:
+ This PR adds support for ECDSA for both key exchange and host key algorithms.
+
+ The following elliptic curves are supported:
+
+ 256-bit curve defined by FIPS 186-4 and SEC1
+ 384-bit curve defined by FIPS 186-4 and SEC1
+ 521-bit curve defined by FIPS 186-4 and SEC1
+
+ Credit:
+ Sebastián Katzer
+
+Marc Hoersken (1 Sep 2020)
+- buildconf: exec autoreconf to avoid additional process (#512)
+
+ Also make buildconf exit with the return code of autoreconf.
+
+ Follow up to #224
+
+- scp.c: fix indentation in shell_quotearg documentation
+
+- wincng: make more use of new helper functions (#496)
+
+- wincng: make sure algorithm providers are closed once (#496)
+
+GitHub (10 Jul 2020)
+- [David Benjamin brought this change]
+
+ openssl.c: clean up curve25519 code (#499)
+
+ File: openssl.c, openssl.h, crypto.h, kex.c
+
+ Notes:
+ This cleans up a few things in the curve25519 implementation:
+
+ - There is no need to create X509_PUBKEYs or PKCS8_PRIV_KEY_INFOs to
+ extract key material. EVP_PKEY_get_raw_private_key and
+ EVP_PKEY_get_raw_public_key work fine.
+
+ - libssh2_x25519_ctx was never used (and occasionally mis-typedefed to
+ libssh2_ed25519_ctx). Remove it. The _libssh2_curve25519_new and
+ _libssh2_curve25519_gen_k interfaces use the bytes. Note, if it needs
+ to be added back, there is no need to roundtrip through
+ EVP_PKEY_new_raw_private_key. EVP_PKEY_keygen already generated an
+ EVP_PKEY.
+
+ - Add some missing error checks.
+
+ Credit:
+ David Benjamin
+
+- [Will Cosgrove brought this change]
+
+ transport.c: socket is disconnected, return error (#500)
+
+ File: transport.c
+
+ Notes:
+ This is to fix #102, instead of continuing to attempt to read a disconnected socket, it will now error out.
+
+ Credit:
+ TDi-jonesds
+
+- [Will Cosgrove brought this change]
+
+ stale.yml
+
+ Increasing stale values.
+
+Marc Hoersken (6 Jul 2020)
+- wincng: try newer DH API first, fallback to legacy RSA API
+
+ Avoid the use of RtlGetVersion or similar Win32 functions,
+ since these depend on version information from manifests.
+
+ This commit makes the WinCNG backend first try to use the
+ new DH algorithm API with the raw secret derivation feature.
+ In case this feature is not available the WinCNG backend
+ will fallback to the classic approach of using RSA-encrypt
+ to perform the required modular exponentiation of BigNums.
+
+ The feature availability test is done during the first handshake
+ and the result is stored in the crypto backends global state.
+
+ Follow up to #397
+ Closes #484
+
+- wincng: fix indentation of function arguments and comments
+
+ Follow up to #397
+
+- [Wez Furlong brought this change]
+
+ wincng: use newer DH API for Windows 8.1+
+
+ Since Windows 1903 the approach used to perform DH kex with the CNG
+ API has been failing.
+
+ This commit switches to using the `DH` algorithm provider to perform
+ generation of the key pair and derivation of the shared secret.
+
+ It uses a feature of CNG that is not yet documented. The sources of
+ information that I've found on this are:
+
+ * https://stackoverflow.com/a/56378698/149111
+ * https://github.com/wbenny/mini-tor/blob/5d39011e632be8e2b6b1819ee7295e8bd9b7a769/mini/crypto/cng/dh.inl#L355
+
+ With this change I am able to successfully connect from Windows 10 to my
+ ubuntu system.
+
+ Refs: https://github.com/alexcrichton/ssh2-rs/issues/122
+ Fixes: https://github.com/libssh2/libssh2/issues/388
+ Closes: https://github.com/libssh2/libssh2/pull/397
+
+GitHub (1 Jul 2020)
+- [Zenju brought this change]
+
+ comp.c: Fix name clash with ZLIB macro "compress" (#418)
+
+ File: comp.c
+
+ Notes:
+ * Fix name clash with ZLIB macro "compress".
+
+ Credit:
+ Zenju
+
+- [yann-morin-1998 brought this change]
+
+ buildsystem: drop custom buildconf script, rely on autoreconf (#224)
+
+ Notes:
+ The buildconf script is currently required, because we need to copy a
+ header around, because it is used both from the library and the examples
+ sources.
+
+ However, having a custom 'buildconf'-like script is not needed if we can
+ ensure that the header exists by the time it is needed. For that, we can
+ just append the src/ directory to the headers search path for the
+ examples.
+
+ And then it means we no longer need to generate the same header twice,
+ so we remove the second one from configure.ac.
+
+ Now, we can just call "autoreconf -fi" to generate the autotools files,
+ instead of relying on the canned sequence in "buildconf", since
+ autoreconf has now long known what to do at the correct moment (future
+ versions of autotools, automake, autopoint, autoheader etc... may
+ require an other ordering, or other intermediate steps, etc...).
+
+ Eventually, get rid of buildconf now it is no longer needed. In fact, we
+ really keep it for legacy, but have it just call autoreconf (and print a
+ nice user-friendly warning). Don't include it in the release tarballs,
+ though.
+
+ Update doc, gitignore, and travis-CI jobs accordingly.
+
+ Credit:
+ Signed-off-by: "Yann E. MORIN"
+ Cc: Sam Voss
+
+- [Will Cosgrove brought this change]
+
+ libssh2.h: Update Diffie Hellman group values (#493)
+
+ File: libssh2.h
+
+ Notes:
+ Update the min, preferred and max DH group values based on RFC 8270.
+
+ Credit:
+ Will Cosgrove, noted from email list by Mitchell Holland
+
+Marc Hoersken (22 Jun 2020)
+- travis: use existing Makefile target to run checksrc
+
+- Makefile: also run checksrc on test source files
+
+- tests: avoid use of deprecated function _sleep (#490)
+
+- tests: avoid use of banned function strncat (#489)
+
+- tests: satisfy checksrc regarding max line length of 79 chars
+
+ Follow up to 2764bc8e06d51876b6796d6080c6ac51e20f3332
+
+- tests: satisfy checksrc with whitespace only fixes
+
+ checksrc.pl -i4 -m79 -ASIZEOFNOPAREN -ASNPRINTF
+ -ACOPYRIGHT -AFOPENMODE tests/*.[ch]
+
+- tests: add support for ports published via Docker for Windows
+
+- tests: restore retry behaviour for docker-machine ip command
+
+- tests: fix mix of declarations and code failing C89 compliance
+
+- wincng: add and improve checks in bit counting function
+
+- wincng: align bits to bytes calculation in all functions
+
+- wincng: do not disable key validation that can be enabled
+
+ The modular exponentiation also works with key validation enabled.
+
+- wincng: fix return value in _libssh2_dh_secret
+
+ Do not ignore return value of modular exponentiation.
+
+- appveyor: build and run tests for WinCNG crypto backend
+
+GitHub (1 Jun 2020)
+- [suryakalpo brought this change]
+
+ INSTALL_CMAKE.md: Update formatting (#481)
+
+ File: INSTALL_CMAKE.md
+
+ Notes:
+ Although the original text would be immediately clear to seasoned users of CMAKE and/or Unix shell, the lack of newlines may cause some confusion for newcomers. Hence, wrapping the texts in a md code-block such that the newlines appear as intended.
+
+ credit:
+ suryakalpo
+
+Marc Hoersken (31 May 2020)
+- src: add new and align include guards in header files (#480)
+
+ Make sure all include guards exist and follow the same format.
+
+- wincng: fix multiple definition of `_libssh2_wincng' (#479)
+
+ Add missing include guard and move global state
+ from header to source file by using extern.
+
+GitHub (28 May 2020)
+- [Will Cosgrove brought this change]
+
+ transport.c: moving total_num check from #476 (#478)
+
+ file: transport.c
+
+ notes:
+ moving total_num zero length check from #476 up to the prior bounds check which already includes a total_num check. Makes it slightly more readable.
+
+ credit:
+ Will Cosgrove
+
+- [lutianxiong brought this change]
+
+ transport.c: fix use-of-uninitialized-value (#476)
+
+ file:transport.c
+
+ notes:
+ return error if malloc(0)
+
+ credit:
+ lutianxiong
+
+- [Dr. Koutheir Attouchi brought this change]
+
+ libssh2_sftp.h: Changed type of LIBSSH2_FX_* constants to unsigned long, fixes #474
+
+ File:
+ libssh2_sftp.h
+
+ Notes:
+ Error constants `LIBSSH2_FX_*` are only returned by `libssh2_sftp_last_error()` which returns `unsigned long`.
+ Therefore these constants should be defined as unsigned long literals, instead of int literals.
+
+ Credit:
+ Dr. Koutheir Attouchi
+
+- [monnerat brought this change]
+
+ os400qc3.c: constify libssh2_os400qc3_hash_update() data parameter. (#469)
+
+ Files: os400qc3.c, os400qc3.h
+
+ Notes:
+ Fixes building on OS400. #426
+
+ Credit:
+ Reported-by: hjindra on github, dev by Monnerat
+
+- [monnerat brought this change]
+
+ HACKING.CRYPTO: keep up to date with new crypto definitions from code. (#466)
+
+ File: HACKING.CRYPTO
+
+ Notes:
+ This commit updates the HACKING.CRYPTO documentation file in an attempt to make it in sync with current code.
+ New documented features are:
+
+ SHA384
+ SHA512
+ ECDSA
+ ED25519
+
+ Credit:
+ monnerat
+
+- [Harry Sintonen brought this change]
+
+ kex.c: Add diffie-hellman-group14-sha256 Key Exchange Method (#464)
+
+ File: kex.c
+
+ Notes: Added diffie-hellman-group14-sha256 kex
+
+ Credit: Harry Sintonen
+
+- [Will Cosgrove brought this change]
+
+ os400qc3.h: define sha512 macros (#465)
+
+ file: os400qc3.h
+ notes: fixes for building libssh2 1.9.x
+
+- [Will Cosgrove brought this change]
+
+ os400qc3.h: define EC types to fix building #426 (#462)
+
+ File: os400qc3.h
+ Notes: define missing EC types which prevents building
+ Credit: hjindra
+
+- [Brendan Shanks brought this change]
+
+ hostkey.c: Fix 'unsigned int'/'uint32_t' mismatch (#461)
+
+ File: hostkey.c
+
+ Notes:
+ These types are the same size so most compilers are fine with it, but CodeWarrior (on classic MacOS) throws an ‘illegal implicit conversion’ error
+
+ Credit: Brendan Shanks
+
+- [Thomas Klausner brought this change]
+
+ Makefile.am: Fix unportable test(1) operator. (#459)
+
+ file: Makefile.am
+
+ Notes:
+ The POSIX comparison operator for test(1) is =; bash supports == but not even test from GNU coreutils does.
+
+ Credit:
+ Thomas Klausner
+
+- [Tseng Jun brought this change]
+
+ openssl.c: minor changes of coding style (#454)
+
+ File: openssl.c
+
+ Notes:
+ minor changes of coding style and align preprocessor conditional for #439
+
+ Credit:
+ Tseng Jun
+
+- [Hans Meier brought this change]
+
+ openssl.c: Fix for use of uninitialized aes_ctr_cipher.key_len (#453)
+
+ File:
+ Openssl.c
+
+ Notes:
+ * Fix for use of uninitialized aes_ctr_cipher.key_len when using HAVE_OPAQUE_STRUCTS, regression from #439
+
+ Credit:
+ Hans Meirer, Tseng Jun
+
+- [Zenju brought this change]
+
+ agent.c: Fix Unicode builds on Windows (#417)
+
+ File: agent.c
+
+ Notes:
+ Fixes unicode builds for Windows in Visual Studio 16.3.2.
+
+ Credit:
+ Zenju
+
+- [Hans Meier brought this change]
+
+ openssl.c: Fix use-after-free crash in openssl backend without memory leak (#439)
+
+ Files: openssl.c
+
+ Notes:
+ Fixes memory leaks and use after free AES EVP_CIPHER contexts when using OpenSSL 1.0.x.
+
+ Credit:
+ Hans Meier
+
+- [Romain Geissler @ Amadeus brought this change]
+
+ Session.c: Fix undefined warning when mixing with LTO-enabled libcurl. (#449)
+
+ File: Session.c
+
+ Notes:
+ With gcc 9, libssh2, libcurl and LTO enabled for all binaries I see this
+ warning (error with -Werror):
+
+ vssh/libssh2.c: In function ‘ssh_statemach_act’:
+ /data/mwrep/rgeissler/ospack/ssh2/BUILD/libssh2-libssh2-03c7c4a/src/session.c:579:9: error: ‘seconds_to_next’ is used uninitialized in this function [-Werror=uninitialized]
+ 579 | int seconds_to_next;
+ | ^
+ lto1: all warnings being treated as errors
+
+ Gcc normally issues -Wuninitialized when it is sure there is a problem,
+ and -Wmaybe-uninitialized when it's not sure, but it's possible. Here
+ the compiler seems to have find a real case where this could happen. I
+ looked in your code and overall it seems you always check if the return
+ code is non null, not often that it's below zero. I think we should do
+ the same here. With this patch, gcc is fine.
+
+ Credit:
+ Romain-Geissler-1A
+
+- [Zenju brought this change]
+
+ transport.c: Fix crash with delayed compression (#443)
+
+ Files: transport.c
+
+ Notes:
+ Fixes crash with delayed compression option using Bitvise server.
+
+ Contributor:
+ Zenju
+
+- [Will Cosgrove brought this change]
+
+ Update INSTALL_MAKE path to INSTALL_MAKE.md (#446)
+
+ Included for #429
+
+- [Will Cosgrove brought this change]
+
+ Update INSTALL_CMAKE filename to INSTALL_CMAKE.md (#445)
+
+ Fixing for #429
+
+- [Wallace Souza brought this change]
+
+ Rename INSTALL_CMAKE to INTALL_CMAKE.md (#429)
+
+ Adding Markdown file extension in order to Github render the instructions properly
+
+Will Cosgrove (17 Dec 2019)
+- [Daniel Stenberg brought this change]
+
+ include/libssh2.h: fix comment: the known host key uses 4 bits (#438)
+
+- [Zenju brought this change]
+
+ ssh-ed25519: Support PKIX + calc pubkey from private (#416)
+
+ Files: openssl.c/h
+ Author: Zenju
+ Notes:
+ Adds support for PKIX key reading by fixing:
+
+ _libssh2_pub_priv_keyfile() is missing the code to extract the ed25519 public key from a given private key
+
+ _libssh2_ed25519_new_private_frommemory is only parsing the openssh key format but does not understand PKIX (as retrieved via PEM_read_bio_PrivateKey)
+
+GitHub (15 Oct 2019)
+- [Will Cosgrove brought this change]
+
+ .travis.yml: Fix Chrome and 32 bit builds (#423)
+
+ File: .travis.yml
+
+ Notes:
+ * Fix Chrome installing by using Travis build in directive
+ * Update to use libgcrypt20-dev package to fix 32 bit builds based on comments found here:
+ https://launchpad.net/ubuntu/xenial/i386/libgcrypt11-dev
+
+- [Will Cosgrove brought this change]
+
+ packet.c: improved parsing in packet_x11_open (#410)
+
+ Use new API to parse data in packet_x11_open() for better bounds checking.
+
+Will Cosgrove (12 Sep 2019)
+- [Michael Buckley brought this change]
+
+ knownhost.c: Double the static buffer size when reading and writing known hosts (#409)
+
+ Notes:
+ We had a user who was being repeatedly prompted to accept a server key repeatedly. It turns out the base64-encoded key was larger than the static buffers allocated to read and write known hosts. I doubled the size of these buffers.
+
+ Credit:
+ Michael Buckley
+
+GitHub (4 Sep 2019)
+- [Will Cosgrove brought this change]
+
+ packet.c: improved packet parsing in packet_queue_listener (#404)
+
+ * improved bounds checking in packet_queue_listener
+
+ file: packet.c
+
+ notes:
+ improved parsing packet in packet_queue_listener
+
+- [Will Cosgrove brought this change]
+
+ packet.c: improve message parsing (#402)
+
+ * packet.c: improve parsing of packets
+
+ file: packet.c
+
+ notes:
+ Use _libssh2_get_string API in SSH_MSG_DEBUG/SSH_MSG_DISCONNECT. Additional uint32 bounds check in SSH_MSG_GLOBAL_REQUEST.
+
+- [Will Cosgrove brought this change]
+
+ misc.c: _libssh2_ntohu32 cast bit shifting (#401)
+
+ To quite overly aggressive analyzers.
+
+ Note, the builds pass, Travis is having some issues with Docker images.
+
+- [Will Cosgrove brought this change]
+
+ kex.c: improve bounds checking in kex_agree_methods() (#399)
+
+ file: kex.c
+
+ notes:
+ use _libssh2_get_string instead of kex_string_pair which does additional checks
+
+Will Cosgrove (23 Aug 2019)
+- [Fabrice Fontaine brought this change]
+
+ acinclude.m4: add mbedtls to LIBS (#371)
+
+ Notes:
+ This is useful for static builds so that the Libs.private field in
+ libssh2.pc contains correct info for the benefit of pkg-config users.
+ Static link with libssh2 requires this information.
+
+ Signed-off-by: Baruch Siach
+ [Retrieved from:
+ https://git.buildroot.net/buildroot/tree/package/libssh2/0002-acinclude.m4-add-mbedtls-to-LIBS.patch]
+ Signed-off-by: Fabrice Fontaine
+
+ Credit:
+ Fabrice Fontaine
+
+- [jethrogb brought this change]
+
+ Generate debug info when building with MSVC (#178)
+
+ files: CMakeLists.txt
+
+ notes: Generate debug info when building with MSVC
+
+ credit:
+ jethrogb
+
+- [Panos brought this change]
+
+ Add agent forwarding implementation (#219)
+
+ files: channel.c, test_agent_forward_succeeds.c, libssh2_priv.h, libssh2.h, ssh2_agent_forwarding.c
+
+ notes:
+ * Adding SSH agent forwarding.
+ * Fix agent forwarding message, updated example.
+ Added integration test code and cmake target. Added example to cmake list.
+
+ credit:
+ pkittenis
+
+GitHub (2 Aug 2019)
+- [Will Cosgrove brought this change]
+
+ Update EditorConfig
+
+ Added max_line_length = 80
+
+- [Will Cosgrove brought this change]
+
+ global.c : fixed call to libssh2_crypto_exit #394 (#396)
+
+ * global.c : fixed call to libssh2_crypto_exit #394
+
+ File: global.c
+
+ Notes: Don't call `libssh2_crypto_exit()` until `_libssh2_initialized` count is down to zero.
+
+ Credit: seba30
+
+Will Cosgrove (30 Jul 2019)
+- [hlefebvre brought this change]
+
+ misc.c : Add an EWOULDBLOCK check for better portability (#172)
+
+ File: misc.c
+
+ Notes: Added support for all OS' that implement EWOULDBLOCK, not only VMS
+
+ Credit: hlefebvre
+
+- [Etienne Samson brought this change]
+
+ userauth.c: fix off by one error when loading public keys with no id (#386)
+
+ File: userauth.c
+
+ Credit:
+ Etienne Samson
+
+ Notes:
+ Caught by ASAN:
+
+ =================================================================
+ ==73797==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60700001bcf0 at pc 0x00010026198d bp 0x7ffeefbfed30 sp 0x7ffeefbfe4d8
+ READ of size 69 at 0x60700001bcf0 thread T0
+ 2019-07-04 08:35:30.292502+0200 atos[73890:2639175] examining /Users/USER/*/libssh2_clar [73797]
+ #0 0x10026198c in wrap_memchr (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x1f98c)
+ #1 0x1000f8e66 in file_read_publickey userauth.c:633
+ #2 0x1000f2dc9 in userauth_publickey_fromfile userauth.c:1513
+ #3 0x1000f2948 in libssh2_userauth_publickey_fromfile_ex userauth.c:1590
+ #4 0x10000e254 in test_userauth_publickey__ed25519_auth_ok publickey.c:69
+ #5 0x1000090c3 in clar_run_test clar.c:260
+ #6 0x1000038f3 in clar_run_suite clar.c:343
+ #7 0x100003272 in clar_test_run clar.c:522
+ #8 0x10000c3cc in main runner.c:60
+ #9 0x7fff5b43b3d4 in start (libdyld.dylib:x86_64+0x163d4)
+
+ 0x60700001bcf0 is located 0 bytes to the right of 80-byte region [0x60700001bca0,0x60700001bcf0)
+ allocated by thread T0 here:
+ #0 0x10029e053 in wrap_malloc (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5c053)
+ #1 0x1000b4978 in libssh2_default_alloc session.c:67
+ #2 0x1000f8aba in file_read_publickey userauth.c:597
+ #3 0x1000f2dc9 in userauth_publickey_fromfile userauth.c:1513
+ #4 0x1000f2948 in libssh2_userauth_publickey_fromfile_ex userauth.c:1590
+ #5 0x10000e254 in test_userauth_publickey__ed25519_auth_ok publickey.c:69
+ #6 0x1000090c3 in clar_run_test clar.c:260
+ #7 0x1000038f3 in clar_run_suite clar.c:343
+ #8 0x100003272 in clar_test_run clar.c:522
+ #9 0x10000c3cc in main runner.c:60
+ #10 0x7fff5b43b3d4 in start (libdyld.dylib:x86_64+0x163d4)
+
+ SUMMARY: AddressSanitizer: heap-buffer-overflow (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x1f98c) in wrap_memchr
+ Shadow bytes around the buggy address:
+ 0x1c0e00003740: fd fd fd fd fd fd fd fd fd fd fa fa fa fa fd fd
+ 0x1c0e00003750: fd fd fd fd fd fd fd fa fa fa fa fa 00 00 00 00
+ 0x1c0e00003760: 00 00 00 00 00 00 fa fa fa fa 00 00 00 00 00 00
+ 0x1c0e00003770: 00 00 00 fa fa fa fa fa fd fd fd fd fd fd fd fd
+ 0x1c0e00003780: fd fd fa fa fa fa fd fd fd fd fd fd fd fd fd fa
+ =>0x1c0e00003790: fa fa fa fa 00 00 00 00 00 00 00 00 00 00[fa]fa
+ 0x1c0e000037a0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
+ 0x1c0e000037b0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
+ 0x1c0e000037c0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
+ 0x1c0e000037d0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
+ 0x1c0e000037e0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
+ Shadow byte legend (one shadow byte represents 8 application bytes):
+ Addressable: 00
+ Partially addressable: 01 02 03 04 05 06 07
+ Heap left redzone: fa
+ Freed heap region: fd
+ Stack left redzone: f1
+ Stack mid redzone: f2
+ Stack right redzone: f3
+ Stack after return: f5
+ Stack use after scope: f8
+ Global redzone: f9
+ Global init order: f6
+ Poisoned by user: f7
+ Container overflow: fc
+ Array cookie: ac
+ Intra object redzone: bb
+ ASan internal: fe
+ Left alloca redzone: ca
+ Right alloca redzone: cb
+ Shadow gap: cc
+
+- [Thilo Schulz brought this change]
+
+ openssl.c : Fix use-after-free crash on reinitialization of openssl backend
+
+ file : openssl.c
+
+ notes :
+ libssh2's openssl backend has a use-after-free condition if HAVE_OPAQUE_STRUCTS is defined and you call libssh2_init() again after prior initialisation/deinitialisation of libssh2
+
+ credit : Thilo Schulz
+
+- [axjowa brought this change]
+
+ openssl.h : Use of ifdef where if should be used (#389)
+
+ File : openssl.h
+
+ Notes :
+ LIBSSH2_ECDSA and LIBSSH2_ED25519 are always defined so the #ifdef
+ checks would never be false.
+
+ This change makes it possible to build libssh2 against OpenSSL built
+ without EC support.
+
+ Change-Id: I0a2f07c2d80178314dcb7d505d1295d19cf15afd
+
+ Credit : axjowa
+
+- [Zenju brought this change]
+
+ Agent.c : Preserve error info from agent_list_identities() (#374)
+
+ Files : agent.c
+
+ Notes :
+ Currently the error details as returned by agent_transact_pageant() are overwritten by a generic "agent list id failed" message by int agent_list_identities(LIBSSH2_AGENT* agent).
+
+ Credit :
+ Zenju
+
+- [Who? Me?! brought this change]
+
+ Channel.c: Make sure the error code is set in _libssh2_channel_open() (#381)
+
+ File : Channel.c
+
+ Notes :
+ if _libssh2_channel_open() fails, set the error code.
+
+ Credit :
+ mark-i-m
+
+- [Orgad Shaneh brought this change]
+
+ Kex.c, Remove unneeded call to strlen (#373)
+
+ File : Kex.c
+
+ Notes :
+ Removed call to strlen
+
+ Credit :
+ Orgad Shaneh
+
+- [Pedro Monreal brought this change]
+
+ Spelling corrections (#380)
+
+ Files :
+ libssh2.h, libssh2_sftp.h, bcrypt_pbkdf.c, mbedtls.c, sftp.c, ssh2.c
+
+ Notes :
+ * Fixed misspellings
+
+ Credit :
+ Pedro Monreal
+
+- [Sebastián Katzer brought this change]
+
+ Fix Potential typecast error for `_libssh2_ecdsa_key_get_curve_type` (#383)
+
+ Issue : #383
+
+ Files : hostkey.c, crypto.h, openssl.c
+
+ Notes :
+ * Fix potential typecast error for `_libssh2_ecdsa_key_get_curve_type`
+ * Rename _libssh2_ecdsa_key_get_curve_type to _libssh2_ecdsa_get_curve_type
+
+ Credit :
+ Sebastián Katzer
+
+GitHub (20 Jun 2019)
+- [Will Cosgrove brought this change]
+
+ bump copyright date
+
+Version 1.9.0 (19 Jun 2019)
+
+GitHub (19 Jun 2019)
+- [Will Cosgrove brought this change]
+
+ 1.9 Formatting
+
+- [Will Cosgrove brought this change]
+
+ 1.9 Release notes
+
+Will Cosgrove (17 May 2019)
+- [Alexander Curtiss brought this change]
+
+ libgcrypt.c : Fixed _libssh2_rsa_sha1_sign memory leak. (#370)
+
+ File: libgcrypt.c
+
+ Notes : Added calls to gcry_sexp_release to free memory allocated by gcry_sexp_find_token
+
+ Credit :
+ Reporter : beckmi
+ PR by: Alexander Curtiss
+
+- [Orivej Desh brought this change]
+
+ libssh2_priv.h : Fix musl build warning on sys/poll.h (#346)
+
+ File : libssh2_priv.h
+
+ Notes :
+ musl prints `redirecting incorrect #include to `
+ http://git.musl-libc.org/cgit/musl/commit/include/sys/poll.h?id=54446d730cfb17c5f7bcf57f139458678f5066cc
+
+ poll is defined by POSIX to be in poll.h:
+ http://pubs.opengroup.org/onlinepubs/7908799/xsh/poll.html
+
+ Credit : Orivej Desh
+
+GitHub (1 May 2019)
+- [Will Cosgrove brought this change]
+
+ kex.c : additional bounds checks in diffie_hellman_sha1/256 (#361)
+
+ Files : kex.c, misc.c, misc.h
+
+ Notes :
+ Fixed possible out of bounds memory access when reading malformed data in diffie_hellman_sha1() and diffie_hellman_sha256().
+
+ Added _libssh2_copy_string() to misc.c to return an allocated and filled char buffer from a string_buf offset. Removed no longer needed s var in kmdhgGPshakex_state_t.
+
+Will Cosgrove (26 Apr 2019)
+- [Tseng Jun brought this change]
+
+ sftp.c : sftp_bin2attr() Correct attrs->gid assignment (#366)
+
+ Regression with fix for #339
+
+ Credit : Tseng Jun
+
+- [Tseng Jun brought this change]
+
+ kex.c : Correct type cast in curve25519_sha256() (#365)
+
+GitHub (24 Apr 2019)
+- [Will Cosgrove brought this change]
+
+ transport.c : scope local total_num var (#364)
+
+ file : transport.c
+ notes : move local `total_num` variable inside of if block to prevent scope access issues which caused #360.
+
+Will Cosgrove (24 Apr 2019)
+- [doublex brought this change]
+
+ transport.c : fixes bounds check if partial packet is read
+
+ Files : transport.c
+
+ Issue : #360
+
+ Notes :
+ 'p->total_num' instead of local value total_num when doing bounds check.
+
+ Credit : Doublex
+
+GitHub (23 Apr 2019)
+- [Will Cosgrove brought this change]
+
+ Editor config file for source files (#322)
+
+ Simple start to an editor config file when editing source files to make sure they are configured correctly.
+
+- [Will Cosgrove brought this change]
+
+ misc.c : String buffer API improvements (#332)
+
+ Files : misc.c, hostkey.c, kex.c, misc.h, openssl.c, sftp.c
+
+ Notes :
+ * updated _libssh2_get_bignum_bytes and _libssh2_get_string. Now pass in length as an argument instead of returning it to keep signedness correct. Now returns -1 for failure, 0 for success.
+
+ _libssh2_check_length now returns 0 on success and -1 on failure to match the other string_buf functions. Added comment to _libssh2_check_length.
+
+ Credit : Will Cosgrove
+
+Will Cosgrove (19 Apr 2019)
+- [doublex brought this change]
+
+ mbedtls.c : _libssh2_mbedtls_rsa_new_private_frommemory() allow private-key from memory (#359)
+
+ File : mbedtls.c
+
+ Notes: _libssh2_mbedtls_rsa_new_private_frommemory() fixes private-key from memory reading to by adding NULL terminator before parsing; adds passphrase support.
+
+ Credit: doublex
+
+- [Ryan Kelley brought this change]
+
+ Session.c : banner_receive() from leaking when accessing non ssh ports (#356)
+
+ File : session.c
+
+ Release previous banner in banner_receive() if the session is reused after a failed connection.
+
+ Credit : Ryan Kelley
+
+GitHub (11 Apr 2019)
+- [Will Cosgrove brought this change]
+
+ Formatting in agent.c
+
+ Removed whitespace.
+
+- [Will Cosgrove brought this change]
+
+ Fixed formatting in agent.c
+
+ Quiet linter around a couple if blocks and pointer.
+
+Will Cosgrove (11 Apr 2019)
+- [Zhen-Huan HWANG brought this change]
+
+ sftp.c : discard and reset oversized packet in sftp_packet_read() (#269)
+
+ file : sftp.c
+
+ notes : when sftp_packet_read() encounters an sftp packet which exceeds SFTP max packet size it now resets the reading state so it can continue reading.
+
+ credit : Zhen-Huan HWANG
+
+GitHub (11 Apr 2019)
+- [Will Cosgrove brought this change]
+
+ Add agent functions libssh2_agent_get_identity_path() and libssh2_agent_set_identity_path() (#308)
+
+ File : agent.c
+
+ Notes :
+ Libssh2 uses the SSH_AUTH_SOCK env variable to read the system agent location. However, when using a custom agent path you have to set this value using setenv which is not thread-safe. The new functions allow for a way to set a custom agent socket path in a thread safe manor.
+
+- [Will Cosgrove brought this change]
+
+ Simplified _libssh2_check_length (#350)
+
+ * Simplified _libssh2_check_length
+
+ misc.c : _libssh2_check_length()
+
+ Removed cast and improved bounds checking and format.
+
+ Credit : Yuriy M. Kaminskiy
+
+- [Will Cosgrove brought this change]
+
+ _libssh2_check_length() : additional bounds check (#348)
+
+ Misc.c : _libssh2_check_length()
+
+ Ensure the requested length is less than the total length before doing the additional bounds check
+
+Daniel Stenberg (25 Mar 2019)
+- misc: remove 'offset' from string_buf
+
+ It isn't necessary.
+
+ Closes #343
+
+- sftp: repair mtime from e1ead35e475
+
+ A regression from e1ead35e4759 broke the SFTP mtime logic in
+ sftp_bin2attr
+
+ Also simplified the _libssh2_get_u32/u64 functions slightly.
+
+ Closes #342
+
+- session_disconnect: don't zero state, just clear the right bit
+
+ If we clear the entire field, the freeing of data in session_free() is
+ skipped. Instead just clear the bit that risk making the code get stuck
+ in the transport functions.
+
+ Regression from 4d66f6762ca3fc45d9.
+
+ Reported-by: dimmaq on github
+ Fixes #338
+ Closes #340
+
+- libssh2_sftp.h: restore broken ABI
+
+ Commit 41fbd44 changed variable sizes/types in a public struct which
+ broke the ABI, which breaks applications!
+
+ This reverts that change.
+
+ Closes #339
+
+- style: make includes and examples code style strict
+
+ make travis and the makefile rule verify them too
+
+ Closes #334
+
+GitHub (21 Mar 2019)
+- [Daniel Stenberg brought this change]
+
+ create a github issue template
+
+Daniel Stenberg (21 Mar 2019)
+- stale-bot: activated
+
+ The stale bot will automatically mark stale issues (inactive for 90
+ days) and if still untouched after 21 more days, close them.
+
+ See https://probot.github.io/apps/stale/
+
+- libssh2_session_supported_algs.3: fix formatting mistakes
+
+ Reported-by: Max Horn
+ Fixes #57
+
+- [Zenju brought this change]
+
+ libssh2.h: Fix Error C2371 'ssize_t': redefinition
+
+ Closes #331
+
+- travis: add code style check
+
+ Closes #324
+
+- code style: unify code style
+
+ Indent-level: 4
+ Max columns: 79
+ No spaces after if/for/while
+ Unified brace positions
+ Unified white spaces
+
+- src/checksrc.pl: code style checker
+
+ imported as-is from curl
+
+Will Cosgrove (19 Mar 2019)
+- Merge branch 'MichaelBuckley-michaelbuckley-security-fixes'
+
+- Silence unused var warnings (#329)
+
+ Silence warnings about unused variables in this test
+
+- Removed unneeded > 0 check
+
+ When checking `userauth_kybd_num_prompts > 100` we don't care if it's also above zero.
+
+- [Matthew D. Fuller brought this change]
+
+ Spell OpenSS_H_ right when talking about their specific private key (#321)
+
+ Good catch, thanks.
+
+GitHub (19 Mar 2019)
+- [Will Cosgrove brought this change]
+
+ Silence unused var warnings (#329)
+
+ Silence warnings about unused variables in this test
+
+Michael Buckley (19 Mar 2019)
+- Fix more scope and printf warning errors
+
+- Silence unused variable warning
+
+GitHub (19 Mar 2019)
+- [Will Cosgrove brought this change]
+
+ Removed unneeded > 0 check
+
+ When checking `userauth_kybd_num_prompts > 100` we don't care if it's also above zero.
+
+Will Cosgrove (19 Mar 2019)
+- [Matthew D. Fuller brought this change]
+
+ Spell OpenSS_H_ right when talking about their specific private key (#321)
+
+ Good catch, thanks.
+
+Michael Buckley (18 Mar 2019)
+- Fix errors identified by the build process
+
+- Fix casting errors after merge
+
+GitHub (18 Mar 2019)
+- [Michael Buckley brought this change]
+
+ Merge branch 'master' into michaelbuckley-security-fixes
+
+Michael Buckley (18 Mar 2019)
+- Move fallback SIZE_MAX and UINT_MAX to libssh2_priv.h
+
+- Fix type and logic issues with _libssh2_get_u64
+
+Daniel Stenberg (17 Mar 2019)
+- examples: fix various compiler warnings
+
+- lib: fix various compiler warnings
+
+- session: ignore pedantic warnings for funcpointer <=> void *
+
+- travis: add a build using configure
+
+ Closes #320
+
+- configure: provide --enable-werror
+
+- appveyor: remove old builds that mostly cause failures
+
+ ... and only run on master branch.
+
+ Closes #323
+
+- cmake: add two missing man pages to get installed too
+
+ Both libssh2_session_handshake.3 and
+ libssh2_userauth_publickey_frommemory.3 were installed by the configure
+ build already.
+
+ Reported-by: Arfrever on github
+ Fixes #278
+
+- include/libssh2.h: warning: "_WIN64" is not defined, evaluates to 0
+
+ We don't use #if for defines that might not be defined.
+
+- pem: //-comments are not allowed
+
+Will Cosgrove (14 Mar 2019)
+- [Daniel Stenberg brought this change]
+
+ userauth: fix "Function call argument is an uninitialized value" (#318)
+
+ Detected by scan-build.
+
+- fixed unsigned/signed issue
+
+Daniel Stenberg (15 Mar 2019)
+- session_disconnect: clear state
+
+ If authentication is started but not completed before the application
+ gives up and instead wants to shut down the session, the '->state' field
+ might still be set and thus effectively dead-lock session_disconnect.
+
+ This happens because both _libssh2_transport_send() and
+ _libssh2_transport_read() refuse to do anything as long as state is set
+ without the LIBSSH2_STATE_KEX_ACTIVE bit.
+
+ Reported in curl bug https://github.com/curl/curl/issues/3650
+
+ Closes #310
+
+Will Cosgrove (14 Mar 2019)
+- Release notes from 1.8.1
+
+Michael Buckley (14 Mar 2019)
+- Use string_buf in sftp_init().
+
+- Guard against out-of-bounds reads in publickey.c
+
+- Guard against out-of-bounds reads in session.c
+
+- Guard against out-of-bounds reads in userauth.c
+
+- Use LIBSSH2_ERROR_BUFFER_TOO_SMALL instead of LIBSSH2_ERROR_OUT_OF_BOUNDARY in sftp.c
+
+- Additional bounds checking in sftp.c
+
+- Additional length checks to prevent out-of-bounds reads and writes in _libssh2_packet_add(). https://libssh2.org/CVE-2019-3862.html
+
+- Add a required_size parameter to sftp_packet_require et. al. to require callers of these functions to handle packets that are too short. https://libssh2.org/CVE-2019-3860.html
+
+- Check the length of data passed to sftp_packet_add() to prevent out-of-bounds reads.
+
+- Prevent zero-byte allocation in sftp_packet_read() which could lead to an out-of-bounds read. https://libssh2.org/CVE-2019-3858.html
+
+- Sanitize padding_length - _libssh2_transport_read(). https://libssh2.org/CVE-2019-3861.html
+
+ This prevents an underflow resulting in a potential out-of-bounds read if a server sends a too-large padding_length, possibly with malicious intent.
+
+- Defend against writing beyond the end of the payload in _libssh2_transport_read().
+
+- Defend against possible integer overflows in comp_method_zlib_decomp.
+
+GitHub (14 Mar 2019)
+- [Will Cosgrove brought this change]
+
+ Security fixes (#315)
+
+ * Bounds checks
+
+ Fixes for CVEs
+ https://www.libssh2.org/CVE-2019-3863.html
+ https://www.libssh2.org/CVE-2019-3856.html
+
+ * Packet length bounds check
+
+ CVE
+ https://www.libssh2.org/CVE-2019-3855.html
+
+ * Response length check
+
+ CVE
+ https://www.libssh2.org/CVE-2019-3859.html
+
+ * Bounds check
+
+ CVE
+ https://www.libssh2.org/CVE-2019-3857.html
+
+ * Bounds checking
+
+ CVE
+ https://www.libssh2.org/CVE-2019-3859.html
+
+ and additional data validation
+
+ * Check bounds before reading into buffers
+
+ * Bounds checking
+
+ CVE
+ https://www.libssh2.org/CVE-2019-3859.html
+
+ * declare SIZE_MAX and UINT_MAX if needed
+
+- [Will Cosgrove brought this change]
+
+ fixed type warnings (#309)
+
+- [Will Cosgrove brought this change]
+
+ Bumping version number for pending 1.8.1 release
+
+Will Cosgrove (4 Mar 2019)
+- [Daniel Stenberg brought this change]
+
+ _libssh2_string_buf_free: use correct free (#304)
+
+ Use LIBSSH2_FREE() here, not free(). We allow memory function
+ replacements so free() is rarely the right choice...
+
+GitHub (26 Feb 2019)
+- [Will Cosgrove brought this change]
+
+ Fix for building against libreSSL #302
+
+ Changed to use the check we use elsewhere.
+
+- [Will Cosgrove brought this change]
+
+ Fix for when building against LibreSSL #302
+
+Will Cosgrove (25 Feb 2019)
+- [gartens brought this change]
+
+ docs: update libssh2_hostkey_hash.3 [ci skip] (#301)
+
+GitHub (21 Feb 2019)
+- [Will Cosgrove brought this change]
+
+ fix malloc/free mismatches #296 (#297)
+
+- [Will Cosgrove brought this change]
+
+ Replaced malloc with calloc #295
+
+- [Will Cosgrove brought this change]
+
+ Abstracted OpenSSL calls out of hostkey.c (#294)
+
+- [Will Cosgrove brought this change]
+
+ Fix memory dealloc impedance mis-match #292 (#293)
+
+ When using ed25519 host keys and a custom memory allocator.
+
+- [Will Cosgrove brought this change]
+
+ Added call to OpenSSL_add_all_digests() #288
+
+ For OpenSSL 1.0.x we need to call OpenSSL_add_all_digests().
+
+Will Cosgrove (12 Feb 2019)
+- [Zhen-Huan HWANG brought this change]
+
+ SFTP: increase maximum packet size to 256K (#268)
+
+ to match implementations like OpenSSH.
+
+- [Zenju brought this change]
+
+ Fix https://github.com/libssh2/libssh2/pull/271 (#284)
+
+GitHub (16 Jan 2019)
+- [Will Cosgrove brought this change]
+
+ Agent NULL check in shutdown #281
+
+Will Cosgrove (15 Jan 2019)
+- [Adrian Moran brought this change]
+
+ mbedtls: Fix leak of 12 bytes by each key exchange. (#280)
+
+ Correctly free ducts by calling _libssh2_mbedtls_bignum_free() in dtor.
+
+- [alex-weaver brought this change]
+
+ Fix error compiling on Win32 with STDCALL=ON (#275)
+
+GitHub (8 Nov 2018)
+- [Will Cosgrove brought this change]
+
+ Allow default permissions to be used in sftp_mkdir (#271)
+
+ Added constant LIBSSH2_SFTP_DEFAULT_MODE to use the server default permissions when making a new directory
+
+Will Cosgrove (13 Sep 2018)
+- [Giulio Benetti brought this change]
+
+ openssl: fix dereferencing ambiguity potentially causing build failure (#267)
+
+ When dereferencing from *aes_ctr_cipher, being a pointer itself,
+ ambiguity can occur; fixed possible build errors.
+
+Viktor Szakats (12 Sep 2018)
+- win32/GNUmakefile: define HAVE_WINDOWS_H
+
+ This macro was only used in test/example code before, now it is
+ also used in library code, but only defined automatically by
+ automake/cmake, so let's do the same for the standalone win32
+ make file.
+
+ It'd be probably better to just rely on the built-in _WIN32 macro
+ to detect the presence of windows.h though. It's already used
+ in most of libssh2 library code. There is a 3rd, similar macro
+ named LIBSSH2_WIN32, which might also be replaced with _WIN32.
+
+ Ref: https://github.com/libssh2/libssh2/commit/8b870ad771cbd9cd29edbb3dbb0878e950f868ab
+ Closes https://github.com/libssh2/libssh2/pull/266
+
+Marc Hoersken (2 Sep 2018)
+- Fix conditional check for HAVE_DECL_SECUREZEROMEMORY
+
+ "Unlike the other `AC_CHECK_*S' macros, when a symbol is not declared,
+ HAVE_DECL_symbol is defined to `0' instead of leaving HAVE_DECL_symbol
+ undeclared. When you are sure that the check was performed,
+ use HAVE_DECL_symbol in #if."
+
+ Source: autoconf documentation for AC_CHECK_DECLS.
+
+- Fix implicit declaration of function 'SecureZeroMemory'
+
+ Include window.h in order to use SecureZeroMemory on Windows.
+
+- Fix implicit declaration of function 'free' by including stdlib.h
+
+GitHub (27 Aug 2018)
+- [Will Cosgrove brought this change]
+
+ Use malloc abstraction function in pem parse
+
+ Fix warning on WinCNG build.
+
+- [Will Cosgrove brought this change]
+
+ Fixed possible junk memory read in sftp_stat #258
+
+- [Will Cosgrove brought this change]
+
+ removed INT64_C define (#260)
+
+ No longer used.
+
+- [Will Cosgrove brought this change]
+
+ Added conditional around engine.h include
+
+Will Cosgrove (6 Aug 2018)
+- [Alex Crichton brought this change]
+
+ Fix OpenSSL link error with `no-engine` support (#259)
+
+ This commit fixes linking against an OpenSSL library that was compiled with
+ `no-engine` support by bypassing the initialization routines as they won't be
+ available anyway.
+
+GitHub (2 Aug 2018)
+- [Will Cosgrove brought this change]
+
+ ED25519 Key Support #39 (#248)
+
+ OpenSSH Key and ED25519 support #39
+ Added _libssh2_explicit_zero() to explicitly zero sensitive data in memory #120
+
+ * ED25519 Key file support - Requires OpenSSL 1.1.1 or later
+ * OpenSSH Key format reading support - Supports RSA/DSA/ECDSA/ED25519 types
+ * New string buffer reading functions - These add build-in bounds checking and convenance methods. Used for OpenSSL PEM file reading.
+ * Added new tests for OpenSSH formatted Keys
+
+- [Will Cosgrove brought this change]
+
+ ECDSA key types are now explicit (#251)
+
+ * ECDSA key types are now explicit
+
+ Issue was brough up in pull request #248
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/doc/libssh2/README b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/doc/libssh2/README
new file mode 100644
index 0000000000000000000000000000000000000000..fca539dbbc94b890eb4a9a00e4713bf5e817d977
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/doc/libssh2/README
@@ -0,0 +1,19 @@
+libssh2 - SSH2 library
+======================
+
+libssh2 is a library implementing the SSH2 protocol, available under
+the revised BSD license.
+
+Web site: https://libssh2.org/
+
+Mailing list: https://lists.haxx.se/listinfo/libssh2-devel
+
+License: see COPYING
+
+Source code: https://github.com/libssh2/libssh2
+
+Web site source code: https://github.com/libssh2/www
+
+Installation instructions are in:
+ - docs/INSTALL_CMAKE for CMake
+ - docs/INSTALL_AUTOTOOLS for Autotools
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/doc/libssh2/RELEASE-NOTES b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/doc/libssh2/RELEASE-NOTES
new file mode 100644
index 0000000000000000000000000000000000000000..d9af1689d697ce61d1b64c52fbbb49812a3a4d45
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/doc/libssh2/RELEASE-NOTES
@@ -0,0 +1,325 @@
+libssh2 1.11.1
+
+Deprecation notices:
+
+- Starting October 2024, the following algos go deprecated and will be
+ disabled in default builds (with an option to enable them):
+
+ - DSA: `ssh-dss` hostkeys.
+ You can enable it now with `-DLIBSSH2_DSA_ENABLE`.
+ Disabled by default in OpenSSH 7.0 (2015-08-11).
+ Support to be removed by early 2025 from OpenSSH.
+ - MD5-based MACs and hashes: `hmac-md5`, `hmac-md5-96`,
+ `LIBSSH2_HOSTKEY_HASH_MD5`
+ You can disable it now with `-DLIBSSH2_NO_MD5`.
+ Disabled by default since OpenSSH 7.2 (2016-02-29).
+ - 3DES cipher: `3des-cbc`
+ You can disable it now with `-DLIBSSH2_NO_3DES`.
+ Disabled by default since OpenSSH 7.4 (2016-12-19).
+ - RIPEMD-160 MACs: `hmac-ripemd160`, `hmac-ripemd160@openssh.com`
+ You can disable it now with `-DLIBSSH2_NO_HMAC_RIPEMD`.
+ Removed in OpenSSH 7.6 (2017-10-03).
+ - Blowfish cipher: `blowfish-cbc`
+ You can disable it now with `-DLIBSSH2_NO_BLOWFISH`.
+ Removed in OpenSSH 7.6 (2017-10-03).
+ - RC4 ciphers: `arcfour`, `arcfour128`
+ You can disable it now with `-DLIBSSH2_NO_RC4`.
+ Removed in OpenSSH 7.6 (2017-10-03).
+ - CAST cipher: `cast128-cbc`
+ You can disable it now with `-DLIBSSH2_NO_CAST`.
+ Removed in OpenSSH 7.6 (2017-10-03).
+
+- Starting April 2025, above options will be deleted from the
+ libssh2 codebase.
+
+ - Default builds will also disable support for old-style, MD5-based
+ encrypted private keys.
+ You can disable it now with `-DLIBSSH2_NO_MD5_PEM`.
+
+This release includes the following enhancements and bugfixes:
+
+- autotools: fix to update `LDFLAGS` for each detected dependency (d19b6190 #1384 #1381 #1377)
+- autotools: delete `--disable-tests` option, fix CI tests (e051ae34 #1271 #715 revert: 7483edfa)
+- autotools: show the default for `hidden-symbols` option (a3f5594a #1269)
+- autotools: enable `-Wunused-macros` with gcc (ecdf5199 #1262 #1227 #1224)
+- autotools: fix dotless gcc and Apple clang version detections (89ccc83c #1232 #1187)
+- autotools: show more clang/gcc version details (fb580161 #1230)
+- autotools: avoid warnings in libtool stub code (96682bd5 #1227 #1224)
+- autotools: sync warning enabler code with curl (5996fefe #1223)
+- autotools: rename variable (ce5f208a #1222)
+- autotools: picky warning options tidy-up (cdca8cff #1221)
+- autotools: fix `cp` to preserve attributes and timestamp in `Makefile.am` (f64e6318)
+- autotools: fix selecting WinCNG in cross-builds (and more) (00a3b88c #1187 #1186)
+- autotools: use comma separator in `Requires.private` of `libssh2.pc` (7f83de14 #1124)
+- autotools: remove `AB_INIT` from `configure.ac` (f4f52ccc)
+- autotools: improve libz position (c89174a7 #1077 #941 #1075 #1013 regr: 4f0f4bff)
+- autotools: skip tests requiring static lib if `--disable-static` (572c57c9 #1072 #663 #1056 regr: 83853f8a)
+- build: stop detecting `sys/param.h` header (2677d3b0 #1418 #1415)
+- build: silence warnings inside `FD_SET()`/`FD_ISSET()` macros (323a14b2 #1379)
+- build: drop `-Wformat-nonliteral` warning suppressions (c452c5cc #1342)
+- build: enable `-pedantic-errors` (3ec53f3e #1286)
+- build: add mingw-w64 support to `LIBSSH2_PRINTF()` attribute (f8c45794 #1287)
+- build: add `LIBSSH2_NO_DEPRECATED` option (b1414503 #1267 #1266 #1260 #1259)
+- build: enable missing OpenSSF-recommended warnings, with fixes (afa6b865 #1257)
+- build: enable more compiler warnings and fix them (7ecc309c #1224)
+- build: picky warning updates (328a96b3 #1219)
+- build: revert: respect autotools `DLL_EXPORT` in `libssh2.h` (481be044 #1141 #917 revert: fb1195cf)
+- build: stop requiring libssl from openssl (c84745e3 #1128)
+- build: tidy-up `libssh2.pc.in` variable names (5720dd9f #1125)
+- build: add/fix `Requires.private` packages in `libssh2.pc` (ef538069 #1123)
+- buildconf: drop (814a850c #1441 follow: fc5d7788)
+- checksrc: update, check all sources, fix fallouts (1117b677 #1457)
+- checksrc: sync with curl (8cd473c9 #1272)
+- checksrc: fix spelling in comment (a95d401f)
+- checksrc: modernise Perl file open (3d309f9b)
+- checksrc: switch to dot file (d67a91aa #1052)
+- ci: use Ninja with cmake (20ad047d #1458)
+- ci: disable dependency tracking in autotools builds (e44f0418 #1396)
+- ci: fix mbedtls runners on macOS (84411539 #1381)
+- ci: enable Unity mode for most CMake builds (1bfae57b #1367 #1034)
+- ci: add shellcheck job and script (d88b9bcd)
+- ci: verify build and install from tarball (a86e27e8 #1362)
+- ci: add reproducibility test for `maketgz` (2d765e45 #1360)
+- ci: use Linux runner for BSDs, add arm64 FreeBSD 14 job (6f86b196 #1343)
+- ci: do not parallelize `distcheck` job (5e65dd87 #1339)
+- ci: add FreeBSD 14 job, fix issues (46333adf #1277)
+- ci: add OmniOS job, fix issues (5e0ec991)
+- ci: show compiler in cross/cygwin job names (c9124088)
+- ci: add OpenBSD (v7.4) job + fix build error in example (0c9a8e35 #1250)
+- ci: add NetBSD (v9.3) job (65c7a7a5)
+- ci: update and speed up FreeBSD job (eee4e805)
+- ci: use absolute path in `CMAKE_INSTALL_PREFIX` (74948816 #1247)
+- ci: boost mbedTLS build speed (236e79a1 #1245)
+- ci: add BoringSSL job (cmake, gcc, amd64) (c9dd3566 #1233)
+- ci: fixup FreeBSD version, bump mbedTLS (fea6664e #1217)
+- ci: add FreeBSD 13.2 job (a7d2a573 #1215)
+- ci: mbedTLS 3.5.0 (5e190442 #1202)
+- ci: update actions, use shallow clones with appveyor (d468a33f #1199)
+- ci: replace `mv` + `chmod` with `install` in `Dockerfile` (5754fed6 #1175)
+- ci: set file mode early in `appveyor_docker.yml` (633db55f)
+- ci: add spellcheck (codespell) (a79218d3)
+- ci: add MSYS builds (autotools and cmake) (d43b8d9b #1162)
+- ci: add Cygwin builds (autotools and cmake) (f1e96e73 #1161)
+- ci: add mingw-w64 UWP build (1215aa5f #1155 #1147)
+- ci: add missing timeout to 'autotools distcheck' step (6265ffdb)
+- ci: add non-static autotools i386 build, ignore GHA updates on AppVeyor (c6e137f7 #1074 #1072)
+- ci: prefer `=` operator in shell snippets (e5c03043 #1073)
+- ci: drop redundant/unused vars, sync var names (ab8e95bc #1059)
+- ci: add i386 Linux build (with mbedTLS) (abdf40c7 #1057 #1053)
+- ci/appveyor: reduce test runs (workaround for infrastructure permafails) (b5e68bdc #1461)
+- ci/appveyor: increase wait for SSH server on GHA (bf3af90b)
+- ci/appveyor: bump to OpenSSL 3.2.1 (53d9c1a6 #1363 #1348)
+- ci/appveyor: re-enable parallel mode (e190e5b2 #1294 #884 #867)
+- ci/appveyor: delete UWP job broken since Visual Studio upgrade (d0a7f1da #1275)
+- ci/appveyor: YAML/PowerShell formatting, shorten variable name (06fd721f #1200)
+- ci/appveyor: move to pure PowerShell (8a081fd9 #1197)
+- ci/GHA: revert concurrency and improve permissions (e4c042f6)
+- ci/GHA: FreeBSD 14.1, actions bump (ae04b1b9 #1424)
+- ci/GHA: fix wolfSSL-from-source AES-GCM tests (1c0b07a7 #1409 #1408)
+- ci/GHA: add Linux job with latest wolfSSL built from source (d4cea53f #1408 #1299 #1020)
+- ci/GHA: tidy up build-from-source steps (2c633033)
+- ci/GHA: show configure logs on failure and other tidy-ups (dab48398 #1403)
+- ci/GHA: bump parallel jobs to nproc+1 (6f3d3bc8 #1402)
+- ci/GHA: show test logs on failure (b8ffa7a5 #1401)
+- ci/GHA: fix `Dockerfile` failing after Ubuntu package update (839bb84e #1400)
+- ci/GHA: use ubuntu-latest with OmniOS job (50143d58)
+- ci/GHA: shell syntax tidy-up (3b23e039 #1390)
+- ci/GHA: bump NetBSD/OpenBSD, add NetBSD arm64 job (e980af72 #1388)
+- ci/GHA: tidy up wolfSSL autotools config on macOS (5953c1f1 #1383)
+- ci/GHA: shorter mbedTLS autotools workaround (736e3d7d #1382 #1381)
+- ci/GHA: fix gcrypt with autotools/macOS/Homebrew/ARM64 (ae2770de #1377)
+- ci/GHA: fix verbose option for autotools jobs (499b27ae #1376)
+- ci/GHA: dump `config.log` on failure for macOS autotools jobs (4fa69214 #1375)
+- ci/GHA: fix `autoreconf` failure on macOS/Homebrew (0b64b30b #1374)
+- ci/GHA: fixup Homebrew location (for ARM runners) (6128aee0 #1373)
+- ci/GHA: review/fixup auto-cancel settings (b08cfbc9 #1292)
+- ci/GHA: restore curly braces in `if` (36748270 #1145)
+- ci/GHA: simplify `if` strings (cab3db58 #1140)
+- cmake: sync and improve Find modules, add `pkg-config` native detection (45064137 #1445 #1420)
+- cmake: generate `LIBSSH2_PC_LIBS_PRIVATE` dynamically (c87f1296 #1466)
+- cmake: add comment about `ibssh2.pc.in` variables (14b1b9d0)
+- cmake: support absolute `CMAKE_INSTALL_INCLUDEDIR`/`CMAKE_INSTALL_LIBDIR` (d70cee36 #1465)
+- cmake: rename two variables and initialize them (0fce9dcc #1464)
+- cmake: prefer `find_dependency()` in `libssh2-config.cmake` (d9c2e550 #1460)
+- cmake: tidy up syntax, minor improvements (9d9ee780 #1446)
+- cmake: rename mbedTLS and wolfSSL Find modules (570de0f2)
+- cmake: fixup version detection in mbedTLS Find module (8e3c40b2 #1444)
+- cmake: mbedTLS detection tidy-ups (6d1d13c2 #1438)
+- cmake: add quotes, delete ending dirseps (2bb46d44 #1437 #1166)
+- cmake: sync formatting in `cmake/Find*` modules (a0310699)
+- cmake: tidy up function name casing in `CopyRuntimeDependencies.cmake` (03547cb8)
+- cmake: use the imported target of FindOpenSSL module (82b09f9b #1322)
+- cmake: rename picky warnings script (64d6789f #1225)
+- cmake: fix multiple include of libssh2 package (932d6a32 #1216)
+- cmake: show crypto backend in feature summary (20387285 #1211)
+- cmake: simplify showing CMake version (fc00bdd7 #1203)
+- cmake: cleanup mbedTLS version detection more (4c241d5c #1196 #1192)
+- cmake: delete duplicate `include()` (30eef0a6)
+- cmake: improve/fix mbedTLS detection (41594675 #1192 #1191)
+- cmake: tidy-up `foreach()` syntax (4a64ca14 #1180)
+- cmake: verify `libssh2_VERSION` in integration tests (a20572e9)
+- cmake: show cmake versions in ci (87f5769b)
+- cmake: quote more strings (e9c7d3af #1173)
+- cmake: add `ExternalProject` integration test (aeaefaf6 #1171)
+- cmake: add integration tests (8715c3d5 #1170)
+- cmake: (re-)add aliases for `add_subdirectory()` builds (4ff64ae3 #1169)
+- cmake: style tidy-up (3fa5282d #1166)
+- cmake: add `LIB_NAME` variable (5453fc80 #1159)
+- cmake: tidy-up concatenation in `CMAKE_MODULE_PATH` (ae7d5108 #1157)
+- cmake: replace `libssh2` literals with `PROJECT_NAME` variable (72fd2595 #1152)
+- cmake: fix `STREQUAL` check in error branch (42d3bf13 #1151)
+- cmake: cache more config values on Windows (11a03690 #1142)
+- cmake: streamline invocation (f58f77b5 #1138)
+- cmake: merge `set_target_properties()` calls (a9091007 #1132)
+- cmake: (re-)add zlib to `Libs.private` in `libssh2.pc` (64643018 #1131)
+- cmake: use `wolfssl/options.h` for detection, like autotools (c5ec6c49 #1130)
+- cmake: add openssl libs to `Libs.private` in `libssh2.pc` (5cfa59d3 #1127)
+- cmake: bump minimum CMake version to v3.7.0 (9cd18f45 #1126)
+- cmake: CMAKE_SOURCE_DIR -> PROJECT_SOURCE_DIR (0f396aa9 #1121)
+- cmake: tidy-ups (2fc36790 #1122)
+- cmake: re-add `Libssh2:libssh2` for compatibility + lowercase namespace (2da13c13 #1104 #731 #1103)
+- copyright: remove years from copyright headers (187d89bb #1082)
+- disable DSA by default (b7ab0faa #1435 #1433)
+- docs: update `INSTALL_AUTOTOOLS` (2f0efde3 #1316)
+- docs: replace SHA1 with SHA256 in CMake example (766bde9f)
+- example: restore `sys/time.h` for AIX (24503cb9 #1340 #1335 #1334 #1001 regr: e53aae0e)
+- example: use `libssh2_socket_t` in X11 example (3f60ccb7)
+- example: replace remaining libssh2_scp_recv with libssh2_scp_recv2 in output messages (8d69e63d #1258 follow: 6c84a426)
+- example: fix regression in `ssh2_exec.c` (279a2e57 #1106 #861 #846 #1105 regr: b13936bd)
+- example, tests: call `WSACleanup()` for each `WSAStartup()` (94b6bad3 #1283)
+- example, tests: fix/silence `-Wformat-truncation=2` gcc warnings (744e059f)
+- hostkey: do not advertise ssh-rsa when SHA1 is disabled (82d1b8ff #1093 #1092)
+- kex: prevent possible double free of hostkey (b3465418 #1452)
+- kex: always check for null pointers before calling _libssh2_bn_set_word (9f23a3bb #1423)
+- kex: fix a memory leak in key exchange (19101843 #1412 #1404)
+- kex: always add extension indicators to kex_algorithms (00e2a07e #1327 #1326)
+- libssh2.h: add deprecated function warnings (9839ebe5 #1289 #1260)
+- libssh2.h: add portable `LIBSSH2_SOCKET_CLOSE()` macro (28dbf016 #1278)
+- libssh2.h: use `_WIN32` for Windows detection instead of rolling our own (631e7734 #1238)
+- libssh2.pc: reference mbedcrypto pkgconfig (c149a127 #1405)
+- libssh2.pc: re-add & extend support for static-only libssh2 builds (624abe27 #1119 #1114)
+- libssh2.pc: don't put `@LIBS@` in pc file (1209c16d)
+- mac: add empty hash functions for `mac_method_hmac_aesgcm` to not crash when e.g. setting `LIBSSH2_METHOD_CRYPT_CS` (b2738391 #1321)
+- mac: handle low-level errors (f64885b6 #1297)
+- Makefile.mk: delete Windows-focused raw GNU Make build (43485579 #1204)
+- maketgz: reproducible tarballs/zip, display tarball hashes (d52fe1b4 #1357 #1359)
+- maketgz: `set -eu`, reproducibility, improve zip, add CI test (cba7f975 #1353)
+- man: improve `libssh2_userauth_publickey_from*` manpages (581b72aa #1347 #1308 #652)
+- man: fix double spaces and dash escaping (a3ffc422 #1210)
+- man: add description to `libssh2_session_get_blocking.3` (67e39091 #1185)
+- mbedtls: always init ECDSA mbedtls_pk_context (a50d7deb #1430)
+- mbedtls: correctly initialize values (ECDSA) (1701d5c0 #1428 #1421)
+- mbedtls: expose `mbedtls_pk_load_file()` for our use (1628f6ca #1421 #1393 #1349 follow: e973493f)
+- mbedtls: add workaround + FIXME to build with 3.6.0 (2e4c5ec4 #1349)
+- mbedtls: improve disabling `-Wredundant-decls` (ecec68a2 #1226 #1224)
+- mbedtls: include `version.h` for `MBEDTLS_VERSION_NUMBER` (9d7bc253 #1095 #1094)
+- mbedtls: use more `size_t` to sync up with `crypto.h` (1153ebde #1054 #879 #846 #1053)
+- md5: allow disabling old-style encrypted private keys at build-time (eb9f9de2 #1181)
+- mingw: fix printf mask for 64-bit integers (36c1e1d1 #1091 #876 #846 #1090)
+- misc: flatten `_libssh2_explicit_zero` if tree (74e74288 #1149)
+- NMakefile: delete (c515eed3 #1134 #1129)
+- openssl: free allocated resources when using openssl3 (b942bad1 #1459)
+- openssl: fix memory leaks in `_libssh2_ecdsa_curve_name_with_octal_new` and `_libssh2_ecdsa_verify` (8d3bc19b #1449)
+- openssl: fix calculating DSA public key with OpenSSL 3 (8b3c6e9d #1380)
+- openssl: initialize BIGNUMs to NULL in `gen_publickey_from_dsa` for OpenSSL 3 (f1133c75 #1320)
+- openssl: fix cppcheck found NULL dereferences (f2945905 #1304)
+- openssl: delete internal `read_openssh_private_key_from_memory()` (34aff5ff #1306)
+- openssl: use OpenSSL 3 HMAC API, add `no-deprecated` CI job (363dcbf4 #1243 #1235 #1207)
+- openssl: make a function static, add `#ifdef` comments (efee9133 #1246 #248 follow: 03092292)
+- openssl: fix DSA code to use OpenSSL 3 API (82581941 #1244 #1207)
+- openssl: fix `EC_KEY` reference with OpenSSL 3 `no-deprecated` build (487152f4 #1236 #1235 #1207)
+- openssl: use non-deprecated APIs with OpenSSL 3.x (b0ab005f #1207)
+- openssl: silence `-Wunused-value` warnings (bf285500 #1205)
+- openssl: use automatic initialization with LibreSSL 2.7.0+ (d79047c9 #1146 #302)
+- openssl: add missing check for `LIBRESSL_VERSION_NUMBER` before use (4a42f42e #1117 #1115)
+- os400: drop vsprintf() use (40e817ff #1462 #1457)
+- os400: Add two recent files to the distribution (e4c65e5b #1364)
+- os400: fix shellcheck warnings in scripts (fixups) (81341e1e #1366 #1364 #1358)
+- os400: fix shellcheck warnings in scripts (c6625707 #1358)
+- os400: maintain up to date (8457c37a #1309)
+- packet: properly bounds check packet_authagent_open() (88a960a8 #1179)
+- pem: fix private keys encrypted with AES-GCM methods (e87bdefa #1133)
+- reuse: upgrade to `REUSE.toml` (70b8bf31 #1419)
+- reuse: fix duplicate copyright warning (b9a4ed83)
+- reuse: comply with 3.1 spec and 2.0.0 checker (fe6239a1 #1102 #1101 #1098)
+- reuse: provide SPDX identifiers (f6aa31f4 #1084)
+- scp: fix missing cast for targets without large file support (c317e06f #1060 #1057 #1002 regr: 5db836b2)
+- session: support server banners up to 8192 bytes (was: 256) (1a9e8811 #1443 #1442)
+- session: add `libssh2_session_callback_set2()` (c0f69548 #1285)
+- session: handle EINTR from send/recv/poll/select to try again as the error is not fatal (798ed4a7 #1058 #955)
+- sftp: increase SFTP_HANDLE_MAXLEN back to 4092 (75de6a37 #1422)
+- sftp: implement posix-rename@openssh.com (fb652746 #1386)
+- src: implement chacha20-poly1305@openssh.com (492bc543 #1426 #584)
+- src: use `UINT32_MAX` (dc206408 #1413)
+- src: fix type warning in `libssh2_sftp_unlink` macro (ac2e8c73 #1406)
+- src: check the return value from `_libssh2_bn_*()` functions (95c824d5 #1354)
+- src: support RSA-SHA2 cert-based authentication (rsa-sha2-512_cert and rsa-sha2-256_cert) (3a6ab70d #1314)
+- src: check hash update/final success (4718ede4 #1303 #1301)
+- src: check hash init success (2ed9eb92 #1301)
+- src: add 'strict KEX' to fix CVE-2023-48795 "Terrapin Attack" (d34d9258 #1291 #1290)
+- src: disable `-Wsign-conversion` warnings, add option to re-enable (6e451669 #1284 #1257)
+- src: fix gcc 13 `-Wconversion` warning on Darwin (8cca7b77 #1209 follow: 08354e0a)
+- src: drop a redundant `#include` (1f0174d0 #1153)
+- src: improve MSVC C4701 warning fix (8b924999 #1086 #876 #1083)
+- src: bump `hash_len` to `size_t` in `LIBSSH2_HOSTKEY_METHOD` (8b917d76 #1076)
+- src: bump DSA and ECDSA sign `hash_len` to `size_t` (7b8e0225 #1055)
+- tests: avoid using `MAXPATHLEN`, for portability (12427f4f #1415 #198 #1414)
+- tests: fix excluding AES-GCM tests (fbd9d192 #1410)
+- tests: drop default cygpath option `-u` (38e50aa0)
+- tests: fix shellcheck issues in `test_sshd.test` (a2ac8c55)
+- tests: sync port number type with the rest of codebase (eb996af8)
+- tests: fall back to `$LOGNAME` for username (5326a5ce #1241 #1240)
+- tests: show cmake version used in integration tests (2cd2f40e #1201)
+- tests: formatting and tidy-ups (e61987a3)
+- tests: replace FIXME with comments (1a99a86a)
+- tests: add aes256-gcm encrypted key test (802336cf #1135 #1133)
+- tests: trap signals in scripts (b2916b28 #1098)
+- tests: cast to avoid `-Wchar-subscripts` with Cygwin (43df6a46 #1081 #1080)
+- test_read: make it run without Docker (57e9d18e #1139)
+- test_sshd.test: show sshd and test connect logs on harness failure (299c2040 #1097)
+- test_sshd.test: set a safe PID directory (e8cabdcf #1089)
+- test_sshd.test: minor cleanups (d29eea1d)
+- tidy-up: link updates (c905bfd2 #1434)
+- tidy-up: typo in comment (792e1b6f)
+- tidy-up: fix typo found by codespell (706ec36d)
+- tidy-up: bump casts from int to long for large C99 types in printfs (2e5a8719 #1264 #1257)
+- tidy-up: `unsigned` -> `unsigned int` (b136c379)
+- tidy-up: stop using leading underscores in macro names (c6589b88 #1248)
+- tidy-up: around `stdint.h` (bfa00f1b #1212)
+- tidy-up: fix typo in `readme.vms` (a9a79e7a)
+- tidy-up: use built-in `_WIN32` macro to detect Windows (6fbc9505 #1195)
+- tidy-up: drop `www.` from `www.libssh2.org` (6e3e8839 #1172)
+- tidy-up: delete duplicate word from comment (76307435)
+- tidy-up: avoid exclamations, prefer single quotes, in outputs (003fb454 #1079)
+- TODO: disable or drop weak algos (0b4bdc85 #1261)
+- transport: fix unstable connections over non-blocking sockets (de004875 #1454 #720 #1431 #1397)
+- transport: check ETM on remote end when receiving (bde10825 #1332 #1331)
+- transport: fix incorrect byte offset in debug message (2388a3aa #1096)
+- userauth: avoid oob with huge interactive kbd response (f3a85cad #1337)
+- userauth: add a new structure to separate memory read and file read (63b4c20e #773)
+- userauth: check whether `*key_method` is a NULL pointer instead of `key_method` (bec57c40)
+- wincng: fix `DH_GEX_MAXGROUP` set higher than supported (48584671 #1372 #493)
+- wincng: add to ci/GHA, add `./configure` option `--enable-ecdsa-wincng` (3f98bfb0 #1368 #1315)
+- wincng: add ECDSA support for host and user authentication (3e723437 #1315)
+- wincng: prefer `ULONG`/`DWORD` over `unsigned long` (186c1d63 #1165)
+- wincng: tidy-ups (7bb669b5 #1164)
+- wolfssl: drop header path hack (8ae1b2d7 #1439)
+- wolfssl: fix `EVP_Cipher()` use with v5.6.0 and older (a5b0fac2 #1407 #1394 #797 #1299 #1020)
+- wolfssl: bump version in upstream issue comment (5cab802c)
+- wolfssl: require v5.4.0 for AES-GCM (260a721c #1411 #1299 #1020)
+- wolfssl: enable debug logging in wolfSSL when compiled in (76e7a68a #1310)
+
+This release would not have looked like this without help, code, reports and
+advice from friends like these:
+
+ Viktor Szakats, Michael Buckley, Patrick Monnerat, Ren Mingshuai,
+ Will Cosgrove, Daniel Stenberg, Josef Cejka, Nicolas Mora, Ryan Kelley,
+ Aaron Stone, Adam, Anders Borum, András Fekete, Andrei Augustin, binary1248,
+ Brian Inglis, brucsc on GitHub, concussious on github, Dan Fandrich,
+ dksslq on github, Haowei Hsu, Harmen Stoppels, Harry Mallon, Jack L,
+ Jakob Egger, Jiwoo Park, João M. S. Silva, Joel Depooter, Johannes Passing,
+ Jose Quaresma, Juliusz Sosinowicz, Kai Pastor, Kenneth Davidson,
+ klux21 on github, Lyndon Brown, Marc Hoersken, mike-jumper, naddy,
+ Nursan Valeyev, Paul Howarth, PewPewPew, Radek Brich, rahmanih on github,
+ rolag on github, Seo Suchan, shubhamhii on github, Steve McIntyre,
+ Tejaswi Kandula, Tobias Stoeckmann, Trzik, Xi Ruoyao
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_agent_connect.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_agent_connect.3
new file mode 100644
index 0000000000000000000000000000000000000000..081ec39ef5abb96fa667a38782906c518d3c372e
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_agent_connect.3
@@ -0,0 +1,24 @@
+.\" Copyright (C) Daiki Ueno
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_agent_connect 3 "23 Dec 2009" "libssh2" "libssh2"
+.SH NAME
+libssh2_agent_connect - connect to an ssh-agent
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_agent_connect(LIBSSH2_AGENT *agent);
+.fi
+.SH DESCRIPTION
+Connect to an ssh-agent running on the system.
+
+Call \fBlibssh2_agent_disconnect(3)\fP to close the connection after
+you are doing using it.
+.SH RETURN VALUE
+Returns 0 if succeeded, or a negative value for error.
+.SH AVAILABILITY
+Added in libssh2 1.2
+.SH SEE ALSO
+.BR libssh2_agent_init(3)
+.BR libssh2_agent_disconnect(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_agent_disconnect.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_agent_disconnect.3
new file mode 100644
index 0000000000000000000000000000000000000000..136a6e19de2959cd1457f13cdc5b408b1a743d5d
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_agent_disconnect.3
@@ -0,0 +1,22 @@
+.\" Copyright (C) Daiki Ueno
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_agent_disconnect 3 "23 Dec 2009" "libssh2" "libssh2"
+.SH NAME
+libssh2_agent_disconnect - close a connection to an ssh-agent
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_agent_disconnect(LIBSSH2_AGENT *agent);
+.fi
+.SH DESCRIPTION
+Close a connection to an ssh-agent.
+
+.SH RETURN VALUE
+Returns 0 if succeeded, or a negative value for error.
+.SH AVAILABILITY
+Added in libssh2 1.2
+.SH SEE ALSO
+.BR libssh2_agent_connect(3)
+.BR libssh2_agent_free(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_agent_free.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_agent_free.3
new file mode 100644
index 0000000000000000000000000000000000000000..1011f44454788f378b6fd988f970516806c51567
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_agent_free.3
@@ -0,0 +1,22 @@
+.\" Copyright (C) Daiki Ueno
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_agent_free 3 "28 May 2009" "libssh2" "libssh2"
+.SH NAME
+libssh2_agent_free - free an ssh-agent handle
+.SH SYNOPSIS
+.nf
+#include
+
+void
+libssh2_agent_free(LIBSSH2_AGENT *agent);
+.fi
+.SH DESCRIPTION
+Free an ssh-agent handle. This function also frees the internal
+collection of public keys.
+.SH RETURN VALUE
+None.
+.SH AVAILABILITY
+Added in libssh2 1.2
+.SH SEE ALSO
+.BR libssh2_agent_init(3)
+.BR libssh2_agent_disconnect(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_agent_get_identity.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_agent_get_identity.3
new file mode 100644
index 0000000000000000000000000000000000000000..2372e9c006092a620d4f9c1817f489a0f1710979
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_agent_get_identity.3
@@ -0,0 +1,36 @@
+.\" Copyright (C) Daiki Ueno
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_agent_get_identity 3 "23 Dec 2009" "libssh2" "libssh2"
+.SH NAME
+libssh2_agent_get_identity - get a public key off the collection of public keys managed by ssh-agent
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_agent_get_identity(LIBSSH2_AGENT *agent,
+ struct libssh2_agent_publickey **store,
+ struct libssh2_agent_publickey *prev);
+.fi
+.SH DESCRIPTION
+\fIlibssh2_agent_get_identity(3)\fP allows an application to iterate
+over all public keys in the collection managed by ssh-agent.
+
+\fIstore\fP should point to a pointer that gets filled in to point to the
+public key data.
+
+\fIprev\fP is a pointer to a previous 'struct libssh2_agent_publickey'
+as returned by a previous invoke of this function, or NULL to get the
+first entry in the internal collection.
+.SH RETURN VALUE
+Returns 0 if everything is fine and information about a host was stored in
+the \fIstore\fP struct.
+
+Returns 1 if it reached the end of public keys.
+
+Returns negative values for error
+.SH AVAILABILITY
+Added in libssh2 1.2
+.SH SEE ALSO
+.BR libssh2_agent_list_identities(3)
+.BR libssh2_agent_userauth(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_agent_get_identity_path.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_agent_get_identity_path.3
new file mode 100644
index 0000000000000000000000000000000000000000..703d04abef2cd95fb94abcff6b551e8cdd7ebb79
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_agent_get_identity_path.3
@@ -0,0 +1,22 @@
+.\" Copyright (C) Will Cosgrove
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_agent_get_identity_path 3 "6 Mar 2019" "libssh2" "libssh2"
+.SH NAME
+libssh2_agent_get_identity_path - gets the custom ssh-agent socket path
+.SH SYNOPSIS
+.nf
+#include
+
+const char *
+libssh2_agent_get_identity_path(LIBSSH2_AGENT *agent);
+.fi
+.SH DESCRIPTION
+Returns the custom agent identity socket path if set using libssh2_agent_set_identity_path()
+
+.SH RETURN VALUE
+Returns the socket path on disk.
+.SH AVAILABILITY
+Added in libssh2 1.9
+.SH SEE ALSO
+.BR libssh2_agent_init(3)
+.BR libssh2_agent_set_identity_path(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_agent_init.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_agent_init.3
new file mode 100644
index 0000000000000000000000000000000000000000..c36536174ee7a57a12ce49eb1769c1208ad24881
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_agent_init.3
@@ -0,0 +1,28 @@
+.\" Copyright (C) Daiki Ueno
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_agent_init 3 "23 Dec 2009" "libssh2" "libssh2"
+.SH NAME
+libssh2_agent_init - init an ssh-agent handle
+.SH SYNOPSIS
+.nf
+#include
+
+LIBSSH2_AGENT *
+libssh2_agent_init(LIBSSH2_SESSION *session);
+.fi
+.SH DESCRIPTION
+Init an ssh-agent handle. Returns the handle to an internal
+representation of an ssh-agent connection. After the successful
+initialization, an application can call \fBlibssh2_agent_connect(3)\fP
+to connect to a running ssh-agent.
+
+Call \fBlibssh2_agent_free(3)\fP to free the handle again after you are
+doing using it.
+.SH RETURN VALUE
+Returns a handle pointer or NULL if something went wrong. The returned handle
+is used as input to all other ssh-agent related functions libssh2 provides.
+.SH AVAILABILITY
+Added in libssh2 1.2
+.SH SEE ALSO
+.BR libssh2_agent_connect(3)
+.BR libssh2_agent_free(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_agent_list_identities.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_agent_list_identities.3
new file mode 100644
index 0000000000000000000000000000000000000000..bac2c735a0971b531cc4f0c976208a8950759c98
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_agent_list_identities.3
@@ -0,0 +1,25 @@
+.\" Copyright (C) Daiki Ueno
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_agent_list_identities 3 "23 Dec 2009" "libssh2" "libssh2"
+.SH NAME
+libssh2_agent_list_identities - request an ssh-agent to list of public keys.
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_agent_list_identities(LIBSSH2_AGENT *agent);
+.fi
+.SH DESCRIPTION
+Request an ssh-agent to list of public keys, and stores them in the
+internal collection of the handle. Call
+\fIlibssh2_agent_get_identity(3)\fP to get a public key off the
+collection.
+
+.SH RETURN VALUE
+Returns 0 if succeeded, or a negative value for error.
+.SH AVAILABILITY
+Added in libssh2 1.2
+.SH SEE ALSO
+.BR libssh2_agent_connect(3)
+.BR libssh2_agent_get_identity(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_agent_set_identity_path.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_agent_set_identity_path.3
new file mode 100644
index 0000000000000000000000000000000000000000..5a1a237d9d2a3be46ac1f9027f6353b8e0bc8eb4
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_agent_set_identity_path.3
@@ -0,0 +1,22 @@
+.\" Copyright (C) Will Cosgrove
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_agent_set_identity_path 3 "6 Mar 2019" "libssh2" "libssh2"
+.SH NAME
+libssh2_agent_set_identity_path - set an ssh-agent socket path on disk
+.SH SYNOPSIS
+.nf
+#include
+
+void
+libssh2_agent_set_identity_path(LIBSSH2_AGENT *agent, const char *path);
+.fi
+.SH DESCRIPTION
+Allows a custom agent identity socket path instead of the default SSH_AUTH_SOCK env value
+
+.SH RETURN VALUE
+Returns void
+.SH AVAILABILITY
+Added in libssh2 1.9
+.SH SEE ALSO
+.BR libssh2_agent_init(3)
+.BR libssh2_agent_get_identity_path(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_agent_sign.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_agent_sign.3
new file mode 100644
index 0000000000000000000000000000000000000000..c4ba95b3e4679ca225dc155e7dd2b7662cbf3d11
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_agent_sign.3
@@ -0,0 +1,54 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_agent_sign 3 "1 Oct 2022" "libssh2" "libssh2"
+.SH NAME
+libssh2_agent_sign - sign data, with the help of ssh-agent
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_agent_sign(LIBSSH2_AGENT *agent,
+ struct libssh2_agent_publickey *identity,
+ unsigned char **sig,
+ size_t *s_len,
+ const unsigned char *data,
+ size_t d_len,
+ const char *method,
+ unsigned int method_len);
+.fi
+.SH DESCRIPTION
+\fIagent\fP - ssh-agent handle as returned by
+.BR libssh2_agent_init(3)
+
+\fIidentity\fP - Public key to authenticate with, as returned by
+.BR libssh2_agent_get_identity(3)
+
+\fIsig\fP - A pointer to a buffer in which to place the signature. The caller
+is responsible for freeing the signature with LIBSSH2_FREE.
+
+\fIs_len\fP - A pointer to the length of the sig parameter.
+
+\fIdata\fP - The data to sign.
+
+\fId_len\fP - The length of the data parameter.
+
+\fImethod\fP - A buffer indicating the signing method. This should match the
+string at the start of identity->blob.
+
+\fImethod_len\fP - The length of the method parameter.
+
+Sign data using an ssh-agent. This function can be used in a callback
+registered with libssh2_session_callback_set2(3) using
+LIBSSH2_CALLBACK_AUTHAGENT_SIGN to sign an authentication challenge from a
+server. However, the client is responsible for implementing the code that calls
+this callback in response to a SSH2_AGENTC_SIGN_REQUEST message.
+.SH RETURN VALUE
+Returns 0 if succeeded, or a negative value for error.
+.SH AVAILABILITY
+Added in libssh2 1.11.0
+.SH SEE ALSO
+.BR libssh2_agent_init(3)
+.BR libssh2_agent_get_identity(3)
+.BR libssh2_agent_userauth(3)
+.BR libssh2_session_callback_set2(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_agent_userauth.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_agent_userauth.3
new file mode 100644
index 0000000000000000000000000000000000000000..82a344c0dbca8637ddd001918bd863e8eac7526f
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_agent_userauth.3
@@ -0,0 +1,32 @@
+.\" Copyright (C) Daiki Ueno
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_agent_userauth 3 "23 Dec 2009" "libssh2" "libssh2"
+.SH NAME
+libssh2_agent_userauth - authenticate a session with a public key, with the help of ssh-agent
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_agent_userauth(LIBSSH2_AGENT *agent,
+ const char *username,
+ struct libssh2_agent_publickey *identity);
+.fi
+.SH DESCRIPTION
+\fIagent\fP - ssh-agent handle as returned by
+.BR libssh2_agent_init(3)
+
+\fIusername\fP - Remote user name to authenticate as.
+
+\fIidentity\fP - Public key to authenticate with, as returned by
+.BR libssh2_agent_get_identity(3)
+
+Attempt public key authentication with the help of ssh-agent.
+.SH RETURN VALUE
+Returns 0 if succeeded, or a negative value for error.
+.SH AVAILABILITY
+Added in libssh2 1.2
+.SH SEE ALSO
+.BR libssh2_agent_init(3)
+.BR libssh2_agent_get_identity(3)
+.BR libssh2_agent_sign(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_banner_set.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_banner_set.3
new file mode 100644
index 0000000000000000000000000000000000000000..5f687e5a8074a024d0e133394f8c1eee09285b49
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_banner_set.3
@@ -0,0 +1,36 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_banner_set 3 "1 Jun 2007" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_banner_set - set the SSH protocol banner for the local client
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_banner_set(LIBSSH2_SESSION *session, const char *banner);
+.fi
+.SH DESCRIPTION
+This function is \fBDEPRECATED\fP in 1.4.0. Use the
+\fIlibssh2_session_banner_set(3)\fP function instead!
+
+\fIsession\fP - Session instance as returned by
+.BR libssh2_session_init_ex(3)
+
+\fIbanner\fP - A pointer to a user defined banner
+
+Set the banner that will be sent to the remote host when the SSH session is
+started with
+.BR libssh2_session_handshake(3)
+This is optional; a banner corresponding to the protocol and libssh2 version
+will be sent by default.
+.SH RETURN VALUE
+Return 0 on success or negative on failure. It returns
+LIBSSH2_ERROR_EAGAIN when it would otherwise block. While
+LIBSSH2_ERROR_EAGAIN is a negative number, it is not really a failure per se.
+.SH AVAILABILITY
+Marked as deprecated since 1.4.0
+.SH ERRORS
+\fILIBSSH2_ERROR_ALLOC\fP - An internal memory allocation call failed.
+.SH SEE ALSO
+.BR libssh2_session_handshake(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_base64_decode.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_base64_decode.3
new file mode 100644
index 0000000000000000000000000000000000000000..e46db823e4f3cc736e898dce7c86898ee68e3f96
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_base64_decode.3
@@ -0,0 +1,30 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_base64_decode 3 "23 Dec 2008" "libssh2 1.0" "libssh2"
+.SH NAME
+libssh2_base64_decode - decode a base64 encoded string
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_base64_decode(LIBSSH2_SESSION *session, char **dest,
+ unsigned int *dest_len, const char *src,
+ unsigned int src_len);
+.fi
+.SH DESCRIPTION
+This function is deemed DEPRECATED and will be removed from libssh2 in a
+future version. Do not use it!
+
+Decode a base64 chunk and store it into a newly allocated buffer. 'dest_len'
+will be set to hold the length of the returned buffer that '*dest' will point
+to.
+
+The returned buffer is allocated by this function, but it is not clear how to
+free that memory!
+.SH BUGS
+The memory that *dest points to is allocated by the malloc function libssh2
+uses, but there is no way for an application to free this data in a safe and
+reliable way!
+.SH RETURN VALUE
+0 if successful, \-1 if any error occurred.
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_close.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_close.3
new file mode 100644
index 0000000000000000000000000000000000000000..fd9d0001b42818125119c7bd385fd899b5f6e6e4
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_close.3
@@ -0,0 +1,29 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_channel_close 3 "1 Jun 2007" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_channel_close - close a channel
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_channel_close(LIBSSH2_CHANNEL *channel);
+.fi
+.SH DESCRIPTION
+\fIchannel\fP - active channel stream to set closed status on.
+
+Close an active data channel. In practice this means sending an SSH_MSG_CLOSE
+packet to the remote host which serves as instruction that no further data
+will be sent to it. The remote host may still send data back until it sends
+its own close message in response. To wait for the remote end to close its
+connection as well, follow this command with
+.BR libssh2_channel_wait_closed(3)
+.SH RETURN VALUE
+Return 0 on success or negative on failure. It returns
+LIBSSH2_ERROR_EAGAIN when it would otherwise block. While
+LIBSSH2_ERROR_EAGAIN is a negative number, it is not really a failure per se.
+.SH ERRORS
+\fILIBSSH2_ERROR_SOCKET_SEND\fP - Unable to send data on socket.
+.SH SEE ALSO
+.BR libssh2_channel_open_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_direct_streamlocal_ex.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_direct_streamlocal_ex.3
new file mode 100644
index 0000000000000000000000000000000000000000..c2c3d5caf8dd1f2e1ad55763f6ff9becf9f96a1f
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_direct_streamlocal_ex.3
@@ -0,0 +1,34 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_channel_direct_streamlocal_ex 3 "10 Apr 2023" "libssh2 1.11.0" "libssh2"
+.SH NAME
+libssh2_channel_direct_streamlocal_ex - Tunnel a UNIX socket connection through an SSH session
+.SH SYNOPSIS
+.nf
+#include
+
+LIBSSH2_CHANNEL *
+libssh2_channel_direct_streamlocal_ex(LIBSSH2_SESSION *session,
+ const char *socket_path,
+ const char *shost, int sport);
+.fi
+.SH DESCRIPTION
+\fIsession\fP - Session instance as returned by
+.BR libssh2_session_init_ex(3)
+
+\fIsocket_path\fP - UNIX socket to connect to using the SSH host as a proxy.
+
+\fIshost\fP - Host to tell the SSH server the connection originated on.
+
+\fIsport\fP - Port to tell the SSH server the connection originated from.
+
+Tunnel a UNIX socket connection through the SSH transport via the remote host to
+a third party. Communication from the client to the SSH server remains
+encrypted, communication from the server to the 3rd party host travels
+in cleartext.
+.SH RETURN VALUE
+Pointer to a newly allocated LIBSSH2_CHANNEL instance, or NULL on errors.
+.SH ERRORS
+\fILIBSSH2_ERROR_ALLOC\fP - An internal memory allocation call failed.
+.SH SEE ALSO
+.BR libssh2_session_init_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_direct_tcpip.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_direct_tcpip.3
new file mode 100644
index 0000000000000000000000000000000000000000..02033fc0a8054f8b016b0f7623235b5eefa2198d
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_direct_tcpip.3
@@ -0,0 +1,22 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_channel_direct_tcpip 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2"
+.SH NAME
+libssh2_channel_direct_tcpip - convenience macro for \fIlibssh2_channel_direct_tcpip_ex(3)\fP calls
+.SH SYNOPSIS
+.nf
+#include
+
+LIBSSH2_CHANNEL *
+libssh2_channel_direct_tcpip(LIBSSH2_SESSION *session,
+ const char *host, int port);
+.fi
+.SH DESCRIPTION
+This is a macro defined in a public libssh2 header file that is using the
+underlying function \fIlibssh2_channel_direct_tcpip_ex(3)\fP.
+.SH RETURN VALUE
+See \fIlibssh2_channel_direct_tcpip_ex(3)\fP
+.SH ERRORS
+See \fIlibssh2_channel_direct_tcpip_ex(3)\fP
+.SH SEE ALSO
+.BR libssh2_channel_direct_tcpip_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_direct_tcpip_ex.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_direct_tcpip_ex.3
new file mode 100644
index 0000000000000000000000000000000000000000..02e8f84b3b949dc5505bd53b59b70599e8c81ea0
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_direct_tcpip_ex.3
@@ -0,0 +1,40 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_channel_direct_tcpip_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_channel_direct_tcpip_ex - Tunnel a TCP connection through an SSH session
+.SH SYNOPSIS
+.nf
+#include
+
+LIBSSH2_CHANNEL *
+libssh2_channel_direct_tcpip_ex(LIBSSH2_SESSION *session,
+ const char *host, int port,
+ const char *shost, int sport);
+
+LIBSSH2_CHANNEL *
+libssh2_channel_direct_tcpip(LIBSSH2_SESSION *session,
+ const char *host, int port);
+.fi
+.SH DESCRIPTION
+\fIsession\fP - Session instance as returned by
+.BR libssh2_session_init_ex(3)
+
+\fIhost\fP - Third party host to connect to using the SSH host as a proxy.
+
+\fIport\fP - Port on third party host to connect to.
+
+\fIshost\fP - Host to tell the SSH server the connection originated on.
+
+\fIsport\fP - Port to tell the SSH server the connection originated from.
+
+Tunnel a TCP/IP connection through the SSH transport via the remote host to
+a third party. Communication from the client to the SSH server remains
+encrypted, communication from the server to the 3rd party host travels
+in cleartext.
+.SH RETURN VALUE
+Pointer to a newly allocated LIBSSH2_CHANNEL instance, or NULL on errors.
+.SH ERRORS
+\fILIBSSH2_ERROR_ALLOC\fP - An internal memory allocation call failed.
+.SH SEE ALSO
+.BR libssh2_session_init_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_eof.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_eof.3
new file mode 100644
index 0000000000000000000000000000000000000000..9d9fd7458c6ae2e33f9a1955acefb3a9299de748
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_eof.3
@@ -0,0 +1,21 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_channel_eof 3 "1 Jun 2007" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_channel_eof - check a channel's EOF status
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_channel_eof(LIBSSH2_CHANNEL *channel);
+.fi
+.SH DESCRIPTION
+\fIchannel\fP - active channel stream to set closed status on.
+
+Check if the remote host has sent an EOF status for the selected stream.
+.SH RETURN VALUE
+Returns 1 if the remote host has sent EOF, otherwise 0. Negative on
+failure.
+.SH SEE ALSO
+.BR libssh2_channel_close(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_exec.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_exec.3
new file mode 100644
index 0000000000000000000000000000000000000000..08644d5e1d3cded857ccb579ff05a18b48970a91
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_exec.3
@@ -0,0 +1,21 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_channel_exec 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2"
+.SH NAME
+libssh2_channel_exec - convenience macro for \fIlibssh2_channel_process_startup(3)\fP calls
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_channel_exec(LIBSSH2_CHANNEL *channel, const char *command);
+.fi
+.SH DESCRIPTION
+This is a macro defined in a public libssh2 header file that is using the
+underlying function \fIlibssh2_channel_process_startup(3)\fP.
+.SH RETURN VALUE
+See \fIlibssh2_channel_process_startup(3)\fP
+.SH ERRORS
+See \fIlibssh2_channel_process_startup(3)\fP
+.SH SEE ALSO
+.BR libssh2_channel_process_startup(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_flush.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_flush.3
new file mode 100644
index 0000000000000000000000000000000000000000..79a7750bee59fa0d2215855211d38085a6e4dfc5
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_flush.3
@@ -0,0 +1,21 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_channel_flush 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2"
+.SH NAME
+libssh2_channel_flush - convenience macro for \fIlibssh2_channel_flush_ex(3)\fP calls
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_channel_flush(LIBSSH2_CHANNEL *channel);
+.fi
+.SH DESCRIPTION
+This is a macro defined in a public libssh2 header file that is using the
+underlying function \fIlibssh2_channel_flush_ex(3)\fP.
+.SH RETURN VALUE
+See \fIlibssh2_channel_flush_ex(3)\fP
+.SH ERRORS
+See \fIlibssh2_channel_flush_ex(3)\fP
+.SH SEE ALSO
+.BR libssh2_channel_flush_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_flush_ex.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_flush_ex.3
new file mode 100644
index 0000000000000000000000000000000000000000..4a445ba46e3fa6f34adb87d704e7cd4fcd2d3d71
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_flush_ex.3
@@ -0,0 +1,34 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_channel_flush_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_channel_flush_ex - flush a channel
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_channel_flush_ex(LIBSSH2_CHANNEL *channel, int streamid);
+
+int
+libssh2_channel_flush(LIBSSH2_CHANNEL *channel);
+
+int
+libssh2_channel_flush_stderr(LIBSSH2_CHANNEL *channel);
+.fi
+.SH DESCRIPTION
+\fIchannel\fP - Active channel stream to flush.
+
+\fIstreamid\fP - Specific substream number to flush. Groups of substreams may
+be flushed by passing on of the following Constants.
+.br
+\fBLIBSSH2_CHANNEL_FLUSH_EXTENDED_DATA\fP: Flush all extended data substreams
+.br
+\fBLIBSSH2_CHANNEL_FLUSH_ALL\fP: Flush all substreams
+
+Flush the read buffer for a given channel instance. Individual substreams may
+be flushed by number or using one of the provided macros.
+.SH RETURN VALUE
+Return the number of bytes flushed or negative on failure.
+It returns LIBSSH2_ERROR_EAGAIN when it would otherwise block. While
+LIBSSH2_ERROR_EAGAIN is a negative number, it is not really a failure per se.
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_flush_stderr.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_flush_stderr.3
new file mode 100644
index 0000000000000000000000000000000000000000..6cd8ade6d28c3d1ccc8aa3c31ed2e0a90a92ce70
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_flush_stderr.3
@@ -0,0 +1,21 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_channel_flush_stderr 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2"
+.SH NAME
+libssh2_channel_flush_stderr - convenience macro for \fIlibssh2_channel_flush_ex(3)\fP calls
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_channel_flush_stderr(LIBSSH2_CHANNEL *channel);
+.fi
+.SH DESCRIPTION
+This is a macro defined in a public libssh2 header file that is using the
+underlying function \fIlibssh2_channel_flush_ex(3)\fP.
+.SH RETURN VALUE
+See \fIlibssh2_channel_flush_ex(3)\fP
+.SH ERRORS
+See \fIlibssh2_channel_flush_ex(3)\fP
+.SH SEE ALSO
+.BR libssh2_channel_flush_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_forward_accept.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_forward_accept.3
new file mode 100644
index 0000000000000000000000000000000000000000..e6e57e21a29c2e928e51ccf936bf3a2c2ee1da8c
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_forward_accept.3
@@ -0,0 +1,23 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_channel_forward_accept 3 "1 Jun 2007" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_channel_forward_accept - accept a queued connection
+.SH SYNOPSIS
+.nf
+#include
+
+LIBSSH2_CHANNEL *
+libssh2_channel_forward_accept(LIBSSH2_LISTENER *listener);
+.fi
+.SH DESCRIPTION
+\fIlistener\fP is a forwarding listener instance as returned by
+\fBlibssh2_channel_forward_listen_ex(3)\fP.
+.SH RETURN VALUE
+A newly allocated channel instance or NULL on failure.
+.SH ERRORS
+When this function returns NULL use \fIlibssh2_session_last_errno(3)\fP to
+extract the error code. If that code is \fILIBSSH2_ERROR_EAGAIN\fP, the
+session is set to do non-blocking I/O but the call would block.
+.SH SEE ALSO
+.BR libssh2_channel_forward_listen_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_forward_cancel.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_forward_cancel.3
new file mode 100644
index 0000000000000000000000000000000000000000..0e11f518ccf07ed263f1819e2a2de7d9d3c31e16
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_forward_cancel.3
@@ -0,0 +1,28 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_channel_forward_cancel 3 "1 Jun 2007" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_channel_forward_cancel - cancel a forwarded TCP port
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_channel_forward_cancel(LIBSSH2_LISTENER *listener);
+.fi
+.SH DESCRIPTION
+\fIlistener\fP - Forwarding listener instance as returned by
+.BR libssh2_channel_forward_listen_ex(3)
+
+Instruct the remote host to stop listening for new connections on a previously
+requested host/port.
+.SH RETURN VALUE
+Return 0 on success or negative on failure. It returns
+LIBSSH2_ERROR_EAGAIN when it would otherwise block. While
+LIBSSH2_ERROR_EAGAIN is a negative number, it is not really a failure per se.
+.SH ERRORS
+\fILIBSSH2_ERROR_ALLOC\fP - An internal memory allocation call failed.
+
+\fILIBSSH2_ERROR_SOCKET_SEND\fP - Unable to send data on socket.
+.SH SEE ALSO
+.BR libssh2_channel_forward_listen_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_forward_listen.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_forward_listen.3
new file mode 100644
index 0000000000000000000000000000000000000000..ab1739cfade157acfc6766089ba20aaf17f14c94
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_forward_listen.3
@@ -0,0 +1,21 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_channel_forward_listen 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2"
+.SH NAME
+libssh2_channel_forward_listen - convenience macro for \fIlibssh2_channel_forward_listen_ex(3)\fP calls
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_channel_forward_listen(LIBSSH2_SESSION *session, int port);
+.fi
+.SH DESCRIPTION
+This is a macro defined in a public libssh2 header file that is using the
+underlying function \fIlibssh2_channel_forward_listen_ex(3)\fP.
+.SH RETURN VALUE
+See \fIlibssh2_channel_forward_listen_ex(3)\fP
+.SH ERRORS
+See \fIlibssh2_channel_forward_listen_ex(3)\fP
+.SH SEE ALSO
+.BR libssh2_channel_forward_listen_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_forward_listen_ex.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_forward_listen_ex.3
new file mode 100644
index 0000000000000000000000000000000000000000..c33115e67f8b24ebdf74b0cc7623f9afd4a84371
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_forward_listen_ex.3
@@ -0,0 +1,51 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_channel_forward_listen_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_channel_forward_listen_ex - listen to inbound connections
+.SH SYNOPSIS
+.nf
+#include
+
+LIBSSH2_LISTENER *
+libssh2_channel_forward_listen_ex(LIBSSH2_SESSION *session,
+ char *host, int port,
+ int *bound_port, int queue_maxsize);
+
+LIBSSH2_LISTENER *
+libssh2_channel_forward_listen(LIBSSH2_SESSION *session, int port);
+.fi
+.SH DESCRIPTION
+Instruct the remote SSH server to begin listening for inbound TCP/IP
+connections. New connections will be queued by the library until accepted by
+\fIlibssh2_channel_forward_accept(3)\fP.
+
+\fIsession\fP - instance as returned by libssh2_session_init().
+
+\fIhost\fP - specific address to bind to on the remote host. Binding to
+0.0.0.0 (default when NULL is passed) will bind to all available addresses.
+
+\fIport\fP - port to bind to on the remote host. When 0 is passed, the remote
+host will select the first available dynamic port.
+
+\fIbound_port\fP - Populated with the actual port bound on the remote
+host. Useful when requesting dynamic port numbers.
+
+\fIqueue_maxsize\fP - Maximum number of pending connections to queue before
+rejecting further attempts.
+
+\fIlibssh2_channel_forward_listen(3)\fP is a macro.
+.SH RETURN VALUE
+A newly allocated LIBSSH2_LISTENER instance or NULL on failure.
+.SH ERRORS
+\fILIBSSH2_ERROR_ALLOC\fP - An internal memory allocation call failed.
+
+\fILIBSSH2_ERROR_SOCKET_SEND\fP - Unable to send data on socket.
+
+\fILIBSSH2_ERROR_PROTO\fP - An invalid SSH protocol response was received on the socket.
+
+\fILIBSSH2_ERROR_REQUEST_DENIED\fP - The remote server refused the request.
+
+\fILIBSSH2_ERROR_EAGAIN\fP - Marked for non-blocking I/O but the call would block.
+.SH SEE ALSO
+.BR libssh2_channel_forward_accept(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_free.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_free.3
new file mode 100644
index 0000000000000000000000000000000000000000..66fddc0643cf7f73e145062ac694b62faeeca48f
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_free.3
@@ -0,0 +1,26 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_channel_free 3 "1 Jun 2007" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_channel_free - free all resources associated with a channel
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_channel_free(LIBSSH2_CHANNEL *channel);
+.fi
+.SH DESCRIPTION
+\fIchannel\fP - Channel stream to free.
+
+Release all resources associated with a channel stream. If the channel has
+not yet been closed with
+.BR libssh2_channel_close(3)
+, it will be called automatically so that the remote end may know that it
+can safely free its own resources.
+.SH RETURN VALUE
+Return 0 on success or negative on failure. It returns
+LIBSSH2_ERROR_EAGAIN when it would otherwise block. While
+LIBSSH2_ERROR_EAGAIN is a negative number, it is not really a failure per se.
+.SH SEE ALSO
+.BR libssh2_channel_close(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_get_exit_signal.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_get_exit_signal.3
new file mode 100644
index 0000000000000000000000000000000000000000..e1ce01fde459c1f4bdfe18f74b887ac44ee751e1
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_get_exit_signal.3
@@ -0,0 +1,39 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_channel_get_exit_signal 3 "4 Oct 2010" "libssh2 1.2.8" "libssh2"
+.SH NAME
+libssh2_channel_get_exit_signal - get the remote exit signal
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_channel_get_exit_signal(LIBSSH2_CHANNEL *channel,
+ char **exitsignal, size_t *exitsignal_len,
+ char **errmsg, size_t *errmsg_len,
+ char **langtag, size_t *langtag_len);
+.fi
+.SH DESCRIPTION
+\fIchannel\fP - Closed channel stream to retrieve exit signal from.
+
+\fIexitsignal\fP - If not NULL, is populated by reference with the exit signal
+(without leading "SIG"). Note that the string is stored in a newly allocated
+buffer. If the remote program exited cleanly, the referenced string pointer
+will be set to NULL.
+
+\fIexitsignal_len\fP - If not NULL, is populated by reference with the length
+of exitsignal.
+
+\fIerrmsg\fP - If not NULL, is populated by reference with the error message
+(if provided by remote server, if not it will be set to NULL). Note that the
+string is stored in a newly allocated buffer.
+
+\fIerrmsg_len\fP - If not NULL, is populated by reference with the length of errmsg.
+
+\fIlangtag\fP - If not NULL, is populated by reference with the language tag
+(if provided by remote server, if not it will be set to NULL). Note that the
+string is stored in a newly allocated buffer.
+
+\fIlangtag_len\fP - If not NULL, is populated by reference with the length of langtag.
+.SH RETURN VALUE
+Numeric error code corresponding to the the Error Code constants.
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_get_exit_status.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_get_exit_status.3
new file mode 100644
index 0000000000000000000000000000000000000000..7171b6574aaa6bf25b5306c85c4156515fac3f29
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_get_exit_status.3
@@ -0,0 +1,20 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_channel_get_exit_status 3 "1 Jun 2007" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_channel_get_exit_status - get the remote exit code
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_channel_get_exit_status(LIBSSH2_CHANNEL* channel)
+.fi
+.SH DESCRIPTION
+\fIchannel\fP - Closed channel stream to retrieve exit status from.
+
+Returns the exit code raised by the process running on the remote host at
+the other end of the named channel. Note that the exit status may not be
+available if the remote end has not yet set its status to closed.
+.SH RETURN VALUE
+Returns 0 on failure, otherwise the \fIExit Status\fP reported by remote host
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_handle_extended_data.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_handle_extended_data.3
new file mode 100644
index 0000000000000000000000000000000000000000..ff4943830a0faa1b3c8fef02f5efda4433fbef84
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_handle_extended_data.3
@@ -0,0 +1,39 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_channel_handle_extended_data 3 "1 Jun 2007" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_channel_handle_extended_data - set extended data handling mode
+.SH SYNOPSIS
+.nf
+#include
+
+void
+libssh2_channel_handle_extended_data(LIBSSH2_CHANNEL *channel,
+ int ignore_mode);
+.fi
+.SH DESCRIPTION
+This function is \fBDEPRECATED\fP in 1.1.0. Use the
+\fIlibssh2_channel_handle_extended_data2(3)\fP function instead!
+
+\fIchannel\fP - Active channel stream to change extended data handling on.
+
+\fIignore_mode\fP - One of the three LIBSSH2_CHANNEL_EXTENDED_DATA_* Constants.
+.br
+\fBLIBSSH2_CHANNEL_EXTENDED_DATA_NORMAL\fP: Queue extended data for eventual
+reading
+.br
+\fBLIBSSH2_CHANNEL_EXTENDED_DATA_MERGE\fP: Treat extended data and ordinary
+data the same. Merge all substreams such that calls to
+\fIlibssh2_channel_read(3)\fP will pull from all substreams on a
+first-in/first-out basis.
+.br
+\fBLIBSSH2_CHANNEL_EXTENDED_DATA_IGNORE\fP: Discard all extended data as it
+arrives.
+
+Change how a channel deals with extended data packets. By default all extended
+data is queued until read by \fIlibssh2_channel_read_ex(3)\fP
+.SH RETURN VALUE
+None.
+.SH SEE ALSO
+.BR libssh2_channel_handle_extended_data2(3)
+.BR libssh2_channel_read_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_handle_extended_data2.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_handle_extended_data2.3
new file mode 100644
index 0000000000000000000000000000000000000000..ac970fcb830bddfb8d9a32adb00c66c94ab57949
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_handle_extended_data2.3
@@ -0,0 +1,37 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_channel_handle_extended_data2 3 "1 Jun 2007" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_channel_handle_extended_data2 - set extended data handling mode
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_channel_handle_extended_data2(LIBSSH2_CHANNEL *channel,
+ int ignore_mode);
+.fi
+.SH DESCRIPTION
+\fIchannel\fP - Active channel stream to change extended data handling on.
+
+\fIignore_mode\fP - One of the three LIBSSH2_CHANNEL_EXTENDED_DATA_* Constants.
+.br
+\fBLIBSSH2_CHANNEL_EXTENDED_DATA_NORMAL\fP: Queue extended data for eventual
+reading
+.br
+\fBLIBSSH2_CHANNEL_EXTENDED_DATA_MERGE\fP: Treat extended data and ordinary
+data the same. Merge all substreams such that calls to
+.BR libssh2_channel_read(3)
+will pull from all substreams on a first-in/first-out basis.
+.br
+\fBLIBSSH2_CHANNEL_EXTENDED_DATA_IGNORE\fP: Discard all extended data as it
+arrives.
+
+Change how a channel deals with extended data packets. By default all
+extended data is queued until read by
+.BR libssh2_channel_read_ex(3)
+.SH RETURN VALUE
+Return 0 on success or LIBSSH2_ERROR_EAGAIN when it would otherwise block.
+.SH SEE ALSO
+.BR libssh2_channel_handle_extended_data(3)
+.BR libssh2_channel_read_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_ignore_extended_data.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_ignore_extended_data.3
new file mode 100644
index 0000000000000000000000000000000000000000..ff8f4900b455d8e86457ad7141654fb3ed47e8b0
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_ignore_extended_data.3
@@ -0,0 +1,25 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_channel_ignore_extended_data 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2"
+.SH NAME
+libssh2_channel_ignore_extended_data - convenience macro for \fIlibssh2_channel_handle_extended_data(3)\fP calls
+.SH SYNOPSIS
+.nf
+#include
+
+void
+libssh2_channel_ignore_extended_data(LIBSSH2_CHANNEL *channel,
+ int ignore_mode);
+.fi
+.SH DESCRIPTION
+This function is \fBDEPRECATED\fP in 0.3.0. Use the
+\fIlibssh2_channel_handle_extended_data2(3)\fP function instead!
+
+This is a macro defined in a public libssh2 header file that is using the
+underlying function \fIlibssh2_channel_handle_extended_data(3)\fP.
+.SH RETURN VALUE
+See \fIlibssh2_channel_handle_extended_data(3)\fP
+.SH ERRORS
+See \fIlibssh2_channel_handle_extended_data(3)\fP
+.SH SEE ALSO
+.BR libssh2_channel_handle_extended_data(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_open_ex.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_open_ex.3
new file mode 100644
index 0000000000000000000000000000000000000000..66fd802247d400beb7c22d06f79c383fb64bb2bd
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_open_ex.3
@@ -0,0 +1,58 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_channel_open_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_channel_open_ex - establish a generic session channel
+.SH SYNOPSIS
+.nf
+#include
+
+LIBSSH2_CHANNEL *
+libssh2_channel_open_ex(LIBSSH2_SESSION *session, const char *channel_type,
+ unsigned int channel_type_len,
+ unsigned int window_size,
+ unsigned int packet_size,
+ const char *message, unsigned int message_len);
+
+LIBSSH2_CHANNEL *
+libssh2_channel_open_session(session);
+.fi
+.SH DESCRIPTION
+\fIsession\fP - Session instance as returned by
+.BR libssh2_session_init_ex(3)
+
+\fIchannel_type\fP - Channel type to open. Typically one of session,
+direct-tcpip, or tcpip-forward. The SSH2 protocol allowed for additional
+types including local, custom channel types.
+
+\fIchannel_type_len\fP - Length of channel_type
+
+\fIwindow_size\fP - Maximum amount of unacknowledged data remote host is
+allowed to send before receiving an SSH_MSG_CHANNEL_WINDOW_ADJUST packet.
+
+\fIpacket_size\fP - Maximum number of bytes remote host is allowed to send
+in a single SSH_MSG_CHANNEL_DATA or SSG_MSG_CHANNEL_EXTENDED_DATA packet.
+
+\fImessage\fP - Additional data as required by the selected channel_type.
+
+\fImessage_len\fP - Length of message parameter.
+
+Allocate a new channel for exchanging data with the server. This method is
+typically called through its macroized form:
+.BR libssh2_channel_open_session(3)
+or via
+.BR libssh2_channel_direct_tcpip(3)
+or
+.BR libssh2_channel_forward_listen(3)
+.SH RETURN VALUE
+Pointer to a newly allocated LIBSSH2_CHANNEL instance, or NULL on errors.
+.SH ERRORS
+\fILIBSSH2_ERROR_ALLOC\fP - An internal memory allocation call failed.
+
+\fILIBSSH2_ERROR_SOCKET_SEND\fP - Unable to send data on socket.
+
+\fILIBSSH2_ERROR_CHANNEL_FAILURE\fP -
+
+\fILIBSSH2_ERROR_EAGAIN\fP - Marked for non-blocking I/O but the call would block.
+.SH SEE ALSO
+Add related functions
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_open_session.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_open_session.3
new file mode 100644
index 0000000000000000000000000000000000000000..89039ea35fdd26c2bb1a5c8b8fd323233a74a41f
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_open_session.3
@@ -0,0 +1,21 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_channel_open_session 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2"
+.SH NAME
+libssh2_channel_open_session - convenience macro for \fIlibssh2_channel_open_ex(3)\fP calls
+.SH SYNOPSIS
+.nf
+#include
+
+LIBSSH2_CHANNEL *
+libssh2_channel_open_session(LIBSSH2_SESSION *session);
+.fi
+.SH DESCRIPTION
+This is a macro defined in a public libssh2 header file that is using the
+underlying function \fIlibssh2_channel_open_ex(3)\fP.
+.SH RETURN VALUE
+See \fIlibssh2_channel_open_ex(3)\fP
+.SH ERRORS
+See \fIlibssh2_channel_open_ex(3)\fP
+.SH SEE ALSO
+.BR libssh2_channel_open_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_process_startup.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_process_startup.3
new file mode 100644
index 0000000000000000000000000000000000000000..5f827db13ef942e6fe7fa024d27167bd17f0b0a7
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_process_startup.3
@@ -0,0 +1,42 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_channel_process_startup 3 "1 Jun 2007" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_channel_process_startup - request a shell on a channel
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_channel_process_startup(LIBSSH2_CHANNEL *channel,
+ const char *request,
+ unsigned int request_len,
+ const char *message,
+ unsigned int message_len);
+.fi
+.SH DESCRIPTION
+\fIchannel\fP - Active session channel instance.
+
+\fIrequest\fP - Type of process to startup. The SSH2 protocol currently
+defines shell, exec, and subsystem as standard process services.
+
+\fIrequest_len\fP - Length of request parameter.
+
+\fImessage\fP - Request specific message data to include.
+
+\fImessage_len\fP - Length of message parameter.
+
+Initiate a request on a session type channel such as returned by
+.BR libssh2_channel_open_ex(3)
+.SH RETURN VALUE
+Return 0 on success or negative on failure. It returns
+LIBSSH2_ERROR_EAGAIN when it would otherwise block. While
+LIBSSH2_ERROR_EAGAIN is a negative number, it is not really a failure per se.
+.SH ERRORS
+\fILIBSSH2_ERROR_ALLOC\fP - An internal memory allocation call failed.
+
+\fILIBSSH2_ERROR_SOCKET_SEND\fP - Unable to send data on socket.
+
+\fILIBSSH2_ERROR_CHANNEL_REQUEST_DENIED\fP -
+.SH SEE ALSO
+.BR libssh2_channel_open_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_read.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_read.3
new file mode 100644
index 0000000000000000000000000000000000000000..0644e185196bbb093afc70207975a15c6586446c
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_read.3
@@ -0,0 +1,22 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_channel_read 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2"
+.SH NAME
+libssh2_channel_read - convenience macro for \fIlibssh2_channel_read_ex(3)\fP calls
+.SH SYNOPSIS
+.nf
+#include
+
+ssize_t
+libssh2_channel_read(LIBSSH2_CHANNEL *channel,
+ char *buf, size_t buflen);
+.fi
+.SH DESCRIPTION
+This is a macro defined in a public libssh2 header file that is using the
+underlying function \fIlibssh2_channel_read_ex(3)\fP.
+.SH RETURN VALUE
+See \fIlibssh2_channel_read_ex(3)\fP
+.SH ERRORS
+See \fIlibssh2_channel_read_ex(3)\fP
+.SH SEE ALSO
+.BR libssh2_channel_read_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_read_ex.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_read_ex.3
new file mode 100644
index 0000000000000000000000000000000000000000..200fe800325e69bb5b2c73b5ac80d68e7526db35
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_read_ex.3
@@ -0,0 +1,50 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_channel_read_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_channel_read_ex - read data from a channel stream
+.SH SYNOPSIS
+.nf
+#include
+
+ssize_t
+libssh2_channel_read_ex(LIBSSH2_CHANNEL *channel, int stream_id,
+ char *buf, size_t buflen);
+
+ssize_t
+libssh2_channel_read(LIBSSH2_CHANNEL *channel,
+ char *buf, size_t buflen);
+
+ssize_t
+libssh2_channel_read_stderr(LIBSSH2_CHANNEL *channel,
+ char *buf, size_t buflen);
+.fi
+.SH DESCRIPTION
+Attempt to read data from an active channel stream. All channel streams have
+one standard I/O substream (stream_id == 0), and may have up to 2^32 extended
+data streams as identified by the selected \fIstream_id\fP. The SSH2 protocol
+currently defines a stream ID of 1 to be the stderr substream.
+
+\fIchannel\fP - active channel stream to read from.
+
+\fIstream_id\fP - substream ID number (e.g. 0 or SSH_EXTENDED_DATA_STDERR)
+
+\fIbuf\fP - pointer to storage buffer to read data into
+
+\fIbuflen\fP - size of the buf storage
+
+\fIlibssh2_channel_read(3)\fP and \fIlibssh2_channel_read_stderr(3)\fP are
+macros.
+.SH RETURN VALUE
+Actual number of bytes read or negative on failure. It returns
+LIBSSH2_ERROR_EAGAIN when it would otherwise block. While
+LIBSSH2_ERROR_EAGAIN is a negative number, it is not really a failure per se.
+
+Note that a return value of zero (0) can in fact be a legitimate value and
+only signals that no payload data was read. It is not an error.
+.SH ERRORS
+\fILIBSSH2_ERROR_SOCKET_SEND\fP - Unable to send data on socket.
+
+\fILIBSSH2_ERROR_CHANNEL_CLOSED\fP - The channel has been closed.
+.SH SEE ALSO
+.BR libssh2_poll_channel_read(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_read_stderr.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_read_stderr.3
new file mode 100644
index 0000000000000000000000000000000000000000..25b5ba7240b21199f8bde8568d9722964e92d6c0
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_read_stderr.3
@@ -0,0 +1,22 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_channel_read_stderr 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2"
+.SH NAME
+libssh2_channel_read_stderr - convenience macro for \fIlibssh2_channel_read_ex(3)\fP calls
+.SH SYNOPSIS
+.nf
+#include
+
+ssize_t
+libssh2_channel_read_stderr(LIBSSH2_CHANNEL *channel,
+ char *buf, size_t buflen);
+.fi
+.SH DESCRIPTION
+This is a macro defined in a public libssh2 header file that is using the
+underlying function \fIlibssh2_channel_read_ex(3)\fP.
+.SH RETURN VALUE
+See \fIlibssh2_channel_read_ex(3)\fP
+.SH ERRORS
+See \fIlibssh2_channel_read_ex(3)\fP
+.SH SEE ALSO
+.BR libssh2_channel_read_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_receive_window_adjust.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_receive_window_adjust.3
new file mode 100644
index 0000000000000000000000000000000000000000..af0df2e2b6d5c48e5bc86882fcad6a79bf660b1a
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_receive_window_adjust.3
@@ -0,0 +1,32 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_channel_receive_window_adjust 3 "15 Mar 2009" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_channel_receive_window_adjust - adjust the channel window
+.SH SYNOPSIS
+.nf
+#include
+
+unsigned long
+libssh2_channel_receive_window_adjust(LIBSSH2_CHANNEL * channel,
+ unsigned long adjustment,
+ unsigned char force);
+.fi
+.SH DESCRIPTION
+This function is \fBDEPRECATED\fP in 1.1.0. Use the
+\fIlibssh2_channel_receive_window_adjust2(3)\fP function instead!
+
+Adjust the receive window for a channel by adjustment bytes. If the amount to
+be adjusted is less than LIBSSH2_CHANNEL_MINADJUST and force is 0 the
+adjustment amount will be queued for a later packet.
+.SH RETURN VALUE
+Returns the new size of the receive window (as understood by remote end). Note
+that the window value sent over the wire is strictly 32bit, but this API is
+made to return a 'long' which may not be 32 bit on all platforms.
+.SH ERRORS
+In 1.0 and earlier, this function returns LIBSSH2_ERROR_EAGAIN for
+non-blocking channels where it would otherwise block. However, that is a
+negative number and this function only returns an unsigned value and this then
+leads to a very strange value being returned.
+.SH SEE ALSO
+.BR libssh2_channel_window_read_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_receive_window_adjust2.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_receive_window_adjust2.3
new file mode 100644
index 0000000000000000000000000000000000000000..730889af1238cbea86e57e44d61e5b7763e173d4
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_receive_window_adjust2.3
@@ -0,0 +1,30 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_channel_receive_window_adjust2 3 "26 Mar 2009" "libssh2 1.1" "libssh2"
+.SH NAME
+libssh2_channel_receive_window_adjust2 - adjust the channel window
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_channel_receive_window_adjust2(LIBSSH2_CHANNEL * channel,
+ unsigned long adjustment,
+ unsigned char force,
+ unsigned int *window);
+.fi
+.SH DESCRIPTION
+Adjust the receive window for a channel by adjustment bytes. If the amount to
+be adjusted is less than LIBSSH2_CHANNEL_MINADJUST and force is 0 the
+adjustment amount will be queued for a later packet.
+
+This function stores the new size of the receive window (as understood by
+remote end) in the variable 'window' points to.
+.SH RETURN VALUE
+Return 0 on success and a negative value on error. If used in non-blocking
+mode it will return LIBSSH2_ERROR_EAGAIN when it would otherwise block.
+.SH ERRORS
+.SH AVAILABILITY
+Added in libssh2 1.1 since the previous API has deficiencies.
+.SH SEE ALSO
+.BR libssh2_channel_window_read_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_request_auth_agent.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_request_auth_agent.3
new file mode 100644
index 0000000000000000000000000000000000000000..8f9ab62ba4ded7fa17893c49ef349c7e9ed208fa
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_request_auth_agent.3
@@ -0,0 +1,24 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_channel_request_auth_agent 3 "1 Jun 2007" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_channel_request_auth_agent - request agent forwarding for a session
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_channel_request_auth_agent(LIBSSH2_CHANNEL *channel);
+.fi
+.SH DESCRIPTION
+Request that agent forwarding be enabled for this SSH session. This sends the
+request over this specific channel, which causes the agent listener to be
+started on the remote side upon success. This agent listener will then run
+for the duration of the SSH session.
+
+\fIchannel\fP - Previously opened channel instance such as returned by
+.BR libssh2_channel_open_ex(3)
+.SH RETURN VALUE
+Return 0 on success or negative on failure. It returns
+LIBSSH2_ERROR_EAGAIN when it would otherwise block. While
+LIBSSH2_ERROR_EAGAIN is a negative number, it is not really a failure per se.
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_request_pty.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_request_pty.3
new file mode 100644
index 0000000000000000000000000000000000000000..7a3b75eaf1043fdbdd39ad1eec8c0168bbbb2b41
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_request_pty.3
@@ -0,0 +1,21 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_channel_request_pty 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2"
+.SH NAME
+libssh2_channel_request_pty - convenience macro for \fIlibssh2_channel_request_pty_ex(3)\fP calls
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_channel_request_pty(LIBSSH2_SESSION *session, const char *term);
+.fi
+.SH DESCRIPTION
+This is a macro defined in a public libssh2 header file that is using the
+underlying function \fIlibssh2_channel_request_pty_ex(3)\fP.
+.SH RETURN VALUE
+See \fIlibssh2_channel_request_pty_ex(3)\fP
+.SH ERRORS
+See \fIlibssh2_channel_request_pty_ex(3)\fP
+.SH SEE ALSO
+.BR libssh2_channel_request_pty_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_request_pty_ex.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_request_pty_ex.3
new file mode 100644
index 0000000000000000000000000000000000000000..30ad750ca04f31d69e1aee93d7878ad18636810d
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_request_pty_ex.3
@@ -0,0 +1,54 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_channel_request_pty_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_channel_request_pty_ex - short function description
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_channel_request_pty_ex(LIBSSH2_CHANNEL *channel, const char *term,
+ unsigned int term_len,
+ const char *modes, unsigned int modes_len,
+ int width, int height,
+ int width_px, int height_px);
+
+int
+libssh2_channel_request_pty(LIBSSH2_CHANNEL *channel, const char *term);
+.fi
+.SH DESCRIPTION
+\fIchannel\fP - Previously opened channel instance such as returned by
+.BR libssh2_channel_open_ex(3)
+
+\fIterm\fP - Terminal emulation (e.g. vt102, ansi, etc...)
+
+\fIterm_len\fP - Length of term parameter
+
+\fImodes\fP - Terminal mode modifier values
+
+\fImodes_len\fP - Length of modes parameter.
+
+\fIwidth\fP - Width of pty in characters
+
+\fIheight\fP - Height of pty in characters
+
+\fIwidth_px\fP - Width of pty in pixels
+
+\fIheight_px\fP - Height of pty in pixels
+
+Request a PTY on an established channel. Note that this does not make sense
+for all channel types and may be ignored by the server despite returning
+success.
+.SH RETURN VALUE
+Return 0 on success or negative on failure. It returns
+LIBSSH2_ERROR_EAGAIN when it would otherwise block. While
+LIBSSH2_ERROR_EAGAIN is a negative number, it is not really a failure per se.
+.SH ERRORS
+\fILIBSSH2_ERROR_ALLOC\fP - An internal memory allocation call failed.
+
+\fILIBSSH2_ERROR_SOCKET_SEND\fP - Unable to send data on socket.
+
+\fILIBSSH2_ERROR_CHANNEL_REQUEST_DENIED\fP -
+.SH SEE ALSO
+.BR libssh2_channel_open_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_request_pty_size.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_request_pty_size.3
new file mode 100644
index 0000000000000000000000000000000000000000..7de31d612427a61a44a7283b54e84bfc10651add
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_request_pty_size.3
@@ -0,0 +1,22 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_channel_request_pty_size 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2"
+.SH NAME
+libssh2_channel_request_pty_size - convenience macro for \fIlibssh2_channel_request_pty_size_ex(3)\fP calls
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_channel_request_pty_size(LIBSSH2_CHANNEL *channel,
+ int width, int height);
+.fi
+.SH DESCRIPTION
+This is a macro defined in a public libssh2 header file that is using the
+underlying function \fIlibssh2_channel_request_pty_size_ex(3)\fP.
+.SH RETURN VALUE
+See \fIlibssh2_channel_request_pty_size_ex(3)\fP
+.SH ERRORS
+See \fIlibssh2_channel_request_pty_size_ex(3)\fP
+.SH SEE ALSO
+.BR libssh2_channel_request_pty_size_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_request_pty_size_ex.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_request_pty_size_ex.3
new file mode 100644
index 0000000000000000000000000000000000000000..54daf4f5baf3c62d989ec62a81f98124b9d1948c
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_request_pty_size_ex.3
@@ -0,0 +1,12 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_channel_request_pty_size_ex 3 "1 Jun 2007" "libssh2" "libssh2"
+.SH NAME
+libssh2_channel_request_pty_size_ex - TODO
+.SH SYNOPSIS
+.nf
+.fi
+.SH DESCRIPTION
+.SH RETURN VALUE
+.SH ERRORS
+.SH SEE ALSO
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_send_eof.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_send_eof.3
new file mode 100644
index 0000000000000000000000000000000000000000..d4bf52e526de56da128163aa081c04e5f4257d1d
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_send_eof.3
@@ -0,0 +1,24 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_channel_send_eof 3 "1 Jun 2007" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_channel_send_eof - send EOF to remote server
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_channel_send_eof(LIBSSH2_CHANNEL *channel);
+.fi
+.SH DESCRIPTION
+Tell the remote host that no further data will be sent on the specified
+channel. Processes typically interpret this as a closed stdin descriptor.
+.SH RETURN VALUE
+Return 0 on success or negative on failure. It returns
+LIBSSH2_ERROR_EAGAIN when it would otherwise block. While
+LIBSSH2_ERROR_EAGAIN is a negative number, it is not really a failure per se.
+.SH ERRORS
+\fILIBSSH2_ERROR_SOCKET_SEND\fP - Unable to send data on socket.
+.SH SEE ALSO
+.BR libssh2_channel_wait_eof(3)
+.BR libssh2_channel_eof(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_set_blocking.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_set_blocking.3
new file mode 100644
index 0000000000000000000000000000000000000000..07a1049aefd12215ef92fc58ce1c28e3c35a5209
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_set_blocking.3
@@ -0,0 +1,27 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_channel_set_blocking 3 "1 Jun 2007" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_channel_set_blocking - set or clear blocking mode on channel
+.SH SYNOPSIS
+.nf
+#include
+
+void
+libssh2_channel_set_blocking(LIBSSH2_CHANNEL *channel, int blocking);
+.fi
+.SH DESCRIPTION
+\fIchannel\fP - channel stream to set or clean blocking status on.
+
+\fIblocking\fP - Set to a non-zero value to make the channel block, or zero to
+make it non-blocking.
+
+Currently this is a short cut call to
+.BR libssh2_session_set_blocking(3)
+and therefore will affect the session and all channels.
+.SH RETURN VALUE
+None
+.SH SEE ALSO
+.BR libssh2_session_set_blocking(3)
+.BR libssh2_channel_read_ex(3)
+.BR libssh2_channel_write_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_setenv.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_setenv.3
new file mode 100644
index 0000000000000000000000000000000000000000..0fa097b55c3936cf356750de0ab44e2a51706e1c
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_setenv.3
@@ -0,0 +1,22 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_channel_setenv 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2"
+.SH NAME
+libssh2_channel_setenv - convenience macro for \fIlibssh2_channel_setenv_ex(3)\fP calls
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_channel_setenv(LIBSSH2_CHANNEL *channel,
+ const char *varname, const char *value);
+.fi
+.SH DESCRIPTION
+This is a macro defined in a public libssh2 header file that is using the
+underlying function \fIlibssh2_channel_setenv_ex(3)\fP.
+.SH RETURN VALUE
+See \fIlibssh2_channel_setenv_ex(3)\fP
+.SH ERRORS
+See \fIlibssh2_channel_setenv_ex(3)\fP
+.SH SEE ALSO
+.BR libssh2_channel_setenv_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_setenv_ex.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_setenv_ex.3
new file mode 100644
index 0000000000000000000000000000000000000000..692d9f8ebfcad8a53ae38415f6a79bb438e3d667
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_setenv_ex.3
@@ -0,0 +1,47 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_channel_setenv_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_channel_setenv_ex - set an environment variable on the channel
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_channel_setenv_ex(LIBSSH2_CHANNEL *channel,
+ char *varname, unsigned int varname_len,
+ const char *value, unsigned int value_len);
+
+int
+libssh2_channel_setenv(LIBSSH2_CHANNEL *channel,
+ char *varname, const char *value);
+.fi
+.SH DESCRIPTION
+\fIchannel\fP - Previously opened channel instance such as returned by
+.BR libssh2_channel_open_ex(3)
+
+\fIvarname\fP - Name of environment variable to set on the remote
+channel instance.
+
+\fIvarname_len\fP - Length of passed varname parameter.
+
+\fIvalue\fP - Value to set varname to.
+
+\fIvalue_len\fP - Length of value parameter.
+
+Set an environment variable in the remote channel's process space. Note that
+this does not make sense for all channel types and may be ignored by the
+server despite returning success.
+.SH RETURN VALUE
+Return 0 on success or negative on failure. It returns
+LIBSSH2_ERROR_EAGAIN when it would otherwise block. While
+LIBSSH2_ERROR_EAGAIN is a negative number, it is not really a failure per se.
+
+.SH ERRORS
+\fILIBSSH2_ERROR_ALLOC\fP - An internal memory allocation call failed.
+
+\fILIBSSH2_ERROR_SOCKET_SEND\fP - Unable to send data on socket.
+
+\fILIBSSH2_ERROR_CHANNEL_REQUEST_DENIED\fP -
+.SH SEE ALSO
+.BR libssh2_channel_open_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_shell.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_shell.3
new file mode 100644
index 0000000000000000000000000000000000000000..70ba6d456e18a3d431e10dcf3df84c29b8463c77
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_shell.3
@@ -0,0 +1,21 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_channel_shell 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2"
+.SH NAME
+libssh2_channel_shell - convenience macro for \fIlibssh2_channel_process_startup(3)\fP calls
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_channel_shell(LIBSSH2_CHANNEL *channel);
+.fi
+.SH DESCRIPTION
+This is a macro defined in a public libssh2 header file that is using the
+underlying function \fIlibssh2_channel_process_startup(3)\fP.
+.SH RETURN VALUE
+See \fIlibssh2_channel_process_startup(3)\fP
+.SH ERRORS
+See \fIlibssh2_channel_process_startup(3)\fP
+.SH SEE ALSO
+.BR libssh2_channel_process_startup(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_signal_ex.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_signal_ex.3
new file mode 100644
index 0000000000000000000000000000000000000000..aadea41bc7757bd93c7f08b5b67b4c7910c25a78
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_signal_ex.3
@@ -0,0 +1,32 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_channel_signal_ex 3 "20 Apr 2023" "libssh2 1.11.0" "libssh2"
+.SH NAME
+libssh2_channel_signal_ex -- Send a signal to process previously opened on channel.
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_channel_signal_ex(LIBSSH2_CHANNEL *channel,
+ const char *signame,
+ size_t signame_len)
+.fi
+.SH DESCRIPTION
+A signal can be delivered to the remote process/service. Some servers or
+systems may not implement signals, in which case they will probably ignore this
+message.
+
+\fIchannel\fP - Previously opened channel instance such as returned by
+.BR libssh2_channel_open_ex(3)
+
+\fIsigname\fP - The signal name is the same as the signal name constant, without the leading "SIG".
+
+\fIsigname_len\fP - Length of passed signal name parameter.
+
+There is also a macro \fIlibssh2_channel_signal(channel, signame)\fP that supplies the strlen of the signame.
+.SH RETURN VALUE
+Normal channel error codes.
+LIBSSH2_ERROR_EAGAIN when it would block.
+.SH SEE ALSO
+.BR libssh2_channel_get_exit_signal(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_subsystem.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_subsystem.3
new file mode 100644
index 0000000000000000000000000000000000000000..31d0b3337c33fc423cfb0b3fc9671c3b9fd1bc6a
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_subsystem.3
@@ -0,0 +1,21 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_channel_subsystem 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2"
+.SH NAME
+libssh2_channel_subsystem - convenience macro for \fIlibssh2_channel_process_startup(3)\fP calls
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_channel_subsystem(LIBSSH2_CHANNEL *channel, const char *subsystem);
+.fi
+.SH DESCRIPTION
+This is a macro defined in a public libssh2 header file that is using the
+underlying function \fIlibssh2_channel_process_startup(3)\fP.
+.SH RETURN VALUE
+See \fIlibssh2_channel_process_startup(3)\fP
+.SH ERRORS
+See \fIlibssh2_channel_process_startup(3)\fP
+.SH SEE ALSO
+.BR libssh2_channel_process_startup(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_wait_closed.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_wait_closed.3
new file mode 100644
index 0000000000000000000000000000000000000000..7ef058cfecec1f35522a9608f45faae4946b27b5
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_wait_closed.3
@@ -0,0 +1,25 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_channel_wait_closed 3 "29 Nov 2007" "libssh2 0.19" "libssh2"
+.SH NAME
+libssh2_channel_wait_closed - wait for the remote to close the channel
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_channel_wait_closed(LIBSSH2_CHANNEL *channel);
+.fi
+.SH DESCRIPTION
+Enter a temporary blocking state until the remote host closes the named
+channel. Typically sent after \fIlibssh2_channel_close(3)\fP in order to
+examine the exit status.
+
+.SH RETURN VALUE
+Return 0 on success or negative on failure. It returns LIBSSH2_ERROR_EAGAIN
+when it would otherwise block. While LIBSSH2_ERROR_EAGAIN is a negative
+number, it is not really a failure per se.
+.SH SEE ALSO
+.BR libssh2_channel_send_eof(3)
+.BR libssh2_channel_eof(3)
+.BR libssh2_channel_wait_eof(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_wait_eof.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_wait_eof.3
new file mode 100644
index 0000000000000000000000000000000000000000..dcd1f5d5b402195a4908a8a01c32590f02af4ca7
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_wait_eof.3
@@ -0,0 +1,22 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_channel_wait_eof 3 "1 Jun 2007" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_channel_wait_eof - wait for the remote to reply to an EOF request
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_channel_wait_eof(LIBSSH2_CHANNEL *channel);
+.fi
+.SH DESCRIPTION
+Wait for the remote end to send EOF.
+
+.SH RETURN VALUE
+Return 0 on success or negative on failure. It returns
+LIBSSH2_ERROR_EAGAIN when it would otherwise block. While
+LIBSSH2_ERROR_EAGAIN is a negative number, it is not really a failure per se.
+.SH SEE ALSO
+.BR libssh2_channel_send_eof(3)
+.BR libssh2_channel_eof(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_window_read.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_window_read.3
new file mode 100644
index 0000000000000000000000000000000000000000..f6218cb65419649547f2b8c12bdcb89b4709efee
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_window_read.3
@@ -0,0 +1,21 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_channel_window_read 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2"
+.SH NAME
+libssh2_channel_window_read - convenience macro for \fIlibssh2_channel_window_read_ex(3)\fP calls
+.SH SYNOPSIS
+.nf
+#include
+
+unsigned long
+libssh2_channel_window_read(LIBSSH2_CHANNEL *channel);
+.fi
+.SH DESCRIPTION
+This is a macro defined in a public libssh2 header file that is using the
+underlying function \fIlibssh2_channel_window_read_ex(3)\fP.
+.SH RETURN VALUE
+See \fIlibssh2_channel_window_read_ex(3)\fP
+.SH ERRORS
+See \fIlibssh2_channel_window_read_ex(3)\fP
+.SH SEE ALSO
+.BR libssh2_channel_window_read_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_window_read_ex.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_window_read_ex.3
new file mode 100644
index 0000000000000000000000000000000000000000..3e1eebceaac6e555ba3dcc0d0bf734f70e421aea
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_window_read_ex.3
@@ -0,0 +1,27 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_channel_window_read_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_channel_window_read_ex - Check the status of the read window
+.SH SYNOPSIS
+.nf
+#include
+
+unsigned long
+libssh2_channel_window_read_ex(LIBSSH2_CHANNEL *channel,
+ unsigned long *read_avail,
+ unsigned long *window_size_initial)
+.fi
+.SH DESCRIPTION
+Check the status of the read window. Returns the number of bytes which the
+remote end may send without overflowing the window limit read_avail (if
+passed) will be populated with the number of bytes actually available to be
+read window_size_initial (if passed) will be populated with the
+window_size_initial as defined by the channel_open request
+.SH RETURN VALUE
+The number of bytes which the remote end may send without overflowing the
+window limit
+.SH ERRORS
+.SH SEE ALSO
+.BR libssh2_channel_receive_window_adjust(3),
+.BR libssh2_channel_window_write_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_window_write.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_window_write.3
new file mode 100644
index 0000000000000000000000000000000000000000..aa20d02d8512268fb4ddea13ec88d252746329c8
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_window_write.3
@@ -0,0 +1,21 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_channel_window_write 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2"
+.SH NAME
+libssh2_channel_window_write - convenience macro for \fIlibssh2_channel_window_write_ex(3)\fP calls
+.SH SYNOPSIS
+.nf
+#include
+
+unsigned long
+libssh2_channel_window_write(LIBSSH2_CHANNEL *channel);
+.fi
+.SH DESCRIPTION
+This is a macro defined in a public libssh2 header file that is using the
+underlying function \fIlibssh2_channel_window_write_ex(3)\fP.
+.SH RETURN VALUE
+See \fIlibssh2_channel_window_write_ex(3)\fP
+.SH ERRORS
+See \fIlibssh2_channel_window_write_ex(3)\fP
+.SH SEE ALSO
+.BR libssh2_channel_window_write_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_window_write_ex.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_window_write_ex.3
new file mode 100644
index 0000000000000000000000000000000000000000..7e8ff5fea93f457e1eea118938c492b85bb1cac6
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_window_write_ex.3
@@ -0,0 +1,24 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_channel_window_write_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_channel_window_write_ex - Check the status of the write window
+.SH SYNOPSIS
+.nf
+#include
+
+unsigned long
+libssh2_channel_window_write_ex(LIBSSH2_CHANNEL *channel,
+ unsigned long *window_size_initial)
+.fi
+.SH DESCRIPTION
+Check the status of the write window Returns the number of bytes which may be
+safely written on the channel without blocking. 'window_size_initial' (if
+passed) will be populated with the size of the initial window as defined by
+the channel_open request
+.SH RETURN VALUE
+Number of bytes which may be safely written on the channel without blocking.
+.SH ERRORS
+.SH SEE ALSO
+.BR libssh2_channel_window_read_ex(3),
+.BR libssh2_channel_receive_window_adjust(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_write.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_write.3
new file mode 100644
index 0000000000000000000000000000000000000000..6ced72d929fe4ef035a61a308a23b411676e3cc6
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_write.3
@@ -0,0 +1,22 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_channel_write 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2"
+.SH NAME
+libssh2_channel_write - convenience macro for \fIlibssh2_channel_write_ex(3)\fP
+.SH SYNOPSIS
+.nf
+#include
+
+ssize_t
+libssh2_channel_write(LIBSSH2_CHANNEL *channel,
+ const char *buf, size_t buflen);
+.fi
+.SH DESCRIPTION
+This is a macro defined in a public libssh2 header file that is using the
+underlying function \fIlibssh2_channel_write_ex(3)\fP.
+.SH RETURN VALUE
+See \fIlibssh2_channel_write_ex(3)\fP
+.SH ERRORS
+See \fIlibssh2_channel_write_ex(3)\fP
+.SH SEE ALSO
+.BR libssh2_channel_write_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_write_ex.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_write_ex.3
new file mode 100644
index 0000000000000000000000000000000000000000..934a79c2b93b267726279888c3db510baf47dc6b
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_write_ex.3
@@ -0,0 +1,56 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_channel_write_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_channel_write_ex - write data to a channel stream blocking
+.SH SYNOPSIS
+.nf
+#include
+
+ssize_t
+libssh2_channel_write_ex(LIBSSH2_CHANNEL *channel,
+ int stream_id, char *buf,
+ size_t buflen);
+.fi
+.SH DESCRIPTION
+Write data to a channel stream. All channel streams have one standard I/O
+substream (stream_id == 0), and may have up to 2^32 extended data streams as
+identified by the selected \fIstream_id\fP. The SSH2 protocol currently
+defines a stream ID of 1 to be the stderr substream.
+
+\fIchannel\fP - active channel stream to write to.
+
+\fIstream_id\fP - substream ID number (e.g. 0 or SSH_EXTENDED_DATA_STDERR)
+
+\fIbuf\fP - pointer to buffer to write
+
+\fIbuflen\fP - size of the data to write
+
+\fIlibssh2_channel_write(3)\fP and \fIlibssh2_channel_write_stderr(3)\fP are
+convenience macros for this function.
+
+\fIlibssh2_channel_write_ex(3)\fP will use as much as possible of the buffer
+and put it into a single SSH protocol packet. This means that to get maximum
+performance when sending larger files, you should try to always pass in at
+least 32K of data to this function.
+.SH RETURN VALUE
+Actual number of bytes written or negative on failure.
+LIBSSH2_ERROR_EAGAIN when it would otherwise block. While
+LIBSSH2_ERROR_EAGAIN is a negative number, it is not really a failure per se.
+.SH ERRORS
+\fILIBSSH2_ERROR_ALLOC\fP - An internal memory allocation call failed.
+
+\fILIBSSH2_ERROR_SOCKET_SEND\fP - Unable to send data on socket.
+
+\fILIBSSH2_ERROR_CHANNEL_CLOSED\fP - The channel has been closed.
+
+\fILIBSSH2_ERROR_CHANNEL_EOF_SENT\fP - The channel has been requested to be
+
+\fILIBSSH2_ERROR_BAD_USE\fP - This can be returned if you ignored a previous
+return for LIBSSH2_ERROR_EAGAIN and rather than sending the original buffer with
+the original size, you sent a new buffer with a different size.
+
+closed.
+.SH SEE ALSO
+.BR libssh2_channel_open_ex(3)
+.BR libssh2_channel_read_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_write_stderr.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_write_stderr.3
new file mode 100644
index 0000000000000000000000000000000000000000..832a5c26c50c942f834cc88387ede1eda88a9c51
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_write_stderr.3
@@ -0,0 +1,22 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_channel_write_stderr 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2"
+.SH NAME
+libssh2_channel_write_stderr - convenience macro for \fIlibssh2_channel_write_ex(3)\fP
+.SH SYNOPSIS
+.nf
+#include
+
+ssize_t
+libssh2_channel_write_stderr(LIBSSH2_CHANNEL *channel,
+ const char *buf, size_t buflen);
+.fi
+.SH DESCRIPTION
+This is a macro defined in a public libssh2 header file that is using the
+underlying function \fIlibssh2_channel_write_ex(3)\fP.
+.SH RETURN VALUE
+See \fIlibssh2_channel_write_ex(3)\fP
+.SH ERRORS
+See \fIlibssh2_channel_write_ex(3)\fP
+.SH SEE ALSO
+.BR libssh2_channel_write_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_x11_req.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_x11_req.3
new file mode 100644
index 0000000000000000000000000000000000000000..15300a22950ec4a07140fb9e91a6ac06f7a0b5f7
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_x11_req.3
@@ -0,0 +1,21 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_channel_x11_req 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2"
+.SH NAME
+libssh2_channel_x11_req - convenience macro for \fIlibssh2_channel_x11_req_ex(3)\fP calls
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_channel_x11_req(LIBSSH2_CHANNEL *channel, int screen_number);
+.fi
+.SH DESCRIPTION
+This is a macro defined in a public libssh2 header file that is using the
+underlying function \fIlibssh2_channel_x11_req_ex(3)\fP.
+.SH RETURN VALUE
+See \fIlibssh2_channel_x11_req_ex(3)\fP
+.SH ERRORS
+See \fIlibssh2_channel_x11_req_ex(3)\fP
+.SH SEE ALSO
+.BR libssh2_channel_x11_req_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_x11_req_ex.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_x11_req_ex.3
new file mode 100644
index 0000000000000000000000000000000000000000..a87e40eeca2beebc366064d157ac1da9dac500a0
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_channel_x11_req_ex.3
@@ -0,0 +1,47 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_channel_x11_req_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_channel_x11_req_ex - request an X11 forwarding channel
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_channel_x11_req_ex(LIBSSH2_CHANNEL *channel, int single_connection,
+ const char *auth_proto, const char *auth_cookie,
+ int screen_number);
+
+int
+libssh2_channel_x11_req(LIBSSH2_CHANNEL *channel,
+ int screen_number);
+.fi
+.SH DESCRIPTION
+\fIchannel\fP - Previously opened channel instance such as returned by
+.BR libssh2_channel_open_ex(3)
+
+\fIsingle_connection\fP - non-zero to only forward a single connection.
+
+\fIauth_proto\fP - X11 authentication protocol to use
+
+\fIauth_cookie\fP - the cookie (hexadecimal encoded).
+
+\fIscreen_number\fP - the XLL screen to forward
+
+Request an X11 forwarding on \fIchannel\fP. To use X11 forwarding,
+.BR libssh2_session_callback_set2(3)
+must first be called to set \fBLIBSSH2_CALLBACK_X11\fP. This callback will be
+invoked when the remote host accepts the X11 forwarding.
+.SH RETURN VALUE
+Return 0 on success or negative on failure. It returns
+LIBSSH2_ERROR_EAGAIN when it would otherwise block. While
+LIBSSH2_ERROR_EAGAIN is a negative number, it is not really a failure per se.
+.SH ERRORS
+\fILIBSSH2_ERROR_ALLOC\fP - An internal memory allocation call failed.
+
+\fILIBSSH2_ERROR_SOCKET_SEND\fP - Unable to send data on socket.
+
+\fILIBSSH2_ERROR_CHANNEL_REQUEST_DENIED\fP -
+.SH SEE ALSO
+.BR libssh2_channel_open_ex(3)
+.BR libssh2_session_callback_set2(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_crypto_engine.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_crypto_engine.3
new file mode 100644
index 0000000000000000000000000000000000000000..591a84acf1c4e266f9430cc892ba9d41fed3d2f3
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_crypto_engine.3
@@ -0,0 +1,16 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_crypto_engine 3 "22 Nov 2021" "libssh2" "libssh2"
+.SH NAME
+libssh2_crypto_engine - retrieve used crypto engine
+.SH SYNOPSIS
+.nf
+#include
+
+libssh2_crypto_engine_t
+libssh2_crypto_engine(void);
+.fi
+.SH DESCRIPTION
+Returns currently used crypto engine, as en enum value.
+.SH AVAILABILITY
+Added in libssh2 1.11
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_exit.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_exit.3
new file mode 100644
index 0000000000000000000000000000000000000000..cc5f158ff3603e9b10ef303976f23d4e26f07eff
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_exit.3
@@ -0,0 +1,18 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_exit 3 "19 Mar 2010" "libssh2" "libssh2"
+.SH NAME
+libssh2_exit - global library deinitialization
+.SH SYNOPSIS
+.nf
+#include
+
+void
+libssh2_exit(void);
+.fi
+.SH DESCRIPTION
+Exit the libssh2 functions and frees all memory used internal.
+.SH AVAILABILITY
+Added in libssh2 1.2.5
+.SH SEE ALSO
+.BR libssh2_init(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_free.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_free.3
new file mode 100644
index 0000000000000000000000000000000000000000..3aeed4af7ee41e8bc3f8c1ae7b61fb89477b06f3
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_free.3
@@ -0,0 +1,23 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_free 3 "13 Oct 2010" "libssh2" "libssh2"
+.SH NAME
+libssh2_free - deallocate libssh2 memory
+.SH SYNOPSIS
+.nf
+#include
+
+void
+libssh2_free(LIBSSH2_SESSION *session, void *ptr);
+.fi
+.SH DESCRIPTION
+Deallocate memory allocated by earlier call to libssh2 functions. It
+uses the memory allocation callbacks provided by the application, if any.
+Otherwise, this will call free().
+
+This function is mostly useful under Windows when libssh2 is linked to
+one run-time library and the application to another.
+.SH AVAILABILITY
+Added in libssh2 1.2.8
+.SH SEE ALSO
+.BR libssh2_session_init_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_hostkey_hash.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_hostkey_hash.3
new file mode 100644
index 0000000000000000000000000000000000000000..a33edac0487cc93b026815015012b2b708dac8e5
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_hostkey_hash.3
@@ -0,0 +1,29 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_hostkey_hash 3 "1 Jun 2007" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_hostkey_hash - return a hash of the remote host's key
+.SH SYNOPSIS
+.nf
+#include
+
+const char *
+libssh2_hostkey_hash(LIBSSH2_SESSION *session, int hash_type);
+.fi
+.SH DESCRIPTION
+\fIsession\fP - Session instance as returned by
+.BR libssh2_session_init_ex(3)
+
+\fIhash_type\fP - One of: \fBLIBSSH2_HOSTKEY_HASH_MD5\fP,
+\fBLIBSSH2_HOSTKEY_HASH_SHA1\fP or \fBLIBSSH2_HOSTKEY_HASH_SHA256\fP.
+
+Returns the computed digest of the remote system's hostkey. The length of
+the returned string is hash_type specific (e.g. 16 bytes for MD5,
+20 bytes for SHA1, 32 bytes for SHA256).
+.SH RETURN VALUE
+Computed hostkey hash value, or NULL if the information is not available
+(either the session has not yet been started up, or the requested hash
+algorithm was not available). The hash consists of raw binary bytes, not hex
+digits, so it is not directly printable.
+.SH SEE ALSO
+.BR libssh2_session_init_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_init.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_init.3
new file mode 100644
index 0000000000000000000000000000000000000000..5631d7f79a0883cb202f51fbde15eb9a4ad52b0f
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_init.3
@@ -0,0 +1,24 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_init 3 "19 Mar 2010" "libssh2" "libssh2"
+.SH NAME
+libssh2_init - global library initialization
+.SH SYNOPSIS
+.nf
+#include
+
+#define LIBSSH2_INIT_NO_CRYPTO 0x0001
+
+int
+libssh2_init(int flags);
+.fi
+.SH DESCRIPTION
+Initialize the libssh2 functions. This typically initialize the
+crypto library. It uses a global state, and is not thread safe -- you
+must make sure this function is not called concurrently.
+.SH RETURN VALUE
+Returns 0 if succeeded, or a negative value for error.
+.SH AVAILABILITY
+Added in libssh2 1.2.5
+.SH SEE ALSO
+.BR libssh2_exit(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_keepalive_config.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_keepalive_config.3
new file mode 100644
index 0000000000000000000000000000000000000000..c78053e9bfb01a38cdabcb1518f3b4323fc8744c
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_keepalive_config.3
@@ -0,0 +1,29 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_keepalive_config 3 "12 Apr 2011" "libssh2" "libssh2"
+.SH NAME
+libssh2_keepalive_config - short function description
+.SH SYNOPSIS
+.nf
+#include
+
+void
+libssh2_keepalive_config(LIBSSH2_SESSION *session,
+ int want_reply,
+ unsigned int interval);
+.fi
+.SH DESCRIPTION
+Set how often keepalive messages should be sent. \fBwant_reply\fP indicates
+whether the keepalive messages should request a response from the server.
+\fBinterval\fP is number of seconds that can pass without any I/O, use 0 (the
+default) to disable keepalives. To avoid some busy-loop corner-cases, if you
+specify an interval of 1 it will be treated as 2.
+
+Note that non-blocking applications are responsible for sending the keepalive
+messages using \fBlibssh2_keepalive_send(3)\fP.
+.SH RETURN VALUE
+Nothing
+.SH AVAILABILITY
+Added in libssh2 1.2.5
+.SH SEE ALSO
+.BR libssh2_keepalive_send(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_keepalive_send.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_keepalive_send.3
new file mode 100644
index 0000000000000000000000000000000000000000..b660d461479f3a5c7c6328b3d91943a3ded6c595
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_keepalive_send.3
@@ -0,0 +1,22 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_keepalive_send 3 "13 Apr 2011" "libssh2" "libssh2"
+.SH NAME
+libssh2_keepalive_send - short function description
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_keepalive_send(LIBSSH2_SESSION *session,
+ int *seconds_to_next);
+.fi
+.SH DESCRIPTION
+Send a keepalive message if needed. \fBseconds_to_next\fP indicates how many
+seconds you can sleep after this call before you need to call it again.
+.SH RETURN VALUE
+Returns 0 on success, or LIBSSH2_ERROR_SOCKET_SEND on I/O errors.
+.SH AVAILABILITY
+Added in libssh2 1.2.5
+.SH SEE ALSO
+.BR libssh2_keepalive_config(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_knownhost_add.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_knownhost_add.3
new file mode 100644
index 0000000000000000000000000000000000000000..c881e36f67dfb930bfed945887bbf1618f92c946
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_knownhost_add.3
@@ -0,0 +1,67 @@
+.\" Copyright (C) Daniel Stenberg
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_knownhost_add 3 "28 May 2009" "libssh2" "libssh2"
+.SH NAME
+libssh2_knownhost_add - add a known host
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_knownhost_add(LIBSSH2_KNOWNHOSTS *hosts,
+ char *host, char *salt,
+ char *key, size_t keylen,
+ int typemask,
+ struct libssh2_knownhost **store);
+.fi
+.SH DESCRIPTION
+We discourage use of this function as of libssh2 1.2.5. Instead we strongly
+urge users to use \fIlibssh2_knownhost_addc(3)\fP instead, which as a more
+complete API. \fIlibssh2_knownhost_add(3)\fP is subject for removal in a
+future release.
+
+Adds a known host to the collection of known hosts identified by the 'hosts'
+handle.
+
+\fIhost\fP is a pointer the host name in plain text or hashed. If hashed, it
+must be provided base64 encoded. The host name can be the IP numerical address
+of the host or the full name.
+
+\fIsalt\P is a pointer to the salt used for the host hashing, if the host is
+provided hashed. If the host is provided in plain text, salt has no meaning.
+The salt has to be provided base64 encoded with a trailing zero byte.
+
+\fIkey\fP is a pointer to the key for the given host.
+
+\fIkeylen\fP is the total size in bytes of the key pointed to by the \fIkey\fP
+argument
+
+\fItypemask\fP is a bitmask that specifies format and info about the data
+passed to this function. Specifically, it details what format the host name is,
+what format the key is and what key type it is.
+
+The host name is given as one of the following types:
+LIBSSH2_KNOWNHOST_TYPE_PLAIN, LIBSSH2_KNOWNHOST_TYPE_SHA1 or
+LIBSSH2_KNOWNHOST_TYPE_CUSTOM.
+
+The key is encoded using one of the following encodings:
+LIBSSH2_KNOWNHOST_KEYENC_RAW or LIBSSH2_KNOWNHOST_KEYENC_BASE64.
+
+The key is using one of these algorithms:
+LIBSSH2_KNOWNHOST_KEY_RSA1, LIBSSH2_KNOWNHOST_KEY_SSHRSA or
+LIBSSH2_KNOWNHOST_KEY_SSHDSS (deprecated).
+
+\fIstore\fP should point to a pointer that gets filled in to point to the
+known host data after the addition. NULL can be passed if you do not care about
+this pointer.
+.SH RETURN VALUE
+Returns a regular libssh2 error code, where negative values are error codes
+and 0 indicates success.
+.SH AVAILABILITY
+Added in libssh2 1.2, deprecated since libssh2 1.2.5. Use
+\fIlibssh2_knownhost_addc(3)\fP instead!
+.SH SEE ALSO
+.BR libssh2_knownhost_init(3)
+.BR libssh2_knownhost_free(3)
+.BR libssh2_knownhost_check(3)
+.BR libssh2_knownhost_addc(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_knownhost_addc.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_knownhost_addc.3
new file mode 100644
index 0000000000000000000000000000000000000000..5a1b8c56058ca1203cbffd2a069216bdb6b413c8
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_knownhost_addc.3
@@ -0,0 +1,70 @@
+.\" Copyright (C) Daniel Stenberg
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_knownhost_addc 3 "28 May 2009" "libssh2 1.2" "libssh2"
+.SH NAME
+libssh2_knownhost_addc - add a known host
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_knownhost_addc(LIBSSH2_KNOWNHOSTS *hosts,
+ char *host, char *salt,
+ char *key, size_t keylen,
+ const char *comment, size_t commentlen,
+ int typemask,
+ struct libssh2_knownhost **store);
+.fi
+.SH DESCRIPTION
+Adds a known host to the collection of known hosts identified by the 'hosts'
+handle.
+
+\fIhost\fP is a pointer the host name in plain text or hashed. If hashed, it
+must be provided base64 encoded. The host name can be the IP numerical address
+of the host or the full name.
+
+If you want to add a key for a specific port number for the given host, you
+must provide the host name like '[host]:port' with the actual characters '['
+and ']' enclosing the host name and a colon separating the host part from the
+port number. For example: \&"[host.example.com]:222".
+
+\fIsalt\fP is a pointer to the salt used for the host hashing, if the host is
+provided hashed. If the host is provided in plain text, salt has no meaning.
+The salt has to be provided base64 encoded with a trailing zero byte.
+
+\fIkey\fP is a pointer to the key for the given host.
+
+\fIkeylen\fP is the total size in bytes of the key pointed to by the \fIkey\fP
+argument
+
+\fIcomment\fP is a pointer to a comment for the key.
+
+\fIcommentlen\fP is the total size in bytes of the comment pointed to by the \fIcomment\fP argument
+
+\fItypemask\fP is a bitmask that specifies format and info about the data
+passed to this function. Specifically, it details what format the host name is,
+what format the key is and what key type it is.
+
+The host name is given as one of the following types:
+LIBSSH2_KNOWNHOST_TYPE_PLAIN, LIBSSH2_KNOWNHOST_TYPE_SHA1 or
+LIBSSH2_KNOWNHOST_TYPE_CUSTOM.
+
+The key is encoded using one of the following encodings:
+LIBSSH2_KNOWNHOST_KEYENC_RAW or LIBSSH2_KNOWNHOST_KEYENC_BASE64.
+
+The key is using one of these algorithms:
+LIBSSH2_KNOWNHOST_KEY_RSA1, LIBSSH2_KNOWNHOST_KEY_SSHRSA or
+LIBSSH2_KNOWNHOST_KEY_SSHDSS (deprecated).
+
+\fIstore\fP should point to a pointer that gets filled in to point to the
+known host data after the addition. NULL can be passed if you do not care about
+this pointer.
+.SH RETURN VALUE
+Returns a regular libssh2 error code, where negative values are error codes
+and 0 indicates success.
+.SH AVAILABILITY
+Added in libssh2 1.2.5
+.SH SEE ALSO
+.BR libssh2_knownhost_init(3)
+.BR libssh2_knownhost_free(3)
+.BR libssh2_knownhost_check(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_knownhost_check.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_knownhost_check.3
new file mode 100644
index 0000000000000000000000000000000000000000..37d5c230868c89dd5f2a035bb1246e0024f0efb1
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_knownhost_check.3
@@ -0,0 +1,60 @@
+.\" Copyright (C) Daniel Stenberg
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_knownhost_check 3 "28 May 2009" "libssh2" "libssh2"
+.SH NAME
+libssh2_knownhost_check - check a host+key against the list of known hosts
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_knownhost_check(LIBSSH2_KNOWNHOSTS *hosts,
+ const char *host,
+ const char *key, size_t keylen,
+ int typemask,
+ struct libssh2_knownhost **knownhost);
+.fi
+.SH DESCRIPTION
+Checks a host and its associated key against the collection of known hosts,
+and returns info back about the (partially) matched entry.
+
+\fIhost\fP is a pointer the host name in plain text. The host name can be the
+IP numerical address of the host or the full name.
+
+\fIkey\fP is a pointer to the key for the given host.
+
+\fIkeylen\fP is the total size in bytes of the key pointed to by the \fIkey\fP
+argument
+
+\fItypemask\fP is a bitmask that specifies format and info about the data
+passed to this function. Specifically, it details what format the host name is,
+what format the key is and what key type it is.
+
+The host name is given as one of the following types:
+LIBSSH2_KNOWNHOST_TYPE_PLAIN or LIBSSH2_KNOWNHOST_TYPE_CUSTOM.
+
+The key is encoded using one of the following encodings:
+LIBSSH2_KNOWNHOST_KEYENC_RAW or LIBSSH2_KNOWNHOST_KEYENC_BASE64.
+
+\fIknownhost\fP if set to non-NULL, it must be a pointer to a 'struct
+libssh2_knownhost' pointer that gets filled in to point to info about a known
+host that matches or partially matches.
+.SH RETURN VALUE
+\fIlibssh2_knownhost_check(3)\fP returns info about how well the provided
+host + key pair matched one of the entries in the list of known hosts.
+
+LIBSSH2_KNOWNHOST_CHECK_FAILURE - something prevented the check to be made
+
+LIBSSH2_KNOWNHOST_CHECK_NOTFOUND - no host match was found
+
+LIBSSH2_KNOWNHOST_CHECK_MATCH - hosts and keys match.
+
+LIBSSH2_KNOWNHOST_CHECK_MISMATCH - host was found, but the keys did not match!
+.SH AVAILABILITY
+Added in libssh2 1.2
+.SH EXAMPLE
+See the ssh2_exec.c example as provided in the tarball.
+.SH SEE ALSO
+.BR libssh2_knownhost_init(3)
+.BR libssh2_knownhost_free(3)
+.BR libssh2_knownhost_add(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_knownhost_checkp.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_knownhost_checkp.3
new file mode 100644
index 0000000000000000000000000000000000000000..de60390993b8a497a046f3e57d4ae6bfc983f4c2
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_knownhost_checkp.3
@@ -0,0 +1,65 @@
+.\" Copyright (C) Daniel Stenberg
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_knownhost_checkp 3 "1 May 2010" "libssh2" "libssh2"
+.SH NAME
+libssh2_knownhost_checkp - check a host+key against the list of known hosts
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_knownhost_checkp(LIBSSH2_KNOWNHOSTS *hosts,
+ const char *host, int port,
+ const char *key, size_t keylen,
+ int typemask,
+ struct libssh2_knownhost **knownhost);
+.fi
+.SH DESCRIPTION
+Checks a host and its associated key against the collection of known hosts,
+and returns info back about the (partially) matched entry.
+
+\fIhost\fP is a pointer the host name in plain text. The host name can be the
+IP numerical address of the host or the full name.
+
+\fIport\fP is the port number used by the host (or a negative number
+to check the generic host). If the port number is given, libssh2 will
+check the key for the specific host + port number combination in
+addition to the plain host name only check.
+
+\fIkey\fP is a pointer to the key for the given host.
+
+\fIkeylen\fP is the total size in bytes of the key pointed to by the \fIkey\fP
+argument
+
+\fItypemask\fP is a bitmask that specifies format and info about the data
+passed to this function. Specifically, it details what format the host name is,
+what format the key is and what key type it is.
+
+The host name is given as one of the following types:
+LIBSSH2_KNOWNHOST_TYPE_PLAIN or LIBSSH2_KNOWNHOST_TYPE_CUSTOM.
+
+The key is encoded using one of the following encodings:
+LIBSSH2_KNOWNHOST_KEYENC_RAW or LIBSSH2_KNOWNHOST_KEYENC_BASE64.
+
+\fIknownhost\fP if set to non-NULL, it must be a pointer to a 'struct
+libssh2_knownhost' pointer that gets filled in to point to info about a known
+host that matches or partially matches.
+.SH RETURN VALUE
+\fIlibssh2_knownhost_check(3)\fP returns info about how well the provided
+host + key pair matched one of the entries in the list of known hosts.
+
+LIBSSH2_KNOWNHOST_CHECK_FAILURE - something prevented the check to be made
+
+LIBSSH2_KNOWNHOST_CHECK_NOTFOUND - no host match was found
+
+LIBSSH2_KNOWNHOST_CHECK_MATCH - hosts and keys match.
+
+LIBSSH2_KNOWNHOST_CHECK_MISMATCH - host was found, but the keys did not match!
+.SH AVAILABILITY
+Added in libssh2 1.2.6
+.SH EXAMPLE
+See the ssh2_exec.c example as provided in the tarball.
+.SH SEE ALSO
+.BR libssh2_knownhost_init(3)
+.BR libssh2_knownhost_free(3)
+.BR libssh2_knownhost_add(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_knownhost_del.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_knownhost_del.3
new file mode 100644
index 0000000000000000000000000000000000000000..9efc4c67093f203e71629aaa88167a6e2359b1cb
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_knownhost_del.3
@@ -0,0 +1,28 @@
+.\" Copyright (C) Daniel Stenberg
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_knownhost_del 3 "28 May 2009" "libssh2" "libssh2"
+.SH NAME
+libssh2_knownhost_del - delete a known host entry
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_knownhost_del(LIBSSH2_KNOWNHOSTS *hosts,
+ struct libssh2_knownhost *entry);
+.fi
+.SH DESCRIPTION
+Delete a known host entry from the collection of known hosts.
+
+\fIentry\fP is a pointer to a struct that you can extract with
+\fIlibssh2_knownhost_check(3)\fP or \fIlibssh2_knownhost_get(3)\fP.
+.SH RETURN VALUE
+Returns a regular libssh2 error code, where negative values are error codes
+and 0 indicates success.
+.SH AVAILABILITY
+Added in libssh2 1.2
+.SH SEE ALSO
+.BR libssh2_knownhost_init(3)
+.BR libssh2_knownhost_free(3)
+.BR libssh2_knownhost_add(3)
+.BR libssh2_knownhost_check(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_knownhost_free.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_knownhost_free.3
new file mode 100644
index 0000000000000000000000000000000000000000..f9e173445d59ad1bc3ebb25d74d663298311c9a8
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_knownhost_free.3
@@ -0,0 +1,22 @@
+.\" Copyright (C) Daniel Stenberg
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_knownhost_free 3 "28 May 2009" "libssh2" "libssh2"
+.SH NAME
+libssh2_knownhost_free - free a collection of known hosts
+.SH SYNOPSIS
+.nf
+#include
+
+void
+libssh2_knownhost_free(LIBSSH2_KNOWNHOSTS *hosts);
+.fi
+.SH DESCRIPTION
+Free a collection of known hosts.
+.SH RETURN VALUE
+None.
+.SH AVAILABILITY
+Added in libssh2 1.2
+.SH SEE ALSO
+.BR libssh2_knownhost_init(3)
+.BR libssh2_knownhost_add(3)
+.BR libssh2_knownhost_check(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_knownhost_get.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_knownhost_get.3
new file mode 100644
index 0000000000000000000000000000000000000000..318a7fc4547a4d04394bf3f1c03e1fb5b7ccd328
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_knownhost_get.3
@@ -0,0 +1,37 @@
+.\" Copyright (C) Daniel Stenberg
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_knownhost_get 3 "28 May 2009" "libssh2" "libssh2"
+.SH NAME
+libssh2_knownhost_get - get a known host off the collection of known hosts
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_knownhost_get(LIBSSH2_KNOWNHOSTS *hosts,
+ struct libssh2_knownhost **store,
+ struct libssh2_knownhost *prev):
+.fi
+.SH DESCRIPTION
+\fIlibssh2_knownhost_get(3)\fP allows an application to iterate over all known
+hosts in the collection.
+
+\fIstore\fP should point to a pointer that gets filled in to point to the
+known host data.
+
+\fIprev\fP is a pointer to a previous 'struct libssh2_knownhost' as returned
+by a previous invoke of this function, or NULL to get the first entry in the
+internal collection.
+.SH RETURN VALUE
+Returns 0 if everything is fine and information about a host was stored in
+the \fIstore\fP struct.
+
+Returns 1 if it reached the end of hosts.
+
+Returns negative values for error
+.SH AVAILABILITY
+Added in libssh2 1.2
+.SH SEE ALSO
+.BR libssh2_knownhost_readfile(3)
+.BR libssh2_knownhost_writefile(3)
+.BR libssh2_knownhost_add(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_knownhost_init.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_knownhost_init.3
new file mode 100644
index 0000000000000000000000000000000000000000..95b7c62efffd42bf4195b435cc9e1a5e30b2d51f
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_knownhost_init.3
@@ -0,0 +1,27 @@
+.\" Copyright (C) Daniel Stenberg
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_knownhost_init 3 "28 May 2009" "libssh2" "libssh2"
+.SH NAME
+libssh2_knownhost_init - init a collection of known hosts
+.SH SYNOPSIS
+.nf
+#include
+
+LIBSSH2_KNOWNHOSTS *
+libssh2_knownhost_init(LIBSSH2_SESSION *session);
+.fi
+.SH DESCRIPTION
+Init a collection of known hosts for this session. Returns the handle to an
+internal representation of a known host collection.
+
+Call \fBlibssh2_knownhost_free(3)\fP to free the collection again after you are
+doing using it.
+.SH RETURN VALUE
+Returns a handle pointer or NULL if something went wrong. The returned handle
+is used as input to all other known host related functions libssh2 provides.
+.SH AVAILABILITY
+Added in libssh2 1.2
+.SH SEE ALSO
+.BR libssh2_knownhost_free(3)
+.BR libssh2_knownhost_add(3)
+.BR libssh2_knownhost_check(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_knownhost_readfile.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_knownhost_readfile.3
new file mode 100644
index 0000000000000000000000000000000000000000..c5a46970882bdb76ee5579bde04dd5b66752f44c
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_knownhost_readfile.3
@@ -0,0 +1,31 @@
+.\" Copyright (C) Daniel Stenberg
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_knownhost_readfile 3 "28 May 2009" "libssh2" "libssh2"
+.SH NAME
+libssh2_knownhost_readfile - parse a file of known hosts
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_knownhost_readfile(LIBSSH2_KNOWNHOSTS *hosts,
+ const char *filename, int type);
+.fi
+.SH DESCRIPTION
+Reads a collection of known hosts from a specified file and adds them to the
+collection of known hosts.
+
+\fIfilename\fP specifies which file to read
+
+\fItype\fP specifies what file type it is, and
+\fILIBSSH2_KNOWNHOST_FILE_OPENSSH\fP is the only currently supported
+format. This file is normally found named ~/.ssh/known_hosts
+.SH RETURN VALUE
+Returns a negative value, a regular libssh2 error code for errors, or a
+positive number as number of parsed known hosts in the file.
+.SH AVAILABILITY
+Added in libssh2 1.2
+.SH SEE ALSO
+.BR libssh2_knownhost_init(3)
+.BR libssh2_knownhost_free(3)
+.BR libssh2_knownhost_check(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_knownhost_readline.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_knownhost_readline.3
new file mode 100644
index 0000000000000000000000000000000000000000..2418494247817ce96390abb8a3c85852188694a8
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_knownhost_readline.3
@@ -0,0 +1,32 @@
+.\" Copyright (C) Daniel Stenberg
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_knownhost_readline 3 "28 May 2009" "libssh2" "libssh2"
+.SH NAME
+libssh2_knownhost_readline - read a known host line
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_knownhost_readline(LIBSSH2_KNOWNHOSTS *hosts,
+ const char *line, size_t len, int type):
+.fi
+.SH DESCRIPTION
+Tell libssh2 to read a buffer as it if is a line from a known hosts file.
+
+\fIline\fP points to the start of the line
+
+\fIlen\fP is the length of the line in bytes
+
+\fItype\fP specifies what file type it is, and
+\fILIBSSH2_KNOWNHOST_FILE_OPENSSH\fP is the only currently supported
+format. This file is normally found named ~/.ssh/known_hosts
+.SH RETURN VALUE
+Returns a regular libssh2 error code, where negative values are error codes
+and 0 indicates success.
+.SH AVAILABILITY
+Added in libssh2 1.2
+.SH SEE ALSO
+.BR libssh2_knownhost_get(3)
+.BR libssh2_knownhost_writeline(3)
+.BR libssh2_knownhost_readfile(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_knownhost_writefile.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_knownhost_writefile.3
new file mode 100644
index 0000000000000000000000000000000000000000..2e2b0a2fc6ab6a68cb1b1186268ea958e5c568d8
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_knownhost_writefile.3
@@ -0,0 +1,30 @@
+.\" Copyright (C) Daniel Stenberg
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_knownhost_writefile 3 "28 May 2009" "libssh2" "libssh2"
+.SH NAME
+libssh2_knownhost_writefile - write a collection of known hosts to a file
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_knownhost_writefile(LIBSSH2_KNOWNHOSTS *hosts,
+ const char *filename, int type);
+.fi
+.SH DESCRIPTION
+Writes all the known hosts to the specified file using the specified file
+format.
+
+\fIfilename\fP specifies what filename to create
+
+\fItype\fP specifies what file type it is, and
+\fILIBSSH2_KNOWNHOST_FILE_OPENSSH\fP is the only currently supported
+format.
+.SH RETURN VALUE
+Returns a regular libssh2 error code, where negative values are error codes
+and 0 indicates success.
+.SH AVAILABILITY
+Added in libssh2 1.2
+.SH SEE ALSO
+.BR libssh2_knownhost_readfile(3)
+.BR libssh2_knownhost_add(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_knownhost_writeline.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_knownhost_writeline.3
new file mode 100644
index 0000000000000000000000000000000000000000..03023f7246f4dbd99449f554391269f08fb6ca66
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_knownhost_writeline.3
@@ -0,0 +1,47 @@
+.\" Copyright (C) Daniel Stenberg
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_knownhost_writeline 3 "28 May 2009" "libssh2" "libssh2"
+.SH NAME
+libssh2_knownhost_writeline - convert a known host to a line for storage
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_knownhost_writeline(LIBSSH2_KNOWNHOSTS *hosts,
+ struct libssh2_knownhost *known,
+ char *buffer, size_t buflen,
+ size_t *outlen,
+ int type);
+.fi
+.SH DESCRIPTION
+Converts a single known host to a single line of output for storage, using
+the 'type' output format.
+
+\fIknown\fP identifies which particular known host
+
+\fIbuffer\fP points to an allocated buffer
+
+\fIbuflen\fP is the size of the \fIbuffer\fP. See RETURN VALUE about the size.
+
+\fIoutlen\fP must be a pointer to a size_t variable that will get the output
+length of the stored data chunk. The number does not included the trailing
+zero!
+
+\fItype\fP specifies what file type it is, and
+\fILIBSSH2_KNOWNHOST_FILE_OPENSSH\fP is the only currently supported
+format.
+.SH RETURN VALUE
+Returns a regular libssh2 error code, where negative values are error codes
+and 0 indicates success.
+
+If the provided buffer is deemed too small to fit the data libssh2 wants to
+store in it, LIBSSH2_ERROR_BUFFER_TOO_SMALL will be returned. The application
+is then advised to call the function again with a larger buffer. The
+\fIoutlen\fP size will then hold the requested size.
+.SH AVAILABILITY
+Added in libssh2 1.2
+.SH SEE ALSO
+.BR libssh2_knownhost_get(3)
+.BR libssh2_knownhost_readline(3)
+.BR libssh2_knownhost_writefile(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_poll.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_poll.3
new file mode 100644
index 0000000000000000000000000000000000000000..7bda2f2a9575139ca242026c00e3bcf5097d1ffe
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_poll.3
@@ -0,0 +1,26 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_poll 3 "14 Dec 2006" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_poll - poll for activity on a socket, channel or listener
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_poll(LIBSSH2_POLLFD *fds, unsigned int nfds, long timeout);
+.fi
+.SH DESCRIPTION
+This function is deprecated. Do note use. We encourage users to instead use
+the \fIpoll(3)\fP or \fIselect(3)\fP functions to check for socket activity or
+when specific sockets are ready to get received from or send to.
+
+Poll for activity on a socket, channel, listener, or any combination of these
+three types. The calling semantics for this function generally match
+\fIpoll(2)\fP however the structure of fds is somewhat more complex in order
+to accommodate the disparate datatypes, POLLFD constants have been namespaced
+to avoid platform discrepancies, and revents has additional values defined.
+.SH "RETURN VALUE"
+Number of fds with interesting events.
+.SH SEE ALSO
+.BR libssh2_poll_channel_read(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_poll_channel_read.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_poll_channel_read.3
new file mode 100644
index 0000000000000000000000000000000000000000..9878c3b1d2a8608fcc07452bb17f2bbd0d6fdc55
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_poll_channel_read.3
@@ -0,0 +1,23 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_poll_channel_read 3 "14 Dec 2006" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_poll_channel_read - check if data is available
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_poll_channel_read(LIBSSH2_CHANNEL *channel, int extended);
+.fi
+.SH DESCRIPTION
+This function is deprecated. Do note use.
+
+\fIlibssh2_poll_channel_read(3)\fP checks to see if data is available in the
+\fIchannel\fP's read buffer. No attempt is made with this method to see if
+packets are available to be processed. For full polling support, use
+\fIlibssh2_poll(3)\fP.
+.SH RETURN VALUE
+Returns 1 when data is available and 0 otherwise.
+.SH SEE ALSO
+.BR libssh2_poll(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_publickey_add.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_publickey_add.3
new file mode 100644
index 0000000000000000000000000000000000000000..75abb1152235a134f55b79467df990047b19d713
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_publickey_add.3
@@ -0,0 +1,25 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_publickey_add 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2"
+.SH NAME
+libssh2_publickey_add - convenience macro for \fIlibssh2_publickey_add_ex(3)\fP calls
+.SH SYNOPSIS
+.nf
+#include
+
+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[]);
+.fi
+.SH DESCRIPTION
+This is a macro defined in a public libssh2 header file that is using the
+underlying function \fIlibssh2_publickey_add_ex(3)\fP.
+.SH RETURN VALUE
+See \fIlibssh2_publickey_add_ex(3)\fP
+.SH ERRORS
+See \fIlibssh2_publickey_add_ex(3)\fP
+.SH SEE ALSO
+.BR libssh2_publickey_add_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_publickey_add_ex.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_publickey_add_ex.3
new file mode 100644
index 0000000000000000000000000000000000000000..2446915bb495f065f0c2768e2c40efed7ab6edcc
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_publickey_add_ex.3
@@ -0,0 +1,28 @@
+.\" 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
+
+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
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_publickey_init.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_publickey_init.3
new file mode 100644
index 0000000000000000000000000000000000000000..6703ebe33c3243c6dd494dafce0b177e984998b8
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_publickey_init.3
@@ -0,0 +1,14 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_publickey_init 3 "1 Jun 2007" "libssh2" "libssh2"
+.SH NAME
+libssh2_publickey_init - TODO
+.SH SYNOPSIS
+.nf
+.fi
+.SH DESCRIPTION
+.SH RETURN VALUE
+.SH ERRORS
+.SH AVAILABILITY
+Added in libssh2 ?.?.?
+.SH SEE ALSO
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_publickey_list_fetch.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_publickey_list_fetch.3
new file mode 100644
index 0000000000000000000000000000000000000000..aa23b7c5a6fb4d09e6b78639ec22a4547715241c
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_publickey_list_fetch.3
@@ -0,0 +1,14 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_publickey_list_fetch 3 "1 Jun 2007" "libssh2" "libssh2"
+.SH NAME
+libssh2_publickey_list_fetch - TODO
+.SH SYNOPSIS
+.nf
+.fi
+.SH DESCRIPTION
+.SH RETURN VALUE
+.SH ERRORS
+.SH AVAILABILITY
+Added in libssh2 ?.?.?
+.SH SEE ALSO
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_publickey_list_free.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_publickey_list_free.3
new file mode 100644
index 0000000000000000000000000000000000000000..17c15304cb72c8c91987753eba65f2ea93d276c9
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_publickey_list_free.3
@@ -0,0 +1,14 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_publickey_list_free 3 "1 Jun 2007" "libssh2" "libssh2"
+.SH NAME
+libssh2_publickey_list_free - TODO
+.SH SYNOPSIS
+.nf
+.fi
+.SH DESCRIPTION
+.SH RETURN VALUE
+.SH ERRORS
+.SH AVAILABILITY
+Added in libssh2 ?.?.?
+.SH SEE ALSO
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_publickey_remove.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_publickey_remove.3
new file mode 100644
index 0000000000000000000000000000000000000000..a07c9b2baa82efa79bdd05a7f3a97da59564722c
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_publickey_remove.3
@@ -0,0 +1,23 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_publickey_remove 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2"
+.SH NAME
+libssh2_publickey_remove - convenience macro for \fIlibssh2_publickey_remove_ex(3)\fP calls
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_publickey_remove(LIBSSH2_PUBLICKEY *pkey,
+ const unsigned char *name, unsigned long name_len,
+ const unsigned char *blob, unsigned long blob_len);
+.fi
+.SH DESCRIPTION
+This is a macro defined in a public libssh2 header file that is using the
+underlying function \fIlibssh2_publickey_remove_ex(3)\fP.
+.SH RETURN VALUE
+See \fIlibssh2_publickey_remove_ex(3)\fP
+.SH ERRORS
+See \fIlibssh2_publickey_remove_ex(3)\fP
+.SH SEE ALSO
+.BR libssh2_publickey_remove_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_publickey_remove_ex.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_publickey_remove_ex.3
new file mode 100644
index 0000000000000000000000000000000000000000..8a2ce834b232a0f8f5da304a55dae007689f2d8a
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_publickey_remove_ex.3
@@ -0,0 +1,14 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_publickey_list_remove_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_publickey_list_remove_ex - TODO
+.SH SYNOPSIS
+.nf
+.fi
+.SH DESCRIPTION
+.SH RETURN VALUE
+.SH ERRORS
+.SH AVAILABILITY
+Added in libssh2 ?.?.?
+.SH SEE ALSO
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_publickey_shutdown.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_publickey_shutdown.3
new file mode 100644
index 0000000000000000000000000000000000000000..6ad8019689eb1bacd5733f35d91b77893402ac56
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_publickey_shutdown.3
@@ -0,0 +1,14 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_publickey_shutdown 3 "1 Jun 2007" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_publickey_shutdown - TODO
+.SH SYNOPSIS
+.nf
+.fi
+.SH DESCRIPTION
+.SH RETURN VALUE
+.SH ERRORS
+.SH AVAILABILITY
+Added in libssh2 ?.?.?
+.SH SEE ALSO
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_scp_recv.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_scp_recv.3
new file mode 100644
index 0000000000000000000000000000000000000000..93bcee86aecbc22bc5e375e750dded9d3e37cf58
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_scp_recv.3
@@ -0,0 +1,37 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_scp_recv 3 "1 Jun 2007" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_scp_recv - request a remote file via SCP
+.SH SYNOPSIS
+.nf
+#include
+
+LIBSSH2_CHANNEL *
+libssh2_scp_recv(LIBSSH2_SESSION *session, const char *path, struct stat *sb);
+.fi
+.SH DESCRIPTION
+This function is \fBDEPRECATED\fP in 1.7.0. Use the
+\fIlibssh2_scp_recv2(3)\fP function instead!
+
+\fIsession\fP - Session instance as returned by
+.BR libssh2_session_init_ex(3)
+
+\fIpath\fP - Full path and filename of file to transfer. That is the remote
+file name.
+
+\fIsb\fP - Populated with remote file's size, mode, mtime, and atime
+
+Request a file from the remote host via SCP.
+.SH RETURN VALUE
+Pointer to a newly allocated LIBSSH2_CHANNEL instance, or NULL on errors.
+.SH ERRORS
+\fILIBSSH2_ERROR_ALLOC\fP - An internal memory allocation call failed.
+
+\fILIBSSH2_ERROR_SCP_PROTOCOL\fP -
+
+\fILIBSSH2_ERROR_EAGAIN\fP - Marked for non-blocking I/O but the call would
+block.
+.SH SEE ALSO
+.BR libssh2_session_init_ex(3)
+.BR libssh2_channel_open_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_scp_recv2.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_scp_recv2.3
new file mode 100644
index 0000000000000000000000000000000000000000..c3a27c2c2f72b96651691d1b85d936f3946f1f7c
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_scp_recv2.3
@@ -0,0 +1,34 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_scp_recv2 3 "29 Jun 2015" "libssh2 1.6.1" "libssh2"
+.SH NAME
+libssh2_scp_recv2 - request a remote file via SCP
+.SH SYNOPSIS
+.nf
+#include
+
+LIBSSH2_CHANNEL *
+libssh2_scp_recv2(LIBSSH2_SESSION *session, const char *path, struct_stat *sb);
+.fi
+.SH DESCRIPTION
+\fIsession\fP - Session instance as returned by
+.BR libssh2_session_init_ex(3)
+
+\fIpath\fP - Full path and filename of file to transfer. That is the remote
+file name.
+
+\fIsb\fP - Populated with remote file's size, mode, mtime, and atime
+
+Request a file from the remote host via SCP.
+.SH RETURN VALUE
+Pointer to a newly allocated LIBSSH2_CHANNEL instance, or NULL on errors.
+.SH ERRORS
+\fILIBSSH2_ERROR_ALLOC\fP - An internal memory allocation call failed.
+
+\fILIBSSH2_ERROR_SCP_PROTOCOL\fP -
+
+\fILIBSSH2_ERROR_EAGAIN\fP - Marked for non-blocking I/O but the call would
+block.
+.SH SEE ALSO
+.BR libssh2_session_init_ex(3)
+.BR libssh2_channel_open_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_scp_send.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_scp_send.3
new file mode 100644
index 0000000000000000000000000000000000000000..128a24c6a33fd2ec36d0064586c71646896fd776
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_scp_send.3
@@ -0,0 +1,22 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_scp_send 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2"
+.SH NAME
+libssh2_scp_send - convenience macro for \fIlibssh2_scp_send_ex(3)\fP calls
+.SH SYNOPSIS
+.nf
+#include
+
+LIBSSH2_CHANNEL *
+libssh2_scp_send(LIBSSH2_SESSION *session, const char *path,
+ int mode, size_t size);
+.fi
+.SH DESCRIPTION
+This is a macro defined in a public libssh2 header file that is using the
+underlying function \fIlibssh2_scp_send_ex(3)\fP.
+.SH RETURN VALUE
+See \fIlibssh2_scp_send_ex(3)\fP
+.SH ERRORS
+See \fIlibssh2_scp_send_ex(3)\fP
+.SH SEE ALSO
+.BR libssh2_scp_send_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_scp_send64.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_scp_send64.3
new file mode 100644
index 0000000000000000000000000000000000000000..6561103716b369bd6d20fe6876465843d5533bb1
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_scp_send64.3
@@ -0,0 +1,50 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_scp_send64 3 "17 Apr 2010" "libssh2 1.2.6" "libssh2"
+.SH NAME
+libssh2_scp_send64 - Send a file via SCP
+.SH SYNOPSIS
+.nf
+#include
+
+LIBSSH2_CHANNEL *
+libssh2_scp_send64(LIBSSH2_SESSION *session, const char *path, int mode,
+ libssh2_uint64_t size, time_t mtime, time_t atime);
+.fi
+.SH DESCRIPTION
+\fIsession\fP - Session instance as returned by
+.BR libssh2_session_init_ex(3)
+
+\fIpath\fP - Full path and filename of file to transfer to. That is the remote
+file name.
+
+\fImode\fP - File access mode to create file with
+
+\fIsize\fP - Size of file being transmitted (Must be known ahead of
+time). Note that this needs to be passed on as variable type
+libssh2_uint64_t. This type is 64 bit on modern operating systems and
+compilers.
+
+\fImtime\fP - mtime to assign to file being created
+
+\fIatime\fP - atime to assign to file being created (Set this and
+mtime to zero to instruct remote host to use current time).
+
+Send a file to the remote host via SCP.
+.SH RETURN VALUE
+Pointer to a newly allocated LIBSSH2_CHANNEL instance, or NULL on errors.
+
+.SH ERRORS
+\fILIBSSH2_ERROR_ALLOC\fP - An internal memory allocation call failed.
+
+\fILIBSSH2_ERROR_SOCKET_SEND\fP - Unable to send data on socket.
+
+\fILIBSSH2_ERROR_SCP_PROTOCOL\fP -
+
+\fILIBSSH2_ERROR_EAGAIN\fP - Marked for non-blocking I/O but the call would
+block.
+.SH AVAILABILITY
+This function was added in libssh2 1.2.6 and is meant to replace the former
+\fIlibssh2_scp_send_ex(3)\fP function.
+.SH SEE ALSO
+.BR libssh2_channel_open_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_scp_send_ex.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_scp_send_ex.3
new file mode 100644
index 0000000000000000000000000000000000000000..cc3a723efad7ce38f65ec95d2db1756c2ccee14f
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_scp_send_ex.3
@@ -0,0 +1,51 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_scp_send_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_scp_send_ex - Send a file via SCP
+.SH SYNOPSIS
+.nf
+#include
+
+LIBSSH2_CHANNEL *
+libssh2_scp_send_ex(LIBSSH2_SESSION *session, const char *path, int mode,
+ size_t size, long mtime, long atime);
+.fi
+.SH DESCRIPTION
+This function has been deemed deprecated since libssh2 1.2.6. See
+\fIlibssh2_scp_send64(3)\fP.
+
+\fIsession\fP - Session instance as returned by
+.BR libssh2_session_init_ex(3)
+
+\fIpath\fP - Full path and filename of file to transfer to. That is the remote
+file name.
+
+\fImode\fP - File access mode to create file with
+
+\fIsize\fP - Size of file being transmitted (Must be known
+ahead of time precisely)
+
+\fImtime\fP - mtime to assign to file being created
+
+\fIatime\fP - atime to assign to file being created (Set this and
+mtime to zero to instruct remote host to use current time).
+
+Send a file to the remote host via SCP.
+.SH RETURN VALUE
+Pointer to a newly allocated LIBSSH2_CHANNEL instance, or NULL on errors.
+
+.SH ERRORS
+\fILIBSSH2_ERROR_ALLOC\fP - An internal memory allocation call failed.
+
+\fILIBSSH2_ERROR_SOCKET_SEND\fP - Unable to send data on socket.
+
+\fILIBSSH2_ERROR_SCP_PROTOCOL\fP -
+
+\fILIBSSH2_ERROR_EAGAIN\fP - Marked for non-blocking I/O but the call would
+block.
+.SH AVAILABILITY
+This function was marked deprecated in libssh2 1.2.6 as
+ \fIlibssh2_scp_send64(3)\fP has been introduced to replace this function.
+.SH SEE ALSO
+.BR libssh2_channel_open_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_abstract.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_abstract.3
new file mode 100644
index 0000000000000000000000000000000000000000..09f0e4de8033f9541d30912f3b7e6a298b649162
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_abstract.3
@@ -0,0 +1,25 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_session_abstract 3 "1 Jun 2007" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_session_abstract - return a pointer to a session's abstract pointer
+.SH SYNOPSIS
+.nf
+#include
+
+void **
+libssh2_session_abstract(LIBSSH2_SESSION *session);
+.fi
+.SH DESCRIPTION
+\fIsession\fP - Session instance as returned by
+.BR libssh2_session_init_ex(3)
+
+Return a pointer to where the abstract pointer provided to
+\fBlibssh2_session_init_ex(3)\fP is stored. By providing a doubly
+de-referenced pointer, the internal storage of the session instance may be
+modified in place.
+.SH RETURN VALUE
+A pointer to session internal storage whose contents point to previously
+provided abstract data.
+.SH SEE ALSO
+.BR libssh2_session_init_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_banner_get.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_banner_get.3
new file mode 100644
index 0000000000000000000000000000000000000000..88f23995e2cb8013bc0c05e11138fe10d770e16d
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_banner_get.3
@@ -0,0 +1,26 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_session_banner_get 3 "9 Sep 2011" "libssh2" "libssh2"
+.SH NAME
+libssh2_session_banner_get - get the remote banner
+.SH SYNOPSIS
+.nf
+#include
+
+const char *
+libssh2_session_banner_get(oLIBSSH2_SESSION *session);
+.fi
+.SH DESCRIPTION
+Once the session has been setup and \fIlibssh2_session_handshake(3)\fP has
+completed successfully, this function can be used to get the server id from
+the banner each server presents.
+.SH RETURN VALUE
+A pointer to a string or NULL if something failed. The data pointed to will be
+allocated and associated to the session handle and will be freed by libssh2
+when \fIlibssh2_session_free(3)\fP is used.
+.SH AVAILABILITY
+Added in 1.4.0
+.SH SEE ALSO
+.BR libssh2_session_banner_set(3),
+.BR libssh2_session_handshake(3),
+.BR libssh2_session_free(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_banner_set.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_banner_set.3
new file mode 100644
index 0000000000000000000000000000000000000000..037a4d6ab4812a3b6c56af9efa3ee1e90fc76843
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_banner_set.3
@@ -0,0 +1,35 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_session_banner_set 3 "9 Sep 2011" "libssh2" "libssh2"
+.SH NAME
+libssh2_session_banner_set - set the SSH protocol banner for the local client
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_session_banner_set(LIBSSH2_SESSION *session, const char *banner);
+.fi
+.SH DESCRIPTION
+\fIsession\fP - Session instance as returned by
+.BR libssh2_session_init_ex(3)
+
+\fIbanner\fP - A pointer to a zero-terminated string holding the user defined
+banner
+
+Set the banner that will be sent to the remote host when the SSH session is
+started with \fIlibssh2_session_handshake(3)\fP This is optional; a banner
+corresponding to the protocol and libssh2 version will be sent by default.
+.SH RETURN VALUE
+Returns 0 on success or negative on failure. It returns LIBSSH2_ERROR_EAGAIN
+when it would otherwise block. While LIBSSH2_ERROR_EAGAIN is a negative
+number, it is not really a failure per se.
+.SH ERRORS
+\fILIBSSH2_ERROR_ALLOC\fP - An internal memory allocation call failed.
+.SH AVAILABILITY
+Added in 1.4.0.
+
+Before 1.4.0 this function was known as libssh2_banner_set(3)
+.SH SEE ALSO
+.BR libssh2_session_handshake(3),
+.BR libssh2_session_banner_get(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_block_directions.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_block_directions.3
new file mode 100644
index 0000000000000000000000000000000000000000..106de22155a4a19fc5c6dbbe25b9bfd6267a01ec
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_block_directions.3
@@ -0,0 +1,33 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_session_block_directions 3 "1 Oct 2008" "libssh2" "libssh2"
+.SH NAME
+libssh2_session_block_directions - get directions to wait for
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_session_block_directions(LIBSSH2_SESSION *session);
+.fi
+.SH DESCRIPTION
+\fIsession\fP - Session instance as returned by \fBlibssh2_session_init_ex(3)\fP
+
+When any of libssh2 functions return \fBLIBSSH2_ERROR_EAGAIN\fP an application
+should wait for the socket to have data available for reading or
+writing. Depending on the return value of
+\fIlibssh2_session_block_directions(3)\fP an application should wait for read,
+write or both.
+.SH RETURN VALUE
+Returns the set of directions as a binary mask. Can be a combination of:
+
+LIBSSH2_SESSION_BLOCK_INBOUND: Inbound direction blocked.
+
+LIBSSH2_SESSION_BLOCK_OUTBOUND: Outbound direction blocked.
+
+Application should wait for data to be available for socket prior to calling a
+libssh2 function again. If \fBLIBSSH2_SESSION_BLOCK_INBOUND\fP is set select
+should contain the session socket in readfds set. Correspondingly in case of
+\fBLIBSSH2_SESSION_BLOCK_OUTBOUND\fP writefds set should contain the socket.
+.SH AVAILABILITY
+Added in 1.0
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_callback_set.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_callback_set.3
new file mode 100644
index 0000000000000000000000000000000000000000..70c94c13b4af609d518e2de807dc8d6559259290
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_callback_set.3
@@ -0,0 +1,31 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_session_callback_set 3 "1 Jun 2007" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_session_callback_set - set a callback function
+.SH SYNOPSIS
+.nf
+#include
+
+void *
+libssh2_session_callback_set(LIBSSH2_SESSION *session,
+ int cbtype, void *callback);
+.fi
+.SH DESCRIPTION
+This function is \fBDEPRECATED\fP in 1.11.1. Use the
+\fIlibssh2_session_callback_set2(3)\fP function instead!
+
+This implementation is expecting and returning a data pointer for callback
+functions.
+
+For the details about the replacement function, see
+.BR libssh2_session_callback_set2(3)
+which is expecting and returning a function pointer.
+
+.SH RETURN VALUE
+Pointer to previous callback handler. Returns NULL if no prior callback
+handler was set or the callback type was unknown.
+.SH SEE ALSO
+.BR libssh2_session_callback_set2(3)
+.BR libssh2_session_init_ex(3)
+.BR libssh2_agent_sign(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_callback_set2.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_callback_set2.3
new file mode 100644
index 0000000000000000000000000000000000000000..ee55af9426ad1885c2337cab0b8de0b22baf2170
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_callback_set2.3
@@ -0,0 +1,139 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_session_callback_set2 3 "13 Dec 2023" "libssh2 1.11.1" "libssh2"
+.SH NAME
+libssh2_session_callback_set2 - set a callback function
+.SH SYNOPSIS
+.nf
+#include
+
+libssh2_cb_generic *
+libssh2_session_callback_set2(LIBSSH2_SESSION *session, int cbtype,
+ libssh2_cb_generic *callback);
+.fi
+.SH DESCRIPTION
+Sets a custom callback handler for a previously initialized session
+object. Callbacks are triggered by the receipt of special packets at the
+Transport layer. To disable a callback, set it to NULL.
+
+\fIsession\fP - Session instance as returned by
+.BR libssh2_session_init_ex(3)
+
+\fIcbtype\fP - Callback type. One of the types listed in Callback Types.
+
+\fIcallback\fP - Pointer to custom callback function. The prototype for
+this function must match the associated callback declaration macro.
+.SH CALLBACK TYPES
+.IP LIBSSH2_CALLBACK_IGNORE
+Called when a SSH_MSG_IGNORE message is received
+.IP LIBSSH2_CALLBACK_DEBUG
+Called when a SSH_MSG_DEBUG message is received
+.IP LIBSSH2_CALLBACK_DISCONNECT
+Called when a SSH_MSG_DISCONNECT message is received
+.IP LIBSSH2_CALLBACK_MACERROR
+Called when a mismatched MAC has been detected in the transport layer. If the
+function returns 0, the packet will be accepted nonetheless.
+.IP LIBSSH2_CALLBACK_X11
+Called when an X11 connection has been accepted
+.IP LIBSSH2_CALLBACK_SEND
+Called when libssh2 wants to send data on the connection. Can be set to a
+custom function to handle I/O your own way.
+
+The prototype of the callback:
+
+.nf
+ssize_t sendcb(libssh2_socket_t sockfd, const void *buffer,
+ size_t length, int flags, void **abstract);
+.fi
+
+\fBsockfd\fP is the socket to write to, \fBbuffer\fP points to the data to
+send, \fBlength\fP is the size of the data, \fBflags\fP is the flags that
+would have been used to a \fIsend()\fP call and \fBabstract\fP is a pointer
+to the abstract pointer set in the \fIlibssh2_session_init_ex(3)\fP call.
+
+The callback returns the number of bytes sent, or \-1 for error. The special
+return code \fB-EAGAIN\fP can be returned to signal that the send was aborted
+to prevent getting blocked and it needs to be called again.
+.IP LIBSSH2_CALLBACK_RECV
+Called when libssh2 wants to read data from the connection. Can be set to a
+custom function to handle I/O your own way.
+
+The prototype of the callback:
+
+.nf
+ssize_t recvcb(libssh2_socket_t sockfd, void *buffer,
+ size_t length, int flags, void **abstract);
+.fi
+
+\fBsockfd\fP is the socket to read from, \fBbuffer\fP where to store received
+data into, \fBlength\fP is the size of the buffer, \fBflags\fP is the flags
+that would have been used to a \fIrecv()\fP call and \fBabstract\fP is a pointer
+to the abstract pointer set in the \fIlibssh2_session_init_ex(3)\fP call.
+
+The callback returns the number of bytes read, or \-1 for error. The special
+return code \fB-EAGAIN\fP can be returned to signal that the read was aborted
+to prevent getting blocked and it needs to be called again.
+.IP LIBSSH2_CALLBACK_AUTHAGENT
+Called during authentication process to allow the client to connect to the
+ssh-agent and perform any setup, such as configuring the agent or adding keys.
+
+The prototype of the callback:
+
+.nf
+void authagent(LIBSSH2_SESSION* session, LIBSSH2_CHANNEL *channel,
+ void **abstract);
+.fi
+.IP LIBSSH2_CALLBACK_AUTHAGENT_IDENTITIES
+Not called by libssh2. The client is responsible for calling this method when
+a SSH2_AGENTC_REQUEST_IDENTITIES message has been received.
+
+The prototype of the callback:
+
+.nf
+void identities(LIBSSH2_SESSION* session, void *buffer,
+ const char *agent_path,
+ void **abstract)
+.fi
+
+\fBbuffer\fP must be filled in by the callback. Different clients may implement
+this differently. For example, one client may pass in an unsigned char ** for
+this parameter, while another may pass in a pointer to a struct.
+
+Regardless of the type of buffer used, the client will need to send back a list
+of identities in the following format.
+
+uint32 buffer length
+uint32 number of entries
+entries
+
+Where each entry in the entries list is of the format:
+
+string data
+cstring comment
+
+\fBagent_path\fP The path to a running ssh-agent on the client machine, from
+which identities can be listed.
+.IP LIBSSH2_CALLBACK_AUTHAGENT_SIGN
+Not called by libssh2. The client is responsible for calling this method when
+a SSH2_AGENTC_SIGN_REQUEST message has been received.
+
+The prototype of the callback:
+
+.nf
+void sign(LIBSSH2_SESSION* session,
+ unsigned char *blob, unsigned int blen,
+ const unsigned char *data, unsigned int dlen,
+ unsigned char **sig, unsigned int *sig_len,
+ const char *agent_path,
+ void **abstract);
+.fi
+
+When interfacing with an ssh-agent installed on the client system, this method
+can call libssh2_agent_sign(3) to perform signing.
+
+.SH RETURN VALUE
+Pointer to previous callback handler. Returns NULL if no prior callback
+handler was set or the callback type was unknown.
+.SH SEE ALSO
+.BR libssh2_session_init_ex(3)
+.BR libssh2_agent_sign(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_disconnect.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_disconnect.3
new file mode 100644
index 0000000000000000000000000000000000000000..85e141998acbf01f360524364936c79ecf5d071a
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_disconnect.3
@@ -0,0 +1,21 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_session_disconnect 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2"
+.SH NAME
+libssh2_session_disconnect - convenience macro for \fIlibssh2_session_disconnect_ex(3)\fP calls
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_session_disconnect(LIBSSH2_SESSION *session, const char *description);
+.fi
+.SH DESCRIPTION
+This is a macro defined in a public libssh2 header file that is using the
+underlying function \fIlibssh2_session_disconnect_ex(3)\fP.
+.SH RETURN VALUE
+See \fIlibssh2_session_disconnect_ex(3)\fP
+.SH ERRORS
+See \fIlibssh2_session_disconnect_ex(3)\fP
+.SH SEE ALSO
+.BR libssh2_session_disconnect_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_disconnect_ex.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_disconnect_ex.3
new file mode 100644
index 0000000000000000000000000000000000000000..b1674eb62a0ea41e6bf60b8502e9a99578191d53
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_disconnect_ex.3
@@ -0,0 +1,43 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_session_disconnect_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_session_disconnect_ex - terminate transport layer
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_session_disconnect_ex(LIBSSH2_SESSION *session, int reason,
+ const char *description,
+ const char *lang);
+
+int
+libssh2_session_disconnect(LIBSSH2_SESSION *session,
+ const char *description);
+.fi
+.SH DESCRIPTION
+\fIsession\fP - Session instance as returned by
+.BR libssh2_session_init_ex(3)
+
+\fIreason\fP - One of the Disconnect Reason constants.
+
+\fIdescription\fP - Human readable reason for disconnection.
+
+\fIlang\fP - Localization string describing the language/encoding of the description provided.
+
+Send a disconnect message to the remote host associated with \fIsession\fP,
+along with a \fIreason\fP symbol and a verbose \fIdescription\fP.
+
+As a convenience, the macro
+.BR libssh2_session_disconnect(3)
+is provided. It calls
+.BR libssh2_session_disconnect_ex(3)
+with \fIreason\fP set to SSH_DISCONNECT_BY_APPLICATION
+and \fIlang\fP set to an empty string.
+.SH RETURN VALUE
+Return 0 on success or negative on failure. It returns
+LIBSSH2_ERROR_EAGAIN when it would otherwise block. While
+LIBSSH2_ERROR_EAGAIN is a negative number, it is not really a failure per se.
+.SH SEE ALSO
+.BR libssh2_session_init_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_flag.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_flag.3
new file mode 100644
index 0000000000000000000000000000000000000000..b8e8fec8a5a17d3b26f6ead0f37898a9314366ee
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_flag.3
@@ -0,0 +1,29 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_session_flag 3 "1 Jun 2007" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_session_flag - TODO
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_session_flag(LIBSSH2_SESSION *session, int flag, int value);
+.fi
+.SH DESCRIPTION
+Set options for the created session. \fIflag\fP is the option to set, while
+\fIvalue\fP is typically set to 1 or 0 to enable or disable the option.
+.SH FLAGS
+.IP LIBSSH2_FLAG_SIGPIPE
+If set, libssh2 will not attempt to block SIGPIPEs but will let them trigger
+from the underlying socket layer.
+.IP LIBSSH2_FLAG_COMPRESS
+If set - before the connection negotiation is performed - libssh2 will try to
+negotiate compression enabling for this connection. By default libssh2 will
+not attempt to use compression.
+.SH RETURN VALUE
+Returns regular libssh2 error code.
+.SH AVAILABILITY
+This function has existed since the age of dawn. LIBSSH2_FLAG_COMPRESS was
+added in version 1.2.8.
+.SH SEE ALSO
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_free.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_free.3
new file mode 100644
index 0000000000000000000000000000000000000000..618653ac2cdf4d805a44c30bbefc28a922c8beab
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_free.3
@@ -0,0 +1,22 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_session_free 3 "1 Jun 2007" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_session_free - frees resources associated with a session instance
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_session_free(LIBSSH2_SESSION *session);
+.fi
+.SH DESCRIPTION
+Frees all resources associated with a session instance. Typically called after
+.BR libssh2_session_disconnect_ex(3)
+.SH RETURN VALUE
+Return 0 on success or negative on failure. It returns
+LIBSSH2_ERROR_EAGAIN when it would otherwise block. While
+LIBSSH2_ERROR_EAGAIN is a negative number, it is not really a failure per se.
+.SH SEE ALSO
+.BR libssh2_session_init_ex(3)
+.BR libssh2_session_disconnect_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_get_blocking.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_get_blocking.3
new file mode 100644
index 0000000000000000000000000000000000000000..2d3b793ec3881b8353e3cde492c56bfaf3a82f31
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_get_blocking.3
@@ -0,0 +1,19 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_session_get_blocking 3 "1 Jun 2007" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_session_get_blocking - evaluate blocking mode on session
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_session_get_blocking(LIBSSH2_SESSION *session);
+.fi
+.SH DESCRIPTION
+Returns 0 if the state of the session has previously be set to non-blocking
+and it returns 1 if the state was set to blocking.
+.SH RETURN VALUE
+See description.
+.SH SEE ALSO
+.BR libssh2_session_set_blocking(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_get_read_timeout.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_get_read_timeout.3
new file mode 100644
index 0000000000000000000000000000000000000000..81b0cb1fcf45a2b2dbe452c784e9e7b99fe39156
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_get_read_timeout.3
@@ -0,0 +1,24 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_session_get_read_timeout 3 "13 Jan 2023" "libssh2" "libssh2"
+.SH NAME
+libssh2_session_get_read_timeout - get the timeout for packet read functions
+.SH SYNOPSIS
+.nf
+#include
+
+long
+libssh2_session_get_read_timeout(LIBSSH2_SESSION *session);
+.fi
+.SH DESCRIPTION
+Returns the \fBtimeout\fP (in seconds) for how long the ssh2 packet receive
+function calls may wait until they consider the situation an error and
+return LIBSSH2_ERROR_TIMEOUT.
+
+By default the timeout is 60 seconds.
+.SH RETURN VALUE
+The value of the timeout setting.
+.SH AVAILABILITY
+Added in 1.10.1
+.SH SEE ALSO
+.BR libssh2_session_set_read_timeout(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_get_timeout.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_get_timeout.3
new file mode 100644
index 0000000000000000000000000000000000000000..4a57cedf482c77d688f19cbf1b2ca0a0e4de2c63
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_get_timeout.3
@@ -0,0 +1,24 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_session_get_timeout 3 "4 May 2011" "libssh2" "libssh2"
+.SH NAME
+libssh2_session_get_timeout - get the timeout for blocking functions
+.SH SYNOPSIS
+.nf
+#include
+
+long
+libssh2_session_get_timeout(LIBSSH2_SESSION *session);
+.fi
+.SH DESCRIPTION
+Returns the \fBtimeout\fP (in milliseconds) for how long a blocking the
+libssh2 function calls may wait until they consider the situation an error and
+return LIBSSH2_ERROR_TIMEOUT.
+
+By default libssh2 has no timeout (zero) for blocking functions.
+.SH RETURN VALUE
+The value of the timeout setting.
+.SH AVAILABILITY
+Added in 1.2.9
+.SH SEE ALSO
+.BR libssh2_session_set_timeout(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_handshake.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_handshake.3
new file mode 100644
index 0000000000000000000000000000000000000000..4d5cc51172e10af13432d21b26e950d88de9151b
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_handshake.3
@@ -0,0 +1,44 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_session_handshake 3 "7 Oct 2010" "libssh2" "libssh2"
+.SH NAME
+libssh2_session_handshake - perform the SSH handshake
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_session_handshake(LIBSSH2_SESSION *session, libssh2_socket_t socket);
+.fi
+.SH DESCRIPTION
+\fIsession\fP - Session instance as returned by
+.BR libssh2_session_init_ex(3)
+
+\fIsocket\fP - Connected socket descriptor. Typically a TCP connection
+though the protocol allows for any reliable transport and the library will
+attempt to use any berkeley socket.
+
+Begin transport layer protocol negotiation with the connected host.
+.SH RETURN VALUE
+Returns 0 on success, negative on failure.
+.SH ERRORS
+\fILIBSSH2_ERROR_SOCKET_NONE\fP - The socket is invalid.
+
+\fILIBSSH2_ERROR_BANNER_SEND\fP - Unable to send banner to remote host.
+
+\fILIBSSH2_ERROR_KEX_FAILURE\fP - Encryption key exchange with the remote
+host failed.
+
+\fILIBSSH2_ERROR_SOCKET_SEND\fP - Unable to send data on socket.
+
+\fILIBSSH2_ERROR_SOCKET_DISCONNECT\fP - The socket was disconnected.
+
+\fILIBSSH2_ERROR_PROTO\fP - An invalid SSH protocol response was received on
+the socket.
+
+\fILIBSSH2_ERROR_EAGAIN\fP - Marked for non-blocking I/O but the call would block.
+.SH AVAILABILITY
+Added in 1.2.8
+.SH SEE ALSO
+.BR libssh2_session_free(3)
+.BR libssh2_session_init_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_hostkey.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_hostkey.3
new file mode 100644
index 0000000000000000000000000000000000000000..4190843d810b13e69ac0e949363b90c4cdc940b8
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_hostkey.3
@@ -0,0 +1,26 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_session_hostkey 3 "1 Jun 2007" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_session_hostkey - get the remote key
+.SH SYNOPSIS
+.nf
+#include
+
+const char *
+libssh2_session_hostkey(LIBSSH2_SESSION *session,
+ size_t *len, int *type);
+.fi
+.SH DESCRIPTION
+Returns a pointer to the current host key, the value \fIlen\fP points to will
+get the length of the key.
+
+The value \fItype\fP points to the type of hostkey which is one of:
+LIBSSH2_HOSTKEY_TYPE_RSA, LIBSSH2_HOSTKEY_TYPE_DSS (deprecated), or
+LIBSSH2_HOSTKEY_TYPE_UNKNOWN.
+
+.SH RETURN VALUE
+A pointer, or NULL if something went wrong.
+.SH SEE ALSO
+.BR libssh2_knownhost_check(3)
+.BR libssh2_knownhost_add(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_init.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_init.3
new file mode 100644
index 0000000000000000000000000000000000000000..88f1fa8cc18eaf38f846f6a717de42eeb7bd0c21
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_init.3
@@ -0,0 +1,21 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_session_init 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2"
+.SH NAME
+libssh2_session_init - convenience macro for \fIlibssh2_session_init_ex(3)\fP calls
+.SH SYNOPSIS
+.nf
+#include
+
+LIBSSH2_SESSION *
+libssh2_session_init(void);
+.fi
+.SH DESCRIPTION
+This is a macro defined in a public libssh2 header file that is using the
+underlying function \fIlibssh2_session_init_ex(3)\fP.
+.SH RETURN VALUE
+See \fIlibssh2_session_init_ex(3)\fP
+.SH ERRORS
+See \fIlibssh2_session_init_ex(3)\fP
+.SH SEE ALSO
+.BR libssh2_session_init_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_init_ex.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_init_ex.3
new file mode 100644
index 0000000000000000000000000000000000000000..3a79e7864e5e6c81760cbb4d90202bf683783190
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_init_ex.3
@@ -0,0 +1,48 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_session_init_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_session_init_ex - initializes an SSH session object
+.SH SYNOPSIS
+.nf
+#include
+
+LIBSSH2_SESSION *
+libssh2_session_init_ex(LIBSSH2_ALLOC_FUNC((*myalloc)),
+ LIBSSH2_FREE_FUNC((*myfree)),
+ LIBSSH2_REALLOC_FUNC((*myrealloc)),
+ void *abstract);
+
+LIBSSH2_SESSION *
+libssh2_session_init(void);
+.fi
+.SH DESCRIPTION
+\fImyalloc\fP - Custom allocator function. Refer to the section on Callbacks
+for implementing an allocator callback. Pass a value of NULL to use the
+default system allocator.
+
+\fImyfree\fP - Custom de-allocator function. Refer to the section on Callbacks
+for implementing a deallocator callback. Pass a value of NULL to use the
+default system deallocator.
+
+\fImyrealloc\fP - Custom re-allocator function. Refer to the section on
+Callbacks for implementing a reallocator callback. Pass a value of NULL to
+use the default system reallocator.
+
+\fIabstract\fP - Arbitrary pointer to application specific callback data.
+This value will be passed to any callback function associated with the named
+session instance.
+
+Initializes an SSH session object. By default system memory allocators
+(malloc(), free(), realloc()) will be used for any dynamically allocated memory
+blocks. Alternate memory allocation functions may be specified using the
+extended version of this API call, and/or optional application specific data
+may be attached to the session object.
+
+This method must be called first, prior to configuring session options or
+starting up an SSH session with a remote server.
+.SH RETURN VALUE
+Pointer to a newly allocated LIBSSH2_SESSION instance, or NULL on errors.
+.SH SEE ALSO
+.BR libssh2_session_free(3)
+.BR libssh2_session_handshake(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_last_errno.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_last_errno.3
new file mode 100644
index 0000000000000000000000000000000000000000..029f49c28a641aea47e035403dec5069c995af9c
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_last_errno.3
@@ -0,0 +1,22 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_session_last_errno 3 "1 Jun 2007" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_session_last_errno - get the most recent error number
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_session_last_errno(LIBSSH2_SESSION *session);
+.fi
+.SH DESCRIPTION
+\fIsession\fP - Session instance as returned by
+.BR libssh2_session_init_ex(3)
+
+Determine the most recent error condition.
+.SH RETURN VALUE
+Numeric error code corresponding to the the Error Code constants.
+.SH SEE ALSO
+.BR libssh2_session_last_error(3)
+.BR libssh2_session_set_last_error(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_last_error.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_last_error.3
new file mode 100644
index 0000000000000000000000000000000000000000..f11d65ff9b67f7a3245cd11438bc1fc17f3e1500
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_last_error.3
@@ -0,0 +1,34 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_session_last_error 3 "1 Jun 2007" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_session_last_error - get the most recent error
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_session_last_error(LIBSSH2_SESSION *session,
+ char **errmsg, int *errmsg_len, int want_buf);
+.fi
+.SH DESCRIPTION
+\fIsession\fP - Session instance as returned by
+.BR libssh2_session_init_ex(3)
+
+\fIerrmsg\fP - If not NULL, is populated by reference with the human
+readable form of the most recent error message.
+
+\fIerrmsg_len\fP - If not NULL, is populated by reference with the length
+of errmsg. (The string is NUL-terminated, so the length is only useful as
+an optimization, to avoid calling strlen.)
+
+\fIwant_buf\fP - If set to a non-zero value, "ownership" of the errmsg
+buffer will be given to the calling scope. If necessary, the errmsg buffer
+will be duplicated.
+
+Determine the most recent error condition and its cause.
+.SH RETURN VALUE
+Numeric error code corresponding to the the Error Code constants.
+.SH SEE ALSO
+.BR libssh2_session_last_errno(3)
+.BR libssh2_session_set_last_error(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_method_pref.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_method_pref.3
new file mode 100644
index 0000000000000000000000000000000000000000..310d50263872a6fdac6a83aa60178616985368c4
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_method_pref.3
@@ -0,0 +1,41 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_session_method_pref 3 "1 Jun 2007" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_session_method_pref - set preferred key exchange method
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_session_method_pref(LIBSSH2_SESSION *session,
+ int method_type, const char *prefs);
+.fi
+.SH DESCRIPTION
+\fIsession\fP - Session instance as returned by
+.BR libssh2_session_init_ex(3)
+
+\fImethod_type\fP - One of the Method Type constants.
+
+\fIprefs\fP - Coma delimited list of preferred methods to use with
+the most preferred listed first and the least preferred listed last.
+If a method is listed which is not supported by libssh2 it will be
+ignored and not sent to the remote host during protocol negotiation.
+
+Set preferred methods to be negotiated. These
+preferences must be set prior to calling
+.BR libssh2_session_handshake(3)
+as they are used during the protocol initiation phase.
+.SH RETURN VALUE
+Return 0 on success or negative on failure. It returns
+LIBSSH2_ERROR_EAGAIN when it would otherwise block. While
+LIBSSH2_ERROR_EAGAIN is a negative number, it is not really a failure per se.
+.SH ERRORS
+\fILIBSSH2_ERROR_INVAL\fP - The requested method type was invalid.
+
+\fILIBSSH2_ERROR_ALLOC\fP - An internal memory allocation call failed.
+
+\fILIBSSH2_ERROR_METHOD_NOT_SUPPORTED\fP - The requested method is not supported.
+.SH SEE ALSO
+.BR libssh2_session_init_ex(3)
+.BR libssh2_session_handshake(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_methods.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_methods.3
new file mode 100644
index 0000000000000000000000000000000000000000..5748626df3e6b20912d90e654754002d0cb699bd
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_methods.3
@@ -0,0 +1,31 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_session_methods 3 "8 Nov 2021" "libssh2 1.11" "libssh2"
+.SH NAME
+libssh2_session_methods - return the currently active algorithms
+.SH SYNOPSIS
+.nf
+#include
+
+const char *
+libssh2_session_methods(LIBSSH2_SESSION *session, int method_type);
+.fi
+.SH DESCRIPTION
+\fIsession\fP - Session instance as returned by
+.BR libssh2_session_init_ex(3)
+
+\fImethod_type\fP - one of the method type constants: LIBSSH2_METHOD_KEX,
+LIBSSH2_METHOD_HOSTKEY, LIBSSH2_METHOD_CRYPT_CS, LIBSSH2_METHOD_CRYPT_SC,
+LIBSSH2_METHOD_MAC_CS, LIBSSH2_METHOD_MAC_SC, LIBSSH2_METHOD_COMP_CS,
+LIBSSH2_METHOD_COMP_SC, LIBSSH2_METHOD_LANG_CS, LIBSSH2_METHOD_LANG_SC,
+LIBSSH2_METHOD_SIGN_ALGO.
+
+Returns the actual method negotiated for a particular transport parameter.
+.SH RETURN VALUE
+Negotiated method or NULL if the session has not yet been started.
+.SH ERRORS
+\fILIBSSH2_ERROR_INVAL\fP - The requested method type was invalid.
+
+\fILIBSSH2_ERROR_METHOD_NONE\fP - no method has been set
+.SH SEE ALSO
+.BR libssh2_session_init_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_set_blocking.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_set_blocking.3
new file mode 100644
index 0000000000000000000000000000000000000000..db596481adebd32f8d2c215be9be2753039887d7
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_set_blocking.3
@@ -0,0 +1,31 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_session_set_blocking 3 "1 Jun 2007" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_session_set_blocking - set or clear blocking mode on session
+.SH SYNOPSIS
+.nf
+#include
+
+void
+libssh2_session_set_blocking(LIBSSH2_SESSION *session, int blocking);
+.fi
+.SH DESCRIPTION
+\fIsession\fP - session instance as returned by
+.BR libssh2_session_init_ex(3)
+
+\fIblocking\fP - Set to a non-zero value to make the channel block, or zero to
+make it non-blocking.
+
+Set or clear blocking mode on the selected on the session. This will
+instantly affect any channels associated with this session. If a read is
+performed on a session with no data currently available, a blocking session
+will wait for data to arrive and return what it receives. A non-blocking
+session will return immediately with an empty buffer. If a write is performed
+on a session with no room for more data, a blocking session will wait for
+room. A non-blocking session will return immediately without writing
+anything.
+.SH RETURN VALUE
+None
+.SH SEE ALSO
+.BR libssh2_session_init_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_set_last_error.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_set_last_error.3
new file mode 100644
index 0000000000000000000000000000000000000000..7a5bdaa9675dc36f13caa1352e89ab9f0b5d382a
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_set_last_error.3
@@ -0,0 +1,34 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_session_set_last_error 3 "26 Oct 2015" "libssh2" "libssh2"
+.SH NAME
+libssh2_session_set_last_error - sets the internal error state
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_session_set_last_error(LIBSSH2_SESSION *session,
+ int errcode, const char *errmsg)
+.fi
+.SH DESCRIPTION
+\fIsession\fP - Session instance as returned by
+.BR libssh2_session_init_ex(3)
+
+\fIerrcode\fP - One of the error codes as defined in the public
+libssh2 header file.
+
+\fIerrmsg\fP - If not NULL, a copy of the given string is stored
+inside the session object as the error message.
+
+This function is provided for high level language wrappers
+(i.e. Python or Perl) and other libraries that may extend libssh2 with
+additional features while still relying on its error reporting
+mechanism.
+.SH RETURN VALUE
+Numeric error code corresponding to the the Error Code constants.
+.SH AVAILABILITY
+Added in 1.6.1
+.SH SEE ALSO
+.BR libssh2_session_last_error(3)
+.BR libssh2_session_last_errno(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_set_read_timeout.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_set_read_timeout.3
new file mode 100644
index 0000000000000000000000000000000000000000..487c28900bc9feeda692c515a35006630d3ea155
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_set_read_timeout.3
@@ -0,0 +1,25 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_session_set_read_timeout 3 "13 Jan 2023" "libssh2" "libssh2"
+.SH NAME
+libssh2_session_set_read_timeout - set timeout for packet read functions
+.SH SYNOPSIS
+.nf
+#include
+
+void
+libssh2_session_set_read_timeout(LIBSSH2_SESSION *session, long timeout);
+.fi
+.SH DESCRIPTION
+Set the \fBtimeout\fP in seconds for how long libssh2 packet read
+function calls may wait until they consider the situation an error and return
+LIBSSH2_ERROR_TIMEOUT.
+
+By default or if you set the timeout to zero, the timeout will be set to
+60 seconds.
+.SH RETURN VALUE
+Nothing
+.SH AVAILABILITY
+Added in 1.10.1
+.SH SEE ALSO
+.BR libssh2_session_get_read_timeout(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_set_timeout.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_set_timeout.3
new file mode 100644
index 0000000000000000000000000000000000000000..2732685162fb24fd9275cce639217ddbc7bbf8eb
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_set_timeout.3
@@ -0,0 +1,25 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_session_set_timeout 3 "4 May 2011" "libssh2" "libssh2"
+.SH NAME
+libssh2_session_set_timeout - set timeout for blocking functions
+.SH SYNOPSIS
+.nf
+#include
+
+void
+libssh2_session_set_timeout(LIBSSH2_SESSION *session, long timeout);
+.fi
+.SH DESCRIPTION
+Set the \fBtimeout\fP in milliseconds for how long a blocking the libssh2
+function calls may wait until they consider the situation an error and return
+LIBSSH2_ERROR_TIMEOUT.
+
+By default or if you set the timeout to zero, libssh2 has no timeout for
+blocking functions.
+.SH RETURN VALUE
+Nothing
+.SH AVAILABILITY
+Added in 1.2.9
+.SH SEE ALSO
+.BR libssh2_session_get_timeout(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_startup.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_startup.3
new file mode 100644
index 0000000000000000000000000000000000000000..53e95266733ed1308d323fc72888ded1c72b93df
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_startup.3
@@ -0,0 +1,45 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_session_startup 3 "1 Jun 2007" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_session_startup - begin transport layer
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_session_startup(LIBSSH2_SESSION *session, int socket);
+.fi
+.SH DESCRIPTION
+Starting in libssh2 version 1.2.8 this function is considered deprecated. Use
+\fIlibssh2_session_handshake(3)\fP instead.
+
+\fIsession\fP - Session instance as returned by
+.BR libssh2_session_init_ex(3)
+
+\fIsocket\fP - Connected socket descriptor. Typically a TCP connection
+though the protocol allows for any reliable transport and the library will
+attempt to use any berkeley socket.
+
+Begin transport layer protocol negotiation with the connected host.
+.SH RETURN VALUE
+Returns 0 on success, negative on failure.
+.SH ERRORS
+\fILIBSSH2_ERROR_SOCKET_NONE\fP - The socket is invalid.
+
+\fILIBSSH2_ERROR_BANNER_SEND\fP - Unable to send banner to remote host.
+
+\fILIBSSH2_ERROR_KEX_FAILURE\fP - Encryption key exchange with the remote
+host failed.
+
+\fILIBSSH2_ERROR_SOCKET_SEND\fP - Unable to send data on socket.
+
+\fILIBSSH2_ERROR_SOCKET_DISCONNECT\fP - The socket was disconnected.
+
+\fILIBSSH2_ERROR_PROTO\fP - An invalid SSH protocol response was received on
+the socket.
+
+\fILIBSSH2_ERROR_EAGAIN\fP - Marked for non-blocking I/O but the call would block.
+.SH SEE ALSO
+.BR libssh2_session_free(3)
+.BR libssh2_session_init_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_supported_algs.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_supported_algs.3
new file mode 100644
index 0000000000000000000000000000000000000000..c17d53d50cb38acbeaeb9feef357076de3a24ea5
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_session_supported_algs.3
@@ -0,0 +1,79 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_session_supported_algs 3 "23 Oct 2011" "libssh2" "libssh2"
+.SH NAME
+libssh2_session_supported_algs - get list of supported algorithms
+.SH SYNOPSIS
+.nf
+#include
+
+int
+libssh2_session_supported_algs(LIBSSH2_SESSION* session,
+ int method_type,
+ const char*** algs);
+.fi
+.SH DESCRIPTION
+\fIsession\fP - An instance of initialized LIBSSH2_SESSION (the function will
+use its pointer to the memory allocation function). \fImethod_type\fP -
+Method type. See \fIlibssh2_session_method_pref(3)\fP. \fIalgs\fP - Address
+of a pointer that will point to an array of returned algorithms
+
+Get a list of supported algorithms for the given \fImethod_type\fP. The
+method_type parameter is equivalent to method_type in
+\fIlibssh2_session_method_pref(3)\fP. If successful, the function will
+allocate the appropriate amount of memory. When not needed anymore, it must be
+deallocated by calling \fIlibssh2_free(3)\fP. When this function is
+unsuccessful, this must not be done.
+
+In order to get a list of all supported compression algorithms,
+libssh2_session_flag(session, LIBSSH2_FLAG_COMPRESS, 1) must be called before
+calling this function, otherwise only "none" will be returned.
+
+If successful, the function will allocate and fill the array with supported
+algorithms (the same names as defined in RFC 4253). The array is not NULL
+terminated.
+.SH EXAMPLE
+.nf
+#include "libssh2.h"
+
+const char **algorithms;
+int rc, i;
+LIBSSH2_SESSION *session;
+
+/* initialize session */
+session = libssh2_session_init();
+rc = libssh2_session_supported_algs(session,
+ LIBSSH2_METHOD_CRYPT_CS,
+ &algorithms);
+if(rc > 0) {
+ /* the call succeeded, do sth. with the list of algorithms
+ (e.g. list them)... */
+ printf("Supported symmetric algorithms:\\n");
+ for(i = 0; i < rc; i++)
+ printf("\\t%s\\n", algorithms[i]);
+
+ /* ... and free the allocated memory when not needed anymore */
+ libssh2_free(session, algorithms);
+}
+else {
+ /* call failed, error handling */
+}
+.fi
+.SH RETURN VALUE
+On success, a number of returned algorithms (i.e a positive number will be
+returned). In case of a failure, an error code (a negative number, see below)
+is returned. 0 should never be returned.
+.SH ERRORS
+\fILIBSSH2_ERROR_BAD_USE\fP - Invalid address of algs.
+
+\fILIBSSH2_ERROR_METHOD_NOT_SUPPORTED\fP - Unknown method type.
+
+\fILIBSSH2_ERROR_INVAL\fP - Internal error (normally should not occur).
+
+\fILIBSSH2_ERROR_ALLOC\fP - Allocation of memory failed.
+.SH AVAILABILITY
+Added in 1.4.0
+.SH SEE ALSO
+.BR libssh2_session_methods(3),
+.BR libssh2_session_method_pref(3)
+.BR libssh2_free(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_sftp_close.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_sftp_close.3
new file mode 100644
index 0000000000000000000000000000000000000000..bf9c4c7f1c1340ee054e0dbf4e1c20605dad49f0
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_sftp_close.3
@@ -0,0 +1,22 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_sftp_close 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2"
+.SH NAME
+libssh2_sftp_close - convenience macro for \fIlibssh2_sftp_close_handle(3)\fP calls
+.SH SYNOPSIS
+.nf
+#include
+#include
+
+int
+libssh2_sftp_close(LIBSSH2_SFTP_HANDLE *handle);
+.fi
+.SH DESCRIPTION
+This is a macro defined in a public libssh2 header file that is using the
+underlying function \fIlibssh2_sftp_close_handle(3)\fP.
+.SH RETURN VALUE
+See \fIlibssh2_sftp_close_handle(3)\fP
+.SH ERRORS
+See \fIlibssh2_sftp_close_handle(3)\fP
+.SH SEE ALSO
+.BR libssh2_sftp_close_handle(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_sftp_close_handle.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_sftp_close_handle.3
new file mode 100644
index 0000000000000000000000000000000000000000..30794d4dde6de01d758f2aa36f215dde7c21064e
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_sftp_close_handle.3
@@ -0,0 +1,43 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_sftp_close_handle 3 "1 Jun 2007" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_sftp_close_handle - close filehandle
+.SH SYNOPSIS
+.nf
+#include
+#include
+
+int
+libssh2_sftp_close_handle(LIBSSH2_SFTP_HANDLE *handle);
+
+int
+libssh2_sftp_close(LIBSSH2_SFTP_HANDLE *handle);
+
+int
+libssh2_sftp_closedir(LIBSSH2_SFTP_HANDLE *handle);
+.fi
+.SH DESCRIPTION
+\fIhandle\fP - SFTP File Handle as returned by \fBlibssh2_sftp_open_ex(3)\fP
+or \fBlibssh2_sftp_opendir(3)\fP (which is a macro).
+
+Close an active LIBSSH2_SFTP_HANDLE. Because files and directories share the
+same underlying storage mechanism these methods may be used
+interchangeably. \fBlibssh2_sftp_close(3)\fP and \fBlibssh2_sftp_closedir(3)\fP
+are macros for \fBlibssh2_sftp_close_handle(3)\fP.
+.SH RETURN VALUE
+Return 0 on success or negative on failure. It returns
+LIBSSH2_ERROR_EAGAIN when it would otherwise block. While
+LIBSSH2_ERROR_EAGAIN is a negative number, it is not really a failure per se.
+.SH ERRORS
+\fILIBSSH2_ERROR_ALLOC\fP - An internal memory allocation call failed.
+
+\fILIBSSH2_ERROR_SOCKET_SEND\fP - Unable to send data on socket.
+
+\fILIBSSH2_ERROR_SOCKET_TIMEOUT\fP -
+
+\fILIBSSH2_ERROR_SFTP_PROTOCOL\fP - An invalid SFTP protocol response was
+received on the socket, or an SFTP operation caused an errorcode to
+be returned by the server.
+.SH SEE ALSO
+.BR libssh2_sftp_open_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_sftp_closedir.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_sftp_closedir.3
new file mode 100644
index 0000000000000000000000000000000000000000..c1913d2dd6d37d5365295a7b464d0e0005db3225
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_sftp_closedir.3
@@ -0,0 +1,22 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_sftp_closedir 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2"
+.SH NAME
+libssh2_sftp_closedir - convenience macro for \fIlibssh2_sftp_close_handle(3)\fP calls
+.SH SYNOPSIS
+.nf
+#include
+#include
+
+int
+libssh2_sftp_closedir(LIBSSH2_SFTP_HANDLE *handle)
+.fi
+.SH DESCRIPTION
+This is a macro defined in a public libssh2 header file that is using the
+underlying function \fIlibssh2_sftp_close_handle(3)\fP.
+.SH RETURN VALUE
+See \fIlibssh2_sftp_close_handle(3)\fP
+.SH ERRORS
+See \fIlibssh2_sftp_close_handle(3)\fP
+.SH SEE ALSO
+.BR libssh2_sftp_close_handle(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_sftp_fsetstat.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_sftp_fsetstat.3
new file mode 100644
index 0000000000000000000000000000000000000000..c3d8dabc9e2e12ee0952711b913e320699530a98
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_sftp_fsetstat.3
@@ -0,0 +1,23 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_sftp_fsetstat 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2"
+.SH NAME
+libssh2_sftp_fsetstat - convenience macro for \fIlibssh2_sftp_fstat_ex(3)\fP calls
+.SH SYNOPSIS
+.nf
+#include
+#include
+
+int
+libssh2_sftp_fsetstat(LIBSSH2_SFTP_HANDLE *handle,
+ LIBSSH2_SFTP_ATTRIBUTES *attrs);
+.fi
+.SH DESCRIPTION
+This is a macro defined in a public libssh2 header file that is using the
+underlying function \fIlibssh2_sftp_fstat_ex(3)\fP.
+.SH RETURN VALUE
+See \fIlibssh2_sftp_fstat_ex(3)\fP
+.SH ERRORS
+See \fIlibssh2_sftp_fstat_ex(3)\fP
+.SH SEE ALSO
+.BR libssh2_sftp_fstat_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_sftp_fstat.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_sftp_fstat.3
new file mode 100644
index 0000000000000000000000000000000000000000..b2dfacd9915201a878c2b9343364e8241521a631
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_sftp_fstat.3
@@ -0,0 +1,23 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_sftp_fstat 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2"
+.SH NAME
+libssh2_sftp_fstat - convenience macro for \fIlibssh2_sftp_fstat_ex(3)\fP calls
+.SH SYNOPSIS
+.nf
+#include
+#include
+
+int
+libssh2_sftp_fstat(LIBSSH2_SFTP_HANDLE *handle,
+ LIBSSH2_SFTP_ATTRIBUTES *attrs);
+.fi
+.SH DESCRIPTION
+This is a macro defined in a public libssh2 header file that is using the
+underlying function \fIlibssh2_sftp_fstat_ex(3)\fP.
+.SH RETURN VALUE
+See \fIlibssh2_sftp_fstat_ex(3)\fP
+.SH ERRORS
+See \fIlibssh2_sftp_fstat_ex(3)\fP
+.SH SEE ALSO
+.BR libssh2_sftp_fstat_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_sftp_fstat_ex.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_sftp_fstat_ex.3
new file mode 100644
index 0000000000000000000000000000000000000000..65051e58f21f8fccc1c68c765222d0d05692b20a
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_sftp_fstat_ex.3
@@ -0,0 +1,106 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_sftp_fstat_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_sftp_fstat_ex - get or set attributes on an SFTP file handle
+.SH SYNOPSIS
+.nf
+#include
+#include
+
+int
+libssh2_sftp_fstat_ex(LIBSSH2_SFTP_HANDLE *handle,
+ LIBSSH2_SFTP_ATTRIBUTES *attrs, int setstat)
+
+#define libssh2_sftp_fstat(handle, attrs) \\
+ libssh2_sftp_fstat_ex((handle), (attrs), 0)
+#define libssh2_sftp_fsetstat(handle, attrs) \\
+ libssh2_sftp_fstat_ex((handle), (attrs), 1)
+.fi
+.SH DESCRIPTION
+\fIhandle\fP - SFTP File Handle as returned by
+.BR libssh2_sftp_open_ex(3)
+
+\fIattrs\fP - Pointer to an LIBSSH2_SFTP_ATTRIBUTES structure to set file
+metadata from or into depending on the value of setstat.
+
+\fIsetstat\fP - When non-zero, the file's metadata will be updated
+with the data found in attrs according to the values of attrs->flags
+and other relevant member attributes.
+
+Get or Set statbuf type data for a given LIBSSH2_SFTP_HANDLE instance.
+.SH DATA TYPES
+LIBSSH2_SFTP_ATTRIBUTES is a typedefed struct that is defined as below
+
+.nf
+struct _LIBSSH2_SFTP_ATTRIBUTES {
+
+ /* If flags & ATTR_* bit is set, then the value in this
+ * struct will be meaningful Otherwise it should be ignored
+ */
+ unsigned long flags;
+
+ /* size of file, in bytes */
+ libssh2_uint64_t filesize;
+
+ /* numerical representation of the user and group owner of
+ * the file
+ */
+ unsigned long uid, gid;
+
+ /* bitmask of permissions */
+ unsigned long permissions;
+
+ /* access time and modified time of file */
+ unsigned long atime, mtime;
+};
+.fi
+
+You will find a full set of defines and macros to identify flags and
+permissions on the \fBlibssh2_sftp.h\fP header file, but some of the
+most common ones are:
+
+To check for specific user permissions, the set of defines are in the
+pattern LIBSSH2_SFTP_S_I where is R, W or X for
+read, write and executable and is USR, GRP and OTH for user,
+group and other. So, you check for a user readable file, use the bit
+\fILIBSSH2_SFTP_S_IRUSR\fP while you want to see if it is executable
+for other, you use \fILIBSSH2_SFTP_S_IXOTH\fP and so on.
+
+To check for specific file types, you would previously (before libssh2
+1.2.5) use the standard posix S_IS***() macros, but since 1.2.5
+libssh2 offers its own set of macros for this functionality:
+.IP LIBSSH2_SFTP_S_ISLNK
+Test for a symbolic link
+.IP LIBSSH2_SFTP_S_ISREG
+Test for a regular file
+.IP LIBSSH2_SFTP_S_ISDIR
+Test for a directory
+.IP LIBSSH2_SFTP_S_ISCHR
+Test for a character special file
+.IP LIBSSH2_SFTP_S_ISBLK
+Test for a block special file
+.IP LIBSSH2_SFTP_S_ISFIFO
+Test for a pipe or FIFO special file
+.IP LIBSSH2_SFTP_S_ISSOCK
+Test for a socket
+.SH RETURN VALUE
+Return 0 on success or negative on failure. It returns
+LIBSSH2_ERROR_EAGAIN when it would otherwise block. While
+LIBSSH2_ERROR_EAGAIN is a negative number, it is not really a failure per se.
+.SH ERRORS
+\fILIBSSH2_ERROR_ALLOC\fP - An internal memory allocation call failed.
+
+\fILIBSSH2_ERROR_SOCKET_SEND\fP - Unable to send data on socket.
+
+\fILIBSSH2_ERROR_SOCKET_TIMEOUT\fP -
+
+\fILIBSSH2_ERROR_SFTP_PROTOCOL\fP - An invalid SFTP protocol response was
+received on the socket, or an SFTP operation caused an errorcode to
+be returned by the server.
+.SH AVAILABILITY
+This function has been around since forever, but most of the
+LIBSSH2_SFTP_S_* defines were introduced in libssh2 0.14 and the
+LIBSSH2_SFTP_S_IS***() macros were introduced in libssh2 1.2.5.
+.SH SEE ALSO
+.BR libssh2_sftp_open_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_sftp_fstatvfs.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_sftp_fstatvfs.3
new file mode 100644
index 0000000000000000000000000000000000000000..1546b9749145d4e7db21b32885b63d2c16793733
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_sftp_fstatvfs.3
@@ -0,0 +1,3 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.so man3/libssh2_sftp_statvfs.3
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_sftp_fsync.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_sftp_fsync.3
new file mode 100644
index 0000000000000000000000000000000000000000..e9cf3f3f834bb7236c1d397f43d1bb2565602cf6
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_sftp_fsync.3
@@ -0,0 +1,39 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_sftp_fsync 3 "8 Apr 2013" "libssh2" "libssh2"
+.SH NAME
+libssh2_sftp_fsync - synchronize file to disk
+.SH SYNOPSIS
+.nf
+#include
+#include
+
+int
+libssh2_sftp_fsync(LIBSSH2_SFTP_HANDLE *handle)
+.fi
+.SH DESCRIPTION
+This function causes the remote server to synchronize the file
+data and metadata to disk (like fsync(2)).
+
+For this to work requires fsync@openssh.com support on the server.
+
+\fIhandle\fP - SFTP File Handle as returned by
+.BR libssh2_sftp_open_ex(3)
+.SH RETURN VALUE
+Returns 0 on success or negative on failure. If used in non-blocking mode, it
+returns LIBSSH2_ERROR_EAGAIN when it would otherwise block. While
+LIBSSH2_ERROR_EAGAIN is a negative number, it is not really a failure per se.
+.SH ERRORS
+\fILIBSSH2_ERROR_ALLOC\fP - An internal memory allocation call failed.
+
+\fILIBSSH2_ERROR_SOCKET_SEND\fP - Unable to send data on socket.
+
+\fILIBSSH2_ERROR_SFTP_PROTOCOL\fP - An invalid SFTP protocol response
+was received on the socket, or an SFTP operation caused an errorcode
+to be returned by the server. In particular, this can be returned if
+the SSH server does not support the fsync operation: the SFTP subcode
+\fILIBSSH2_FX_OP_UNSUPPORTED\fP will be returned in this case.
+.SH AVAILABILITY
+Added in libssh2 1.4.4 and OpenSSH 6.3.
+.SH SEE ALSO
+.BR fsync(2)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_sftp_get_channel.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_sftp_get_channel.3
new file mode 100644
index 0000000000000000000000000000000000000000..0da7cdac4c88648e6e2c60867cd70034a5bb372e
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_sftp_get_channel.3
@@ -0,0 +1,24 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_sftp_get_channel 3 "9 Sep 2011" "libssh2 1.4.0" "libssh2"
+.SH NAME
+libssh2_sftp_get_channel - return the channel of sftp
+.SH SYNOPSIS
+.nf
+#include
+#include
+
+LIBSSH2_CHANNEL *
+libssh2_sftp_get_channel(LIBSSH2_SFTP *sftp);
+.fi
+.SH DESCRIPTION
+\fIsftp\fP - SFTP instance as returned by
+.BR libssh2_sftp_init(3)
+
+Return the channel of the given sftp handle.
+.SH RETURN VALUE
+The channel of the SFTP instance or NULL if something was wrong.
+.SH AVAILABILITY
+Added in 1.4.0
+.SH SEE ALSO
+.BR libssh2_sftp_init(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_sftp_init.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_sftp_init.3
new file mode 100644
index 0000000000000000000000000000000000000000..dab613d6c1d8a1f4de66537aee7e35d73ee8de59
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_sftp_init.3
@@ -0,0 +1,42 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_sftp_init 3 "1 Jun 2007" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_sftp_init - open SFTP channel for the given SSH session.
+.SH SYNOPSIS
+.nf
+#include
+#include
+
+LIBSSH2_SFTP *
+libssh2_sftp_init(LIBSSH2_SESSION *session);
+.fi
+.SH DESCRIPTION
+\fIsession\fP - Session instance as returned by
+.BR libssh2_session_init_ex(3)
+
+Open a channel and initialize the SFTP subsystem. Although the SFTP subsystem
+operates over the same type of channel as those exported by the Channel API,
+the protocol itself implements its own unique binary packet protocol which
+must be managed with the libssh2_sftp_*() family of functions. When an SFTP
+session is complete, it must be destroyed using the
+.BR libssh2_sftp_shutdown(3)
+function.
+.SH RETURN VALUE
+A pointer to the newly allocated SFTP instance or NULL on failure.
+.SH ERRORS
+\fILIBSSH2_ERROR_ALLOC\fP - An internal memory allocation call failed.
+
+\fILIBSSH2_ERROR_SOCKET_SEND\fP - Unable to send data on socket.
+
+\fILIBSSH2_ERROR_SOCKET_TIMEOUT\fP -
+
+\fILIBSSH2_ERROR_SFTP_PROTOCOL\fP - An invalid SFTP protocol response was
+received on the socket, or an SFTP operation caused an errorcode to be
+returned by the server.
+
+\fILIBSSH2_ERROR_EAGAIN\fP - Marked for non-blocking I/O but the call would
+block.
+.SH SEE ALSO
+.BR libssh2_sftp_shutdown(3)
+.BR libssh2_sftp_open_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_sftp_last_error.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_sftp_last_error.3
new file mode 100644
index 0000000000000000000000000000000000000000..f5993b4d411378de1adee4f74ea0d85f67c566ef
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_sftp_last_error.3
@@ -0,0 +1,25 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_sftp_last_error 3 "1 Jun 2007" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_sftp_last_error - return the last SFTP-specific error code
+.SH SYNOPSIS
+.nf
+#include
+#include
+
+unsigned long
+libssh2_sftp_last_error(LIBSSH2_SFTP *sftp);
+.fi
+.SH DESCRIPTION
+\fIsftp\fP - SFTP instance as returned by
+.BR libssh2_sftp_init(3)
+
+Returns the last error code produced by the SFTP layer. Note that this only
+returns a sensible error code if libssh2 returned LIBSSH2_ERROR_SFTP_PROTOCOL
+in a previous call. Using \fBlibssh2_sftp_last_error(3)\fP without a
+preceding SFTP protocol error, it will return an unspecified value.
+.SH RETURN VALUE
+Current error code state of the SFTP instance.
+.SH SEE ALSO
+.BR libssh2_sftp_init(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_sftp_lstat.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_sftp_lstat.3
new file mode 100644
index 0000000000000000000000000000000000000000..8165cdb887d58ce9be525eefd9bad5644cf4207e
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_sftp_lstat.3
@@ -0,0 +1,23 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_sftp_lstat 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2"
+.SH NAME
+libssh2_sftp_lstat - convenience macro for \fIlibssh2_sftp_stat_ex(3)\fP calls
+.SH SYNOPSIS
+.nf
+#include
+#include
+
+int
+libssh2_sftp_lstat(LIBSSH2_SFTP *sftp, const char *path,
+ LIBSSH2_SFTP_ATTRIBUTES *attrs);
+.fi
+.SH DESCRIPTION
+This is a macro defined in a public libssh2 header file that is using the
+underlying function \fIlibssh2_sftp_stat_ex(3)\fP.
+.SH RETURN VALUE
+See \fIlibssh2_sftp_stat_ex(3)\fP
+.SH ERRORS
+See \fIlibssh2_sftp_stat_ex(3)\fP
+.SH SEE ALSO
+.BR libssh2_sftp_stat_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_sftp_mkdir.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_sftp_mkdir.3
new file mode 100644
index 0000000000000000000000000000000000000000..193ec09e82eac51c3d998b0ad25f25b09a3b13a3
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_sftp_mkdir.3
@@ -0,0 +1,23 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_sftp_mkdir 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2"
+.SH NAME
+libssh2_sftp_mkdir - convenience macro for \fIlibssh2_sftp_mkdir_ex(3)\fP calls
+.SH SYNOPSIS
+.nf
+#include
+#include
+
+int
+libssh2_sftp_mkdir(LIBSSH2_SFTP *sftp, const char *path,
+ long mode);
+.fi
+.SH DESCRIPTION
+This is a macro defined in a public libssh2 header file that is using the
+underlying function \fIlibssh2_sftp_mkdir_ex(3)\fP.
+.SH RETURN VALUE
+See \fIlibssh2_sftp_mkdir_ex(3)\fP
+.SH ERRORS
+See \fIlibssh2_sftp_mkdir_ex(3)\fP
+.SH SEE ALSO
+.BR libssh2_sftp_mkdir_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_sftp_mkdir_ex.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_sftp_mkdir_ex.3
new file mode 100644
index 0000000000000000000000000000000000000000..3e5759dc24df93f2048717d2ea25cd6be7f31f2d
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_sftp_mkdir_ex.3
@@ -0,0 +1,48 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_sftp_mkdir_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_sftp_mkdir_ex - create a directory on the remote file system
+.SH SYNOPSIS
+.nf
+#include
+#include
+
+int
+libssh2_sftp_mkdir_ex(LIBSSH2_SFTP *sftp,
+ const char *path, unsigned int path_len,
+ long mode);
+
+int
+libssh2_sftp_mkdir(LIBSSH2_SFTP *sftp,
+ const char *path,
+ long mode);
+.fi
+.SH DESCRIPTION
+\fIsftp\fP - SFTP instance as returned by
+.BR libssh2_sftp_init(3)
+
+\fIpath\fP - full path of the new directory to create. Note that the new
+directory's parents must all exist prior to making this call.
+
+\fIpath_len\fP - length of the full path of the new directory to create.
+
+\fImode\fP - directory creation mode (e.g. 0755).
+
+Create a directory on the remote file system.
+.SH RETURN VALUE
+Return 0 on success or negative on failure.
+LIBSSH2_ERROR_EAGAIN when it would otherwise block. While
+LIBSSH2_ERROR_EAGAIN is a negative number, it is not really a failure per se.
+.SH ERRORS
+\fILIBSSH2_ERROR_ALLOC\fP - An internal memory allocation call failed.
+
+\fILIBSSH2_ERROR_SOCKET_SEND\fP - Unable to send data on socket.
+
+\fILIBSSH2_ERROR_SOCKET_TIMEOUT\fP -
+
+\fILIBSSH2_ERROR_SFTP_PROTOCOL\fP - An invalid SFTP protocol response was
+received on the socket, or an SFTP operation caused an errorcode to be
+returned by the server.
+.SH SEE ALSO
+.BR libssh2_sftp_open_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_sftp_open.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_sftp_open.3
new file mode 100644
index 0000000000000000000000000000000000000000..7918b506bf30fac6e54d0143fa22349f668810e4
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_sftp_open.3
@@ -0,0 +1,24 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_sftp_open 3 "20 Feb 2010" "libssh2 1.2.4" "libssh2"
+.SH NAME
+libssh2_sftp_open - convenience macro for \fIlibssh2_sftp_open_ex(3)\fP calls
+.SH SYNOPSIS
+.nf
+#include
+#include
+
+LIBSSH2_SFTP_HANDLE *
+libssh2_sftp_open(LIBSSH2_SFTP *sftp, const char *filename,
+ unsigned long flags,
+ long mode);
+.fi
+.SH DESCRIPTION
+This is a macro defined in a public libssh2 header file that is using the
+underlying function \fIlibssh2_sftp_open_ex(3)\fP.
+.SH RETURN VALUE
+See \fIlibssh2_sftp_open_ex(3)\fP
+.SH ERRORS
+See \fIlibssh2_sftp_open_ex(3)\fP
+.SH SEE ALSO
+.BR libssh2_sftp_open_ex(3)
diff --git a/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_sftp_open_ex.3 b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_sftp_open_ex.3
new file mode 100644
index 0000000000000000000000000000000000000000..f0dced8cc2e999c9909a2f05d700dd992bef7a57
--- /dev/null
+++ b/miniconda3/pkgs/libssh2-1.11.1-h251f7ec_0/share/man/man3/libssh2_sftp_open_ex.3
@@ -0,0 +1,69 @@
+.\" Copyright (C) The libssh2 project and its contributors.
+.\" SPDX-License-Identifier: BSD-3-Clause
+.TH libssh2_sftp_open_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2"
+.SH NAME
+libssh2_sftp_open_ex - open filehandle for file on SFTP.
+.SH SYNOPSIS
+.nf
+#include
+#include
+
+LIBSSH2_SFTP_HANDLE *
+libssh2_sftp_open_ex(LIBSSH2_SFTP *sftp, const char *filename,
+ unsigned int filename_len,
+ unsigned long flags,
+ long mode,
+ int open_type);
+.fi
+.SH DESCRIPTION
+\fIsftp\fP - SFTP instance as returned by \fIlibssh2_sftp_init(3)\fP
+
+\fIfilename\fP - Remote file/directory resource to open
+
+\fIfilename_len\fP - Length of filename
+
+\fIflags\fP - Any reasonable combination of the LIBSSH2_FXF_* constants:
+.RS
+.IP LIBSSH2_FXF_READ
+Open the file for reading.
+.IP LIBSSH2_FXF_WRITE
+Open the file for writing. If both this and LIBSSH2_FXF_READ are specified,
+the file is opened for both reading and writing.
+.IP LIBSSH2_FXF_APPEND
+Force all writes to append data at the end of the file.
+.IP LIBSSH2_FXF_CREAT,
+If this flag is specified, then a new file will be created if one does not
+already exist (if LIBSSH2_FXF_TRUNC is specified, the new file will be
+truncated to zero length if it previously exists)
+.IP LIBSSH2_FXF_TRUNC
+Forces an existing file with the same name to be truncated to zero length when
+creating a file by specifying LIBSSH2_FXF_CREAT. LIBSSH2_FXF_CREAT MUST also
+be specified if this flag is used.
+.IP LIBSSH2_FXF_EXCL
+Causes the request to fail if the named file already exists.
+LIBSSH2_FXF_CREAT MUST also be specified if this flag is used.
+
+.RE
+\fImode\fP - POSIX file permissions to assign if the file is being newly
+created. See the LIBSSH2_SFTP_S_* convenience defines in