projects
/
BearSSL
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More Doxygen documentation.
[BearSSL]
/
tools
/
brssl.h
diff --git
a/tools/brssl.h
b/tools/brssl.h
index
99ce38d
..
a3ceb14
100644
(file)
--- a/
tools/brssl.h
+++ b/
tools/brssl.h
@@
-163,6
+163,12
@@
typedef VECTOR(unsigned char) bvector;
*/
int eqstr(const char *s1, const char *s2);
*/
int eqstr(const char *s1, const char *s2);
+/*
+ * Convert a string to a positive integer (size_t). Returned value is
+ * (size_t)-1 on error. On error, an explicit error message is printed.
+ */
+size_t parse_size(const char *s);
+
/*
* Structure for a known protocol version.
*/
/*
* Structure for a known protocol version.
*/