Mercurial > dropbear
comparison buffer.h @ 1122:aaf576b27a10
Merge pull request #13 from gazoo74/fix-warnings
Fix warnings
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 04 Jun 2015 23:08:50 +0800 |
parents | 16584026a1f0 |
children | 06d52bcb8094 |
comparison
equal
deleted
inserted
replaced
1087:1e486f368ec3 | 1122:aaf576b27a10 |
---|---|
54 unsigned char buf_getbyte(buffer* buf); | 54 unsigned char buf_getbyte(buffer* buf); |
55 unsigned char buf_getbool(buffer* buf); | 55 unsigned char buf_getbool(buffer* buf); |
56 void buf_putbyte(buffer* buf, unsigned char val); | 56 void buf_putbyte(buffer* buf, unsigned char val); |
57 unsigned char* buf_getptr(buffer* buf, unsigned int len); | 57 unsigned char* buf_getptr(buffer* buf, unsigned int len); |
58 unsigned char* buf_getwriteptr(buffer* buf, unsigned int len); | 58 unsigned char* buf_getwriteptr(buffer* buf, unsigned int len); |
59 unsigned char* buf_getstring(buffer* buf, unsigned int *retlen); | 59 char* buf_getstring(buffer* buf, unsigned int *retlen); |
60 buffer * buf_getstringbuf(buffer *buf); | 60 buffer * buf_getstringbuf(buffer *buf); |
61 void buf_eatstring(buffer *buf); | 61 void buf_eatstring(buffer *buf); |
62 void buf_putint(buffer* buf, unsigned int val); | 62 void buf_putint(buffer* buf, unsigned int val); |
63 void buf_putstring(buffer* buf, const unsigned char* str, unsigned int len); | 63 void buf_putstring(buffer* buf, const char* str, unsigned int len); |
64 void buf_putbufstring(buffer *buf, const buffer* buf_str); | 64 void buf_putbufstring(buffer *buf, const buffer* buf_str); |
65 void buf_putbytes(buffer *buf, const unsigned char *bytes, unsigned int len); | 65 void buf_putbytes(buffer *buf, const unsigned char *bytes, unsigned int len); |
66 void buf_putmpint(buffer* buf, mp_int * mp); | 66 void buf_putmpint(buffer* buf, mp_int * mp); |
67 int buf_getmpint(buffer* buf, mp_int* mp); | 67 int buf_getmpint(buffer* buf, mp_int* mp); |
68 unsigned int buf_getint(buffer* buf); | 68 unsigned int buf_getint(buffer* buf); |