]> git.decadent.org.uk Git - ion3.git/blob - mod_sm/sm_session.h
05deb3452c02bcce438682f4a1d823c2b695092b
[ion3.git] / mod_sm / sm_session.h
1 /*
2  * ion/mod_sm/sm_session.h
3  *
4  * Copyright (c) Tuomo Valkonen 2004-2008. 
5  * 
6  * Based on the code of the 'sm' module for Ion1 by an unknown contributor.
7  *
8  * This is free software; you can redistribute it and/or modify it under
9  * the terms of the GNU Lesser General Public License as published by
10  * the Free Software Foundation; either version 2.1 of the License, or
11  * (at your option) any later version.
12  */
13
14 #ifndef ION_MOD_SM_SESSION_H
15 #define ION_MOD_SM_SESSION_H
16
17 extern bool mod_sm_init_session();
18 extern void mod_sm_set_ion_id(const char *client_id);
19 extern char *mod_sm_get_ion_id();
20 extern void mod_sm_close();
21 extern void mod_sm_smhook(int what);
22
23 #endif /* ION_MOD_SM_BINDING_H */