diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2013-05-03 23:28:10 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2013-05-04 12:05:49 +0200 |
commit | cdf156ba36def94a86453b017054470ee9ae7608 (patch) | |
tree | 0b8ea96d88ac87792e37a14812fb6348e9825405 /libsigrokdecode.h.in | |
parent | 30b770d5375522bd014502b9348aff3ee36e830d (diff) | |
download | libsigrokdecode-cdf156ba36def94a86453b017054470ee9ae7608.tar.gz libsigrokdecode-cdf156ba36def94a86453b017054470ee9ae7608.zip |
Add srd_strerror() and srd_strerror_name().
Diffstat (limited to 'libsigrokdecode.h.in')
-rw-r--r-- | libsigrokdecode.h.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libsigrokdecode.h.in b/libsigrokdecode.h.in index 877aeb1..c18e2c4 100644 --- a/libsigrokdecode.h.in +++ b/libsigrokdecode.h.in @@ -323,6 +323,11 @@ SRD_API int srd_lib_version_revision_get(void); SRD_API int srd_lib_version_age_get(void); SRD_API const char *srd_lib_version_string_get(void); +/*--- error.c ---------------------------------------------------------------*/ + +SRD_API const char *srd_strerror(int error_code); +SRD_API const char *srd_strerror_name(int error_code); + #ifdef __cplusplus } #endif |