Deleted Added
full compact
libmilter.h (111823) libmilter.h (120256)
1/*
2 * Copyright (c) 1999-2003 Sendmail, Inc. and its suppliers.
3 * All rights reserved.
4 *
5 * By using this file, you agree to the terms and conditions set
6 * forth in the LICENSE file which can be found at the top level of
7 * the sendmail distribution.
8 */

--- 5 unchanged lines hidden (view full) ---

14#ifndef _LIBMILTER_H
15# define _LIBMILTER_H 1
16
17#include <sm/gen.h>
18
19#ifdef _DEFINE
20# define EXTERN
21# define INIT(x) = x
1/*
2 * Copyright (c) 1999-2003 Sendmail, Inc. and its suppliers.
3 * All rights reserved.
4 *
5 * By using this file, you agree to the terms and conditions set
6 * forth in the LICENSE file which can be found at the top level of
7 * the sendmail distribution.
8 */

--- 5 unchanged lines hidden (view full) ---

14#ifndef _LIBMILTER_H
15# define _LIBMILTER_H 1
16
17#include <sm/gen.h>
18
19#ifdef _DEFINE
20# define EXTERN
21# define INIT(x) = x
22SM_IDSTR(MilterlId, "@(#)$Id: libmilter.h,v 8.33.2.9 2003/01/03 22:14:40 ca Exp $")
22SM_IDSTR(MilterlId, "@(#)$Id: libmilter.h,v 8.33.2.12 2003/09/08 21:39:55 yuri Exp $")
23#else /* _DEFINE */
24# define EXTERN extern
25# define INIT(x)
26#endif /* _DEFINE */
27
28
29#define NOT_SENDMAIL 1
30#define _SOCK_ADDR union bigsockaddr

--- 115 unchanged lines hidden (view full) ---

146#define SMFIC_RECVERR ((char) 4) /* recv() error */
147#define SMFIC_EOF ((char) 5) /* eof */
148#define SMFIC_UNKNERR ((char) 6) /* unknown error */
149#define SMFIC_TOOBIG ((char) 7) /* body chunk too big */
150#define SMFIC_VALIDCMD ' ' /* first valid command */
151
152/* hack */
153#define smi_log syslog
23#else /* _DEFINE */
24# define EXTERN extern
25# define INIT(x)
26#endif /* _DEFINE */
27
28
29#define NOT_SENDMAIL 1
30#define _SOCK_ADDR union bigsockaddr

--- 115 unchanged lines hidden (view full) ---

146#define SMFIC_RECVERR ((char) 4) /* recv() error */
147#define SMFIC_EOF ((char) 5) /* eof */
148#define SMFIC_UNKNERR ((char) 6) /* unknown error */
149#define SMFIC_TOOBIG ((char) 7) /* body chunk too big */
150#define SMFIC_VALIDCMD ' ' /* first valid command */
151
152/* hack */
153#define smi_log syslog
154#define sm_dprintf printf
154#define sm_dprintf (void) printf
155#define milter_ret int
156#define SMI_LOG_ERR LOG_ERR
157#define SMI_LOG_FATAL LOG_ERR
158#define SMI_LOG_WARN LOG_WARNING
159#define SMI_LOG_INFO LOG_INFO
160#define SMI_LOG_DEBUG LOG_DEBUG
161
162/* stop? */

--- 25 unchanged lines hidden ---
155#define milter_ret int
156#define SMI_LOG_ERR LOG_ERR
157#define SMI_LOG_FATAL LOG_ERR
158#define SMI_LOG_WARN LOG_WARNING
159#define SMI_LOG_INFO LOG_INFO
160#define SMI_LOG_DEBUG LOG_DEBUG
161
162/* stop? */

--- 25 unchanged lines hidden ---