author | Myhailo Danylenko <isbear@ukrpost.net> |
Sat, 05 Mar 2016 15:45:33 +0200 | |
changeset 61 | 745b73f91607 |
parent 23 | 13f03e604c8a |
permissions | -rw-r--r-- |
23 | 1 |
|
2 |
/* Copyright 2009 Myhailo Danylenko |
|
3 |
||
4 |
This file is part of lua-lm. |
|
5 |
||
6 |
lua-lm is free software: you can redistribute it and/or modify |
|
7 |
it under the terms of the GNU General Public License as published by |
|
8 |
the Free Software Foundation, either version 2 of the License, or |
|
9 |
(at your option) any later version. |
|
10 |
||
11 |
This program is distributed in the hope that it will be useful, |
|
12 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
13 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
14 |
GNU General Public License for more details. |
|
15 |
||
16 |
You should have received a copy of the GNU General Public License |
|
17 |
along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
|
0 | 18 |
|
19 |
#ifndef LLM_MESSAGE_HANDLER_H |
|
20 |
#define LLM_MESSAGE_HANDLER_H |
|
21 |
||
22 |
#include <lua.h> |
|
23 |
#include <loudmouth/loudmouth.h> |
|
24 |
||
25 |
#include "lm_types.h" |
|
26 |
||
11
a8c6460d612b
Naming scheme change to more ld-friendly
Myhailo Danylenko <isbear@ukrpost.net>
parents:
0
diff
changeset
|
27 |
LmHandlerResult callback_lm_handler (LmMessageHandler *handler, LmConnection *connection, LmMessage *message, llm_callback_t *cb); |
0 | 28 |
int luaopen_lm_message_handler (lua_State *L); |
29 |
||
30 |
#endif |
|
31 |