Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tg
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
tg
Commits
31e7f3a9
Commit
31e7f3a9
authored
Mar 07, 2014
by
vysheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
deleted unused code
parent
447e094c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
112 deletions
+0
-112
mtproto-common.h
mtproto-common.h
+0
-112
No files found.
mtproto-common.h
View file @
31e7f3a9
...
...
@@ -104,118 +104,6 @@ struct encrypted_message {
int
message
[
MAX_MESSAGE_INTS
];
};
struct
worker_descr
{
int
addr
;
int
port
;
int
pid
;
int
start_time
;
int
id
;
};
struct
rpc_ready_packet
{
int
len
;
int
seq_num
;
int
type
;
struct
worker_descr
worker
;
int
worker_ready_cnt
;
int
crc32
;
};
struct
front_descr
{
int
addr
;
int
port
;
int
pid
;
int
start_time
;
int
id
;
};
struct
rpc_front_packet
{
int
len
;
int
seq_num
;
int
type
;
struct
front_descr
front
;
long
long
hash_mult
;
int
rem
,
mod
;
int
crc32
;
};
struct
middle_descr
{
int
addr
;
int
port
;
int
pid
;
int
start_time
;
int
id
;
};
struct
rpc_front_ack
{
int
len
;
int
seq_num
;
int
type
;
struct
middle_descr
middle
;
int
crc32
;
};
struct
rpc_front_err
{
int
len
;
int
seq_num
;
int
type
;
int
errcode
;
struct
middle_descr
middle
;
long
long
hash_mult
;
int
rem
,
mod
;
int
crc32
;
};
struct
rpc_proxy_req
{
int
len
;
int
seq_num
;
int
type
;
int
flags
;
long
long
ext_conn_id
;
unsigned
char
remote_ipv6
[
16
];
int
remote_port
;
unsigned
char
our_ipv6
[
16
];
int
our_port
;
int
data
[];
};
#define PROXY_HDR(__x) ((struct rpc_proxy_req *)((__x) - offsetof(struct rpc_proxy_req, data)))
struct
rpc_proxy_ans
{
int
len
;
int
seq_num
;
int
type
;
int
flags
;
// +16 = small error packet, +8 = flush immediately
long
long
ext_conn_id
;
int
data
[];
};
struct
rpc_close_conn
{
int
len
;
int
seq_num
;
int
type
;
long
long
ext_conn_id
;
int
crc32
;
};
struct
rpc_close_ext
{
int
len
;
int
seq_num
;
int
type
;
long
long
ext_conn_id
;
int
crc32
;
};
struct
rpc_simple_ack
{
int
len
;
int
seq_num
;
int
type
;
long
long
ext_conn_id
;
int
confirm_key
;
int
crc32
;
};
#pragma pack(pop)
BN_CTX
*
BN_ctx
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment