summaryrefslogtreecommitdiff
path: root/srd.c
diff options
context:
space:
mode:
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);
+}
+
/** @} */