summaryrefslogtreecommitdiff
path: root/srd.c
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2018-05-18 00:13:42 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2018-05-18 00:17:33 +0200
commit4fde4be1e61ed706e300d3cb24264249b1aef825 (patch)
tree0bdef72c36f71c75caef392613ad19267e24620c /srd.c
parentde7301ddd69c300b44cf8de3158a811cacdc1203 (diff)
downloadlibsigrokdecode-4fde4be1e61ed706e300d3cb24264249b1aef825.tar.gz
libsigrokdecode-4fde4be1e61ed706e300d3cb24264249b1aef825.zip
Add srd_searchpaths_get() API docs.
Diffstat (limited to 'srd.c')
-rw-r--r--srd.c17
1 files changed, 12 insertions, 5 deletions
diff --git a/srd.c b/srd.c
index e040e3a..d4ec44b 100644
--- a/srd.c
+++ b/srd.c
@@ -188,11 +188,6 @@ err:
return SRD_ERR_PYTHON;
}
-SRD_API GSList *srd_searchpaths_get(void)
-{
- return g_slist_copy_deep(searchpaths, (GCopyFunc)g_strdup, NULL);
-}
-
/**
* Initialize libsigrokdecode.
*
@@ -391,4 +386,16 @@ err:
return SRD_ERR_PYTHON;
}
+/**
+ * Return the list of protocol decoder search paths.
+ *
+ * @return The list of search paths used when loading protocol decoders.
+ *
+ * @since 0.5.1
+ */
+SRD_API GSList *srd_searchpaths_get(void)
+{
+ return g_slist_copy_deep(searchpaths, (GCopyFunc)g_strdup, NULL);
+}
+
/** @} */