summaryrefslogtreecommitdiff
path: root/channel.h
diff options
context:
space:
mode:
Diffstat (limited to 'channel.h')
-rw-r--r--channel.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/channel.h b/channel.h
index 6e1e399..dd174aa 100644
--- a/channel.h
+++ b/channel.h
@@ -28,6 +28,7 @@
#include "includes.h"
#include "buffer.h"
#include "circbuffer.h"
+#include "netio.h"
#define SSH_OPEN_ADMINISTRATIVELY_PROHIBITED 1
#define SSH_OPEN_CONNECT_FAILED 2
@@ -41,13 +42,6 @@
struct ChanType;
-enum dropbear_channel_prio {
- DROPBEAR_CHANNEL_PRIO_INTERACTIVE, /* pty shell, x11 */
- DROPBEAR_CHANNEL_PRIO_UNKNOWABLE, /* tcp - can't know what's being forwarded */
- DROPBEAR_CHANNEL_PRIO_BULK, /* the rest - probably scp, rsync, git, or something */
- DROPBEAR_CHANNEL_PRIO_EARLY, /* channel is still being set up */
-};
-
struct Channel {
unsigned int index; /* the local channel index */
@@ -88,7 +82,7 @@ struct Channel {
const struct ChanType* type;
- enum dropbear_channel_prio prio;
+ enum dropbear_prio prio;
};
struct ChanType {