aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/session.h
diff options
context:
space:
mode:
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 c59ba5fb..f490b1e4 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 */