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

Function srd_check_init

libsigrokdecode4DSL/decoder.c:62–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60/** @endcond */
61
62static gboolean srd_check_init(void)
63{
64 if (max_session_id < 0) {
65 srd_err("Library is not initialized.");
66 return FALSE;
67 } else
68 return TRUE;
69}
70
71/**
72 * Returns the list of loaded protocol decoders.

Callers 4

srd_decoder_loadFunction · 0.85
srd_decoder_doc_getFunction · 0.85
srd_decoder_unloadFunction · 0.85
srd_decoder_load_allFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected