defines.h (126274) | defines.h (128456) |
---|---|
1/* 2 * Copyright (c) 1999-2003 Damien Miller. All rights reserved. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 1. Redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer. --- 11 unchanged lines hidden (view full) --- 20 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 */ 24 25#ifndef _DEFINES_H 26#define _DEFINES_H 27 | 1/* 2 * Copyright (c) 1999-2003 Damien Miller. All rights reserved. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 1. Redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer. --- 11 unchanged lines hidden (view full) --- 20 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 */ 24 25#ifndef _DEFINES_H 26#define _DEFINES_H 27 |
28/* $Id: defines.h,v 1.110 2004/02/10 02:01:14 dtucker Exp $ */ | 28/* $Id: defines.h,v 1.115 2004/04/14 07:24:30 dtucker Exp $ */ |
29 30 31/* Constants */ 32 33#ifndef SHUT_RDWR 34enum 35{ 36 SHUT_RD = 0, /* No more receptions. */ --- 465 unchanged lines hidden (view full) --- 502#endif 503#if defined(BROKEN_GETADDRINFO) && defined(HAVE_FREEADDRINFO) 504# undef HAVE_FREEADDRINFO 505#endif 506#if defined(BROKEN_GETADDRINFO) && defined(HAVE_GAI_STRERROR) 507# undef HAVE_GAI_STRERROR 508#endif 509 | 29 30 31/* Constants */ 32 33#ifndef SHUT_RDWR 34enum 35{ 36 SHUT_RD = 0, /* No more receptions. */ --- 465 unchanged lines hidden (view full) --- 502#endif 503#if defined(BROKEN_GETADDRINFO) && defined(HAVE_FREEADDRINFO) 504# undef HAVE_FREEADDRINFO 505#endif 506#if defined(BROKEN_GETADDRINFO) && defined(HAVE_GAI_STRERROR) 507# undef HAVE_GAI_STRERROR 508#endif 509 |
510#if defined(BROKEN_UPDWTMPX) && defined(HAVE_UPDWTMPX) 511# undef HAVE_UPDWTMPX 512#endif 513 |
|
510#if !defined(HAVE_MEMMOVE) && defined(HAVE_BCOPY) 511# define memmove(s1, s2, n) bcopy((s2), (s1), (n)) 512#endif /* !defined(HAVE_MEMMOVE) && defined(HAVE_BCOPY) */ 513 514#if defined(HAVE_VHANGUP) && !defined(HAVE_DEV_PTMX) 515# define USE_VHANGUP 516#endif /* defined(HAVE_VHANGUP) && !defined(HAVE_DEV_PTMX) */ 517 --- 11 unchanged lines hidden (view full) --- 529#elif !defined(HAVE___func__) 530# define __func__ "" 531#endif 532 533#if defined(KRB5) && !defined(HEIMDAL) 534# define krb5_get_err_text(context,code) error_message(code) 535#endif 536 | 514#if !defined(HAVE_MEMMOVE) && defined(HAVE_BCOPY) 515# define memmove(s1, s2, n) bcopy((s2), (s1), (n)) 516#endif /* !defined(HAVE_MEMMOVE) && defined(HAVE_BCOPY) */ 517 518#if defined(HAVE_VHANGUP) && !defined(HAVE_DEV_PTMX) 519# define USE_VHANGUP 520#endif /* defined(HAVE_VHANGUP) && !defined(HAVE_DEV_PTMX) */ 521 --- 11 unchanged lines hidden (view full) --- 533#elif !defined(HAVE___func__) 534# define __func__ "" 535#endif 536 537#if defined(KRB5) && !defined(HEIMDAL) 538# define krb5_get_err_text(context,code) error_message(code) 539#endif 540 |
541#if defined(SKEYCHALLENGE_4ARG) 542# define _compat_skeychallenge(a,b,c,d) skeychallenge(a,b,c,d) 543#else 544# define _compat_skeychallenge(a,b,c,d) skeychallenge(a,b,c) 545#endif 546 |
|
537/* Maximum number of file descriptors available */ 538#ifdef HAVE_SYSCONF 539# define SSH_SYSFDMAX sysconf(_SC_OPEN_MAX) 540#else 541# define SSH_SYSFDMAX 10000 542#endif 543 544 --- 61 unchanged lines hidden (view full) --- 606# define USE_WTMPX 607# endif 608# if defined(WTMP_FILE) && !defined(DISABLE_WTMP) 609# define USE_WTMP 610# endif 611 612#endif 613 | 547/* Maximum number of file descriptors available */ 548#ifdef HAVE_SYSCONF 549# define SSH_SYSFDMAX sysconf(_SC_OPEN_MAX) 550#else 551# define SSH_SYSFDMAX 10000 552#endif 553 554 --- 61 unchanged lines hidden (view full) --- 616# define USE_WTMPX 617# endif 618# if defined(WTMP_FILE) && !defined(DISABLE_WTMP) 619# define USE_WTMP 620# endif 621 622#endif 623 |
624#ifndef UT_LINESIZE 625# define UT_LINESIZE 8 626#endif 627 |
|
614/* I hope that the presence of LASTLOG_FILE is enough to detect this */ 615#if defined(LASTLOG_FILE) && !defined(DISABLE_LASTLOG) 616# define USE_LASTLOG 617#endif 618 | 628/* I hope that the presence of LASTLOG_FILE is enough to detect this */ 629#if defined(LASTLOG_FILE) && !defined(DISABLE_LASTLOG) 630# define USE_LASTLOG 631#endif 632 |
633#ifdef HAVE_OSF_SIA 634# ifdef USE_SHADOW 635# undef USE_SHADOW 636# endif 637# define CUSTOM_SYS_AUTH_PASSWD 1 638#endif 639 |
|
619/** end of login recorder definitions */ 620 621#endif /* _DEFINES_H */ | 640/** end of login recorder definitions */ 641 642#endif /* _DEFINES_H */ |