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


Ignore:
Timestamp:
2012-01-12T08:47:09Z (14 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/user.c

    rd545d03 r5923cf82  
    5959static LIST_INITIALIZE(users);
    6060
    61 
     61/** Create new telnet user.
     62 *
     63 * @param socket Socket the user communicates through.
     64 * @return New telnet user or NULL when out of memory.
     65 */
    6266telnet_user_t *telnet_user_create(int socket)
    6367{
     
    98102}
    99103
     104/** Destroy telnet user structure.
     105 *
     106 * @param user User to be destroyed.
     107 */
    100108void telnet_user_destroy(telnet_user_t *user)
    101109{
     
    109117}
    110118
     119/** Find user by service id and increments reference counter.
     120 *
     121 * @param id Location service id of the telnet user's terminal.
     122 */
    111123telnet_user_t *telnet_user_get_for_client_connection(service_id_t id)
    112124{
     
    147159}
    148160
     161/** Notify that client disconnected from the remote terminal.
     162 *
     163 * @param user To which user the client was connected.
     164 */
    149165void telnet_user_notify_client_disconnected(telnet_user_t *user)
    150166{
Note: See TracChangeset for help on using the changeset viewer.