]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/scpi-pps/protocol.h
scpi-pps: Generalize vendor name cleanup.
[libsigrok.git] / src / hardware / scpi-pps / protocol.h
index 19902ccc0c40dfde72e9f1348b0c2809ebd531f6..25b55cb1d372ea7c331d2cc47103ecbc95aee783 100644 (file)
@@ -70,8 +70,6 @@ enum pps_features {
 };
 
 struct scpi_pps {
-       int vendor_id;
-       char *vendor;
        char *idn_vendor;
        char *idn_model;
        uint64_t features;
@@ -130,6 +128,7 @@ struct dev_context {
        struct sr_channel *cur_channel;
 };
 
+const char *get_vendor(const char *raw_vendor);
 SR_PRIV int scpi_cmd(const struct sr_dev_inst *sdi, int command, ...);
 SR_PRIV int scpi_pps_receive_data(int fd, int revents, void *cb_data);