]> sigrok.org Git - libsigrok.git/blobdiff - session_driver.c
Output modules: Use message logging helpers.
[libsigrok.git] / session_driver.c
index 6ba804285b5d0ff8b2815c062cb879a823baad74..777a81a5e8068b73ea20256cfc1720e9e0ffea61 100644 (file)
@@ -27,7 +27,9 @@
 #include "libsigrok-internal.h"
 
 /* size of payloads sent across the session bus */
+/** @cond PRIVATE */
 #define CHUNKSIZE (512 * 1024)
+/** @endcond */
 
 struct session_vdev {
        char *sessionfile;
@@ -57,7 +59,6 @@ static int receive_data(int fd, int revents, void *cb_data)
        void *buf;
        int ret, got_data;
 
-       /* Avoid compiler warnings. */
        (void)fd;
        (void)revents;
 
@@ -269,6 +270,7 @@ static int hw_dev_acquisition_start(const struct sr_dev_inst *sdi,
        return SR_OK;
 }
 
+/** @private */
 SR_PRIV struct sr_dev_driver session_driver = {
        .name = "session",
        .longname = "Session-emulating driver",