]> sigrok.org Git - libsigrok.git/blobdiff - hardware/hameg-hmo/protocol.h
hameg-hmo: Use hmo_ prefix for driver-local SR_PRIV functions.
[libsigrok.git] / hardware / hameg-hmo / protocol.h
index 9f27f01b899e3b6c296c1d5d1bbffce147dabab1..ff3b398208ab2c7997ef921d846eff537b953db5 100644 (file)
 SR_PRIV struct sr_dev_driver hameg_hmo_driver_info;
 static struct sr_dev_driver *di = &hameg_hmo_driver_info;
 
-enum {
-       PG_INVALID = -1,
-       PG_NONE,
-       PG_ANALOG,
-       PG_DIGITAL,
-};
-
 struct scope_config {
        const char *name[MAX_INSTRUMENT_VERSIONS];
        const uint8_t analog_channels;
@@ -121,12 +114,12 @@ struct dev_context {
 
 SR_PRIV int hmo_init_device(struct sr_dev_inst *sdi);
 SR_PRIV int hmo_request_data(const struct sr_dev_inst *sdi);
-SR_PRIV int hameg_hmo_receive_data(int fd, int revents, void *cb_data);
-SR_PRIV struct sr_dev_inst *hameg_probe_serial_device(const char *serial_device,
-                                                     const char *serial_options);
+SR_PRIV int hmo_receive_data(int fd, int revents, void *cb_data);
+SR_PRIV struct sr_dev_inst *hmo_probe_serial_device(const char *serial_device,
+                                                   const char *serial_options);
 
-SR_PRIV struct scope_state *scope_state_new(struct scope_config *config);
-SR_PRIV void scope_state_free(struct scope_state *state);
-SR_PRIV int scope_state_get(struct sr_dev_inst *sdi);
+SR_PRIV struct scope_state *hmo_scope_state_new(struct scope_config *config);
+SR_PRIV void hmo_scope_state_free(struct scope_state *state);
+SR_PRIV int hmo_scope_state_get(struct sr_dev_inst *sdi);
 
 #endif