Added PWMD_OPTION_SSH_KEEPALIVE.
commit4cd789f1782cc4cf41697b160a02ccf70f62e1a4
authorBen Kibbey <bjk@luxsci.net>
Sun, 9 Oct 2011 22:38:07 +0000 (9 18:38 -0400)
committerBen Kibbey <bjk@luxsci.net>
Sat, 17 Dec 2011 23:17:46 +0000 (17 18:17 -0500)
treed699c32373680026b583959de09ee310dc3f0de2
parentf41f32ec19a81b5001eabd274c271c2ac7373ca4
Added PWMD_OPTION_SSH_KEEPALIVE.

The keepalive message is sent in pwmd_process() and only when non-zero.
libssh2 only sends the keepalive when the previous keepalive time
difference is greater than the set interval; so calling pwmd_process()
more than once per second will not flood the SSH channel with keepalives.
doc/libpwmd.3
doc/pwmc.1.in
src/libpwmd.c
src/libpwmd.h.in
src/pwmc.c
src/ssh.c
src/types.h