File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / sapi / milter / php_milter.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 23:48:06 2012 UTC (12 years, 4 months ago) by misho
Branches: php, MAIN
CVS tags: v5_4_3elwix, v5_4_29p0, v5_4_29, v5_4_20p0, v5_4_20, v5_4_17p0, v5_4_17, v5_3_10, HEAD
php

    1: #ifndef PHP_MILTER_H
    2: #define PHP_MILTER_H
    3: 
    4: #include "libmilter/mfapi.h"
    5: 
    6: #define MLFI_NONE		0
    7: #define MLFI_CONNECT	1
    8: #define MLFI_HELO		2
    9: #define MLFI_ENVFROM	3
   10: #define MLFI_ENVRCPT	4
   11: #define MLFI_HEADER		5
   12: #define MLFI_EOH		6
   13: #define MLFI_BODY		7
   14: #define MLFI_EOM		8
   15: #define MLFI_ABORT		9
   16: #define MLFI_CLOSE		10
   17: #define MLFI_INIT		11
   18: 
   19: #define MG(v)  TSRMG(milter_globals_id, zend_milter_globals *, v)
   20: 
   21: typedef struct {
   22:     pthread_t thread;
   23: 	MUTEX_T receiver;
   24: 	MUTEX_T sender;
   25: 	SMFICTX *ctx;
   26: 	sfsistat retval;
   27: 	int message;
   28: 	void **args;
   29: } worker_thread;
   30: 
   31: #endif

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>