diff options
-rw-r--r-- | controller.c | 20 | ||||
-rw-r--r-- | decoder.c | 10 | ||||
-rw-r--r-- | log.c | 10 | ||||
-rw-r--r-- | version.c | 10 |
4 files changed, 50 insertions, 0 deletions
diff --git a/controller.c b/controller.c index 44fd6c7..e35b8be 100644 --- a/controller.c +++ b/controller.c @@ -265,6 +265,16 @@ SRD_PRIV int srd_decoder_searchpath_add(const char *path) return SRD_OK; } +/** @} */ + +/** + * @defgroup grp_instances Decoder instances + * + * Decoder instance handling. + * + * @{ + */ + /** * Set one or more options in a decoder instance. * @@ -792,6 +802,16 @@ SRD_PRIV void srd_inst_free_all(GSList *stack) } } +/** @} */ + +/** + * @defgroup grp_session Session handling + * + * Starting and handling decoding sessions. + * + * @{ + */ + /** * Start a decoding session. * @@ -29,6 +29,14 @@ * Listing, loading, unloading, and handling protocol decoders. */ +/** + * @defgroup grp_decoder Protocol decoders + * + * Handling protocol decoders. + * + * @{ + */ + /** @cond PRIVATE */ /* The list of protocol decoders. */ @@ -432,3 +440,5 @@ SRD_API int srd_decoder_unload_all(void) return SRD_OK; } + +/** @} */ @@ -29,6 +29,14 @@ * Controlling the libsigrokdecode message logging functionality. */ +/** + * @defgroup grp_logging Logging + * + * Controlling the libsigrokdecode message logging functionality. + * + * @{ + */ + /* Currently selected libsigrokdecode loglevel. Default: SRD_LOG_WARN. */ static int srd_loglevel = SRD_LOG_WARN; /* Show errors+warnings per default. */ @@ -283,3 +291,5 @@ SRD_PRIV int srd_err(const char *format, ...) return ret; } + +/** @} */ @@ -26,6 +26,14 @@ * Version number querying functions. */ +/** + * @defgroup grp_versions Versions + * + * Version number querying functions. + * + * @{ + */ + SRD_API int srd_package_version_major_get(void) { return SRD_PACKAGE_VERSION_MAJOR; @@ -65,3 +73,5 @@ SRD_API const char *srd_lib_version_string_get(void) { return SRD_LIB_VERSION_STRING; } + +/** @} */ |