libmilter.h (058561cbaa119a6f2659bc27ef343e1b47266bb2) libmilter.h (e9af4bc0b1cc30cea75d6ad4aa2fde97d985e9be)
1/*
2 * Copyright (c) 1999-2003, 2006 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 */
9
10/*
11** LIBMILTER.H -- include file for mail filter library functions
12*/
13
14#ifndef _LIBMILTER_H
15# define _LIBMILTER_H 1
16
1/*
2 * Copyright (c) 1999-2003, 2006 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 */
9
10/*
11** LIBMILTER.H -- include file for mail filter library functions
12*/
13
14#ifndef _LIBMILTER_H
15# define _LIBMILTER_H 1
16
17#pragma ident "%Z%%M% %I% %E% SMI"
18
19#include <sm/gen.h>
20
21#ifdef _DEFINE
22# define EXTERN
23# define INIT(x) = x
17#include <sm/gen.h>
18
19#ifdef _DEFINE
20# define EXTERN
21# define INIT(x) = x
24SM_IDSTR(MilterlId, "@(#)$Id: libmilter.h,v 8.74 2006/12/19 18:19:52 ca Exp $")
22SM_IDSTR(MilterlId, "@(#)$Id: libmilter.h,v 8.77 2008/11/25 18:28:18 ca Exp $")
25#else /* _DEFINE */
26# define EXTERN extern
27# define INIT(x)
28#endif /* _DEFINE */
29
30
31#include "sm/tailq.h"
32

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

279#define MILTER_STOP 1
280#define MILTER_ABRT 2
281
282/* functions */
283extern int mi_handle_session __P((SMFICTX_PTR));
284extern int mi_engine __P((SMFICTX_PTR));
285extern int mi_listener __P((char *, int, smfiDesc_ptr, time_t, int));
286extern void mi_clr_macros __P((SMFICTX_PTR, int));
23#else /* _DEFINE */
24# define EXTERN extern
25# define INIT(x)
26#endif /* _DEFINE */
27
28
29#include "sm/tailq.h"
30

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

277#define MILTER_STOP 1
278#define MILTER_ABRT 2
279
280/* functions */
281extern int mi_handle_session __P((SMFICTX_PTR));
282extern int mi_engine __P((SMFICTX_PTR));
283extern int mi_listener __P((char *, int, smfiDesc_ptr, time_t, int));
284extern void mi_clr_macros __P((SMFICTX_PTR, int));
285extern void mi_clr_ctx __P((SMFICTX_PTR));
287extern int mi_stop __P((void));
288extern int mi_control_startup __P((char *));
289extern void mi_stop_milters __P((int));
290extern void mi_clean_signals __P((void));
291extern struct hostent *mi_gethostbyname __P((char *, int));
292extern int mi_inet_pton __P((int, const char *, void *));
293extern void mi_closener __P((void));
294extern int mi_opensocket __P((char *, int, int, bool, smfiDesc_ptr));

--- 42 unchanged lines hidden ---
286extern int mi_stop __P((void));
287extern int mi_control_startup __P((char *));
288extern void mi_stop_milters __P((int));
289extern void mi_clean_signals __P((void));
290extern struct hostent *mi_gethostbyname __P((char *, int));
291extern int mi_inet_pton __P((int, const char *, void *));
292extern void mi_closener __P((void));
293extern int mi_opensocket __P((char *, int, int, bool, smfiDesc_ptr));

--- 42 unchanged lines hidden ---