1 /* Generated by dbus-binding-tool; do not edit! */
2 
3 
4 #ifndef __dbus_glib_marshal_seahorse_service_keyset_MARSHAL_H__
5 #define __dbus_glib_marshal_seahorse_service_keyset_MARSHAL_H__
6 
7 #include	<glib-object.h>
8 
9 G_BEGIN_DECLS
10 
11 #ifdef G_ENABLE_DEBUG
12 #define g_marshal_value_peek_boolean(v)  g_value_get_boolean (v)
13 #define g_marshal_value_peek_char(v)     g_value_get_char (v)
14 #define g_marshal_value_peek_uchar(v)    g_value_get_uchar (v)
15 #define g_marshal_value_peek_int(v)      g_value_get_int (v)
16 #define g_marshal_value_peek_uint(v)     g_value_get_uint (v)
17 #define g_marshal_value_peek_long(v)     g_value_get_long (v)
18 #define g_marshal_value_peek_ulong(v)    g_value_get_ulong (v)
19 #define g_marshal_value_peek_int64(v)    g_value_get_int64 (v)
20 #define g_marshal_value_peek_uint64(v)   g_value_get_uint64 (v)
21 #define g_marshal_value_peek_enum(v)     g_value_get_enum (v)
22 #define g_marshal_value_peek_flags(v)    g_value_get_flags (v)
23 #define g_marshal_value_peek_float(v)    g_value_get_float (v)
24 #define g_marshal_value_peek_double(v)   g_value_get_double (v)
25 #define g_marshal_value_peek_string(v)   (char*) g_value_get_string (v)
26 #define g_marshal_value_peek_param(v)    g_value_get_param (v)
27 #define g_marshal_value_peek_boxed(v)    g_value_get_boxed (v)
28 #define g_marshal_value_peek_pointer(v)  g_value_get_pointer (v)
29 #define g_marshal_value_peek_object(v)   g_value_get_object (v)
30 #define g_marshal_value_peek_variant(v)  g_value_get_variant (v)
31 #else /* !G_ENABLE_DEBUG */
32 /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
33  *          Do not access GValues directly in your code. Instead, use the
34  *          g_value_get_*() functions
35  */
36 #define g_marshal_value_peek_boolean(v)  (v)->data[0].v_int
37 #define g_marshal_value_peek_char(v)     (v)->data[0].v_int
38 #define g_marshal_value_peek_uchar(v)    (v)->data[0].v_uint
39 #define g_marshal_value_peek_int(v)      (v)->data[0].v_int
40 #define g_marshal_value_peek_uint(v)     (v)->data[0].v_uint
41 #define g_marshal_value_peek_long(v)     (v)->data[0].v_long
42 #define g_marshal_value_peek_ulong(v)    (v)->data[0].v_ulong
43 #define g_marshal_value_peek_int64(v)    (v)->data[0].v_int64
44 #define g_marshal_value_peek_uint64(v)   (v)->data[0].v_uint64
45 #define g_marshal_value_peek_enum(v)     (v)->data[0].v_long
46 #define g_marshal_value_peek_flags(v)    (v)->data[0].v_ulong
47 #define g_marshal_value_peek_float(v)    (v)->data[0].v_float
48 #define g_marshal_value_peek_double(v)   (v)->data[0].v_double
49 #define g_marshal_value_peek_string(v)   (v)->data[0].v_pointer
50 #define g_marshal_value_peek_param(v)    (v)->data[0].v_pointer
51 #define g_marshal_value_peek_boxed(v)    (v)->data[0].v_pointer
52 #define g_marshal_value_peek_pointer(v)  (v)->data[0].v_pointer
53 #define g_marshal_value_peek_object(v)   (v)->data[0].v_pointer
54 #define g_marshal_value_peek_variant(v)  (v)->data[0].v_pointer
55 #endif /* !G_ENABLE_DEBUG */
56 
57 
58 /* BOOLEAN:BOXED,INT,POINTER,POINTER,POINTER */
59 extern void dbus_glib_marshal_seahorse_service_keyset_BOOLEAN__BOXED_INT_POINTER_POINTER_POINTER (GClosure     *closure,
60                                                                                                   GValue       *return_value,
61                                                                                                   guint         n_param_values,
62                                                                                                   const GValue *param_values,
63                                                                                                   gpointer      invocation_hint,
64                                                                                                   gpointer      marshal_data);
65 void
dbus_glib_marshal_seahorse_service_keyset_BOOLEAN__BOXED_INT_POINTER_POINTER_POINTER(GClosure * closure,GValue * return_value G_GNUC_UNUSED,guint n_param_values,const GValue * param_values,gpointer invocation_hint G_GNUC_UNUSED,gpointer marshal_data)66 dbus_glib_marshal_seahorse_service_keyset_BOOLEAN__BOXED_INT_POINTER_POINTER_POINTER (GClosure     *closure,
67                                                                                       GValue       *return_value G_GNUC_UNUSED,
68                                                                                       guint         n_param_values,
69                                                                                       const GValue *param_values,
70                                                                                       gpointer      invocation_hint G_GNUC_UNUSED,
71                                                                                       gpointer      marshal_data)
72 {
73   typedef gboolean (*GMarshalFunc_BOOLEAN__BOXED_INT_POINTER_POINTER_POINTER) (gpointer     data1,
74                                                                                gpointer     arg_1,
75                                                                                gint         arg_2,
76                                                                                gpointer     arg_3,
77                                                                                gpointer     arg_4,
78                                                                                gpointer     arg_5,
79                                                                                gpointer     data2);
80   register GMarshalFunc_BOOLEAN__BOXED_INT_POINTER_POINTER_POINTER callback;
81   register GCClosure *cc = (GCClosure*) closure;
82   register gpointer data1, data2;
83   gboolean v_return;
84 
85   g_return_if_fail (return_value != NULL);
86   g_return_if_fail (n_param_values == 6);
87 
88   if (G_CCLOSURE_SWAP_DATA (closure))
89     {
90       data1 = closure->data;
91       data2 = g_value_peek_pointer (param_values + 0);
92     }
93   else
94     {
95       data1 = g_value_peek_pointer (param_values + 0);
96       data2 = closure->data;
97     }
98   callback = (GMarshalFunc_BOOLEAN__BOXED_INT_POINTER_POINTER_POINTER) (marshal_data ? marshal_data : cc->callback);
99 
100   v_return = callback (data1,
101                        g_marshal_value_peek_boxed (param_values + 1),
102                        g_marshal_value_peek_int (param_values + 2),
103                        g_marshal_value_peek_pointer (param_values + 3),
104                        g_marshal_value_peek_pointer (param_values + 4),
105                        g_marshal_value_peek_pointer (param_values + 5),
106                        data2);
107 
108   g_value_set_boolean (return_value, v_return);
109 }
110 
111 /* BOOLEAN:STRING,BOXED,POINTER,POINTER */
112 extern void dbus_glib_marshal_seahorse_service_keyset_BOOLEAN__STRING_BOXED_POINTER_POINTER (GClosure     *closure,
113                                                                                              GValue       *return_value,
114                                                                                              guint         n_param_values,
115                                                                                              const GValue *param_values,
116                                                                                              gpointer      invocation_hint,
117                                                                                              gpointer      marshal_data);
118 void
dbus_glib_marshal_seahorse_service_keyset_BOOLEAN__STRING_BOXED_POINTER_POINTER(GClosure * closure,GValue * return_value G_GNUC_UNUSED,guint n_param_values,const GValue * param_values,gpointer invocation_hint G_GNUC_UNUSED,gpointer marshal_data)119 dbus_glib_marshal_seahorse_service_keyset_BOOLEAN__STRING_BOXED_POINTER_POINTER (GClosure     *closure,
120                                                                                  GValue       *return_value G_GNUC_UNUSED,
121                                                                                  guint         n_param_values,
122                                                                                  const GValue *param_values,
123                                                                                  gpointer      invocation_hint G_GNUC_UNUSED,
124                                                                                  gpointer      marshal_data)
125 {
126   typedef gboolean (*GMarshalFunc_BOOLEAN__STRING_BOXED_POINTER_POINTER) (gpointer     data1,
127                                                                           gpointer     arg_1,
128                                                                           gpointer     arg_2,
129                                                                           gpointer     arg_3,
130                                                                           gpointer     arg_4,
131                                                                           gpointer     data2);
132   register GMarshalFunc_BOOLEAN__STRING_BOXED_POINTER_POINTER callback;
133   register GCClosure *cc = (GCClosure*) closure;
134   register gpointer data1, data2;
135   gboolean v_return;
136 
137   g_return_if_fail (return_value != NULL);
138   g_return_if_fail (n_param_values == 5);
139 
140   if (G_CCLOSURE_SWAP_DATA (closure))
141     {
142       data1 = closure->data;
143       data2 = g_value_peek_pointer (param_values + 0);
144     }
145   else
146     {
147       data1 = g_value_peek_pointer (param_values + 0);
148       data2 = closure->data;
149     }
150   callback = (GMarshalFunc_BOOLEAN__STRING_BOXED_POINTER_POINTER) (marshal_data ? marshal_data : cc->callback);
151 
152   v_return = callback (data1,
153                        g_marshal_value_peek_string (param_values + 1),
154                        g_marshal_value_peek_boxed (param_values + 2),
155                        g_marshal_value_peek_pointer (param_values + 3),
156                        g_marshal_value_peek_pointer (param_values + 4),
157                        data2);
158 
159   g_value_set_boolean (return_value, v_return);
160 }
161 
162 /* BOOLEAN:POINTER,POINTER */
163 extern void dbus_glib_marshal_seahorse_service_keyset_BOOLEAN__POINTER_POINTER (GClosure     *closure,
164                                                                                 GValue       *return_value,
165                                                                                 guint         n_param_values,
166                                                                                 const GValue *param_values,
167                                                                                 gpointer      invocation_hint,
168                                                                                 gpointer      marshal_data);
169 void
dbus_glib_marshal_seahorse_service_keyset_BOOLEAN__POINTER_POINTER(GClosure * closure,GValue * return_value G_GNUC_UNUSED,guint n_param_values,const GValue * param_values,gpointer invocation_hint G_GNUC_UNUSED,gpointer marshal_data)170 dbus_glib_marshal_seahorse_service_keyset_BOOLEAN__POINTER_POINTER (GClosure     *closure,
171                                                                     GValue       *return_value G_GNUC_UNUSED,
172                                                                     guint         n_param_values,
173                                                                     const GValue *param_values,
174                                                                     gpointer      invocation_hint G_GNUC_UNUSED,
175                                                                     gpointer      marshal_data)
176 {
177   typedef gboolean (*GMarshalFunc_BOOLEAN__POINTER_POINTER) (gpointer     data1,
178                                                              gpointer     arg_1,
179                                                              gpointer     arg_2,
180                                                              gpointer     data2);
181   register GMarshalFunc_BOOLEAN__POINTER_POINTER callback;
182   register GCClosure *cc = (GCClosure*) closure;
183   register gpointer data1, data2;
184   gboolean v_return;
185 
186   g_return_if_fail (return_value != NULL);
187   g_return_if_fail (n_param_values == 3);
188 
189   if (G_CCLOSURE_SWAP_DATA (closure))
190     {
191       data1 = closure->data;
192       data2 = g_value_peek_pointer (param_values + 0);
193     }
194   else
195     {
196       data1 = g_value_peek_pointer (param_values + 0);
197       data2 = closure->data;
198     }
199   callback = (GMarshalFunc_BOOLEAN__POINTER_POINTER) (marshal_data ? marshal_data : cc->callback);
200 
201   v_return = callback (data1,
202                        g_marshal_value_peek_pointer (param_values + 1),
203                        g_marshal_value_peek_pointer (param_values + 2),
204                        data2);
205 
206   g_value_set_boolean (return_value, v_return);
207 }
208 
209 /* BOOLEAN:BOXED,INT,POINTER,POINTER */
210 extern void dbus_glib_marshal_seahorse_service_keyset_BOOLEAN__BOXED_INT_POINTER_POINTER (GClosure     *closure,
211                                                                                           GValue       *return_value,
212                                                                                           guint         n_param_values,
213                                                                                           const GValue *param_values,
214                                                                                           gpointer      invocation_hint,
215                                                                                           gpointer      marshal_data);
216 void
dbus_glib_marshal_seahorse_service_keyset_BOOLEAN__BOXED_INT_POINTER_POINTER(GClosure * closure,GValue * return_value G_GNUC_UNUSED,guint n_param_values,const GValue * param_values,gpointer invocation_hint G_GNUC_UNUSED,gpointer marshal_data)217 dbus_glib_marshal_seahorse_service_keyset_BOOLEAN__BOXED_INT_POINTER_POINTER (GClosure     *closure,
218                                                                               GValue       *return_value G_GNUC_UNUSED,
219                                                                               guint         n_param_values,
220                                                                               const GValue *param_values,
221                                                                               gpointer      invocation_hint G_GNUC_UNUSED,
222                                                                               gpointer      marshal_data)
223 {
224   typedef gboolean (*GMarshalFunc_BOOLEAN__BOXED_INT_POINTER_POINTER) (gpointer     data1,
225                                                                        gpointer     arg_1,
226                                                                        gint         arg_2,
227                                                                        gpointer     arg_3,
228                                                                        gpointer     arg_4,
229                                                                        gpointer     data2);
230   register GMarshalFunc_BOOLEAN__BOXED_INT_POINTER_POINTER callback;
231   register GCClosure *cc = (GCClosure*) closure;
232   register gpointer data1, data2;
233   gboolean v_return;
234 
235   g_return_if_fail (return_value != NULL);
236   g_return_if_fail (n_param_values == 5);
237 
238   if (G_CCLOSURE_SWAP_DATA (closure))
239     {
240       data1 = closure->data;
241       data2 = g_value_peek_pointer (param_values + 0);
242     }
243   else
244     {
245       data1 = g_value_peek_pointer (param_values + 0);
246       data2 = closure->data;
247     }
248   callback = (GMarshalFunc_BOOLEAN__BOXED_INT_POINTER_POINTER) (marshal_data ? marshal_data : cc->callback);
249 
250   v_return = callback (data1,
251                        g_marshal_value_peek_boxed (param_values + 1),
252                        g_marshal_value_peek_int (param_values + 2),
253                        g_marshal_value_peek_pointer (param_values + 3),
254                        g_marshal_value_peek_pointer (param_values + 4),
255                        data2);
256 
257   g_value_set_boolean (return_value, v_return);
258 }
259 
260 /* BOOLEAN:STRING,STRING,POINTER,POINTER,POINTER */
261 extern void dbus_glib_marshal_seahorse_service_keyset_BOOLEAN__STRING_STRING_POINTER_POINTER_POINTER (GClosure     *closure,
262                                                                                                       GValue       *return_value,
263                                                                                                       guint         n_param_values,
264                                                                                                       const GValue *param_values,
265                                                                                                       gpointer      invocation_hint,
266                                                                                                       gpointer      marshal_data);
267 void
dbus_glib_marshal_seahorse_service_keyset_BOOLEAN__STRING_STRING_POINTER_POINTER_POINTER(GClosure * closure,GValue * return_value G_GNUC_UNUSED,guint n_param_values,const GValue * param_values,gpointer invocation_hint G_GNUC_UNUSED,gpointer marshal_data)268 dbus_glib_marshal_seahorse_service_keyset_BOOLEAN__STRING_STRING_POINTER_POINTER_POINTER (GClosure     *closure,
269                                                                                           GValue       *return_value G_GNUC_UNUSED,
270                                                                                           guint         n_param_values,
271                                                                                           const GValue *param_values,
272                                                                                           gpointer      invocation_hint G_GNUC_UNUSED,
273                                                                                           gpointer      marshal_data)
274 {
275   typedef gboolean (*GMarshalFunc_BOOLEAN__STRING_STRING_POINTER_POINTER_POINTER) (gpointer     data1,
276                                                                                    gpointer     arg_1,
277                                                                                    gpointer     arg_2,
278                                                                                    gpointer     arg_3,
279                                                                                    gpointer     arg_4,
280                                                                                    gpointer     arg_5,
281                                                                                    gpointer     data2);
282   register GMarshalFunc_BOOLEAN__STRING_STRING_POINTER_POINTER_POINTER callback;
283   register GCClosure *cc = (GCClosure*) closure;
284   register gpointer data1, data2;
285   gboolean v_return;
286 
287   g_return_if_fail (return_value != NULL);
288   g_return_if_fail (n_param_values == 6);
289 
290   if (G_CCLOSURE_SWAP_DATA (closure))
291     {
292       data1 = closure->data;
293       data2 = g_value_peek_pointer (param_values + 0);
294     }
295   else
296     {
297       data1 = g_value_peek_pointer (param_values + 0);
298       data2 = closure->data;
299     }
300   callback = (GMarshalFunc_BOOLEAN__STRING_STRING_POINTER_POINTER_POINTER) (marshal_data ? marshal_data : cc->callback);
301 
302   v_return = callback (data1,
303                        g_marshal_value_peek_string (param_values + 1),
304                        g_marshal_value_peek_string (param_values + 2),
305                        g_marshal_value_peek_pointer (param_values + 3),
306                        g_marshal_value_peek_pointer (param_values + 4),
307                        g_marshal_value_peek_pointer (param_values + 5),
308                        data2);
309 
310   g_value_set_boolean (return_value, v_return);
311 }
312 
313 G_END_DECLS
314 
315 #endif /* __dbus_glib_marshal_seahorse_service_keyset_MARSHAL_H__ */
316 
317 #include <dbus/dbus-glib.h>
318 static const DBusGMethodInfo dbus_glib_seahorse_service_keyset_methods[] = {
319   { (GCallback) seahorse_service_keyset_list_keys, dbus_glib_marshal_seahorse_service_keyset_BOOLEAN__POINTER_POINTER, 0 },
320   { (GCallback) seahorse_service_keyset_get_key_field, dbus_glib_marshal_seahorse_service_keyset_BOOLEAN__STRING_STRING_POINTER_POINTER_POINTER, 50 },
321   { (GCallback) seahorse_service_keyset_get_key_fields, dbus_glib_marshal_seahorse_service_keyset_BOOLEAN__STRING_BOXED_POINTER_POINTER, 132 },
322   { (GCallback) seahorse_service_keyset_discover_keys, dbus_glib_marshal_seahorse_service_keyset_BOOLEAN__BOXED_INT_POINTER_POINTER, 209 },
323   { (GCallback) seahorse_service_keyset_match_keys, dbus_glib_marshal_seahorse_service_keyset_BOOLEAN__BOXED_INT_POINTER_POINTER_POINTER, 285 },
324 };
325 
326 const DBusGObjectInfo dbus_glib_seahorse_service_keyset_object_info = {  1,
327   dbus_glib_seahorse_service_keyset_methods,
328   5,
329 "org.gnome.seahorse.Keys\0ListKeys\0S\0keys\0O\0F\0N\0as\0\0org.gnome.seahorse.Keys\0GetKeyField\0S\0key\0I\0s\0field\0I\0s\0has\0O\0F\0N\0b\0info\0O\0F\0N\0v\0\0org.gnome.seahorse.Keys\0GetKeyFields\0S\0key\0I\0s\0fields\0I\0as\0info\0O\0F\0N\0a{sv}\0\0org.gnome.seahorse.Keys\0DiscoverKeys\0S\0keyids\0I\0as\0flags\0I\0i\0keys\0O\0F\0N\0as\0\0org.gnome.seahorse.Keys\0MatchKeys\0S\0patterns\0I\0as\0flags\0I\0i\0keys\0O\0F\0N\0as\0unmatched\0O\0F\0N\0as\0\0\0",
330 "org.gnome.seahorse.Keys\0KeyAdded\0org.gnome.seahorse.Keys\0KeyRemoved\0org.gnome.seahorse.Keys\0KeyChanged\0\0",
331 "\0"
332 };
333 
334