Fix more warnings
[lash.git] / dbus / types.h
blob56b45fe3535dadd8a2c6b27c67588aa5d95973d7
1 /*
2 * LASH
4 * Copyright (C) 2008 Juuso Alasuutari <juuso.alasuutari@gmail.com>
6 * This program 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.
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.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
21 #ifndef __LASH_DBUS_TYPES_H__
22 #define __LASH_DBUS_TYPES_H__
24 #include <stdbool.h>
26 /* signal types */
27 typedef struct _signal_msg signal_msg_t;
28 typedef struct _signal_arg signal_arg_t;
29 typedef struct _signal signal_t;
31 /* method types */
32 typedef struct _method_msg method_msg_t;
33 typedef struct _method_call method_call_t;
34 typedef struct _method_arg method_arg_t;
35 typedef struct _method method_t;
36 typedef void (*method_handler_t) (method_call_t *call);
38 /* interface types */
39 typedef struct _interface interface_t;
40 typedef bool (*interface_handler_t) (const interface_t *, method_call_t *);
42 /* object path types */
43 typedef struct _object_path object_path_t;
45 /* service types */
46 typedef struct _service service_t;
48 #endif /* __LASH_DBUS_TYPES_H__ */