Some documentation.
This commit is contained in:
parent
134e53c0ec
commit
b80178eb54
@ -2741,7 +2741,7 @@ void wstr (const char *s) {
|
|||||||
assert (0);
|
assert (0);
|
||||||
}
|
}
|
||||||
wdata (s, x);
|
wdata (s, x);
|
||||||
x ++;
|
x ++; // The header, containing the length, which is 1 byte
|
||||||
int t = 0;
|
int t = 0;
|
||||||
if (x & 3) {
|
if (x & 3) {
|
||||||
wdata (&t, 4 - (x & 3));
|
wdata (&t, 4 - (x & 3));
|
||||||
|
3
tl-tl.h
3
tl-tl.h
@ -25,6 +25,9 @@
|
|||||||
#ifndef __TL_TL_H__
|
#ifndef __TL_TL_H__
|
||||||
#define __TL_TL_H__
|
#define __TL_TL_H__
|
||||||
|
|
||||||
|
// Current tl-tl schema is V2
|
||||||
|
// See https://core.telegram.org/mtproto/TL-tl
|
||||||
|
|
||||||
#define TLS_SCHEMA_V2 0x3a2f9be2
|
#define TLS_SCHEMA_V2 0x3a2f9be2
|
||||||
#define TLS_TYPE 0x12eb4386
|
#define TLS_TYPE 0x12eb4386
|
||||||
#define TLS_COMBINATOR 0x5c0a1ed5
|
#define TLS_COMBINATOR 0x5c0a1ed5
|
||||||
|
Loading…
Reference in New Issue
Block a user