~jamesodhunt/ubuntu/raring/upstart/1.6

« back to all changes in this revision

Viewing changes to nih-dbus-tool/tests/com.netsplit.Nih.Test_impl.h

  • Committer: Scott James Remnant
  • Date: 2010-02-04 23:39:59 UTC
  • mfrom: (1182.1.45 upstart)
  • mto: This revision was merged to the branch mainline in revision 1250.
  • Revision ID: scott@netsplit.com-20100204233959-7kajqjnaoh7208ob
Tags: upstream-0.6.5
Import upstream version 0.6.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* libnih
2
 
 *
3
 
 * Copyright © 2009 Scott James Remnant <scott@netsplit.com>.
4
 
 * Copyright © 2009 Canonical Ltd.
5
 
 *
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.
9
 
 *
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.
14
 
 *
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.
18
 
 */
19
 
 
20
 
#ifndef DBUS__COM_NETSPLIT_NIH_TEST_IMPL_H
21
 
#define DBUS__COM_NETSPLIT_NIH_TEST_IMPL_H
22
 
 
23
 
#include <dbus/dbus.h>
24
 
 
25
 
#include <nih/macros.h>
26
 
 
27
 
#include <nih-dbus/dbus_message.h>
28
 
 
29
 
 
30
 
typedef struct my_struct {
31
 
        char *   item0;
32
 
        uint32_t item1;
33
 
} MyStruct;
34
 
 
35
 
 
36
 
NIH_BEGIN_EXTERN
37
 
 
38
 
extern int             async_method_main_loop;
39
 
extern char *          async_method_input;
40
 
extern NihDBusMessage *async_method_message;
41
 
 
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;
62
 
 
63
 
NIH_END_EXTERN
64
 
 
65
 
#endif /* DBUS__COM_NETSPLIT_NIH_TEST_IMPL_H */