diff options
Diffstat (limited to 'src/tests/sbus_codegen_tests_generated.h')
-rw-r--r-- | src/tests/sbus_codegen_tests_generated.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/tests/sbus_codegen_tests_generated.h b/src/tests/sbus_codegen_tests_generated.h index c3a23c870..3f7621588 100644 --- a/src/tests/sbus_codegen_tests_generated.h +++ b/src/tests/sbus_codegen_tests_generated.h @@ -6,6 +6,25 @@ #include "sbus/sssd_dbus.h" /* ------------------------------------------------------------------------ + * DBus Vtable handler structures + * + * These structures are filled in by implementors of the different + * dbus interfaces to handle method calls. + * + * Handler functions of type sbus_msg_handler_fn accept raw messages, + * other handlers will be typed appropriately. If a handler that is + * set to NULL is invoked it will result in a + * org.freedesktop.DBus.Error.NotSupported error for the caller. + */ + +/* vtable for com.planetexpress.Ship */ +struct com_planetexpress_Ship { + struct sbus_vtable vtable; /* derive from sbus_vtable */ + sbus_msg_handler_fn MoveUniverse; + sbus_msg_handler_fn crash_now; +}; + +/* ------------------------------------------------------------------------ * DBus Interface Metadata * * These structure definitions are filled in with the information about |