libssh2.zip
大小:242.4KB
价格:25积分
下载量:0
评分:
5.0
上传者:Motseturtle
更新日期:2025-09-22

libssh2库,内函编译好的32位和64位的动态库lib、dll,以及相关头文件

资源文件列表(大概)

文件名
大小
include/libssh2.h
51.09KB
include/libssh2_publickey.h
4.8KB
include/libssh2_sftp.h
15.35KB
lib/
-
lib/libssh2_x64.zip
136.47KB
lib/libssh2_x86.zip
88.64KB
include/
-

资源内容介绍

libssh2库,内函编译好的32位和64位的动态库lib、dll,以及相关头文件include文件夹:libssh2.hlibssh2_publickey.hlibssh2_sftp.hlib文件夹:libssh2_x64.ziplibssh2_x86.zip
/* Copyright (c) 2004-2009, Sara Golemon <sarag@libssh2.org> * Copyright (c) 2009-2015 Daniel Stenberg * Copyright (c) 2010 Simon Josefsson <simon@josefsson.org> * 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. */#ifndef LIBSSH2_H#define LIBSSH2_H 1#define LIBSSH2_COPYRIGHT "2004-2016 The libssh2 project and its contributors."#define LIBSSH2_VERSION "1.8.0"#define LIBSSH2_VERSION_MAJOR 1#define LIBSSH2_VERSION_MINOR 8#define LIBSSH2_VERSION_PATCH 0#define LIBSSH2_VERSION_NUM 0x010800/* * 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 "Tue Oct 25 06:44:33 UTC 2016"#ifndef RC_INVOKED#ifdef __cplusplusextern "C" {#endif#ifdef _WIN32# include <basetsd.h># include <winsock2.h>#endif#include <stddef.h>#include <string.h>#include <sys/stat.h>#include <sys/types.h>#ifndef LIBSSH2_API# ifdef LIBSSH2_WIN32# ifdef _WINDLL# ifdef LIBSSH2_LIBRARY# define LIBSSH2_API __declspec(dllexport)# else# define LIBSSH2_API __declspec(dllimport)# endif # else# define LIBSSH2_API# endif# else # define LIBSSH2_API# endif #endif #ifdef HAVE_SYS_UIO_H# include <sys/uio.h>#endif#if (defined(NETWARE) && !defined(__NOVELL_LIBC__))# include <sys/bsdskt.h>typedef unsigned char uint8_t;typedef unsigned int uint32_t;#endif#ifdef _MSC_VERtypedef unsigned char uint8_t;typedef unsigned int uint32_t;typedef unsigned __int64 libssh2_uint64_t;typedef __int64 libssh2_int64_t;#ifndef ssize_ttypedef SSIZE_T ssize_t;#endif#elsetypedef unsigned long long libssh2_uint64_t;typedef long long libssh2_int64_t;#endif#ifdef WIN32typedef SOCKET libssh2_socket_t;#define LIBSSH2_INVALID_SOCKET INVALID_SOCKET#else typedef int libssh2_socket_t;#define LIBSSH2_INVALID_SOCKET -1#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 <io.h># include <sys/types.h># include <sys/stat.h># 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# include <sys/types.h># include <sys/stat.h># 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# 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"# endiftypedef struct stat libssh2_struct_stat;typedef off_t libssh2_struct_stat_size;#endif#define LIBSSH2_SSH_BANNER "SSH-2.0-libssh2_" LIBSSH2_VERSION/* We *could* add a comment here if we so chose */#define LIBSSH2_SSH_DEFAULT_BANNER LIBSSH2_SSH_BANNER#define LIBSSH2_SSH_DEFAULT_BANNER_WITH_CRLF LIBSSH2_SSH_DEFAULT_BANNER "\r\n"#define LIBSSH2_DH_GEX_MINGROUP 1024#define LIBSSH2_DH_GEX_OPTGROUP 1536#define LIBSSH2_DH_GEX_MAXGROUP 2048#define LIBSSH2_TERM_WIDTH 80#define LIBSSH2_TERM_HEIGHT 24#define LIBSSH2_TERM_WIDTH_PX 0#define LIBSSH2_TERM_HEIGHT_PX 0#define LIBSSH2_SOCKET_POLL_UDELAY 250000/* 0.25 * 120 == 30 seconds */#define LIBSSH2_SOCKET_POLL_MAXLOOPS 120#define LIBSSH2_PACKET_MAXCOMP 32000#define LIBSSH2_PACKET_MAXDECOMP 40000#define LIBSSH2_PACKET_MAXPAYLOAD 40000#define LIBSSH2_ALLOC_FUNC(name) void *name(size_t count, void **abstract)#define LIBSSH2_REALLOC_FUNC(name) void *name(

用户评论 (0)

发表评论

captcha

相关资源

文件切割V1.0.1.zip

蓝某云而言,上传资源必须小于100M,fat32文件格式只能存4G(实际3.9G)这是文件切割机就上场了,将大文件切割成数个小文件,再合并,亲测有效

458.52KB12积分

ViT算法及其在轴承故障诊断工程领域应用

ViT算法及其在轴承故障诊断工程领域应用

34.07MB36积分

使用Quartus ii和Verilog语言构建一个32位CPU并实现FPGA单片机流水灯

Quartus II 是一款功能强大的 FPGA(现场可编程门阵列)设计软件。它提供了从设计输入、仿真、综合、优化、布局布线到最终的硬件配置的完整设计流程。Quartus II 支持多种硬件平台,包括但不限于 Cyclone、Arria 和 Stratix 系列 FPGA。Quartus II 是电子工程师和研究人员在设计和开发 FPGA 应用时广泛使用的软件之一。供代码编辑器、项目管理工具等,提高设计效率,支持多种设计输入方式,如 VHDL、Verilog 等硬件描述语言。本文件代码使用Verilog语言。Verilog 是一种硬件描述语言(HDL),主要用于设计和模拟电子系统,特别是数字电路。Verilog 支持模块化设计,允许设计者将复杂的系统分解为更小、更易于管理的模块。配置上Quartus II提供功能仿真和时序仿真,提供在线调试工具。将综合后的逻辑映射到 FPGA 的物理结构上,并进行布线,成最终的配置文件,用于将设计下载到 FPGA 上,集成开发环境可以优化设计以提高性能和减少资源使用。本文件就是利用Quartusii工具,使用Verilog语言构建一个32位cpu。

16.62MB12积分

HTML+CSS实现快速3D效果,六个案例源码分享 3D球体、正方体+鼠标渐入渐出效果、贴图正方体、球体相册、行星环绕相册

【HTML+CSS】实现快速3D效果,六个案例源码分享。3D球体、正方体+鼠标渐入渐出效果、贴图正方体、球体相册、行星环绕相册。使用于刚开始学习前端的人群,在不使用js的前提下就实现3D效果。代码简洁易懂,初级开发者利器。源码是开源的,任何人都可以借鉴。

17.57MB19积分