~ubuntu-branches/ubuntu/utopic/dropbear/utopic-proposed

« back to all changes in this revision

Viewing changes to buffer.h

  • Committer: Bazaar Package Importer
  • Author(s): Matt Johnston
  • Date: 2005-12-08 19:20:21 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051208192021-nyp9rwnt77nsg6ty
Tags: 0.47-1
* New upstream release.
* SECURITY: Fix incorrect buffer sizing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
void buf_incrpos(buffer* buf, int incr); /* -ve is ok, to go backwards */
51
51
void buf_incrwritepos(buffer* buf, unsigned int incr);
52
52
unsigned char buf_getbyte(buffer* buf);
 
53
unsigned char buf_getbool(buffer* buf);
53
54
void buf_putbyte(buffer* buf, unsigned char val);
54
55
unsigned char* buf_getptr(buffer* buf, unsigned int len);
55
56
unsigned char* buf_getwriteptr(buffer* buf, unsigned int len);