Index: uspace/srv/hid/remcons/remcons.c
===================================================================
--- uspace/srv/hid/remcons/remcons.c	(revision d545d03eadf4b02a59df04f30bed49711947c48f)
+++ uspace/srv/hid/remcons/remcons.c	(revision 5923cf829e198490750faa6bde25489e143fddbd)
@@ -74,5 +74,9 @@
     sizeof(telnet_force_character_mode_command) / sizeof(telnet_cmd_t);
 
-
+/** Creates new keyboard event from given char.
+ *
+ * @param type Event type (press / release).
+ * @param c Pressed character.
+ */
 static kbd_event_t* new_kbd_event(kbd_event_type_t type, wchar_t c) {
 	kbd_event_t *event = malloc(sizeof(kbd_event_t));
@@ -88,4 +92,8 @@
 }
 
+/** Handling client requests (VFS and console interface).
+ *
+ * @param user Telnet user the requests belong to.
+ */
 static void client_connection_message_loop(telnet_user_t *user)
 {
@@ -232,4 +240,5 @@
 }
 
+/** Callback when client connects to a telnet terminal. */
 static void client_connection(ipc_callid_t iid, ipc_call_t *icall, void *arg)
 {
@@ -257,4 +266,8 @@
 }
 
+/** Fibril for spawning the task running after user connects.
+ *
+ * @param arg Corresponding @c telnet_user_t structure.
+ */
 static int spawn_task_fibril(void *arg)
 {
@@ -297,4 +310,8 @@
 }
 
+/** Tell whether given user can be destroyed (has no active clients).
+ *
+ * @param user The telnet user in question.
+ */
 static bool user_can_be_destroyed_no_lock(telnet_user_t *user)
 {
@@ -303,4 +320,8 @@
 }
 
+/** Fibril for each accepted socket.
+ *
+ * @param arg Corresponding @c telnet_user_t structure.
+ */
 static int network_user_fibril(void *arg)
 {
Index: uspace/srv/hid/remcons/user.c
===================================================================
--- uspace/srv/hid/remcons/user.c	(revision d545d03eadf4b02a59df04f30bed49711947c48f)
+++ uspace/srv/hid/remcons/user.c	(revision 5923cf829e198490750faa6bde25489e143fddbd)
@@ -59,5 +59,9 @@
 static LIST_INITIALIZE(users);
 
-
+/** Create new telnet user.
+ *
+ * @param socket Socket the user communicates through.
+ * @return New telnet user or NULL when out of memory.
+ */
 telnet_user_t *telnet_user_create(int socket)
 {
@@ -98,4 +102,8 @@
 }
 
+/** Destroy telnet user structure.
+ *
+ * @param user User to be destroyed.
+ */
 void telnet_user_destroy(telnet_user_t *user)
 {
@@ -109,4 +117,8 @@
 }
 
+/** Find user by service id and increments reference counter.
+ *
+ * @param id Location service id of the telnet user's terminal.
+ */
 telnet_user_t *telnet_user_get_for_client_connection(service_id_t id)
 {
@@ -147,4 +159,8 @@
 }
 
+/** Notify that client disconnected from the remote terminal.
+ *
+ * @param user To which user the client was connected.
+ */
 void telnet_user_notify_client_disconnected(telnet_user_t *user)
 {
Index: uspace/srv/hid/remcons/user.h
===================================================================
--- uspace/srv/hid/remcons/user.h	(revision d545d03eadf4b02a59df04f30bed49711947c48f)
+++ uspace/srv/hid/remcons/user.h	(revision 5923cf829e198490750faa6bde25489e143fddbd)
@@ -42,9 +42,15 @@
 #define BUFFER_SIZE 1024
 
+/** Representation of a connected (human) user. */
 typedef struct {
+	/** Internal id, used for creating locfs entries. */
 	int id;
+	/** Associated socket. */
 	int socket;
+	/** Location service id assigned to the virtual terminal. */
 	service_id_t service_id;
+	/** Path name of the service. */
 	char *service_name;
+
 	/** Producer-consumer of kbd_event_t. */
 	prodcons_t in_events;
@@ -54,4 +60,5 @@
 	size_t socket_buffer_pos;
 
+	/** Task id of the launched application. */
 	task_id_t task_id;
 
@@ -69,7 +76,9 @@
 void telnet_user_notify_client_disconnected(telnet_user_t *user);
 
+/** Print informational message about connected user. */
 #define telnet_user_log(user, fmt, ...) \
 	printf(NAME " [console %d (%d)]: " fmt "\n", user->id, (int) user->service_id, ##__VA_ARGS__)
 
+/** Print error message associated with connected user. */
 #define telnet_user_error(user, fmt, ...) \
 	fprintf(stderr, NAME " [console %d (%d)]: ERROR: " fmt "\n", user->id, (int) user->service_id, ##__VA_ARGS__)
