1/*
2 This file is part of Mtproto-proxy Library.
3
4 Mtproto-proxy Library is free software: you can redistribute it and/or modify
5 it under the terms of the GNU Lesser General Public License as published by
6 the Free Software Foundation, either version 2 of the License, or
7 (at your option) any later version.
8
9 Mtproto-proxy Library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU Lesser General Public License for more details.
13
14 You should have received a copy of the GNU Lesser General Public License
15 along with Mtproto-proxy Library. If not, see <http://www.gnu.org/licenses/>.
16
17 Copyright 2009-2013 Vkontakte Ltd
18 2008-2013 Nikolai Durov
19 2008-2013 Andrey Lopatin
20 2013 Vitaliy Valtman
21
22 Copyright 2014-2016 Telegram Messenger Inc
23 2015-2016 Vitaly Valtman
24*/
25
26#pragma once
27
28#include "net/net-connections.h"
29int cpu_tcp_server_writer (connection_job_t c);
30int cpu_tcp_free_connection_buffers (connection_job_t c);
31int cpu_tcp_server_reader (connection_job_t c);
32int cpu_tcp_aes_crypto_decrypt_input (connection_job_t c);
33int cpu_tcp_aes_crypto_encrypt_output (connection_job_t c);
34int cpu_tcp_aes_crypto_needed_output_bytes (connection_job_t c);
35int cpu_tcp_aes_crypto_ctr128_decrypt_input (connection_job_t c);
36int cpu_tcp_aes_crypto_ctr128_encrypt_output (connection_job_t c);
37int cpu_tcp_aes_crypto_ctr128_needed_output_bytes (connection_job_t c);
38