summaryrefslogtreecommitdiff
path: root/sigrokdecode.h
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2012-01-07 17:14:08 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2012-01-07 17:14:08 +0100
commit47bd8ddead2ae35b209839255740e3f81ce4b8bc (patch)
tree10664032fbec19fe2c477f65b757a99c305bceec /sigrokdecode.h
parenta9f9cab363a8a816f056fdf87b034491b61daea5 (diff)
downloadlibsigrokdecode-47bd8ddead2ae35b209839255740e3f81ce4b8bc.tar.gz
libsigrokdecode-47bd8ddead2ae35b209839255740e3f81ce4b8bc.zip
srd: Add SRD_ERR_BUG.
Diffstat (limited to 'sigrokdecode.h')
-rw-r--r--sigrokdecode.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/sigrokdecode.h b/sigrokdecode.h
index 1080b44..a6641d4 100644
--- a/sigrokdecode.h
+++ b/sigrokdecode.h
@@ -50,9 +50,10 @@ extern "C" {
#define SRD_OK 0 /**< No error */
#define SRD_ERR -1 /**< Generic/unspecified error */
#define SRD_ERR_MALLOC -2 /**< Malloc/calloc/realloc error */
-#define SRD_ERR_ARG -3 /**< Function argument error */
-#define SRD_ERR_PYTHON -4 /**< Python C API error */
-#define SRD_ERR_DECODERS_DIR -5 /**< Protocol decoder path invalid */
+#define SRD_ERR_ARG -3 /**< Function argument error */
+#define SRD_ERR_BUG -4 /**< Errors hinting at internal bugs */
+#define SRD_ERR_PYTHON -5 /**< Python C API error */
+#define SRD_ERR_DECODERS_DIR -6 /**< Protocol decoder path invalid */
/* libsigrokdecode loglevels. */
#define SRD_LOG_NONE 0 /**< Output no messages at all. */