diff options
author | Bert Vermeulen <bert@biot.com> | 2011-12-07 09:56:49 +0100 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2011-12-28 12:17:13 +0100 |
commit | e508088229e96423854ba6db63084c9bb18eeb34 (patch) | |
tree | ecfa9ca795845c944f390b04fad135ee439c574d /decoder.c | |
parent | a62186e44c606a8d4cb45b3d8c3cc9fa6a5038ea (diff) | |
download | libsigrokdecode-e508088229e96423854ba6db63084c9bb18eeb34.tar.gz libsigrokdecode-e508088229e96423854ba6db63084c9bb18eeb34.zip |
new dynamic output stream registration code, not finished.
Diffstat (limited to 'decoder.c')
-rw-r--r-- | decoder.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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); |