2014-01-12 04:43:29 +04:00
|
|
|
#ifndef __LUA_TG_H__
|
|
|
|
#define __LUA_TG_H__
|
|
|
|
|
|
|
|
#include <string.h>
|
|
|
|
#include "structures.h"
|
|
|
|
|
|
|
|
void lua_init (const char *file);
|
2014-08-13 19:55:16 +04:00
|
|
|
void lua_new_msg (struct tgl_message *M);
|
2014-01-12 04:43:29 +04:00
|
|
|
void lua_our_id (int id);
|
2014-08-13 19:55:16 +04:00
|
|
|
void lua_secret_chat_created (struct tgl_secret_chat *U);
|
|
|
|
void lua_user_update (struct tgl_user *U);
|
|
|
|
void lua_chat_update (struct tgl_chat *C);
|
2014-01-12 04:43:29 +04:00
|
|
|
void lua_binlog_end (void);
|
|
|
|
void lua_diff_end (void);
|
|
|
|
void lua_do_all (void);
|
2014-08-12 01:15:22 +04:00
|
|
|
#define lua_secret_chat_update(x)
|
2014-08-12 21:32:11 +00:00
|
|
|
#define lua_update_msg(x)
|
2014-01-12 04:43:29 +04:00
|
|
|
#endif
|