~ubuntu-branches/ubuntu/lucid/openssh/lucid

« back to all changes in this revision

Viewing changes to bufaux.h

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2005-10-10 20:10:01 UTC
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20051010201001-rno2f5bno6e6wo6t
Tags: upstream-4.1p1
ImportĀ upstreamĀ versionĀ 4.1p1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*      $OpenBSD: bufaux.h,v 1.19 2003/11/10 16:23:41 jakob Exp $       */
 
1
/*      $OpenBSD: bufaux.h,v 1.21 2005/03/10 22:01:05 deraadt Exp $     */
2
2
 
3
3
/*
4
4
 * Author: Tatu Ylonen <ylo@cs.hut.fi>
40
40
void    buffer_put_cstring(Buffer *, const char *);
41
41
 
42
42
#define buffer_skip_string(b) \
43
 
    do { u_int l = buffer_get_int(b); buffer_consume(b, l); } while(0)
 
43
    do { u_int l = buffer_get_int(b); buffer_consume(b, l); } while (0)
 
44
 
 
45
int     buffer_put_bignum_ret(Buffer *, const BIGNUM *);
 
46
int     buffer_get_bignum_ret(Buffer *, BIGNUM *);
 
47
int     buffer_put_bignum2_ret(Buffer *, const BIGNUM *);
 
48
int     buffer_get_bignum2_ret(Buffer *, BIGNUM *);
 
49
int     buffer_get_short_ret(u_short *, Buffer *);
 
50
int     buffer_get_int_ret(u_int *, Buffer *);
 
51
int     buffer_get_int64_ret(u_int64_t *, Buffer *);
 
52
void    *buffer_get_string_ret(Buffer *, u_int *);
 
53
int     buffer_get_char_ret(char *, Buffer *);
44
54
 
45
55
#endif                          /* BUFAUX_H */