libssh2_org/0004-libssh2.h-Add-missing-prototype-for-libssh2_session_.patch

27 lines
956 B
Diff

From e95c7de4534cee15ba6362eac2fceb08e6eadc83 Mon Sep 17 00:00:00 2001
From: Peter Stuge <peter@stuge.se>
Date: Wed, 1 Feb 2012 11:18:10 +0100
Subject: [PATCH 4/6] libssh2.h: Add missing prototype for
libssh2_session_banner_set()
---
include/libssh2.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/libssh2.h b/include/libssh2.h
index 3395e6a..147330e 100644
--- a/include/libssh2.h
+++ b/include/libssh2.h
@@ -466,6 +466,8 @@ LIBSSH2_API void **libssh2_session_abstract(LIBSSH2_SESSION *session);
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);
LIBSSH2_API int libssh2_banner_set(LIBSSH2_SESSION *session,
const char *banner);
--
1.7.7