diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2004-09-18 04:08:36 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2004-09-18 04:08:36 +0000 |
commit | f06c374d9ebfc93d41741cdb71cc8279b64c59b0 (patch) | |
tree | bc964fe6a044562cdc9afc917b647531dd6f2d04 /gnu/usr.sbin/sendmail/include | |
parent | 8665b934035fc50517e659380c682e6e04582855 (diff) |
Update to sendmail-8.13.1
Diffstat (limited to 'gnu/usr.sbin/sendmail/include')
-rw-r--r-- | gnu/usr.sbin/sendmail/include/libmilter/mfapi.h | 5 | ||||
-rw-r--r-- | gnu/usr.sbin/sendmail/include/libmilter/mfdef.h | 3 | ||||
-rw-r--r-- | gnu/usr.sbin/sendmail/include/sm/conf.h | 10 |
3 files changed, 15 insertions, 3 deletions
diff --git a/gnu/usr.sbin/sendmail/include/libmilter/mfapi.h b/gnu/usr.sbin/sendmail/include/libmilter/mfapi.h index 957726f4168..b208c035e72 100644 --- a/gnu/usr.sbin/sendmail/include/libmilter/mfapi.h +++ b/gnu/usr.sbin/sendmail/include/libmilter/mfapi.h @@ -7,7 +7,7 @@ * the sendmail distribution. * * - * $Sendmail: mfapi.h,v 8.58 2004/04/29 18:04:48 gshapiro Exp $ + * $Sendmail: mfapi.h,v 8.59 2004/07/07 21:41:31 ca Exp $ */ /* @@ -147,6 +147,9 @@ LIBMILTER_API int smfi_setdbg __P((int)); LIBMILTER_API int smfi_settimeout __P((int)); LIBMILTER_API int smfi_setconn __P((char *)); LIBMILTER_API int smfi_stop __P((void)); +#if _FFR_MAXDATASIZE +LIBMILTER_API size_t smfi_setmaxdatasize __P((size_t)); +#endif /* _FFR_MAXDATASIZE */ /* ** What the filter might do -- values to be ORed together for diff --git a/gnu/usr.sbin/sendmail/include/libmilter/mfdef.h b/gnu/usr.sbin/sendmail/include/libmilter/mfdef.h index faca3ecdc70..ef0d4585ea0 100644 --- a/gnu/usr.sbin/sendmail/include/libmilter/mfdef.h +++ b/gnu/usr.sbin/sendmail/include/libmilter/mfdef.h @@ -7,7 +7,7 @@ * the sendmail distribution. * * - * $Sendmail: mfdef.h,v 8.20 2004/06/16 17:45:49 ca Exp $ + * $Sendmail: mfdef.h,v 8.21 2004/07/07 21:41:31 ca Exp $ */ /* @@ -21,6 +21,7 @@ # define MILTER_LEN_BYTES 4 /* length of 32 bit integer in bytes */ # define MILTER_OPTLEN (MILTER_LEN_BYTES * 3) /* length of options */ # define MILTER_CHUNK_SIZE 65535 /* body chunk size */ +# define MILTER_MAX_DATA_SIZE 65535 /* default milter command data limit */ /* These apply to SMFIF_* flags */ #define SMFI_V1_ACTS 0x0000000FL /* The actions of V1 filter */ diff --git a/gnu/usr.sbin/sendmail/include/sm/conf.h b/gnu/usr.sbin/sendmail/include/sm/conf.h index e723e45a5d1..c5669b92a31 100644 --- a/gnu/usr.sbin/sendmail/include/sm/conf.h +++ b/gnu/usr.sbin/sendmail/include/sm/conf.h @@ -10,7 +10,7 @@ * the sendmail distribution. * * - * $Sendmail: conf.h,v 1.115 2004/06/07 23:53:43 ca Exp $ + * $Sendmail: conf.h,v 1.116 2004/07/26 18:08:35 ca Exp $ */ /* @@ -911,6 +911,14 @@ extern unsigned int sleepX __P((unsigned int seconds)); # if defined(__NetBSD__) && defined(__NetBSD_Version__) && __NetBSD_Version__ >= 104170000 # define HASSETUSERCONTEXT 1 /* BSDI-style login classes */ # endif +# if defined(__NetBSD__) && defined(__NetBSD_Version__) && __NetBSD_Version__ >= 200060000 +# define HASCLOSEFROM 1 /* closefrom(3) added in 2.0F */ +# endif +# if defined(__NetBSD__) +# define USESYSCTL 1 /* use sysctl(3) for getting ncpus */ +# include <sys/param.h> +# include <sys/sysctl.h> +# endif # if defined(__FreeBSD__) # define HASSETLOGIN 1 /* has setlogin(2) */ # if __FreeBSD_version >= 227001 |