Annotation of embedaddon/php/sapi/milter/php_milter.h, revision 1.1.1.1

1.1       misho       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>