]> sigrok.org Git - libserialport.git/blobdiff - libserialport.h.in
Rename sp_get_signals() parameter to avoid name clash with Qt headers.
[libserialport.git] / libserialport.h.in
index a4f0b0ff76d1d8786c13e010b649c404abb75170..6fb9b17462217866364a3335e3c563abc368cb67 100644 (file)
@@ -475,12 +475,12 @@ char *sp_get_port_usb_product(const struct sp_port *port);
 char *sp_get_port_usb_serial(const struct sp_port *port);
 
 /**
- * Get the bluetooth address of a bluetooth serial adapter port.
+ * Get the MAC address of a Bluetooth serial adapter port.
  *
  * @param port Pointer to port structure.
  *
- * @return The port bluetooth address, or NULL if an invalid port is passed.
- * The bluetooth address string is part of the port structure and may not be used
+ * @return The port MAC address, or NULL if an invalid port is passed.
+ * The MAC address string is part of the port structure and may not be used
  * after the port structure has been freed.
  *
  * @since 0.2.0
@@ -1196,13 +1196,13 @@ void sp_free_event_set(struct sp_event_set *event_set);
  * the sp_signal enum.
  *
  * @param port Pointer to port structure.
- * @param signals Pointer to variable to receive result.
+ * @param signal_mask Pointer to variable to receive result.
  *
  * @return SP_OK upon success, a negative error code otherwise.
  *
  * @since 0.1.0
  */
-enum sp_return sp_get_signals(struct sp_port *port, enum sp_signal *signals);
+enum sp_return sp_get_signals(struct sp_port *port, enum sp_signal *signal_mask);
 
 /**
  * Put the port transmit line into the break state.