]> andersk Git - gssapi-openssh.git/blame - openssh/bufaux.h
check for existence of globus_gss_assist_map_and_authorize()
[gssapi-openssh.git] / openssh / bufaux.h
CommitLineData
3c0ef626 1/*
2 * Author: Tatu Ylonen <ylo@cs.hut.fi>
3 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
4 * All rights reserved
5 *
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".
11 */
12
13/* RCSID("$OpenBSD: bufaux.h,v 1.13 2001/06/26 17:27:22 markus Exp $"); */
14
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 *);
23
24int buffer_get_bignum(Buffer *, BIGNUM *);
25int buffer_get_bignum2(Buffer *, BIGNUM *);
26
27u_int buffer_get_int(Buffer *);
28void buffer_put_int(Buffer *, u_int);
29
30#ifdef HAVE_U_INT64_T
31u_int64_t buffer_get_int64(Buffer *);
32void buffer_put_int64(Buffer *, u_int64_t);
33#endif
34
35int buffer_get_char(Buffer *);
36
37void buffer_put_char(Buffer *, int);
38
39char *buffer_get_string(Buffer *, u_int *);
40
41void buffer_put_string(Buffer *, const void *, u_int);
42void buffer_put_cstring(Buffer *, const char *);
43
44#endif /* BUFAUX_H */
This page took 0.108333 seconds and 5 git commands to generate.