initial import
[libicd-wpa] / dbus-handler.h
1 /**
2   @file dbus-helper.c
3
4   Copyright (C) 2004 Nokia Corporation. All rights reserved.
5
6   @author Janne Ylalehto <janne.ylalehto@nokia.com>
7   @author Johan Hedberg <johan.hedberg@nokia.com> 
8
9   This program is free software; you can redistribute it and/or modify it
10   under the terms of the GNU General Public License as published by the
11   Free Software Foundation; either version 2 of the License, or (at your
12   option) any later version.
13
14   This program is distributed in the hope that it will be useful, but
15   WITHOUT ANY WARRANTY; without even the implied warranty of
16   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17   General Public License for more details.
18
19   You should have received a copy of the GNU General Public License along
20   with this program; if not, write to the Free Software Foundation, Inc.,
21   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
22
23 */
24
25 #ifndef _DBUS_HANDLER_H_
26 #define _DBUS_HANDLER_H_
27
28 #ifndef DBUS_API_SUBJECT_TO_CHANGE
29 # define DBUS_API_SUBJECT_TO_CHANGE
30 # include <dbus/dbus.h>
31 #endif
32
33 /** Bind functions to corresponding D-Bus messages
34  * @param connection D-Bus connection
35  */
36 void init_dbus_handlers(DBusConnection *connection);
37
38 /** Free memory allocated to handlers
39  * @param connection D-Bus connection
40  */
41 void destroy_dbus_handlers(DBusConnection *connection);
42
43 #endif /* _DBUS_HANDLER_H_ */