]> sigrok.org Git - libsigrok.git/blobdiff - libsigrok-internal.h
scpi: Add more functions (getting int/bool/float/double).
[libsigrok.git] / libsigrok-internal.h
index be0114d68dab81d5ae84955fbf857abab7ccb753..fa270b4e477e3bd158394b4ff1032cfbb5a1e424 100644 (file)
@@ -280,6 +280,14 @@ SR_PRIV int sr_scpi_send(struct sr_serial_dev_inst *serial,
                         const char *command);
 SR_PRIV int sr_scpi_get_string(struct sr_serial_dev_inst *serial,
                               const char *command, char **scpi_response);
+SR_PRIV int sr_scpi_get_bool(struct sr_serial_dev_inst *serial,
+                            const char *command, gboolean *scpi_response);
+SR_PRIV int sr_scpi_get_int(struct sr_serial_dev_inst *serial,
+                                 const char *command, int *scpi_response);
+SR_PRIV int sr_scpi_get_float(struct sr_serial_dev_inst *serial,
+                             const char *command, float *scpi_response);
+SR_PRIV int sr_scpi_get_double(struct sr_serial_dev_inst *serial,
+                             const char *command, double *scpi_response);
 SR_PRIV int sr_scpi_get_hw_id(struct sr_serial_dev_inst *serial,
                              struct sr_scpi_hw_info **scpi_reponse);
 SR_PRIV void sr_scpi_hw_info_free(struct sr_scpi_hw_info *hw_info);