aboutsummaryrefslogtreecommitdiffstats
path: root/libtelnet.h
diff options
context:
space:
mode:
authorSean Middleditch <sean@middleditch.us>2009-10-24 15:41:05 -0700
committerSean Middleditch <sean@middleditch.us>2009-10-24 15:41:05 -0700
commite97ac9e158fef743bacc253377f96bbe9d9b7e08 (patch)
tree4739d48a1edc77826d1e782e36a9000c67352e17 /libtelnet.h
parent5565596352c28e211b2cade22336deba715bd86d (diff)
move telnet_state_t to libtelnet.c as it is only used internally
Diffstat (limited to 'libtelnet.h')
-rw-r--r--libtelnet.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/libtelnet.h b/libtelnet.h
index 74a52ef..277311e 100644
--- a/libtelnet.h
+++ b/libtelnet.h
@@ -118,20 +118,6 @@ typedef struct telnet_telopt_t telnet_telopt_t;
#define TELNET_PFLAG_DEFLATE (1<<7)
-/* telnet states */
-enum telnet_state_t {
- TELNET_STATE_DATA = 0,
- TELNET_STATE_IAC,
- TELNET_STATE_WILL,
- TELNET_STATE_WONT,
- TELNET_STATE_DO,
- TELNET_STATE_DONT,
- TELNET_STATE_SB,
- TELNET_STATE_SB_DATA,
- TELNET_STATE_SB_DATA_IAC
-};
-typedef enum telnet_state_t telnet_state_t;
-
/* error codes */
enum telnet_error_t {
TELNET_EOK = 0,