[BACK]Return to bufaux.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Annotation of src/usr.bin/ssh/bufaux.h, Revision 1.13

1.1       deraadt     1: /*
1.3       deraadt     2:  * Author: Tatu Ylonen <ylo@cs.hut.fi>
                      3:  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
                      4:  *                    All rights reserved
1.6       markus      5:  *
1.8       deraadt     6:  * As far as I am concerned, the code I have written for this software
                      7:  * can be used freely for any purpose.  Any derived versions of this
                      8:  * software must be clearly marked as such, and if the derived work is
                      9:  * incompatible with the protocol description in the RFC file, it must be
                     10:  * called by a name other than "ssh" or "Secure Shell".
1.3       deraadt    11:  */
1.1       deraadt    12:
1.13    ! markus     13: /* RCSID("$OpenBSD: bufaux.h,v 1.12 2001/06/26 06:32:48 itojun Exp $"); */
1.1       deraadt    14:
                     15: #ifndef BUFAUX_H
                     16: #define BUFAUX_H
                     17:
                     18: #include "buffer.h"
1.11      markus     19: #include <openssl/bn.h>
1.1       deraadt    20:
1.12      itojun     21: void    buffer_put_bignum(Buffer *, BIGNUM *);
                     22: void    buffer_put_bignum2(Buffer *, BIGNUM *);
                     23: int     buffer_get_bignum(Buffer *, BIGNUM *);
                     24: int    buffer_get_bignum2(Buffer *, BIGNUM *);
1.1       deraadt    25:
1.13    ! markus     26: u_int  buffer_get_int(Buffer *);
        !            27: void    buffer_put_int(Buffer *, u_int);
        !            28:
1.12      itojun     29: u_int64_t buffer_get_int64(Buffer *);
                     30: void   buffer_put_int64(Buffer *, u_int64_t);
1.1       deraadt    31:
1.12      itojun     32: int     buffer_get_char(Buffer *);
                     33: void    buffer_put_char(Buffer *, int);
1.1       deraadt    34:
1.12      itojun     35: char   *buffer_get_string(Buffer *, u_int *);
                     36: void    buffer_put_string(Buffer *, const void *, u_int);
                     37: void   buffer_put_cstring(Buffer *, const char *);
1.1       deraadt    38:
1.3       deraadt    39: #endif                         /* BUFAUX_H */