telepathygabble/inc/gabble-connection-glue.h
changeset 10 59927b2d3b75
parent 0 d0f3a028347a
equal deleted inserted replaced
0:d0f3a028347a 10:59927b2d3b75
     1 /*
       
     2  * gabble-connection-glue.h - 
       
     3  *
       
     4  * Copyright (C) 2006 Collabora Ltd.
       
     5  * 
       
     6  *
       
     7  * This library is free software; you can redistribute it and/or
       
     8  * modify it under the terms of the GNU Lesser General Public
       
     9  * License as published by the Free Software Foundation; either
       
    10  * version 2.1 of the License, or (at your option) any later version.
       
    11  *
       
    12  * This library is distributed in the hope that it will be useful,
       
    13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
       
    14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
       
    15  * Lesser General Public License for more details.
       
    16  *
       
    17  * You should have received a copy of the GNU Lesser General Public
       
    18  * License along with this library; if not, write to the Free Software
       
    19  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
       
    20  *
       
    21  */
       
    22 
       
    23 /* Generated by dbus-binding-tool; do not edit! */
       
    24 
       
    25 
       
    26 #ifndef __dbus_glib_marshal_gabble_connection_MARSHAL_H__
       
    27 #define __dbus_glib_marshal_gabble_connection_MARSHAL_H__
       
    28 
       
    29 #include	<glib-object.h>
       
    30 
       
    31 G_BEGIN_DECLS
       
    32 
       
    33 #ifdef G_ENABLE_DEBUG
       
    34 #define g_marshal_value_peek_boolean(v)  g_value_get_boolean (v)
       
    35 #define g_marshal_value_peek_char(v)     g_value_get_char (v)
       
    36 #define g_marshal_value_peek_uchar(v)    g_value_get_uchar (v)
       
    37 #define g_marshal_value_peek_int(v)      g_value_get_int (v)
       
    38 #define g_marshal_value_peek_uint(v)     g_value_get_uint (v)
       
    39 #define g_marshal_value_peek_long(v)     g_value_get_long (v)
       
    40 #define g_marshal_value_peek_ulong(v)    g_value_get_ulong (v)
       
    41 #define g_marshal_value_peek_int64(v)    g_value_get_int64 (v)
       
    42 #define g_marshal_value_peek_uint64(v)   g_value_get_uint64 (v)
       
    43 #define g_marshal_value_peek_enum(v)     g_value_get_enum (v)
       
    44 #define g_marshal_value_peek_flags(v)    g_value_get_flags (v)
       
    45 #define g_marshal_value_peek_float(v)    g_value_get_float (v)
       
    46 #define g_marshal_value_peek_double(v)   g_value_get_double (v)
       
    47 #define g_marshal_value_peek_string(v)   (char*) g_value_get_string (v)
       
    48 #define g_marshal_value_peek_param(v)    g_value_get_param (v)
       
    49 #define g_marshal_value_peek_boxed(v)    g_value_get_boxed (v)
       
    50 #define g_marshal_value_peek_pointer(v)  g_value_get_pointer (v)
       
    51 #define g_marshal_value_peek_object(v)   g_value_get_object (v)
       
    52 #else /* !G_ENABLE_DEBUG */
       
    53 /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
       
    54  *          Do not access GValues directly in your code. Instead, use the
       
    55  *          g_value_get_*() functions
       
    56  */
       
    57 #define g_marshal_value_peek_boolean(v)  (v)->data[0].v_int
       
    58 #define g_marshal_value_peek_char(v)     (v)->data[0].v_int
       
    59 #define g_marshal_value_peek_uchar(v)    (v)->data[0].v_uint
       
    60 #define g_marshal_value_peek_int(v)      (v)->data[0].v_int
       
    61 #define g_marshal_value_peek_uint(v)     (v)->data[0].v_uint
       
    62 #define g_marshal_value_peek_long(v)     (v)->data[0].v_long
       
    63 #define g_marshal_value_peek_ulong(v)    (v)->data[0].v_ulong
       
    64 #define g_marshal_value_peek_int64(v)    (v)->data[0].v_int64
       
    65 #define g_marshal_value_peek_uint64(v)   (v)->data[0].v_uint64
       
    66 #define g_marshal_value_peek_enum(v)     (v)->data[0].v_long
       
    67 #define g_marshal_value_peek_flags(v)    (v)->data[0].v_ulong
       
    68 #define g_marshal_value_peek_float(v)    (v)->data[0].v_float
       
    69 #define g_marshal_value_peek_double(v)   (v)->data[0].v_double
       
    70 #define g_marshal_value_peek_string(v)   (v)->data[0].v_pointer
       
    71 #define g_marshal_value_peek_param(v)    (v)->data[0].v_pointer
       
    72 #define g_marshal_value_peek_boxed(v)    (v)->data[0].v_pointer
       
    73 #define g_marshal_value_peek_pointer(v)  (v)->data[0].v_pointer
       
    74 #define g_marshal_value_peek_object(v)   (v)->data[0].v_pointer
       
    75 #endif /* !G_ENABLE_DEBUG */
       
    76 
       
    77 
       
    78 /* BOOLEAN:POINTER,POINTER (/tmp/dbus-binding-tool-c-marshallers.R2YJIU:1) */
       
    79 extern void dbus_glib_marshal_gabble_connection_BOOLEAN__POINTER_POINTER (GClosure     *closure,
       
    80                                                                           GValue       *return_value,
       
    81                                                                           guint         n_param_values,
       
    82                                                                           const GValue *param_values,
       
    83                                                                           gpointer      invocation_hint,
       
    84                                                                           gpointer      marshal_data);
       
    85 void
       
    86 dbus_glib_marshal_gabble_connection_BOOLEAN__POINTER_POINTER (GClosure     *closure,
       
    87                                                               GValue       *return_value G_GNUC_UNUSED,
       
    88                                                               guint         n_param_values,
       
    89                                                               const GValue *param_values,
       
    90                                                               gpointer      invocation_hint G_GNUC_UNUSED,
       
    91                                                               gpointer      marshal_data)
       
    92 {
       
    93   typedef gboolean (*GMarshalFunc_BOOLEAN__POINTER_POINTER) (gpointer     data1,
       
    94                                                              gpointer     arg_1,
       
    95                                                              gpointer     arg_2,
       
    96                                                              gpointer     data2);
       
    97   register GMarshalFunc_BOOLEAN__POINTER_POINTER callback;
       
    98   register GCClosure *cc = (GCClosure*) closure;
       
    99   register gpointer data1, data2;
       
   100   gboolean v_return;
       
   101 
       
   102   g_return_if_fail (return_value != NULL);
       
   103   g_return_if_fail (n_param_values == 3);
       
   104 
       
   105   if (G_CCLOSURE_SWAP_DATA (closure))
       
   106     {
       
   107       data1 = closure->data;
       
   108       data2 = g_value_peek_pointer (param_values + 0);
       
   109     }
       
   110   else
       
   111     {
       
   112       data1 = g_value_peek_pointer (param_values + 0);
       
   113       data2 = closure->data;
       
   114     }
       
   115   callback = (GMarshalFunc_BOOLEAN__POINTER_POINTER) (marshal_data ? marshal_data : cc->callback);
       
   116 
       
   117   v_return = callback (data1,
       
   118                        g_marshal_value_peek_pointer (param_values + 1),
       
   119                        g_marshal_value_peek_pointer (param_values + 2),
       
   120                        data2);
       
   121 
       
   122   g_value_set_boolean (return_value, v_return);
       
   123 }
       
   124 
       
   125 /* NONE:STRING,UINT,UINT,BOOLEAN,POINTER (/tmp/dbus-binding-tool-c-marshallers.R2YJIU:2) */
       
   126 extern void dbus_glib_marshal_gabble_connection_VOID__STRING_UINT_UINT_BOOLEAN_POINTER (GClosure     *closure,
       
   127                                                                                         GValue       *return_value,
       
   128                                                                                         guint         n_param_values,
       
   129                                                                                         const GValue *param_values,
       
   130                                                                                         gpointer      invocation_hint,
       
   131                                                                                         gpointer      marshal_data);
       
   132 void
       
   133 dbus_glib_marshal_gabble_connection_VOID__STRING_UINT_UINT_BOOLEAN_POINTER (GClosure     *closure,
       
   134                                                                             GValue       *return_value G_GNUC_UNUSED,
       
   135                                                                             guint         n_param_values,
       
   136                                                                             const GValue *param_values,
       
   137                                                                             gpointer      invocation_hint G_GNUC_UNUSED,
       
   138                                                                             gpointer      marshal_data)
       
   139 {
       
   140   typedef void (*GMarshalFunc_VOID__STRING_UINT_UINT_BOOLEAN_POINTER) (gpointer     data1,
       
   141                                                                        gpointer     arg_1,
       
   142                                                                        guint        arg_2,
       
   143                                                                        guint        arg_3,
       
   144                                                                        gboolean     arg_4,
       
   145                                                                        gpointer     arg_5,
       
   146                                                                        gpointer     data2);
       
   147   register GMarshalFunc_VOID__STRING_UINT_UINT_BOOLEAN_POINTER callback;
       
   148   register GCClosure *cc = (GCClosure*) closure;
       
   149   register gpointer data1, data2;
       
   150 
       
   151   g_return_if_fail (n_param_values == 6);
       
   152 
       
   153   if (G_CCLOSURE_SWAP_DATA (closure))
       
   154     {
       
   155       data1 = closure->data;
       
   156       data2 = g_value_peek_pointer (param_values + 0);
       
   157     }
       
   158   else
       
   159     {
       
   160       data1 = g_value_peek_pointer (param_values + 0);
       
   161       data2 = closure->data;
       
   162     }
       
   163   callback = (GMarshalFunc_VOID__STRING_UINT_UINT_BOOLEAN_POINTER) (marshal_data ? marshal_data : cc->callback);
       
   164 
       
   165   callback (data1,
       
   166             g_marshal_value_peek_string (param_values + 1),
       
   167             g_marshal_value_peek_uint (param_values + 2),
       
   168             g_marshal_value_peek_uint (param_values + 3),
       
   169             g_marshal_value_peek_boolean (param_values + 4),
       
   170             g_marshal_value_peek_pointer (param_values + 5),
       
   171             data2);
       
   172 }
       
   173 #define dbus_glib_marshal_gabble_connection_NONE__STRING_UINT_UINT_BOOLEAN_POINTER	dbus_glib_marshal_gabble_connection_VOID__STRING_UINT_UINT_BOOLEAN_POINTER
       
   174 
       
   175 /* BOOLEAN:BOXED,BOXED,POINTER,POINTER (/tmp/dbus-binding-tool-c-marshallers.R2YJIU:3) */
       
   176 extern void dbus_glib_marshal_gabble_connection_BOOLEAN__BOXED_BOXED_POINTER_POINTER (GClosure     *closure,
       
   177                                                                                       GValue       *return_value,
       
   178                                                                                       guint         n_param_values,
       
   179                                                                                       const GValue *param_values,
       
   180                                                                                       gpointer      invocation_hint,
       
   181                                                                                       gpointer      marshal_data);
       
   182 void
       
   183 dbus_glib_marshal_gabble_connection_BOOLEAN__BOXED_BOXED_POINTER_POINTER (GClosure     *closure,
       
   184                                                                           GValue       *return_value G_GNUC_UNUSED,
       
   185                                                                           guint         n_param_values,
       
   186                                                                           const GValue *param_values,
       
   187                                                                           gpointer      invocation_hint G_GNUC_UNUSED,
       
   188                                                                           gpointer      marshal_data)
       
   189 {
       
   190   typedef gboolean (*GMarshalFunc_BOOLEAN__BOXED_BOXED_POINTER_POINTER) (gpointer     data1,
       
   191                                                                          gpointer     arg_1,
       
   192                                                                          gpointer     arg_2,
       
   193                                                                          gpointer     arg_3,
       
   194                                                                          gpointer     arg_4,
       
   195                                                                          gpointer     data2);
       
   196   register GMarshalFunc_BOOLEAN__BOXED_BOXED_POINTER_POINTER callback;
       
   197   register GCClosure *cc = (GCClosure*) closure;
       
   198   register gpointer data1, data2;
       
   199   gboolean v_return;
       
   200 
       
   201   g_return_if_fail (return_value != NULL);
       
   202   g_return_if_fail (n_param_values == 5);
       
   203 
       
   204   if (G_CCLOSURE_SWAP_DATA (closure))
       
   205     {
       
   206       data1 = closure->data;
       
   207       data2 = g_value_peek_pointer (param_values + 0);
       
   208     }
       
   209   else
       
   210     {
       
   211       data1 = g_value_peek_pointer (param_values + 0);
       
   212       data2 = closure->data;
       
   213     }
       
   214   callback = (GMarshalFunc_BOOLEAN__BOXED_BOXED_POINTER_POINTER) (marshal_data ? marshal_data : cc->callback);
       
   215 
       
   216   v_return = callback (data1,
       
   217                        g_marshal_value_peek_boxed (param_values + 1),
       
   218                        g_marshal_value_peek_boxed (param_values + 2),
       
   219                        g_marshal_value_peek_pointer (param_values + 3),
       
   220                        g_marshal_value_peek_pointer (param_values + 4),
       
   221                        data2);
       
   222 
       
   223   g_value_set_boolean (return_value, v_return);
       
   224 }
       
   225 
       
   226 /* BOOLEAN:BOXED,POINTER (/tmp/dbus-binding-tool-c-marshallers.R2YJIU:4) */
       
   227 extern void dbus_glib_marshal_gabble_connection_BOOLEAN__BOXED_POINTER (GClosure     *closure,
       
   228                                                                         GValue       *return_value,
       
   229                                                                         guint         n_param_values,
       
   230                                                                         const GValue *param_values,
       
   231                                                                         gpointer      invocation_hint,
       
   232                                                                         gpointer      marshal_data);
       
   233 void
       
   234 dbus_glib_marshal_gabble_connection_BOOLEAN__BOXED_POINTER (GClosure     *closure,
       
   235                                                             GValue       *return_value G_GNUC_UNUSED,
       
   236                                                             guint         n_param_values,
       
   237                                                             const GValue *param_values,
       
   238                                                             gpointer      invocation_hint G_GNUC_UNUSED,
       
   239                                                             gpointer      marshal_data)
       
   240 {
       
   241   typedef gboolean (*GMarshalFunc_BOOLEAN__BOXED_POINTER) (gpointer     data1,
       
   242                                                            gpointer     arg_1,
       
   243                                                            gpointer     arg_2,
       
   244                                                            gpointer     data2);
       
   245   register GMarshalFunc_BOOLEAN__BOXED_POINTER callback;
       
   246   register GCClosure *cc = (GCClosure*) closure;
       
   247   register gpointer data1, data2;
       
   248   gboolean v_return;
       
   249 
       
   250   g_return_if_fail (return_value != NULL);
       
   251   g_return_if_fail (n_param_values == 3);
       
   252 
       
   253   if (G_CCLOSURE_SWAP_DATA (closure))
       
   254     {
       
   255       data1 = closure->data;
       
   256       data2 = g_value_peek_pointer (param_values + 0);
       
   257     }
       
   258   else
       
   259     {
       
   260       data1 = g_value_peek_pointer (param_values + 0);
       
   261       data2 = closure->data;
       
   262     }
       
   263   callback = (GMarshalFunc_BOOLEAN__BOXED_POINTER) (marshal_data ? marshal_data : cc->callback);
       
   264 
       
   265   v_return = callback (data1,
       
   266                        g_marshal_value_peek_boxed (param_values + 1),
       
   267                        g_marshal_value_peek_pointer (param_values + 2),
       
   268                        data2);
       
   269 
       
   270   g_value_set_boolean (return_value, v_return);
       
   271 }
       
   272 
       
   273 /* BOOLEAN:BOXED,STRING,POINTER,POINTER (/tmp/dbus-binding-tool-c-marshallers.R2YJIU:5) */
       
   274 extern void dbus_glib_marshal_gabble_connection_BOOLEAN__BOXED_STRING_POINTER_POINTER (GClosure     *closure,
       
   275                                                                                        GValue       *return_value,
       
   276                                                                                        guint         n_param_values,
       
   277                                                                                        const GValue *param_values,
       
   278                                                                                        gpointer      invocation_hint,
       
   279                                                                                        gpointer      marshal_data);
       
   280 void
       
   281 dbus_glib_marshal_gabble_connection_BOOLEAN__BOXED_STRING_POINTER_POINTER (GClosure     *closure,
       
   282                                                                            GValue       *return_value G_GNUC_UNUSED,
       
   283                                                                            guint         n_param_values,
       
   284                                                                            const GValue *param_values,
       
   285                                                                            gpointer      invocation_hint G_GNUC_UNUSED,
       
   286                                                                            gpointer      marshal_data)
       
   287 {
       
   288   typedef gboolean (*GMarshalFunc_BOOLEAN__BOXED_STRING_POINTER_POINTER) (gpointer     data1,
       
   289                                                                           gpointer     arg_1,
       
   290                                                                           gpointer     arg_2,
       
   291                                                                           gpointer     arg_3,
       
   292                                                                           gpointer     arg_4,
       
   293                                                                           gpointer     data2);
       
   294   register GMarshalFunc_BOOLEAN__BOXED_STRING_POINTER_POINTER callback;
       
   295   register GCClosure *cc = (GCClosure*) closure;
       
   296   register gpointer data1, data2;
       
   297   gboolean v_return;
       
   298 
       
   299   g_return_if_fail (return_value != NULL);
       
   300   g_return_if_fail (n_param_values == 5);
       
   301 
       
   302   if (G_CCLOSURE_SWAP_DATA (closure))
       
   303     {
       
   304       data1 = closure->data;
       
   305       data2 = g_value_peek_pointer (param_values + 0);
       
   306     }
       
   307   else
       
   308     {
       
   309       data1 = g_value_peek_pointer (param_values + 0);
       
   310       data2 = closure->data;
       
   311     }
       
   312   callback = (GMarshalFunc_BOOLEAN__BOXED_STRING_POINTER_POINTER) (marshal_data ? marshal_data : cc->callback);
       
   313 
       
   314   v_return = callback (data1,
       
   315                        g_marshal_value_peek_boxed (param_values + 1),
       
   316                        g_marshal_value_peek_string (param_values + 2),
       
   317                        g_marshal_value_peek_pointer (param_values + 3),
       
   318                        g_marshal_value_peek_pointer (param_values + 4),
       
   319                        data2);
       
   320 
       
   321   g_value_set_boolean (return_value, v_return);
       
   322 }
       
   323 
       
   324 /* BOOLEAN:STRING,BOXED,POINTER (/tmp/dbus-binding-tool-c-marshallers.R2YJIU:6) */
       
   325 extern void dbus_glib_marshal_gabble_connection_BOOLEAN__STRING_BOXED_POINTER (GClosure     *closure,
       
   326                                                                                GValue       *return_value,
       
   327                                                                                guint         n_param_values,
       
   328                                                                                const GValue *param_values,
       
   329                                                                                gpointer      invocation_hint,
       
   330                                                                                gpointer      marshal_data);
       
   331 void
       
   332 dbus_glib_marshal_gabble_connection_BOOLEAN__STRING_BOXED_POINTER (GClosure     *closure,
       
   333                                                                    GValue       *return_value G_GNUC_UNUSED,
       
   334                                                                    guint         n_param_values,
       
   335                                                                    const GValue *param_values,
       
   336                                                                    gpointer      invocation_hint G_GNUC_UNUSED,
       
   337                                                                    gpointer      marshal_data)
       
   338 {
       
   339   typedef gboolean (*GMarshalFunc_BOOLEAN__STRING_BOXED_POINTER) (gpointer     data1,
       
   340                                                                   gpointer     arg_1,
       
   341                                                                   gpointer     arg_2,
       
   342                                                                   gpointer     arg_3,
       
   343                                                                   gpointer     data2);
       
   344   register GMarshalFunc_BOOLEAN__STRING_BOXED_POINTER callback;
       
   345   register GCClosure *cc = (GCClosure*) closure;
       
   346   register gpointer data1, data2;
       
   347   gboolean v_return;
       
   348 
       
   349   g_return_if_fail (return_value != NULL);
       
   350   g_return_if_fail (n_param_values == 4);
       
   351 
       
   352   if (G_CCLOSURE_SWAP_DATA (closure))
       
   353     {
       
   354       data1 = closure->data;
       
   355       data2 = g_value_peek_pointer (param_values + 0);
       
   356     }
       
   357   else
       
   358     {
       
   359       data1 = g_value_peek_pointer (param_values + 0);
       
   360       data2 = closure->data;
       
   361     }
       
   362   callback = (GMarshalFunc_BOOLEAN__STRING_BOXED_POINTER) (marshal_data ? marshal_data : cc->callback);
       
   363 
       
   364   v_return = callback (data1,
       
   365                        g_marshal_value_peek_string (param_values + 1),
       
   366                        g_marshal_value_peek_boxed (param_values + 2),
       
   367                        g_marshal_value_peek_pointer (param_values + 3),
       
   368                        data2);
       
   369 
       
   370   g_value_set_boolean (return_value, v_return);
       
   371 }
       
   372 
       
   373 /* BOOLEAN:BOXED,POINTER,POINTER (/tmp/dbus-binding-tool-c-marshallers.R2YJIU:7) */
       
   374 extern void dbus_glib_marshal_gabble_connection_BOOLEAN__BOXED_POINTER_POINTER (GClosure     *closure,
       
   375                                                                                 GValue       *return_value,
       
   376                                                                                 guint         n_param_values,
       
   377                                                                                 const GValue *param_values,
       
   378                                                                                 gpointer      invocation_hint,
       
   379                                                                                 gpointer      marshal_data);
       
   380 void
       
   381 dbus_glib_marshal_gabble_connection_BOOLEAN__BOXED_POINTER_POINTER (GClosure     *closure,
       
   382                                                                     GValue       *return_value G_GNUC_UNUSED,
       
   383                                                                     guint         n_param_values,
       
   384                                                                     const GValue *param_values,
       
   385                                                                     gpointer      invocation_hint G_GNUC_UNUSED,
       
   386                                                                     gpointer      marshal_data)
       
   387 {
       
   388   typedef gboolean (*GMarshalFunc_BOOLEAN__BOXED_POINTER_POINTER) (gpointer     data1,
       
   389                                                                    gpointer     arg_1,
       
   390                                                                    gpointer     arg_2,
       
   391                                                                    gpointer     arg_3,
       
   392                                                                    gpointer     data2);
       
   393   register GMarshalFunc_BOOLEAN__BOXED_POINTER_POINTER callback;
       
   394   register GCClosure *cc = (GCClosure*) closure;
       
   395   register gpointer data1, data2;
       
   396   gboolean v_return;
       
   397 
       
   398   g_return_if_fail (return_value != NULL);
       
   399   g_return_if_fail (n_param_values == 4);
       
   400 
       
   401   if (G_CCLOSURE_SWAP_DATA (closure))
       
   402     {
       
   403       data1 = closure->data;
       
   404       data2 = g_value_peek_pointer (param_values + 0);
       
   405     }
       
   406   else
       
   407     {
       
   408       data1 = g_value_peek_pointer (param_values + 0);
       
   409       data2 = closure->data;
       
   410     }
       
   411   callback = (GMarshalFunc_BOOLEAN__BOXED_POINTER_POINTER) (marshal_data ? marshal_data : cc->callback);
       
   412 
       
   413   v_return = callback (data1,
       
   414                        g_marshal_value_peek_boxed (param_values + 1),
       
   415                        g_marshal_value_peek_pointer (param_values + 2),
       
   416                        g_marshal_value_peek_pointer (param_values + 3),
       
   417                        data2);
       
   418 
       
   419   g_value_set_boolean (return_value, v_return);
       
   420 }
       
   421 
       
   422 /* BOOLEAN:STRING,POINTER (/tmp/dbus-binding-tool-c-marshallers.R2YJIU:8) */
       
   423 extern void dbus_glib_marshal_gabble_connection_BOOLEAN__STRING_POINTER (GClosure     *closure,
       
   424                                                                          GValue       *return_value,
       
   425                                                                          guint         n_param_values,
       
   426                                                                          const GValue *param_values,
       
   427                                                                          gpointer      invocation_hint,
       
   428                                                                          gpointer      marshal_data);
       
   429 void
       
   430 dbus_glib_marshal_gabble_connection_BOOLEAN__STRING_POINTER (GClosure     *closure,
       
   431                                                              GValue       *return_value G_GNUC_UNUSED,
       
   432                                                              guint         n_param_values,
       
   433                                                              const GValue *param_values,
       
   434                                                              gpointer      invocation_hint G_GNUC_UNUSED,
       
   435                                                              gpointer      marshal_data)
       
   436 {
       
   437   typedef gboolean (*GMarshalFunc_BOOLEAN__STRING_POINTER) (gpointer     data1,
       
   438                                                             gpointer     arg_1,
       
   439                                                             gpointer     arg_2,
       
   440                                                             gpointer     data2);
       
   441   register GMarshalFunc_BOOLEAN__STRING_POINTER callback;
       
   442   register GCClosure *cc = (GCClosure*) closure;
       
   443   register gpointer data1, data2;
       
   444   gboolean v_return;
       
   445 
       
   446   g_return_if_fail (return_value != NULL);
       
   447   g_return_if_fail (n_param_values == 3);
       
   448 
       
   449   if (G_CCLOSURE_SWAP_DATA (closure))
       
   450     {
       
   451       data1 = closure->data;
       
   452       data2 = g_value_peek_pointer (param_values + 0);
       
   453     }
       
   454   else
       
   455     {
       
   456       data1 = g_value_peek_pointer (param_values + 0);
       
   457       data2 = closure->data;
       
   458     }
       
   459   callback = (GMarshalFunc_BOOLEAN__STRING_POINTER) (marshal_data ? marshal_data : cc->callback);
       
   460 
       
   461   v_return = callback (data1,
       
   462                        g_marshal_value_peek_string (param_values + 1),
       
   463                        g_marshal_value_peek_pointer (param_values + 2),
       
   464                        data2);
       
   465 
       
   466   g_value_set_boolean (return_value, v_return);
       
   467 }
       
   468 
       
   469 /* NONE:UINT,BOXED,POINTER (/tmp/dbus-binding-tool-c-marshallers.R2YJIU:9) */
       
   470 extern void dbus_glib_marshal_gabble_connection_VOID__UINT_BOXED_POINTER (GClosure     *closure,
       
   471                                                                           GValue       *return_value,
       
   472                                                                           guint         n_param_values,
       
   473                                                                           const GValue *param_values,
       
   474                                                                           gpointer      invocation_hint,
       
   475                                                                           gpointer      marshal_data);
       
   476 void
       
   477 dbus_glib_marshal_gabble_connection_VOID__UINT_BOXED_POINTER (GClosure     *closure,
       
   478                                                               GValue       *return_value G_GNUC_UNUSED,
       
   479                                                               guint         n_param_values,
       
   480                                                               const GValue *param_values,
       
   481                                                               gpointer      invocation_hint G_GNUC_UNUSED,
       
   482                                                               gpointer      marshal_data)
       
   483 {
       
   484   typedef void (*GMarshalFunc_VOID__UINT_BOXED_POINTER) (gpointer     data1,
       
   485                                                          guint        arg_1,
       
   486                                                          gpointer     arg_2,
       
   487                                                          gpointer     arg_3,
       
   488                                                          gpointer     data2);
       
   489   register GMarshalFunc_VOID__UINT_BOXED_POINTER callback;
       
   490   register GCClosure *cc = (GCClosure*) closure;
       
   491   register gpointer data1, data2;
       
   492 
       
   493   g_return_if_fail (n_param_values == 4);
       
   494 
       
   495   if (G_CCLOSURE_SWAP_DATA (closure))
       
   496     {
       
   497       data1 = closure->data;
       
   498       data2 = g_value_peek_pointer (param_values + 0);
       
   499     }
       
   500   else
       
   501     {
       
   502       data1 = g_value_peek_pointer (param_values + 0);
       
   503       data2 = closure->data;
       
   504     }
       
   505   callback = (GMarshalFunc_VOID__UINT_BOXED_POINTER) (marshal_data ? marshal_data : cc->callback);
       
   506 
       
   507   callback (data1,
       
   508             g_marshal_value_peek_uint (param_values + 1),
       
   509             g_marshal_value_peek_boxed (param_values + 2),
       
   510             g_marshal_value_peek_pointer (param_values + 3),
       
   511             data2);
       
   512 }
       
   513 #define dbus_glib_marshal_gabble_connection_NONE__UINT_BOXED_POINTER	dbus_glib_marshal_gabble_connection_VOID__UINT_BOXED_POINTER
       
   514 
       
   515 /* NONE:BOXED,POINTER (/tmp/dbus-binding-tool-c-marshallers.R2YJIU:10) */
       
   516 extern void dbus_glib_marshal_gabble_connection_VOID__BOXED_POINTER (GClosure     *closure,
       
   517                                                                      GValue       *return_value,
       
   518                                                                      guint         n_param_values,
       
   519                                                                      const GValue *param_values,
       
   520                                                                      gpointer      invocation_hint,
       
   521                                                                      gpointer      marshal_data);
       
   522 void
       
   523 dbus_glib_marshal_gabble_connection_VOID__BOXED_POINTER (GClosure     *closure,
       
   524                                                          GValue       *return_value G_GNUC_UNUSED,
       
   525                                                          guint         n_param_values,
       
   526                                                          const GValue *param_values,
       
   527                                                          gpointer      invocation_hint G_GNUC_UNUSED,
       
   528                                                          gpointer      marshal_data)
       
   529 {
       
   530   typedef void (*GMarshalFunc_VOID__BOXED_POINTER) (gpointer     data1,
       
   531                                                     gpointer     arg_1,
       
   532                                                     gpointer     arg_2,
       
   533                                                     gpointer     data2);
       
   534   register GMarshalFunc_VOID__BOXED_POINTER callback;
       
   535   register GCClosure *cc = (GCClosure*) closure;
       
   536   register gpointer data1, data2;
       
   537 
       
   538   g_return_if_fail (n_param_values == 3);
       
   539 
       
   540   if (G_CCLOSURE_SWAP_DATA (closure))
       
   541     {
       
   542       data1 = closure->data;
       
   543       data2 = g_value_peek_pointer (param_values + 0);
       
   544     }
       
   545   else
       
   546     {
       
   547       data1 = g_value_peek_pointer (param_values + 0);
       
   548       data2 = closure->data;
       
   549     }
       
   550   callback = (GMarshalFunc_VOID__BOXED_POINTER) (marshal_data ? marshal_data : cc->callback);
       
   551 
       
   552   callback (data1,
       
   553             g_marshal_value_peek_boxed (param_values + 1),
       
   554             g_marshal_value_peek_pointer (param_values + 2),
       
   555             data2);
       
   556 }
       
   557 #define dbus_glib_marshal_gabble_connection_NONE__BOXED_POINTER	dbus_glib_marshal_gabble_connection_VOID__BOXED_POINTER
       
   558 
       
   559 /* BOOLEAN:POINTER (/tmp/dbus-binding-tool-c-marshallers.R2YJIU:11) */
       
   560 extern void dbus_glib_marshal_gabble_connection_BOOLEAN__POINTER (GClosure     *closure,
       
   561                                                                   GValue       *return_value,
       
   562                                                                   guint         n_param_values,
       
   563                                                                   const GValue *param_values,
       
   564                                                                   gpointer      invocation_hint,
       
   565                                                                   gpointer      marshal_data);
       
   566 void
       
   567 dbus_glib_marshal_gabble_connection_BOOLEAN__POINTER (GClosure     *closure,
       
   568                                                       GValue       *return_value G_GNUC_UNUSED,
       
   569                                                       guint         n_param_values,
       
   570                                                       const GValue *param_values,
       
   571                                                       gpointer      invocation_hint G_GNUC_UNUSED,
       
   572                                                       gpointer      marshal_data)
       
   573 {
       
   574   typedef gboolean (*GMarshalFunc_BOOLEAN__POINTER) (gpointer     data1,
       
   575                                                      gpointer     arg_1,
       
   576                                                      gpointer     data2);
       
   577   register GMarshalFunc_BOOLEAN__POINTER callback;
       
   578   register GCClosure *cc = (GCClosure*) closure;
       
   579   register gpointer data1, data2;
       
   580   gboolean v_return;
       
   581 
       
   582   g_return_if_fail (return_value != NULL);
       
   583   g_return_if_fail (n_param_values == 2);
       
   584 
       
   585   if (G_CCLOSURE_SWAP_DATA (closure))
       
   586     {
       
   587       data1 = closure->data;
       
   588       data2 = g_value_peek_pointer (param_values + 0);
       
   589     }
       
   590   else
       
   591     {
       
   592       data1 = g_value_peek_pointer (param_values + 0);
       
   593       data2 = closure->data;
       
   594     }
       
   595   callback = (GMarshalFunc_BOOLEAN__POINTER) (marshal_data ? marshal_data : cc->callback);
       
   596 
       
   597   v_return = callback (data1,
       
   598                        g_marshal_value_peek_pointer (param_values + 1),
       
   599                        data2);
       
   600 
       
   601   g_value_set_boolean (return_value, v_return);
       
   602 }
       
   603 
       
   604 /* BOOLEAN:UINT,POINTER (/tmp/dbus-binding-tool-c-marshallers.R2YJIU:12) */
       
   605 extern void dbus_glib_marshal_gabble_connection_BOOLEAN__UINT_POINTER (GClosure     *closure,
       
   606                                                                        GValue       *return_value,
       
   607                                                                        guint         n_param_values,
       
   608                                                                        const GValue *param_values,
       
   609                                                                        gpointer      invocation_hint,
       
   610                                                                        gpointer      marshal_data);
       
   611 void
       
   612 dbus_glib_marshal_gabble_connection_BOOLEAN__UINT_POINTER (GClosure     *closure,
       
   613                                                            GValue       *return_value G_GNUC_UNUSED,
       
   614                                                            guint         n_param_values,
       
   615                                                            const GValue *param_values,
       
   616                                                            gpointer      invocation_hint G_GNUC_UNUSED,
       
   617                                                            gpointer      marshal_data)
       
   618 {
       
   619   typedef gboolean (*GMarshalFunc_BOOLEAN__UINT_POINTER) (gpointer     data1,
       
   620                                                           guint        arg_1,
       
   621                                                           gpointer     arg_2,
       
   622                                                           gpointer     data2);
       
   623   register GMarshalFunc_BOOLEAN__UINT_POINTER callback;
       
   624   register GCClosure *cc = (GCClosure*) closure;
       
   625   register gpointer data1, data2;
       
   626   gboolean v_return;
       
   627 
       
   628   g_return_if_fail (return_value != NULL);
       
   629   g_return_if_fail (n_param_values == 3);
       
   630 
       
   631   if (G_CCLOSURE_SWAP_DATA (closure))
       
   632     {
       
   633       data1 = closure->data;
       
   634       data2 = g_value_peek_pointer (param_values + 0);
       
   635     }
       
   636   else
       
   637     {
       
   638       data1 = g_value_peek_pointer (param_values + 0);
       
   639       data2 = closure->data;
       
   640     }
       
   641   callback = (GMarshalFunc_BOOLEAN__UINT_POINTER) (marshal_data ? marshal_data : cc->callback);
       
   642 
       
   643   v_return = callback (data1,
       
   644                        g_marshal_value_peek_uint (param_values + 1),
       
   645                        g_marshal_value_peek_pointer (param_values + 2),
       
   646                        data2);
       
   647 
       
   648   g_value_set_boolean (return_value, v_return);
       
   649 }
       
   650 
       
   651 G_END_DECLS
       
   652 
       
   653 #endif /* __dbus_glib_marshal_gabble_connection_MARSHAL_H__ */
       
   654 
       
   655 #include <dbus/dbus-glib.h>
       
   656 static const DBusGMethodInfo dbus_glib_gabble_connection_methods[] = {
       
   657   { (GCallback) gabble_connection_connect, dbus_glib_marshal_gabble_connection_BOOLEAN__POINTER, 0 },
       
   658   { (GCallback) gabble_connection_disconnect, dbus_glib_marshal_gabble_connection_BOOLEAN__POINTER, 48 },
       
   659   { (GCallback) gabble_connection_get_interfaces, dbus_glib_marshal_gabble_connection_BOOLEAN__POINTER_POINTER, 99 },
       
   660   { (GCallback) gabble_connection_get_protocol, dbus_glib_marshal_gabble_connection_BOOLEAN__POINTER_POINTER, 167 },
       
   661   { (GCallback) gabble_connection_get_self_handle, dbus_glib_marshal_gabble_connection_BOOLEAN__POINTER_POINTER, 232 },
       
   662   { (GCallback) gabble_connection_get_status, dbus_glib_marshal_gabble_connection_BOOLEAN__POINTER_POINTER, 299 },
       
   663   { (GCallback) gabble_connection_hold_handles, dbus_glib_marshal_gabble_connection_NONE__UINT_BOXED_POINTER, 362 },
       
   664   { (GCallback) gabble_connection_inspect_handles, dbus_glib_marshal_gabble_connection_NONE__UINT_BOXED_POINTER, 443 },
       
   665   { (GCallback) gabble_connection_list_channels, dbus_glib_marshal_gabble_connection_BOOLEAN__POINTER_POINTER, 541 },
       
   666   { (GCallback) gabble_connection_release_handles, dbus_glib_marshal_gabble_connection_NONE__UINT_BOXED_POINTER, 613 },
       
   667   { (GCallback) gabble_connection_request_channel, dbus_glib_marshal_gabble_connection_NONE__STRING_UINT_UINT_BOOLEAN_POINTER, 697 },
       
   668   { (GCallback) gabble_connection_request_handles, dbus_glib_marshal_gabble_connection_NONE__UINT_BOXED_POINTER, 822 },
       
   669   { (GCallback) gabble_connection_get_alias_flags, dbus_glib_marshal_gabble_connection_BOOLEAN__POINTER_POINTER, 918 },
       
   670   { (GCallback) gabble_connection_request_aliases, dbus_glib_marshal_gabble_connection_NONE__BOXED_POINTER, 1004 },
       
   671   { (GCallback) gabble_connection_set_aliases, dbus_glib_marshal_gabble_connection_BOOLEAN__BOXED_POINTER, 1106 },
       
   672   { (GCallback) gabble_connection_advertise_capabilities, dbus_glib_marshal_gabble_connection_BOOLEAN__BOXED_BOXED_POINTER_POINTER, 1192 },
       
   673   { (GCallback) gabble_connection_get_capabilities, dbus_glib_marshal_gabble_connection_BOOLEAN__BOXED_POINTER_POINTER, 1318 },
       
   674   { (GCallback) gabble_connection_add_status, dbus_glib_marshal_gabble_connection_BOOLEAN__STRING_BOXED_POINTER, 1429 },
       
   675   { (GCallback) gabble_connection_clear_status, dbus_glib_marshal_gabble_connection_BOOLEAN__POINTER, 1523 },
       
   676   { (GCallback) gabble_connection_get_presence, dbus_glib_marshal_gabble_connection_NONE__BOXED_POINTER, 1594 },
       
   677   { (GCallback) gabble_connection_get_statuses, dbus_glib_marshal_gabble_connection_BOOLEAN__POINTER_POINTER, 1707 },
       
   678   { (GCallback) gabble_connection_remove_status, dbus_glib_marshal_gabble_connection_BOOLEAN__STRING_POINTER, 1804 },
       
   679   { (GCallback) gabble_connection_request_presence, dbus_glib_marshal_gabble_connection_BOOLEAN__BOXED_POINTER, 1887 },
       
   680   { (GCallback) gabble_connection_set_last_activity_time, dbus_glib_marshal_gabble_connection_BOOLEAN__UINT_POINTER, 1976 },
       
   681   { (GCallback) gabble_connection_set_status, dbus_glib_marshal_gabble_connection_BOOLEAN__BOXED_POINTER, 2064 },
       
   682   { (GCallback) gabble_connection_get_properties, dbus_glib_marshal_gabble_connection_BOOLEAN__BOXED_POINTER_POINTER, 2154 },
       
   683   { (GCallback) gabble_connection_list_properties, dbus_glib_marshal_gabble_connection_BOOLEAN__POINTER_POINTER, 2241 },
       
   684   { (GCallback) gabble_connection_set_properties, dbus_glib_marshal_gabble_connection_NONE__BOXED_POINTER, 2315 },
       
   685   { (GCallback) gabble_connection_set_avatar, dbus_glib_marshal_gabble_connection_BOOLEAN__BOXED_STRING_POINTER_POINTER, 2683 },
       
   686   { (GCallback) gabble_connection_clear_avatar, dbus_glib_marshal_gabble_connection_BOOLEAN__POINTER, 2790 },
       
   687 };
       
   688 
       
   689 const DBusGObjectInfo dbus_glib_gabble_connection_object_info = {
       
   690   0,
       
   691   dbus_glib_gabble_connection_methods,
       
   692   33,
       
   693 "org.freedesktop.Telepathy.Connection\0Connect\0S\0\0org.freedesktop.Telepathy.Connection\0Disconnect\0S\0\0org.freedesktop.Telepathy.Connection\0GetInterfaces\0S\0arg0\0O\0F\0N\0as\0\0org.freedesktop.Telepathy.Connection\0GetProtocol\0S\0arg0\0O\0F\0N\0s\0\0org.freedesktop.Telepathy.Connection\0GetSelfHandle\0S\0arg0\0O\0F\0N\0u\0\0org.freedesktop.Telepathy.Connection\0GetStatus\0S\0arg0\0O\0F\0N\0u\0\0org.freedesktop.Telepathy.Connection\0HoldHandles\0A\0handle_type\0I\0u\0handles\0I\0au\0\0org.freedesktop.Telepathy.Connection\0InspectHandles\0A\0handle_type\0I\0u\0handles\0I\0au\0arg2\0O\0F\0N\0as\0\0org.freedesktop.Telepathy.Connection\0ListChannels\0S\0arg0\0O\0F\0N\0a(osuu)\0\0org.freedesktop.Telepathy.Connection\0ReleaseHandles\0A\0handle_type\0I\0u\0handles\0I\0au\0\0org.freedesktop.Telepathy.Connection\0RequestChannel\0A\0type\0I\0s\0handle_type\0I\0u\0handle\0I\0u\0suppress_handler\0I\0b\0arg4\0O\0F\0N\0o\0\0org.freedesktop.Telepathy.Connection\0RequestHandles\0A\0handle_type\0I\0u\0names\0I\0as\0arg2\0O\0F\0N\0au\0\0org.freedesktop.Telepathy.Connection.Interface.Aliasing\0GetAliasFlags\0S\0arg0\0O\0F\0N\0u\0\0org.freedesktop.Telepathy.Connection.Interface.Aliasing\0RequestAliases\0A\0contacts\0I\0au\0arg1\0O\0F\0N\0as\0\0org.freedesktop.Telepathy.Connection.Interface.Aliasing\0SetAliases\0S\0aliases\0I\0a{us}\0\0org.freedesktop.Telepathy.Connection.Interface.Capabilities\0AdvertiseCapabilities\0S\0add\0I\0a(su)\0remove\0I\0as\0arg2\0O\0F\0N\0a(su)\0\0org.freedesktop.Telepathy.Connection.Interface.Capabilities\0GetCapabilities\0S\0handles\0I\0au\0arg1\0O\0F\0N\0a(usuu)\0\0org.freedesktop.Telepathy.Connection.Interface.Presence\0AddStatus\0S\0status\0I\0s\0parms\0I\0a{sv}\0\0org.freedesktop.Telepathy.Connection.Interface.Presence\0ClearStatus\0S\0\0org.freedesktop.Telepathy.Connection.Interface.Presence\0GetPresence\0A\0contacts\0I\0au\0arg1\0O\0F\0N\0a{u(ua{sa{sv}})}\0\0org.freedesktop.Telepathy.Connection.Interface.Presence\0GetStatuses\0S\0arg0\0O\0F\0N\0a{s(ubba{ss})}\0\0org.freedesktop.Telepathy.Connection.Interface.Presence\0RemoveStatus\0S\0status\0I\0s\0\0org.freedesktop.Telepathy.Connection.Interface.Presence\0RequestPresence\0S\0contacts\0I\0au\0\0org.freedesktop.Telepathy.Connection.Interface.Presence\0SetLastActivityTime\0S\0time\0I\0u\0\0org.freedesktop.Telepathy.Connection.Interface.Presence\0SetStatus\0S\0statuses\0I\0a{sa{sv}}\0\0org.freedesktop.Telepathy.Properties\0GetProperties\0S\0properties\0I\0au\0arg1\0O\0F\0N\0a(uv)\0\0org.freedesktop.Telepathy.Properties\0ListProperties\0S\0arg0\0O\0F\0N\0a(ussu)\0\0org.freedesktop.Telepathy.Properties\0SetProperties\0A\0properties\0I\0a(uv)\0\0org.freedesktop.Telepathy.Connection.Interface.Avatars\0GetAvatarRequirements\0S\0arg0\0O\0F\0N\0asqqqqu\0\0org.freedesktop.Telepathy.Connection.Interface.Avatars\0GetKnownAvatarTokens\0S\0contacts\0I\0au\0arg1\0O\0F\0N\0a{us}\0\0org.freedesktop.Telepathy.Connection.Interface.Avatars\0RequestAvatars\0S\0contact\0I\0au\0\0org.freedesktop.Telepathy.Connection.Interface.Avatars\0SetAvatar\0S\0avatar\0I\0ay\0mime_type\0I\0s\0arg2\0O\0F\0N\0s\0\0org.freedesktop.Telepathy.Connection.Interface.Avatars\0ClearAvatar\0S\0\0\0",
       
   694 "org.freedesktop.Telepathy.Connection\0NewChannel\0org.freedesktop.Telepathy.Connection\0StatusChanged\0org.freedesktop.Telepathy.Connection.Interface.Aliasing\0AliasesChanged\0org.freedesktop.Telepathy.Connection.Interface.Capabilities\0CapabilitiesChanged\0org.freedesktop.Telepathy.Connection.Interface.Presence\0PresenceUpdate\0org.freedesktop.Telepathy.Properties\0PropertiesChanged\0org.freedesktop.Telepathy.Properties\0PropertyFlagsChanged\0org.freedesktop.Telepathy.Connection.Interface.Avatars\0AvatarUpdated\0org.freedesktop.Telepathy.Connection.Interface.Avatars\0AvatarRetrieved\0\0",
       
   695 "\0"
       
   696 };
       
   697