]> sigrok.org Git - libsigrok.git/blobdiff - backend.c
Add a field for the full name of a device.
[libsigrok.git] / backend.c
index 9ce8c5b1ac3c6c1acbbacf63e6e71142696418e3..46b7397f09112ca5eb328c9f621548d9bb77d6fc 100644 (file)
--- a/backend.c
+++ b/backend.c
 #include <glib.h>
 #include <sigrok.h>
 
-int sigrok_init(void)
+int sr_init(void)
 {
        return load_hwplugins();
 }
 
-void sigrok_cleanup(void)
+/* TODO: Should return int to be able to report back error codes. */
+void sr_cleanup(void)
 {
        device_close_all();
 }