X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=proto.h;h=c93a796e94b50359a51f55737cbf30c85b9cba71;hb=f427daefb01cdaf578dc8b9fa5f59c5525439289;hp=49b2d7473087b6c16baea3b896ea266c5dbbd7c3;hpb=b8072700c1bc7d13ba004fd897668b56cec4ac62;p=libsigrok.git diff --git a/proto.h b/proto.h index 49b2d747..c93a796e 100644 --- a/proto.h +++ b/proto.h @@ -20,6 +20,12 @@ #ifndef LIBSIGROK_SIGROK_PROTO_H #define LIBSIGROK_SIGROK_PROTO_H +/** + * @file + * + * Header file containing API function prototypes. + */ + /*--- backend.c -------------------------------------------------------------*/ SR_API int sr_init(struct sr_context **ctx); @@ -69,7 +75,8 @@ SR_API int sr_filter_probes(int in_unitsize, int out_unitsize, /*--- hwdriver.c ------------------------------------------------------------*/ SR_API struct sr_dev_driver **sr_driver_list(void); -SR_API int sr_driver_init(struct sr_dev_driver *driver); +SR_API int sr_driver_init(struct sr_context *ctx, + struct sr_dev_driver *driver); SR_API GSList *sr_driver_scan(struct sr_dev_driver *driver, GSList *options); SR_API int sr_info_get(struct sr_dev_driver *driver, int id, const void **data, const struct sr_dev_inst *sdi);