diff options
author | Julien Dessaux | 2019-02-14 20:51:41 +0100 |
---|---|---|
committer | Julien Dessaux | 2019-02-14 21:07:27 +0100 |
commit | a3f34674c6317930362c99f0fc40d835234843e5 (patch) | |
tree | 6c4c3afa605acf567b6b5997db4a3277738c9c68 /src/session.h | |
parent | Switched from standard makefile to cmake (diff) | |
download | bastion-a3f34674c6317930362c99f0fc40d835234843e5.tar.gz bastion-a3f34674c6317930362c99f0fc40d835234843e5.tar.bz2 bastion-a3f34674c6317930362c99f0fc40d835234843e5.zip |
Moved code around
Diffstat (limited to 'src/session.h')
-rw-r--r-- | src/session.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/session.h b/src/session.h deleted file mode 100644 index d0c8eab..0000000 --- a/src/session.h +++ /dev/null @@ -1,18 +0,0 @@ -#ifndef SESSION_H_ -#define SESSION_H_ - -#include <libssh/libssh.h> - -#define SESSION_END (SSH_CLOSED | SSH_CLOSED_ERROR) - -/* A userdata struct for session. */ -struct session_data_struct { - /* Pointer to the channel the session will allocate. */ - ssh_channel channel; - int auth_attempts; - int authenticated; -}; - -void handle_session(ssh_event event, ssh_session session); - -#endif |