-/* Generates the statistics for the user. If the function does not
- * return an error, the response will be allocated in this function
- * and will need to be free'd by the caller.
+/* Checks to see whether a username exists.
+ *
+ * Returns: ttt_server_get_client_from_username(server, username)
+ *
+ * Locking: See ttt_server_get_client_from_username
+ *
+ * Errors: See ttt_server_get_client_from_username
+ */
+ttt_error_t
+ttt_server_verify_username (ttt_server_t *server,
+ const char *username);
+
+/* Points *client to the client with the supplied username, else
+ * leaves *client unhanged.
+ *
+ * Returns: TTT_ERROR_NONE, else TTT_ERROR_NO_USER if username not
+ * found.
+ *
+ * Locking: The server mutex will be acquired and held throughout the
+ * execution of this function.