Changeset 00aece0 in mainline for uspace/srv/hid/remcons/telnet.h
- Timestamp:
- 2012-02-18T16:47:38Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4449c6c
- Parents:
- bd5f3b7 (diff), f943dd3 (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
-
uspace/srv/hid/remcons/telnet.h (moved) (moved from uspace/lib/usbdev/src/pipepriv.h ) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/remcons/telnet.h
rbd5f3b7 r00aece0 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 */ 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 49 58 50 59 51 60 #endif 61 52 62 /** 53 63 * @}
Note:
See TracChangeset
for help on using the changeset viewer.
