Changeset 5923cf82 in mainline for uspace/srv/hid/remcons/remcons.c


Ignore:
Timestamp:
2012-01-12T08:47:09Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
261bbdc
Parents:
d545d03
Message:

remcons: add comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/remcons/remcons.c

    rd545d03 r5923cf82  
    7474    sizeof(telnet_force_character_mode_command) / sizeof(telnet_cmd_t);
    7575
    76 
     76/** Creates new keyboard event from given char.
     77 *
     78 * @param type Event type (press / release).
     79 * @param c Pressed character.
     80 */
    7781static kbd_event_t* new_kbd_event(kbd_event_type_t type, wchar_t c) {
    7882        kbd_event_t *event = malloc(sizeof(kbd_event_t));
     
    8892}
    8993
     94/** Handling client requests (VFS and console interface).
     95 *
     96 * @param user Telnet user the requests belong to.
     97 */
    9098static void client_connection_message_loop(telnet_user_t *user)
    9199{
     
    232240}
    233241
     242/** Callback when client connects to a telnet terminal. */
    234243static void client_connection(ipc_callid_t iid, ipc_call_t *icall, void *arg)
    235244{
     
    257266}
    258267
     268/** Fibril for spawning the task running after user connects.
     269 *
     270 * @param arg Corresponding @c telnet_user_t structure.
     271 */
    259272static int spawn_task_fibril(void *arg)
    260273{
     
    297310}
    298311
     312/** Tell whether given user can be destroyed (has no active clients).
     313 *
     314 * @param user The telnet user in question.
     315 */
    299316static bool user_can_be_destroyed_no_lock(telnet_user_t *user)
    300317{
     
    303320}
    304321
     322/** Fibril for each accepted socket.
     323 *
     324 * @param arg Corresponding @c telnet_user_t structure.
     325 */
    305326static int network_user_fibril(void *arg)
    306327{
Note: See TracChangeset for help on using the changeset viewer.