(kom_server_oop_src): New variable.
(penalty_generation): New static variable. (work_done): Ditto. (is_idle): Ditto. (queue_first): Ditto. (queue_last): Ditto. (kill_pending): Ditto. (do_statistics): Variable removed. (queue_add): New static function. (queue_remove): Ditto. (set_time): Ditto. (logout_client): Remove the client from the queue of pending clients. (parse_unparsed): Add penalty points for finished calls and protocol errors. Don't delete the parsed part of unparsed. (parse_message): Function removed. (logout_request): Function removed. (parse_forgotten): Ditto. (message_request): Ditto. (add_to_kill_list): Add an oop timer event callback to check_kill_flg when a client is added to the kill list. (check_kill_flg): Changed API: this is now an oop timer callback function. (write_err_cb): New static function. (adjust_penalty): Ditto. (read_from_connection): Ditto. (setup_timer): Ditto. (enable_idle_check): Ditto. (check_idle_callback): Ditto. (garb_callback): Ditto. (saver_callback): Ditto. (data_available_callback): Ditto. (handle_accept_event): New function. (login_request): Take an isc_scb as argument instead of an isc event. Add read and write error callback functions for the new client. (toploop): Rewritten to use liboop.
Showing with 400 additions and 207 deletions