Better error handling when getting sizehints fails
[notion.git] / mod_sm / sm_session.h
blob332c1d37e10b0c575880b242e337edc651d92170
1 /*
2 * ion/mod_sm/sm_session.h
4 * Copyright (c) Tuomo Valkonen 2004-2009.
5 *
6 * Based on the code of the 'sm' module for Ion1 by an unknown contributor.
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.
14 #ifndef ION_MOD_SM_SESSION_H
15 #define ION_MOD_SM_SESSION_H
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);
23 #endif /* ION_MOD_SM_BINDING_H */