mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-01 03:22:48 -05:00
Move the SSH implementation into its own subdirectory.
This clears up another large pile of clutter at the top level, and in the process, allows me to rename source files to things that don't all have that annoying 'ssh' prefix at the top.
This commit is contained in:
@ -88,7 +88,7 @@ add_executable(psocks
|
||||
${CMAKE_SOURCE_DIR}/psocks.c
|
||||
${CMAKE_SOURCE_DIR}/norand.c
|
||||
${CMAKE_SOURCE_DIR}/nocproxy.c
|
||||
${CMAKE_SOURCE_DIR}/portfwd.c
|
||||
${CMAKE_SOURCE_DIR}/ssh/portfwd.c
|
||||
uxnogtk.c)
|
||||
target_link_libraries(psocks
|
||||
eventloop console network utils)
|
||||
@ -97,7 +97,7 @@ add_executable(psusan
|
||||
uxpsusan.c
|
||||
${CMAKE_SOURCE_DIR}/be_none.c
|
||||
${CMAKE_SOURCE_DIR}/nogss.c
|
||||
${CMAKE_SOURCE_DIR}/scpserver.c
|
||||
${CMAKE_SOURCE_DIR}/ssh/scpserver.c
|
||||
uxnogtk.c
|
||||
uxpty.c)
|
||||
target_link_libraries(psusan
|
||||
@ -130,13 +130,13 @@ target_link_libraries(testsc crypto utils)
|
||||
|
||||
add_executable(testzlib
|
||||
${CMAKE_SOURCE_DIR}/testzlib.c
|
||||
${CMAKE_SOURCE_DIR}/sshzlib.c)
|
||||
${CMAKE_SOURCE_DIR}/ssh/zlib.c)
|
||||
target_link_libraries(testzlib utils)
|
||||
|
||||
add_executable(uppity
|
||||
uxserver.c
|
||||
${CMAKE_SOURCE_DIR}/be_none.c
|
||||
${CMAKE_SOURCE_DIR}/scpserver.c
|
||||
${CMAKE_SOURCE_DIR}/ssh/scpserver.c
|
||||
uxnogtk.c
|
||||
uxpty.c
|
||||
${CMAKE_SOURCE_DIR}/nogss.c)
|
||||
@ -161,7 +161,7 @@ if(GTK_FOUND)
|
||||
gtkask.c
|
||||
ux_x11.c
|
||||
uxnoise.c
|
||||
${CMAKE_SOURCE_DIR}/x11fwd.c)
|
||||
${CMAKE_SOURCE_DIR}/ssh/x11fwd.c)
|
||||
target_link_libraries(pageant
|
||||
guimisc eventloop console agent settings network crypto utils
|
||||
${GTK_LIBRARIES})
|
||||
|
@ -67,7 +67,7 @@ struct FontSpec *fontspec_new(const char *name);
|
||||
|
||||
extern const struct BackendVtable pty_backend;
|
||||
|
||||
#define BROKEN_PIPE_ERROR_CODE EPIPE /* used in sshshare.c */
|
||||
#define BROKEN_PIPE_ERROR_CODE EPIPE /* used in ssh/sharing.c */
|
||||
|
||||
/*
|
||||
* Under GTK, we send MA_CLICK _and_ MA_2CLK, or MA_CLICK _and_
|
||||
|
@ -1,8 +1,8 @@
|
||||
#include "putty.h"
|
||||
#ifndef NO_GSSAPI
|
||||
#include "pgssapi.h"
|
||||
#include "sshgss.h"
|
||||
#include "sshgssc.h"
|
||||
#include "ssh/pgssapi.h"
|
||||
#include "ssh/gss.h"
|
||||
#include "ssh/gssc.h"
|
||||
|
||||
/* Unix code to set up the GSSAPI library list. */
|
||||
|
||||
|
@ -39,7 +39,7 @@
|
||||
#include "putty.h"
|
||||
#include "mpint.h"
|
||||
#include "ssh.h"
|
||||
#include "sshserver.h"
|
||||
#include "ssh/server.h"
|
||||
|
||||
const char *const appname = "psusan";
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
||||
|
||||
#include "putty.h"
|
||||
#include "ssh.h"
|
||||
#include "sshserver.h" /* to check the prototypes of server-needed things */
|
||||
#include "ssh/server.h" /* to check the prototypes of server-needed things */
|
||||
#include "tree234.h"
|
||||
|
||||
#ifndef OMIT_UTMP
|
||||
@ -828,7 +828,7 @@ static void copy_ttymodes_into_termios(
|
||||
}
|
||||
|
||||
#define TTYMODES_LOCAL_ONLY /* omit any that this platform doesn't know */
|
||||
#include "sshttymodes.h"
|
||||
#include "ssh/ttymode-list.h"
|
||||
|
||||
#undef TTYMODES_LOCAL_ONLY
|
||||
#undef TTYMODE_CHAR
|
||||
@ -1468,7 +1468,7 @@ static void pty_special(Backend *be, SessionSpecialCode code, int arg)
|
||||
#define SIGNAL_SUB(name) if (code == SS_SIG ## name) sig = SIG ## name;
|
||||
#define SIGNAL_MAIN(name, text) SIGNAL_SUB(name)
|
||||
#define SIGNALS_LOCAL_ONLY
|
||||
#include "sshsignals.h"
|
||||
#include "ssh/signal-list.h"
|
||||
#undef SIGNAL_SUB
|
||||
#undef SIGNAL_MAIN
|
||||
#undef SIGNALS_LOCAL_ONLY
|
||||
@ -1564,7 +1564,7 @@ ptrlen pty_backend_exit_signame(Backend *be, char **aux_msg)
|
||||
}
|
||||
#define SIGNAL_MAIN(s, desc) SIGNAL_SUB(s)
|
||||
#define SIGNALS_LOCAL_ONLY
|
||||
#include "sshsignals.h"
|
||||
#include "ssh/signal-list.h"
|
||||
#undef SIGNAL_MAIN
|
||||
#undef SIGNAL_SUB
|
||||
#undef SIGNALS_LOCAL_ONLY
|
||||
|
@ -41,7 +41,7 @@
|
||||
#include "putty.h"
|
||||
#include "mpint.h"
|
||||
#include "ssh.h"
|
||||
#include "sshserver.h"
|
||||
#include "ssh/server.h"
|
||||
|
||||
const char *const appname = "uppity";
|
||||
|
||||
|
@ -20,8 +20,8 @@
|
||||
|
||||
#include "putty.h"
|
||||
#include "ssh.h"
|
||||
#include "sshserver.h"
|
||||
#include "sftp.h"
|
||||
#include "ssh/server.h"
|
||||
#include "ssh/sftp.h"
|
||||
#include "tree234.h"
|
||||
|
||||
typedef struct UnixSftpServer UnixSftpServer;
|
||||
|
Reference in New Issue
Block a user