Mercurial > dropbear
diff buffer.h @ 925:bae0b34bc059 pam
Better PAM through recursion
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 12 Mar 2014 23:40:02 +0800 |
parents | ac2158e3e403 |
children | 2fa71c3b2827 |
line wrap: on
line diff
--- a/buffer.h Sat Mar 08 21:00:57 2014 +0800 +++ b/buffer.h Wed Mar 12 23:40:02 2014 +0800 @@ -52,6 +52,7 @@ unsigned char buf_getbyte(buffer* buf); unsigned char buf_getbool(buffer* buf); void buf_putbyte(buffer* buf, unsigned char val); +void buf_putbool(buffer* buf, unsigned int val); unsigned char* buf_getptr(buffer* buf, unsigned int len); unsigned char* buf_getwriteptr(buffer* buf, unsigned int len); unsigned char* buf_getstring(buffer* buf, unsigned int *retlen);