tg/lua-tg.h

18 lines
479 B
C
Raw Normal View History

2014-01-11 19:43:29 -05:00
#ifndef __LUA_TG_H__
#define __LUA_TG_H__
#include <string.h>
2014-08-21 11:38:51 -04:00
#include "lua-tg.h"
#include "tgl.h"
2014-01-11 19:43:29 -05:00
void lua_init (const char *file);
2014-08-13 11:55:16 -04:00
void lua_new_msg (struct tgl_message *M);
2014-01-11 19:43:29 -05:00
void lua_our_id (int id);
2014-08-21 11:38:51 -04:00
void lua_secret_chat_update (struct tgl_secret_chat *U, unsigned flags);
void lua_user_update (struct tgl_user *U, unsigned flags);
void lua_chat_update (struct tgl_chat *C, unsigned flags);
2014-01-11 19:43:29 -05:00
void lua_binlog_end (void);
void lua_diff_end (void);
void lua_do_all (void);
#endif