summaryrefslogtreecommitdiffstats
path: root/contrib/sendmail/include/sendmail
diff options
context:
space:
mode:
authorgshapiro <gshapiro@FreeBSD.org>2002-02-17 22:51:21 +0000
committergshapiro <gshapiro@FreeBSD.org>2002-02-17 22:51:21 +0000
commit1a7e50d796833cbb4346a251bc88555ea2c58e94 (patch)
treeb9cd02f89c9a058a23c69993f5bd8accc6c27cef /contrib/sendmail/include/sendmail
parent8449595fe97f4474b9b9a7e4edee1ef35dcff393 (diff)
downloadFreeBSD-src-1a7e50d796833cbb4346a251bc88555ea2c58e94.zip
FreeBSD-src-1a7e50d796833cbb4346a251bc88555ea2c58e94.tar.gz
Remove files no longer part of the sendmail 8.12.2 distribution.
Diffstat (limited to 'contrib/sendmail/include/sendmail')
-rw-r--r--contrib/sendmail/include/sendmail/cdefs.h103
-rw-r--r--contrib/sendmail/include/sendmail/errstring.h73
-rw-r--r--contrib/sendmail/include/sendmail/useful.h63
3 files changed, 0 insertions, 239 deletions
diff --git a/contrib/sendmail/include/sendmail/cdefs.h b/contrib/sendmail/include/sendmail/cdefs.h
deleted file mode 100644
index bd7285bc..0000000
--- a/contrib/sendmail/include/sendmail/cdefs.h
+++ /dev/null
@@ -1,103 +0,0 @@
-/*
- * Copyright (c) 1991, 1993
- * The Regents of the University of California. 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: cdefs.h,v 8.5 1999/06/02 22:32:17 gshapiro Exp $
- * @(#)cdefs.h 8.8 (Berkeley) 1/9/95
- */
-
-#ifndef _CDEFS_H_
-# define _CDEFS_H_
-
-# if defined(__cplusplus)
-# define __BEGIN_DECLS extern "C" {
-# define __END_DECLS };
-# else /* defined(__cplusplus) */
-# define __BEGIN_DECLS
-# define __END_DECLS
-# endif /* defined(__cplusplus) */
-
-/*
- * The __CONCAT macro is used to concatenate parts of symbol names, e.g.
- * with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo.
- * The __CONCAT macro is a bit tricky -- make sure you don't put spaces
- * in between its arguments. __CONCAT can also concatenate double-quoted
- * strings produced by the __STRING macro, but this only works with ANSI C.
- */
-# if defined(__STDC__) || defined(__cplusplus)
-# define __P(protos) protos /* full-blown ANSI C */
-# ifndef __CONCAT
-# define __CONCAT(x,y) x ## y
-# endif /* ! __CONCAT */
-# define __STRING(x) #x
-
-# ifndef __const
-# define __const const /* define reserved names to standard */
-# endif /* ! __const */
-# define __signed signed
-# define __volatile volatile
-# if defined(__cplusplus)
-# define __inline inline /* convert to C++ keyword */
-# else /* defined(__cplusplus) */
-# ifndef __GNUC__
-# define __inline /* delete GCC keyword */
-# endif /* ! __GNUC__ */
-# endif /* defined(__cplusplus) */
-
-# else /* defined(__STDC__) || defined(__cplusplus) */
-# define __P(protos) () /* traditional C preprocessor */
-# ifndef __CONCAT
-# define __CONCAT(x,y) x/**/y
-# endif /* ! __CONCAT */
-# define __STRING(x) "x"
-
-# ifndef __GNUC__
-# define __const /* delete pseudo-ANSI C keywords */
-# define __inline
-# define __signed
-# define __volatile
-/*
- * In non-ANSI C environments, new programs will want ANSI-only C keywords
- * deleted from the program and old programs will want them left alone.
- * When using a compiler other than gcc, programs using the ANSI C keywords
- * const, inline etc. as normal identifiers should define -DNO_ANSI_KEYWORDS.
- * When using "gcc -traditional", we assume that this is the intent; if
- * __GNUC__ is defined but __STDC__ is not, we leave the new keywords alone.
- */
-# ifndef NO_ANSI_KEYWORDS
-# define const /* delete ANSI C keywords */
-# define inline
-# define signed
-# define volatile
-# endif /* ! NO_ANSI_KEYWORDS */
-# endif /* ! __GNUC__ */
-# endif /* defined(__STDC__) || defined(__cplusplus) */
-
-/*
- * GCC1 and some versions of GCC2 declare dead (non-returning) and
- * pure (no side effects) functions using "volatile" and "const";
- * unfortunately, these then cause warnings under "-ansi -pedantic".
- * GCC2 uses a new, peculiar __attribute__((attrs)) style. All of
- * these work for GNU C++ (modulo a slight glitch in the C++ grammar
- * in the distribution version of 2.5.5).
- */
-# if !defined(__GNUC__) || __GNUC__ < 2 || \
- (__GNUC__ == 2 && __GNUC_MINOR__ < 5)
-# define __attribute__(x) /* delete __attribute__ if non-gcc or gcc1 */
-# if defined(__GNUC__) && !defined(__STRICT_ANSI__)
-# define __dead __volatile
-# define __pure __const
-# endif /* defined(__GNUC__) && !defined(__STRICT_ANSI__) */
-# endif /* !defined(__GNUC__) || __GNUC__ < 2 || \ */
-
-/* Delete pseudo-keywords wherever they are not available or needed. */
-# ifndef __dead
-# define __dead
-# define __pure
-# endif /* ! __dead */
-
-#endif /* ! _CDEFS_H_ */
diff --git a/contrib/sendmail/include/sendmail/errstring.h b/contrib/sendmail/include/sendmail/errstring.h
deleted file mode 100644
index b3b2480..0000000
--- a/contrib/sendmail/include/sendmail/errstring.h
+++ /dev/null
@@ -1,73 +0,0 @@
-/*
- * Copyright (c) 1998-2000 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 8.6.4.1 2000/05/26 18:24:13 geir Exp $
- */
-
-/*
-** ERRSTRING.H -- Error codes.
-*/
-
-#include <errno.h>
-
-extern int errno;
-
-/*
-** These are used in a few cases where we need some special
-** error codes, but where the system doesn't provide something
-** reasonable. They are printed in errstring.
-*/
-
-#ifndef E_PSEUDOBASE
-# define E_PSEUDOBASE 256
-#endif /* ! E_PSEUDOBASE */
-
-#define E_SM_OPENTIMEOUT (E_PSEUDOBASE + 0) /* Timeout on file open */
-#define E_SM_NOSLINK (E_PSEUDOBASE + 1) /* Symbolic links not allowed */
-#define E_SM_NOHLINK (E_PSEUDOBASE + 2) /* Hard links not allowed */
-#define E_SM_REGONLY (E_PSEUDOBASE + 3) /* Regular files only */
-#define E_SM_ISEXEC (E_PSEUDOBASE + 4) /* Executable files not allowed */
-#define E_SM_WWDIR (E_PSEUDOBASE + 5) /* World writable directory */
-#define E_SM_GWDIR (E_PSEUDOBASE + 6) /* Group writable directory */
-#define E_SM_FILECHANGE (E_PSEUDOBASE + 7) /* File changed after open */
-#define E_SM_WWFILE (E_PSEUDOBASE + 8) /* World writable file */
-#define E_SM_GWFILE (E_PSEUDOBASE + 9) /* Group writable file */
-#define E_SM_GRFILE (E_PSEUDOBASE + 10) /* g readable file */
-#define E_SM_WRFILE (E_PSEUDOBASE + 11) /* o readable file */
-#define E_DNSBASE (E_PSEUDOBASE + 20) /* base for DNS h_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)
-#define SMDBE_GDBM_IS_BAD (E_SMDBBASE + 2)
-#define SMDBE_UNSUPPORTED (E_SMDBBASE + 3)
-#define SMDBE_DUPLICATE (E_SMDBBASE + 4)
-#define SMDBE_BAD_OPEN (E_SMDBBASE + 5)
-#define SMDBE_NOT_FOUND (E_SMDBBASE + 6)
-#define SMDBE_UNKNOWN_DB_TYPE (E_SMDBBASE + 7)
-#define SMDBE_UNSUPPORTED_DB_TYPE (E_SMDBBASE + 8)
-#define SMDBE_INCOMPLETE (E_SMDBBASE + 9)
-#define SMDBE_KEY_EMPTY (E_SMDBBASE + 10)
-#define SMDBE_KEY_EXIST (E_SMDBBASE + 11)
-#define SMDBE_LOCK_DEADLOCK (E_SMDBBASE + 12)
-#define SMDBE_LOCK_NOT_GRANTED (E_SMDBBASE + 13)
-#define SMDBE_LOCK_NOT_HELD (E_SMDBBASE + 14)
-#define SMDBE_RUN_RECOVERY (E_SMDBBASE + 15)
-#define SMDBE_IO_ERROR (E_SMDBBASE + 16)
-#define SMDBE_READ_ONLY (E_SMDBBASE + 17)
-#define SMDBE_DB_NAME_TOO_LONG (E_SMDBBASE + 18)
-#define SMDBE_INVALID_PARAMETER (E_SMDBBASE + 19)
-#define SMDBE_ONLY_SUPPORTS_ONE_CURSOR (E_SMDBBASE + 20)
-#define SMDBE_NOT_A_VALID_CURSOR (E_SMDBBASE + 21)
-#define SMDBE_LAST_ENTRY (E_SMDBBASE + 22)
-#define SMDBE_OLD_VERSION (E_SMDBBASE + 23)
-
-extern const char *errstring __P((int));
diff --git a/contrib/sendmail/include/sendmail/useful.h b/contrib/sendmail/include/sendmail/useful.h
deleted file mode 100644
index 55ba407..0000000
--- a/contrib/sendmail/include/sendmail/useful.h
+++ /dev/null
@@ -1,63 +0,0 @@
-/*
- * Copyright (c) 1998, 1999 Sendmail, Inc. and its suppliers.
- * All rights reserved.
- * Copyright (c) 1995-1997 Eric P. Allman. All rights reserved.
- * Copyright (c) 1988, 1993
- * The Regents of the University of California. 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: useful.h,v 8.18 1999/07/13 15:05:57 ca Exp $
- */
-
-#ifndef _USEFUL_H
-# define _USEFUL_H
-
-# include <sys/types.h>
-
-/* support for bool type */
-typedef int bool;
-# ifndef TRUE
-# define TRUE 1
-# define FALSE 0
-# endif /* ! TRUE */
-
-# ifndef NULL
-# define NULL 0
-# endif /* ! NULL */
-
-/* bit hacking */
-# define bitset(bit, word) (((word) & (bit)) != 0)
-
-/* some simple functions */
-# ifndef max
-# define max(a, b) ((a) > (b) ? (a) : (b))
-# define min(a, b) ((a) < (b) ? (a) : (b))
-# endif /* ! max */
-
-/* assertions */
-# ifndef NASSERT
-# define ASSERT(expr, msg, parm)\
- if (!(expr))\
- {\
- fprintf(stderr, "assertion botch: %s:%d: ", __FILE__, __LINE__);\
- fprintf(stderr, msg, parm);\
- }
-# else /* ! NASSERT */
-# define ASSERT(expr, msg, parm)
-# endif /* ! NASSERT */
-
-/* sccs id's */
-# ifndef lint
-# ifdef __STDC__
-# define SCCSID(arg) static char SccsId[] = #arg;
-# else /* __STDC__ */
-# define SCCSID(arg) static char SccsId[] = "arg";
-# endif /* __STDC__ */
-# else /* ! lint */
-# define SCCSID(arg)
-# endif /* ! lint */
-#endif /* ! _USEFUL_H */
OpenPOWER on IntegriCloud