MCPcopy Create free account
hub / github.com/DreamSourceLab/DSView / srd_decoder_load_all

Function srd_decoder_load_all

libsigrokdecode4DSL/decoder.c:1135–1147  ·  view source on GitHub ↗

* Load all installed protocol decoders. * * @return SRD_OK upon success, a (negative) error code otherwise. * * @since 0.1.0 */

Source from the content-addressed store, hash-verified

1133 * @since 0.1.0
1134 */
1135SRD_API int srd_decoder_load_all(void)
1136{
1137 GSList *l;
1138
1139 if (!srd_check_init())
1140 return SRD_ERR;
1141
1142 for (l = searchpaths; l; l = l->next){
1143 srd_decoder_load_all_path(l->data);
1144 }
1145
1146 return SRD_OK;
1147}
1148
1149static void srd_decoder_unload_cb(void *arg, void *ignored)
1150{

Callers 1

InitMethod · 0.85

Calls 2

srd_check_initFunction · 0.85

Tested by

no test coverage detected