1/*
2 *
3 * packet.h
4 *
5 * Author: Tatu Ylonen <ylo@cs.hut.fi>
6 *
7 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
8 * All rights reserved
9 *
10 * Created: Sat Mar 18 02:02:14 1995 ylo
11 *
12 * Interface for the packet protocol functions.
13 *
14 * $FreeBSD: head/crypto/openssh/packet.h 57464 2000-02-25 01:53:12Z green $
15 */
16
17/* RCSID("$Id: packet.h,v 1.9 2000/01/04 16:54:58 markus Exp $"); */
18
19#ifndef PACKET_H
20#define PACKET_H
21
22#include <openssl/bn.h>
23
24/*
25 * Sets the socket used for communication. Disables encryption until
26 * packet_set_encryption_key is called. It is permissible that fd_in and
27 * fd_out are the same descriptor; in that case it is assumed to be a socket.
28 */
29void packet_set_connection(int fd_in, int fd_out);
30
--- 169 unchanged lines hidden ---
2 *
3 * packet.h
4 *
5 * Author: Tatu Ylonen <ylo@cs.hut.fi>
6 *
7 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
8 * All rights reserved
9 *
10 * Created: Sat Mar 18 02:02:14 1995 ylo
11 *
12 * Interface for the packet protocol functions.
13 *
14 * $FreeBSD: head/crypto/openssh/packet.h 57464 2000-02-25 01:53:12Z green $
15 */
16
17/* RCSID("$Id: packet.h,v 1.9 2000/01/04 16:54:58 markus Exp $"); */
18
19#ifndef PACKET_H
20#define PACKET_H
21
22#include <openssl/bn.h>
23
24/*
25 * Sets the socket used for communication. Disables encryption until
26 * packet_set_encryption_key is called. It is permissible that fd_in and
27 * fd_out are the same descriptor; in that case it is assumed to be a socket.
28 */
29void packet_set_connection(int fd_in, int fd_out);
30
--- 169 unchanged lines hidden ---