X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fcommon%2Fskeleton.c;h=436626660ad2512f4a36b2baca31a1dbcefe2367;hb=e734b81a685c9a1bcb4bd899ba162f5c7769b2d1;hp=bb8381408109b582b8caa7422b33967cb61d9d2c;hpb=a1bb33afbde769156ad4bef7a60579da64aebbb7;p=libsigrok.git diff --git a/hardware/common/skeleton.c b/hardware/common/skeleton.c index bb838140..43662666 100644 --- a/hardware/common/skeleton.c +++ b/hardware/common/skeleton.c @@ -17,81 +17,57 @@ * along with this program. If not, see . */ -#include "sigrok.h" +#include static int hw_init(char *deviceinfo) { - } - static int hw_opendev(int device_index) { - } - static void hw_closedev(int device_index) { - } - static void hw_cleanup(void) { - } - static char *hw_get_identifier(int device_index) { - } - static char *hw_get_device_info(int device_index, int device_info_id) { - } - static int hw_get_status(int device_index) { - } - static int *hw_get_capabilities(void) { - } - static int hw_set_configuration(int device_index, int capability, char *value) { - } - static int hw_start_acquisition(int device_index, gpointer session_device_id) { - } - static void hw_stop_acquisition(int device_index, gpointer session_device_id) { - } - - struct device_plugin skeleton_plugin_info = { "skeleton", 1, hw_init, hw_cleanup, - hw_opendev, hw_closedev, hw_get_device_info, @@ -99,6 +75,5 @@ struct device_plugin skeleton_plugin_info = { hw_get_capabilities, hw_set_configuration, hw_start_acquisition, - hw_stop_acquisition + hw_stop_acquisition, }; -