X-Git-Url: http://sigrok.org/gitweb/?p=libsigrok.git;a=blobdiff_plain;f=proto.h;h=cb5c211ca202881615976352a3eea157e15ac39d;hp=a00c6ba76b7a523d16c25deabfe5390a3a0a6401;hb=b5a8e848256f54b32ca988be5a1ec2db5048873a;hpb=9ffbde0e84ef6c711be4edbe3076e8c805efad63 diff --git a/proto.h b/proto.h index a00c6ba7..cb5c211c 100644 --- 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