X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=backend.c;h=eb23ad229bd36238380b17fd4c37a89a636ed8a9;hb=a9f54bcd7b83baf465e5096f604470cacb4951bf;hp=9ce8c5b1ac3c6c1acbbacf63e6e71142696418e3;hpb=1b452b8510922bac08db87f8ea769515c795e22f;p=libsigrok.git diff --git a/backend.c b/backend.c index 9ce8c5b1..eb23ad22 100644 --- a/backend.c +++ b/backend.c @@ -20,12 +20,13 @@ #include #include -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_exit(void) { device_close_all(); }