3
* Copyright © 2009 Scott James Remnant <scott@netsplit.com>.
4
* Copyright © 2009 Canonical Ltd.
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License version 2, as
8
* published by the Free Software Foundation.
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
15
* You should have received a copy of the GNU General Public License along
16
* with this program; if not, write to the Free Software Foundation, Inc.,
17
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20
#ifndef DBUS__COM_NETSPLIT_NIH_TEST_IMPL_H
21
#define DBUS__COM_NETSPLIT_NIH_TEST_IMPL_H
23
#include <dbus/dbus.h>
25
#include <nih/macros.h>
27
#include <nih-dbus/dbus_message.h>
30
typedef struct my_struct {
38
extern int async_method_main_loop;
39
extern char * async_method_input;
40
extern NihDBusMessage *async_method_message;
42
extern uint8_t byte_property;
43
extern int boolean_property;
44
extern int16_t int16_property;
45
extern uint16_t uint16_property;
46
extern int32_t int32_property;
47
extern uint32_t uint32_property;
48
extern int64_t int64_property;
49
extern uint64_t uint64_property;
50
extern double double_property;
51
extern char * str_property;
52
extern char * object_path_property;
53
extern char * signature_property;
54
extern MyStruct * struct_property;
55
extern int32_t * int32_array_property;
56
extern size_t int32_array_property_len;
57
extern char ** str_array_property;
58
extern int32_t ** int32_array_array_property;
59
extern size_t * int32_array_array_property_len;
60
extern MyStruct **struct_array_property;
61
extern MyStruct **dict_entry_array_property;
65
#endif /* DBUS__COM_NETSPLIT_NIH_TEST_IMPL_H */