]> andersk Git - gssapi-openssh.git/blame - openssh/bufaux.h
o Remove globus_user_env from dependency tree.
[gssapi-openssh.git] / openssh / bufaux.h
CommitLineData
e9a17296 1/* $OpenBSD: bufaux.h,v 1.16 2002/03/04 17:27:39 stevesk Exp $ */
2
3c0ef626 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
5 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
6 * All rights reserved
7 *
8 * As far as I am concerned, the code I have written for this software
9 * can be used freely for any purpose. Any derived versions of this
10 * software must be clearly marked as such, and if the derived work is
11 * incompatible with the protocol description in the RFC file, it must be
12 * called by a name other than "ssh" or "Secure Shell".
13 */
14
3c0ef626 15#ifndef BUFAUX_H
16#define BUFAUX_H
17
18#include "buffer.h"
19#include <openssl/bn.h>
20
21void buffer_put_bignum(Buffer *, BIGNUM *);
22void buffer_put_bignum2(Buffer *, BIGNUM *);
e9a17296 23void buffer_get_bignum(Buffer *, BIGNUM *);
24void buffer_get_bignum2(Buffer *, BIGNUM *);
3c0ef626 25
e9a17296 26u_int buffer_get_int(Buffer *);
3c0ef626 27void buffer_put_int(Buffer *, u_int);
28
29#ifdef HAVE_U_INT64_T
30u_int64_t buffer_get_int64(Buffer *);
31void buffer_put_int64(Buffer *, u_int64_t);
32#endif
33
34int buffer_get_char(Buffer *);
3c0ef626 35void buffer_put_char(Buffer *, int);
36
e9a17296 37void *buffer_get_string(Buffer *, u_int *);
3c0ef626 38void buffer_put_string(Buffer *, const void *, u_int);
39void buffer_put_cstring(Buffer *, const char *);
40
41#endif /* BUFAUX_H */
This page took 0.078264 seconds and 5 git commands to generate.