Changeset 5923cf82 in mainline for uspace/srv/hid/remcons/remcons.c
- Timestamp:
- 2012-01-12T08:47:09Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 261bbdc
- Parents:
- d545d03
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/remcons/remcons.c
rd545d03 r5923cf82 74 74 sizeof(telnet_force_character_mode_command) / sizeof(telnet_cmd_t); 75 75 76 76 /** Creates new keyboard event from given char. 77 * 78 * @param type Event type (press / release). 79 * @param c Pressed character. 80 */ 77 81 static kbd_event_t* new_kbd_event(kbd_event_type_t type, wchar_t c) { 78 82 kbd_event_t *event = malloc(sizeof(kbd_event_t)); … … 88 92 } 89 93 94 /** Handling client requests (VFS and console interface). 95 * 96 * @param user Telnet user the requests belong to. 97 */ 90 98 static void client_connection_message_loop(telnet_user_t *user) 91 99 { … … 232 240 } 233 241 242 /** Callback when client connects to a telnet terminal. */ 234 243 static void client_connection(ipc_callid_t iid, ipc_call_t *icall, void *arg) 235 244 { … … 257 266 } 258 267 268 /** Fibril for spawning the task running after user connects. 269 * 270 * @param arg Corresponding @c telnet_user_t structure. 271 */ 259 272 static int spawn_task_fibril(void *arg) 260 273 { … … 297 310 } 298 311 312 /** Tell whether given user can be destroyed (has no active clients). 313 * 314 * @param user The telnet user in question. 315 */ 299 316 static bool user_can_be_destroyed_no_lock(telnet_user_t *user) 300 317 { … … 303 320 } 304 321 322 /** Fibril for each accepted socket. 323 * 324 * @param arg Corresponding @c telnet_user_t structure. 325 */ 305 326 static int network_user_fibril(void *arg) 306 327 {
Note:
See TracChangeset
for help on using the changeset viewer.