]> sigrok.org Git - libsigrok.git/blobdiff - proto.h
sr: Add sr_strerror() and sr_strerror_name().
[libsigrok.git] / proto.h
diff --git a/proto.h b/proto.h
index a00c6ba76b7a523d16c25deabfe5390a3a0a6401..cb5c211ca202881615976352a3eea157e15ac39d 100644 (file)
--- a/proto.h
+++ b/proto.h
@@ -141,4 +141,9 @@ SR_API int sr_lib_version_revision_get(void);
 SR_API int sr_lib_version_age_get(void);
 SR_API const char *sr_lib_version_string_get(void);
 
+/*--- error.c ---------------------------------------------------------------*/
+
+SR_API const char *sr_strerror(int error_code);
+SR_API const char *sr_strerror_name(int error_code);
+
 #endif