summaryrefslogtreecommitdiffstats
path: root/include/libssh/session.h
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2009-11-16 22:36:31 +0100
committerAris Adamantiadis <aris@0xbadc0de.be>2009-11-16 22:36:31 +0100
commit02aecc1278d52fa1c2266e0a16fd3551e922f560 (patch)
treeb1629eb06f9c90593b8facfe99fc8e8c7362b1bb /include/libssh/session.h
parent3e90a11599d3427662ed6edb6d20b7660aba4ad8 (diff)
downloadlibssh-02aecc1278d52fa1c2266e0a16fd3551e922f560.tar.gz
libssh-02aecc1278d52fa1c2266e0a16fd3551e922f560.tar.xz
libssh-02aecc1278d52fa1c2266e0a16fd3551e922f560.zip
Improved pcap dumping support
Diffstat (limited to 'include/libssh/session.h')
-rw-r--r--include/libssh/session.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libssh/session.h b/include/libssh/session.h
index c59ba5f..f490b1e 100644
--- a/include/libssh/session.h
+++ b/include/libssh/session.h
@@ -23,6 +23,7 @@
#define SESSION_H_
#include "libssh/priv.h"
#include "libssh/packet.h"
+#include "libssh/pcap.h"
typedef struct ssh_kbdint_struct* ssh_kbdint;
@@ -96,6 +97,9 @@ struct ssh_session_struct {
ssh_callbacks callbacks; /* Callbacks to user functions */
/* options */
+#ifdef WITH_PCAP
+ ssh_pcap_context pcap_ctx; /* pcap debugging context */
+#endif
char *username;
char *host;
char *bindaddr; /* TODO: check if needed */