diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2016-03-27 17:24:15 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2016-03-27 17:24:15 +0000 |
commit | deb10796ae4447c072fff33e2bb8bca2eeeb8ae6 (patch) | |
tree | 32bb075b7de205f87c71a4ebc0841e34ce424b66 /protocols/Telegram/src/stdafx.h | |
parent | 6e9ace645b7d24ed0fe60f4b7714d3bb11739dfc (diff) |
Telegram: netlib network pt. 1
git-svn-id: http://svn.miranda-ng.org/main/trunk@16554 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Telegram/src/stdafx.h')
-rw-r--r-- | protocols/Telegram/src/stdafx.h | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/protocols/Telegram/src/stdafx.h b/protocols/Telegram/src/stdafx.h index 2781bcf4f9..d83f501535 100644 --- a/protocols/Telegram/src/stdafx.h +++ b/protocols/Telegram/src/stdafx.h @@ -45,22 +45,7 @@ extern "C" #include "tgl\tgl-timers.h"
#include "tgl\tgl-binlog.h"
#include "tgl\config.h"
-
- struct event;
- struct event_base;
- event_base __declspec(dllimport) *event_base_new(void);
- void *event_get_callback_arg(const void *ev);
- struct event *event_new(void *, intptr_t, short, void(*)(intptr_t, short, void *), void *);
- int event_del(void *);
- int event_add(void *ev, const struct timeval *timeout);
-#define evtimer_new(b, cb, arg) event_new((b), -1, 0, (cb), (arg))
- void event_free(void *);
-
-
- void read_auth_file(struct tgl_state *TLS);
- void read_state_file(struct tgl_state *TLS);
- void write_auth_file(struct tgl_state *TLS);
- void write_state_file(struct tgl_state *TLS);
+ #include "tgl\mtproto-client.h"
}
@@ -76,6 +61,7 @@ struct MirTLS : public tgl_state, public MZeroedObject #include "t_callback.h"
extern char g_szMirVer[];
+extern HANDLE hQueue;
#define MODULE "Telegram"
|