]> sigrok.org Git - libsigrok.git/blobdiff - session_file.c
log.c: Avoid using the same name for a variable and enum.
[libsigrok.git] / session_file.c
index 3ace85b628221cacdb8bbbf1b546c47f2acde746..880ef6db9c24910f4421fdad15681eadb40966ba 100644 (file)
@@ -30,7 +30,9 @@
 #include "libsigrok.h"
 #include "libsigrok-internal.h"
 
+/** @cond PRIVATE */
 #define LOG_PREFIX "session-file"
+/** @endcond */
 
 /**
  * @file
@@ -230,6 +232,8 @@ SR_API int sr_session_load(const char *filename)
  * @retval SR_OK Success
  * @retval SR_ERR_ARG Invalid arguments
  * @retval SR_ERR Other errors
+ *
+ * @since 0.2.0
  */
 SR_API int sr_session_save(const char *filename, const struct sr_dev_inst *sdi,
                unsigned char *buf, int unitsize, int units)
@@ -284,6 +288,8 @@ SR_API int sr_session_save(const char *filename, const struct sr_dev_inst *sdi,
  * @retval SR_OK Success
  * @retval SR_ERR_ARG Invalid arguments
  * @retval SR_ERR Other errors
+ *
+ * @since 0.3.0
  */
 SR_API int sr_session_save_init(const char *filename, uint64_t samplerate,
                char **channels)
@@ -375,6 +381,8 @@ SR_API int sr_session_save_init(const char *filename, uint64_t samplerate,
  * @retval SR_OK Success
  * @retval SR_ERR_ARG Invalid arguments
  * @retval SR_ERR Other errors
+ *
+ * @since 0.3.0
  */
 SR_API int sr_session_append(const char *filename, unsigned char *buf,
                int unitsize, int units)