]> asedeno.scripts.mit.edu Git - PuTTY.git/commit - Recipe
Factor out the back ends' plug log functions.
authorSimon Tatham <anakin@pobox.com>
Sun, 22 Nov 2015 11:49:14 +0000 (11:49 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 22 Nov 2015 15:11:00 +0000 (15:11 +0000)
commita6e76ae453e51e0ed86831e9cb1b883f3c443b2a
tree1c8c6bde61d4b2920a1b4d92aafa8f375d91df93
parentbb66e9870e1d297de502767031563b8f2334cb1c
Factor out the back ends' plug log functions.

I'm about to want to make a change to all those functions at once, and
since they're almost identical, it seemed easiest to pull them out
into a common helper. The new source file be_misc.c is intended to
contain helper code common to all network back ends (crypto and
non-crypto, in particular), and initially it contains a
backend_socket_log() function which is the common part of ssh_log(),
telnet_log(), rlogin_log() etc.
Recipe
be_misc.c [new file with mode: 0644]
network.h
raw.c
rlogin.c
ssh.c
telnet.c