misc.c (63248) | misc.c (81965) |
---|---|
1/*- 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 22 unchanged lines hidden (view full) --- 31 * SUCH DAMAGE. 32 */ 33 34#ifndef lint 35#if 0 36static const char sccsid[] = "@(#)misc.c 8.1 (Berkeley) 6/4/93"; 37#else 38static const char rcsid[] = | 1/*- 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 22 unchanged lines hidden (view full) --- 31 * SUCH DAMAGE. 32 */ 33 34#ifndef lint 35#if 0 36static const char sccsid[] = "@(#)misc.c 8.1 (Berkeley) 6/4/93"; 37#else 38static const char rcsid[] = |
39 "$FreeBSD: head/contrib/telnet/libtelnet/misc.c 63248 2000-07-16 05:48:49Z peter $"; | 39 "$FreeBSD: head/contrib/telnet/libtelnet/misc.c 81965 2001-08-20 12:28:40Z markm $"; |
40#endif 41#endif /* not lint */ 42 43#include <stdio.h> 44#include <stdlib.h> 45#include "misc.h" | 40#endif 41#endif /* not lint */ 42 43#include <stdio.h> 44#include <stdlib.h> 45#include "misc.h" |
46#if defined(AUTHENTICATION) |
|
46#include "auth.h" | 47#include "auth.h" |
48#endif 49#ifdef ENCRYPTION |
|
47#include "encrypt.h" | 50#include "encrypt.h" |
51#endif /* ENCRYPTION */ |
|
48 49char *RemoteHostName; 50char *LocalHostName; 51char *UserNameRequested = 0; 52int ConnectedCount = 0; 53 54 void 55auth_encrypt_init(local, remote, name, server) --- 48 unchanged lines hidden --- | 52 53char *RemoteHostName; 54char *LocalHostName; 55char *UserNameRequested = 0; 56int ConnectedCount = 0; 57 58 void 59auth_encrypt_init(local, remote, name, server) --- 48 unchanged lines hidden --- |