date and time created 91/02/28 22:01:32 by dab
[unix-history] / usr / src / lib / libtelnet / misc-proto.h
CommitLineData
a7170e9c
DB
1/*-
2 * Copyright (c) 1991 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * %sccs.include.redist.c%
6 *
7 * @(#)misc-proto.h 5.1 (Berkeley) %G%
8 */
9
10/*
11 * Copyright (C) 1990 by the Massachusetts Institute of Technology
12 *
13 * Export of this software from the United States of America is assumed
14 * to require a specific license from the United States Government.
15 * It is the responsibility of any person or organization contemplating
16 * export to obtain such a license before exporting.
17 *
18 * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
19 * distribute this software and its documentation for any purpose and
20 * without fee is hereby granted, provided that the above copyright
21 * notice appear in all copies and that both that copyright notice and
22 * this permission notice appear in supporting documentation, and that
23 * the name of M.I.T. not be used in advertising or publicity pertaining
24 * to distribution of the software without specific, written prior
25 * permission. M.I.T. makes no representations about the suitability of
26 * this software for any purpose. It is provided "as is" without express
27 * or implied warranty.
28 */
29
30#ifndef __MISC_PROTO__
31#define __MISC_PROTO__
32
33#if !defined(P)
34#ifdef __STDC__
35#define P(x) x
36#else
37#define P(x) ()
38#endif
39#endif
40
41void auth_encrypt_init P((char *, char *, char *, int));
42void auth_encrypt_connect P((int));
43void printd P((unsigned char *, int));
44
45/*
46 * These functions are imported from the application
47 */
48int net_write P((unsigned char *, int));
49void net_encrypt P((void));
50int telnet_spin P((void));
51char *telnet_getenv P((char *));
52char *telnet_gets P((char *, char *, int, int));
53#endif