/* The following definitions are auto-generated from sbus_codegen_tests.xml */
#include "sbus/sssd_dbus.h"
#include "sbus/sssd_dbus_meta.h"
#include "sbus/sssd_dbus_invokers.h"
#include "sbus_codegen_tests_generated.h"
/* invokes a handler with a 'bu' DBus signature */
/* invokes a handler with a 's' DBus signature */
/* invokes a handler with a 'u' DBus signature */
/* invokes a handler with a 'ybnqiuxtdsoayanaqaiauaxatadasao' DBus signature */
static int invoke_ybnqiuxtdsoayanaqaiauaxatadasao_method(struct sbus_request *dbus_req, void *function_ptr);
/* arguments for com.planetexpress.Ship.MoveUniverse */
{ "smoothly", "b" },
{ "speed_factor", "u" },
{ NULL, }
};
/* arguments for com.planetexpress.Ship.MoveUniverse */
{ "where_we_crashed", "s" },
{ NULL, }
};
int com_planetexpress_Ship_MoveUniverse_finish(struct sbus_request *req, const char *arg_where_we_crashed)
{
return sbus_request_return_and_finish(req,
}
/* arguments for com.planetexpress.Ship.Crash */
{ "where", "s" },
{ NULL, }
};
{
return sbus_request_return_and_finish(req,
}
/* methods for com.planetexpress.Ship */
{
"MoveUniverse", /* name */
},
{
"Crash", /* name */
NULL, /* no out_args */
},
{
"Land", /* name */
NULL, /* no in_args */
NULL, /* no out_args */
NULL, /* no invoker */
},
{ NULL, }
};
/* arguments for com.planetexpress.Ship.BecameSentient */
{ "gender", "s" },
{ NULL, }
};
/* signals for com.planetexpress.Ship */
{
"BecameSentient", /* name */
},
{ NULL, }
};
/* property info for com.planetexpress.Ship */
{
"Color", /* name */
"s", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{ NULL, }
};
/* interface info for com.planetexpress.Ship */
"com.planetexpress.Ship", /* name */
sbus_invoke_get_all, /* GetAll invoker */
};
/* arguments for com.planetexpress.Pilot.Blink */
{ "duration", "u" },
{ NULL, }
};
/* arguments for com.planetexpress.Pilot.Blink */
{ "crashed", "b" },
{ NULL, }
};
{
return sbus_request_return_and_finish(req,
}
/* arguments for com.planetexpress.Pilot.Eject */
{ "byte", "y" },
{ "boolean", "b" },
{ "int16", "n" },
{ "uint16", "q" },
{ "int32", "i" },
{ "uint32", "u" },
{ "int64", "x" },
{ "uint64", "t" },
{ "double", "d" },
{ "string", "s" },
{ "object_path", "o" },
{ "byte_array", "ay" },
{ "int16_array", "an" },
{ "uint16_array", "aq" },
{ "int32_array", "ai" },
{ "uint32_array", "au" },
{ "int64_array", "ax" },
{ "uint64_array", "at" },
{ "double_array", "ad" },
{ "string_array", "as" },
{ "object_path_array", "ao" },
{ NULL, }
};
/* arguments for com.planetexpress.Pilot.Eject */
{ "byte", "y" },
{ "boolean", "b" },
{ "int16", "n" },
{ "uint16", "q" },
{ "int32", "i" },
{ "uint32", "u" },
{ "int64", "x" },
{ "uint64", "t" },
{ "double", "d" },
{ "string", "s" },
{ "object_path", "o" },
{ "byte_array", "ay" },
{ "int16_array", "an" },
{ "uint16_array", "aq" },
{ "int32_array", "ai" },
{ "uint32_array", "au" },
{ "int64_array", "ax" },
{ "uint64_array", "at" },
{ "double_array", "ad" },
{ "string_array", "as" },
{ "object_path_array", "ao" },
{ NULL, }
};
int test_pilot_Eject_finish(struct sbus_request *req, uint8_t arg_byte, bool arg_boolean, int16_t arg_int16, uint16_t arg_uint16, int32_t arg_int32, uint32_t arg_uint32, int64_t arg_int64, uint64_t arg_uint64, double arg_double, const char *arg_string, const char *arg_object_path, uint8_t arg_byte_array[], int len_byte_array, int16_t arg_int16_array[], int len_int16_array, uint16_t arg_uint16_array[], int len_uint16_array, int32_t arg_int32_array[], int len_int32_array, uint32_t arg_uint32_array[], int len_uint32_array, int64_t arg_int64_array[], int len_int64_array, uint64_t arg_uint64_array[], int len_uint64_array, double arg_double_array[], int len_double_array, const char *arg_string_array[], int len_string_array, const char *arg_object_path_array[], int len_object_path_array)
{
return sbus_request_return_and_finish(req,
}
/* methods for com.planetexpress.Pilot */
{
"Blink", /* name */
},
{
"Eject", /* name */
},
{ NULL, }
};
/* property info for com.planetexpress.Pilot */
{
"FullName", /* name */
"s", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{
"byte", /* name */
"y", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{
"boolean", /* name */
"b", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{
"int16", /* name */
"n", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{
"uint16", /* name */
"q", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{
"int32", /* name */
"i", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{
"uint32", /* name */
"u", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{
"int64", /* name */
"x", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{
"uint64", /* name */
"t", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{
"double", /* name */
"d", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{
"string", /* name */
"s", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{
"object_path", /* name */
"o", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{
"null_string", /* name */
"s", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{
"null_path", /* name */
"o", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{
"byte_array", /* name */
"ay", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{
"int16_array", /* name */
"an", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{
"uint16_array", /* name */
"aq", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{
"int32_array", /* name */
"ai", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{
"uint32_array", /* name */
"au", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{
"int64_array", /* name */
"ax", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{
"uint64_array", /* name */
"at", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{
"double_array", /* name */
"ad", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{
"string_array", /* name */
"as", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{
"object_path_array", /* name */
"ao", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{ NULL, }
};
/* interface info for com.planetexpress.Pilot */
"com.planetexpress.Pilot", /* name */
NULL, /* no signals */
sbus_invoke_get_all, /* GetAll invoker */
};
/* property info for com.planetexpress.Special */
{
"array_dict_sas", /* name */
"a{sas}", /* type */
0, /* not writable */
NULL, /* no invoker */
},
{ NULL, }
};
/* interface info for com.planetexpress.Special */
"com.planetexpress.Special", /* name */
NULL, /* no methods */
NULL, /* no signals */
sbus_invoke_get_all, /* GetAll invoker */
};
/* invokes a handler with a 'bu' DBus signature */
{
return EOK; /* request handled */
}
arg_1);
}
/* invokes a handler with a 's' DBus signature */
{
const char * arg_0;
return EOK; /* request handled */
}
arg_0);
}
/* invokes a handler with a 'u' DBus signature */
{
return EOK; /* request handled */
}
arg_0);
}
/* invokes a handler with a 'ybnqiuxtdsoayanaqaiauaxatadasao' DBus signature */
static int invoke_ybnqiuxtdsoayanaqaiauaxatadasao_method(struct sbus_request *dbus_req, void *function_ptr)
{
double arg_8;
const char * arg_9;
const char * arg_10;
int len_11;
int len_12;
int len_13;
int len_14;
int len_15;
int len_16;
int len_17;
double *arg_18;
int len_18;
const char * *arg_19;
int len_19;
const char * *arg_20;
int len_20;
int (*handler)(struct sbus_request *, void *, uint8_t, bool, int16_t, uint16_t, int32_t, uint32_t, int64_t, uint64_t, double, const char *, const char *, uint8_t[], int, int16_t[], int, uint16_t[], int, int32_t[], int, uint32_t[], int, int64_t[], int, uint64_t[], int, double[], int, const char *[], int, const char *[], int) = function_ptr;
return EOK; /* request handled */
}
len_20);
}