aboutsummaryrefslogtreecommitdiff
path: root/src/pty.h
diff options
context:
space:
mode:
authorJulien Dessaux2018-06-20 13:23:48 +0200
committerJulien Dessaux2018-06-20 13:23:48 +0200
commit8c04f0d56d88ebea808d5505dcee07e8d197e360 (patch)
tree81f8e3f59c17ab234eb95c7812adb0054779a117 /src/pty.h
parentInitial import with working simple server based on libssh examples (diff)
downloadbastion-8c04f0d56d88ebea808d5505dcee07e8d197e360.tar.gz
bastion-8c04f0d56d88ebea808d5505dcee07e8d197e360.tar.bz2
bastion-8c04f0d56d88ebea808d5505dcee07e8d197e360.zip
Made a working ssh proxy server
Diffstat (limited to '')
-rw-r--r--src/pty.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/pty.h b/src/pty.h
deleted file mode 100644
index c130f4a..0000000
--- a/src/pty.h
+++ /dev/null
@@ -1,15 +0,0 @@
-#ifndef _PTY_H_
-#define _PTY_H_
-
-#include "util.h"
-
-int pty_request(ssh_session session, ssh_channel channel,
- const char *term, int cols, int rows, int py, int px,
- void *userdata);
-int pty_resize(ssh_session session, ssh_channel channel, int cols,
- int rows, int py, int px, void *userdata);
-int exec_pty(const char *mode, const char *command,
- struct channel_data_struct *cdata);
-int exec_nopty(const char *command, struct channel_data_struct *cdata);
-
-#endif