]> sigrok.org Git - libserialport.git/blobdiff - libserialport.h.in
Add sp_get_config() function.
[libserialport.git] / libserialport.h.in
index 8306fbfec8c16396bfed82c17ead601afbcb41f6..4d94a413daf02972930c2929b92ef0a521161761 100644 (file)
@@ -156,6 +156,7 @@ int sp_write(struct sp_port *port, const void *buf, size_t count);
 int sp_flush(struct sp_port *port);
 
 /* Basic port configuration */
+int sp_get_config(struct sp_port *port, struct sp_port_config *config);
 int sp_set_config(struct sp_port *port, struct sp_port_config *config);
 int sp_set_baudrate(struct sp_port *port, int baudrate);
 int sp_set_bits(struct sp_port *port, int bits);