Changeset 6843a9c in mainline for uspace/srv/hid/remcons/telnet.h
- Timestamp:
- 2012-06-29T13:02:14Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 722912e
- Parents:
- ba72f2b (diff), 0bbd13e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/remcons/telnet.h
rba72f2b r6843a9c 1 1 /* 2 * Copyright (c) 201 1Vojtech Horky2 * Copyright (c) 2012 Vojtech Horky 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup libusbdev29 /** @addtogroup remcons 30 30 * @{ 31 31 */ 32 32 /** @file 33 * Library internal functions on USB pipes.34 33 */ 35 #ifndef LIBUSBDEV_PIPEPRIV_H_36 #define LIBUSBDEV_PIPEPRIV_H_37 34 38 #i nclude <usb/dev/pipes.h>39 # include <bool.h>35 #ifndef TELNET_H_ 36 #define TELNET_H_ 40 37 41 void pipe_acquire(usb_pipe_t *); 42 void pipe_release(usb_pipe_t *); 38 #include <inttypes.h> 43 39 44 void pipe_start_transaction(usb_pipe_t *); 45 void pipe_end_transaction(usb_pipe_t *); 40 typedef uint8_t telnet_cmd_t; 46 41 47 int pipe_add_ref(usb_pipe_t *, bool); 48 void pipe_drop_ref(usb_pipe_t *); 42 /* 43 * Telnet commands. 44 */ 49 45 46 #define TELNET_IAC 255 47 48 #define TELNET_WILL 251 49 #define TELNET_WONT 252 50 #define TELNET_DO 253 51 #define TELNET_DONT 254 52 53 #define TELNET_IS_OPTION_CODE(code) (((code) >= 251) && ((code) <= 254)) 54 55 #define TELNET_ECHO 1 56 #define TELNET_SUPPRESS_GO_AHEAD 3 57 #define TELNET_LINEMODE 34 50 58 51 59 #endif 60 52 61 /** 53 62 * @}
Note:
See TracChangeset
for help on using the changeset viewer.