diff options
| author | atatat <atatat@NetBSD.org> | 2004-03-25 18:57:22 +0000 |
|---|---|---|
| committer | atatat <atatat@NetBSD.org> | 2004-03-25 18:57:22 +0000 |
| commit | 8d2f43c39d67e8a64dfe068bb102054665f41cbb (patch) | |
| tree | ace58bd013ba84dd647d9e6c40a28722ed005e25 /gnu/dist/sendmail/include | |
| parent | 27b002601fb418612f49bfe8ee6330de97981985 (diff) | |
sendmail 8.12.11
Diffstat (limited to 'gnu/dist/sendmail/include')
| -rw-r--r-- | gnu/dist/sendmail/include/sm/errstring.h | 14 | ||||
| -rw-r--r-- | gnu/dist/sendmail/include/sm/io.h | 17 | ||||
| -rw-r--r-- | gnu/dist/sendmail/include/sm/os/sm_os_aix.h | 10 | ||||
| -rw-r--r-- | gnu/dist/sendmail/include/sm/shm.h | 7 |
4 files changed, 32 insertions, 16 deletions
diff --git a/gnu/dist/sendmail/include/sm/errstring.h b/gnu/dist/sendmail/include/sm/errstring.h index 5cead554728..4a77dcea0b1 100644 --- a/gnu/dist/sendmail/include/sm/errstring.h +++ b/gnu/dist/sendmail/include/sm/errstring.h @@ -1,14 +1,13 @@ -/* $NetBSD: errstring.h,v 1.1.1.2 2003/06/01 14:01:33 atatat Exp $ */ +/* $NetBSD: errstring.h,v 1.1.1.3 2004/03/25 19:01:45 atatat Exp $ */ /* - * Copyright (c) 1998-2001 Sendmail, Inc. and its suppliers. + * Copyright (c) 1998-2001, 2003 Sendmail, Inc. and its suppliers. * All rights reserved. * * By using this file, you agree to the terms and conditions set * forth in the LICENSE file which can be found at the top level of * the sendmail distribution. * - * - * Id: errstring.h,v 1.4 2001/06/07 20:04:53 ca Exp + * Id: errstring.h,v 1.4.4.3 2003/06/24 17:16:10 ca Exp */ /* @@ -47,6 +46,7 @@ extern int errno; #define E_SMDBBASE (E_PSEUDOBASE + 40) /* base for libsmdb errors */ #define E_LDAPBASE (E_PSEUDOBASE + 70) /* base for LDAP errors */ + /* libsmdb */ #define SMDBE_OK 0 #define SMDBE_MALLOC (E_SMDBBASE + 1) @@ -72,9 +72,9 @@ extern int errno; #define SMDBE_NOT_A_VALID_CURSOR (E_SMDBBASE + 21) #define SMDBE_LAST_ENTRY (E_SMDBBASE + 22) #define SMDBE_OLD_VERSION (E_SMDBBASE + 23) +#define SMDBE_VERSION_MISMATCH (E_SMDBBASE + 24) + +extern const char *sm_errstring __P((int _errno)); -extern const char * -sm_errstring __P(( - int _errno)); #endif /* SM_ERRSTRING_H */ diff --git a/gnu/dist/sendmail/include/sm/io.h b/gnu/dist/sendmail/include/sm/io.h index b24d809e8cc..48633de2b89 100644 --- a/gnu/dist/sendmail/include/sm/io.h +++ b/gnu/dist/sendmail/include/sm/io.h @@ -1,6 +1,6 @@ -/* $NetBSD: io.h,v 1.1.1.2 2003/06/01 14:01:33 atatat Exp $ */ +/* $NetBSD: io.h,v 1.1.1.3 2004/03/25 19:01:57 atatat Exp $ */ /* - * Copyright (c) 2000-2002 Sendmail, Inc. and its suppliers. + * Copyright (c) 2000-2003 Sendmail, Inc. and its suppliers. * All rights reserved. * Copyright (c) 1990 * The Regents of the University of California. All rights reserved. @@ -12,7 +12,7 @@ * forth in the LICENSE file which can be found at the top level of * the sendmail distribution. * - * Id: io.h,v 1.23 2002/02/23 19:32:17 gshapiro Exp + * Id: io.h,v 1.23.2.2 2003/09/05 20:35:28 ca Exp */ /*- @@ -34,6 +34,17 @@ #define SM_IO_APPENDRW 5 /* read-write from eof */ #define SM_IO_RDWRTR 6 /* read-write with truncation indicated */ +# define SM_IO_BINARY 0x0 /* binary mode: not used in Unix */ +#define SM_IS_BINARY(mode) ((mode) & SM_IO_BINARY != 0) +#define SM_IO_MODE(mode) ((mode) & 0x0f) + +#define SM_IO_RDWR_B (SM_IO_RDWR|SM_IO_BINARY) +#define SM_IO_RDONLY_B (SM_IO_RDONLY|SM_IO_BINARY) +#define SM_IO_WRONLY_B (SM_IO_WRONLY|SM_IO_BINARY) +#define SM_IO_APPEND_B (SM_IO_APPEND|SM_IO_BINARY) +#define SM_IO_APPENDRW_B (SM_IO_APPENDRW|SM_IO_BINARY) +#define SM_IO_RDWRTR_B (SM_IO_RDWRTR|SM_IO_BINARY) + /* for sm_io_fseek, et al api's (exposed) */ #define SM_IO_SEEK_SET 0 #define SM_IO_SEEK_CUR 1 diff --git a/gnu/dist/sendmail/include/sm/os/sm_os_aix.h b/gnu/dist/sendmail/include/sm/os/sm_os_aix.h index 7af784645d3..435015ef4a2 100644 --- a/gnu/dist/sendmail/include/sm/os/sm_os_aix.h +++ b/gnu/dist/sendmail/include/sm/os/sm_os_aix.h @@ -1,13 +1,13 @@ -/* $NetBSD: sm_os_aix.h,v 1.1.1.2 2003/06/01 14:01:33 atatat Exp $ */ +/* $NetBSD: sm_os_aix.h,v 1.1.1.3 2004/03/25 19:01:58 atatat Exp $ */ /* - * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers. + * Copyright (c) 2000-2001, 2003 Sendmail, Inc. and its suppliers. * All rights reserved. * * By using this file, you agree to the terms and conditions set * forth in the LICENSE file which can be found at the top level of * the sendmail distribution. * - * Id: sm_os_aix.h,v 1.9 2001/10/09 23:12:13 ca Exp + * Id: sm_os_aix.h,v 1.9.2.1 2003/04/28 23:11:07 ca Exp */ /* @@ -34,3 +34,7 @@ # endif /* SM_CONF_SYSLOG */ # endif /* ! _AIX4 */ #endif /* _AIX3 */ + +#if _AIX5 >= 50200 +# define SM_CONF_LONGLONG 1 +#endif /* _AIX5 >= 50200 */ diff --git a/gnu/dist/sendmail/include/sm/shm.h b/gnu/dist/sendmail/include/sm/shm.h index ece3afaffcd..b1a04c37b9a 100644 --- a/gnu/dist/sendmail/include/sm/shm.h +++ b/gnu/dist/sendmail/include/sm/shm.h @@ -1,13 +1,13 @@ -/* $NetBSD: shm.h,v 1.1.1.2 2003/06/01 14:01:33 atatat Exp $ */ +/* $NetBSD: shm.h,v 1.1.1.3 2004/03/25 19:01:57 atatat Exp $ */ /* - * Copyright (c) 2000-2002 Sendmail, Inc. and its suppliers. + * Copyright (c) 2000-2003 Sendmail, Inc. and its suppliers. * All rights reserved. * * By using this file, you agree to the terms and conditions set * forth in the LICENSE file which can be found at the top level of * the sendmail distribution. * - * Id: shm.h,v 1.8 2002/04/10 23:11:35 ca Exp + * Id: shm.h,v 1.8.2.2 2003/05/17 18:34:16 ca Exp */ #ifndef SM_SHM_H @@ -30,6 +30,7 @@ extern void *sm_shmstart __P((key_t, int , int , int *, bool)); extern int sm_shmstop __P((void *, int, bool)); + /* for those braindead systems... (e.g., SunOS 4) */ # ifndef SHM_R # define SHM_R 0400 |
