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/client.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/client.h')
-rw-r--r-- | src/client.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/client.h b/src/client.h deleted file mode 100644 index 307b115..0000000 --- a/src/client.h +++ /dev/null @@ -1,22 +0,0 @@ -#ifndef CLIENT_H_ -#define CLIENT_H_ - -#include <libssh/libssh.h> - -#include "proxy.h" -#include "session.h" - -/* A userdata struct for channel. */ -struct client_channel_data_struct { - /* Event which is used to poll */ - ssh_event event; - ssh_session my_session; - ssh_channel my_channel; - ssh_channel proxy_channel; - struct ssh_channel_callbacks_struct * client_channel_cb; -}; - -struct client_channel_data_struct* client_dial(ssh_event event, struct proxy_channel_data_struct *pdata); -void client_cleanup(struct client_channel_data_struct *cdata); - -#endif |