diff options
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"
|