Back to index

php5  5.3.10
php_milter.h
Go to the documentation of this file.
00001 #ifndef PHP_MILTER_H
00002 #define PHP_MILTER_H
00003 
00004 #include "libmilter/mfapi.h"
00005 
00006 #define MLFI_NONE           0
00007 #define MLFI_CONNECT 1
00008 #define MLFI_HELO           2
00009 #define MLFI_ENVFROM 3
00010 #define MLFI_ENVRCPT 4
00011 #define MLFI_HEADER         5
00012 #define MLFI_EOH            6
00013 #define MLFI_BODY           7
00014 #define MLFI_EOM            8
00015 #define MLFI_ABORT          9
00016 #define MLFI_CLOSE          10
00017 #define MLFI_INIT           11
00018 
00019 #define MG(v)  TSRMG(milter_globals_id, zend_milter_globals *, v)
00020 
00021 typedef struct {
00022     pthread_t thread;
00023        MUTEX_T receiver;
00024        MUTEX_T sender;
00025        SMFICTX *ctx;
00026        sfsistat retval;
00027        int message;
00028        void **args;
00029 } worker_thread;
00030 
00031 #endif