tg/lua-tg.h

19 lines
463 B
C
Raw Normal View History

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);
void lua_new_msg (struct message *M);
void lua_our_id (int id);
void lua_secret_chat_created (struct secret_chat *U);
void lua_user_update (struct user *U);
void lua_chat_update (struct chat *C);
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