summaryrefslogtreecommitdiff
path: root/decoder.c
diff options
context:
space:
mode:
authorBert Vermeulen <bert@biot.com>2011-12-07 09:56:49 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2011-12-28 12:17:13 +0100
commite508088229e96423854ba6db63084c9bb18eeb34 (patch)
treeecfa9ca795845c944f390b04fad135ee439c574d /decoder.c
parenta62186e44c606a8d4cb45b3d8c3cc9fa6a5038ea (diff)
downloadlibsigrokdecode-e508088229e96423854ba6db63084c9bb18eeb34.tar.gz
libsigrokdecode-e508088229e96423854ba6db63084c9bb18eeb34.zip
new dynamic output stream registration code, not finished.
Diffstat (limited to 'decoder.c')
-rw-r--r--decoder.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/decoder.c b/decoder.c
index e69eae8..5d719d3 100644
--- a/decoder.c
+++ b/decoder.c
@@ -23,8 +23,8 @@
#include <dirent.h>
/* The list of protocol decoders. */
-GSList *list_pds = NULL;
-GSList *decoders = NULL;
+GSList *pd_list = NULL;
+GSList *di_list = NULL;
/**
@@ -37,7 +37,7 @@ GSList *decoders = NULL;
GSList *srd_list_decoders(void)
{
- return list_pds;
+ return pd_list;
}
@@ -194,7 +194,7 @@ int srd_load_all_decoders(void)
/* TODO: Warning if loading fails for a decoder. */
if ((ret = srd_load_decoder(decodername, &dec)) == SRD_OK) {
/* Append it to the list of supported/loaded decoders. */
- list_pds = g_slist_append(list_pds, dec);
+ pd_list = g_slist_append(pd_list, dec);
}
}
closedir(dir);