*/
/**
- *
* @mainpage libserialport API
*
* Introduction
* or where otherwise documented a positive value.
*/
-#ifndef LIBSERIALPORT_H
-#define LIBSERIALPORT_H
+#ifndef LIBSERIALPORT_LIBSERIALPORT_H
+#define LIBSERIALPORT_LIBSERIALPORT_H
#ifdef __cplusplus
extern "C" {
/**
* Wait for buffered data to be transmitted.
*
+ * @param port Pointer to port structure.
+ *
* @return SP_OK on success, SP_ERR_FAIL on failure, or SP_ERR_ARG
* if an invalid port is passed.
*/
/**
* Put the port transmit line into the break state.
*
+ * @param port Pointer to port structure.
+ *
* @return SP_OK on success, SP_ERR_FAIL on failure, or SP_ERR_ARG
* if an invalid port is passed.
*/
/**
* Take the port transmit line out of the break state.
*
+ * @param port Pointer to port structure.
+ *
* @return SP_OK on success, SP_ERR_FAIL on failure, or SP_ERR_ARG
* if an invalid port is passed.
*/
}
#endif
-#endif /* LIBSERIALPORT_H */
+#endif