ezmlmx 0.68
ezmlmx
Loading...
Searching...
No Matches
ezmlm-reject.c File Reference
#include <unistd.h>
#include "buffer.h"
#include "byte.h"
#include "case.h"
#include "str.h"
#include "readwrite.h"
#include "stralloc.h"
#include "getln.h"
#include "getoptb.h"
#include "getconf.h"
#include "constmap.h"
#include "fmt.h"
#include "qmail.h"
#include "seek.h"
#include "scan.h"
#include "env.h"
#include "errtxt.h"
#include "idx.h"
#include "auto_version.h"
#include "logmsg.h"
#include "ezmlm.h"
Include dependency graph for ezmlm-reject.c:

Go to the source code of this file.

Macros

#define WHO   "ezmlm-reject"

Functions

ssize_t qqwrite (int fd, char *buf, unsigned int len)
unsigned int findlocal (stralloc *sa, unsigned int n)
unsigned int findhost (stralloc *sa, unsigned int n)
int getto (stralloc *sa)
int main (int argc, char **argv)

Variables

int flagrejectcommands = 1
int flagneedsubject = 1
int flagtook = 0
int exitquiet = 100
int flagheaderreject = 0
int flagbody = 0
int flagforward = 0
int flagparsemime = 0
int flaghavesubject = 0
int flaghavecommand = 0
int flagcheck = 0
stralloc mimeremove = {0}
stralloc mimereject = {0}
stralloc headerreject = {0}
struct constmap mimeremovemap
struct constmap mimerejectmap
struct constmap headerrejectmap
char strnum [FMT_ULONG]
char inbuf [256]
buffer bi = BUFFER_INIT(read,0,inbuf,(int) sizeof(inbuf))
buffer bj = BUFFER_INIT(read,0,inbuf,(int) sizeof(inbuf))
struct qmail qq
char qqbuf [256]
buffer bq = BUFFER_INIT(qqwrite,-1,qqbuf,(int) sizeof(qqbuf))
stralloc outhost = {0}
stralloc outlocal = {0}
stralloc line = {0}
stralloc to = {0}
stralloc content = {0}
stralloc subject = {0}
stralloc boundary = {0}
stralloc precd = {0}
stralloc mydtline = {0}

Detailed Description

Author
Bruce Guenter
Date
2005-01-11 21:20:15Z

Definition in file ezmlm-reject.c.

Macro Definition Documentation

◆ WHO

#define WHO   "ezmlm-reject"

Definition at line 23 of file ezmlm-reject.c.

Function Documentation

◆ findhost()

unsigned int findhost ( stralloc * sa,
unsigned int n )

Definition at line 124 of file ezmlm-reject.c.

Here is the caller graph for this function:

◆ findlocal()

unsigned int findlocal ( stralloc * sa,
unsigned int n )

Definition at line 90 of file ezmlm-reject.c.

Here is the caller graph for this function:

◆ getto()

int getto ( stralloc * sa)

Definition at line 160 of file ezmlm-reject.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ main()

int main ( int argc,
char ** argv )

Definition at line 182 of file ezmlm-reject.c.

Here is the call graph for this function:

◆ qqwrite()

ssize_t qqwrite ( int fd,
char * buf,
unsigned int len )

Definition at line 60 of file ezmlm-reject.c.

Here is the call graph for this function:

Variable Documentation

◆ bi

buffer bi = BUFFER_INIT(read,0,inbuf,(int) sizeof(inbuf))

Definition at line 56 of file ezmlm-reject.c.

◆ bj

buffer bj = BUFFER_INIT(read,0,inbuf,(int) sizeof(inbuf))

Definition at line 57 of file ezmlm-reject.c.

◆ boundary

stralloc boundary = {0}

Definition at line 76 of file ezmlm-reject.c.

◆ bq

buffer bq = BUFFER_INIT(qqwrite,-1,qqbuf,(int) sizeof(qqbuf))

Definition at line 67 of file ezmlm-reject.c.

◆ content

stralloc content = {0}

Definition at line 74 of file ezmlm-reject.c.

◆ exitquiet

int exitquiet = 100

Definition at line 34 of file ezmlm-reject.c.

◆ flagbody

int flagbody = 0

Definition at line 38 of file ezmlm-reject.c.

◆ flagcheck

int flagcheck = 0

Definition at line 44 of file ezmlm-reject.c.

◆ flagforward

int flagforward = 0

Definition at line 40 of file ezmlm-reject.c.

◆ flaghavecommand

int flaghavecommand = 0

Definition at line 43 of file ezmlm-reject.c.

◆ flaghavesubject

int flaghavesubject = 0

Definition at line 42 of file ezmlm-reject.c.

◆ flagheaderreject

int flagheaderreject = 0

Definition at line 36 of file ezmlm-reject.c.

◆ flagneedsubject

int flagneedsubject = 1

Definition at line 32 of file ezmlm-reject.c.

◆ flagparsemime

int flagparsemime = 0

Definition at line 41 of file ezmlm-reject.c.

◆ flagrejectcommands

int flagrejectcommands = 1

Definition at line 31 of file ezmlm-reject.c.

◆ flagtook

int flagtook = 0

Definition at line 33 of file ezmlm-reject.c.

◆ headerreject

stralloc headerreject = {0}

Definition at line 48 of file ezmlm-reject.c.

◆ headerrejectmap

struct constmap headerrejectmap

Definition at line 52 of file ezmlm-reject.c.

◆ inbuf

char inbuf[256]

Definition at line 55 of file ezmlm-reject.c.

◆ line

stralloc line = {0}

Definition at line 72 of file ezmlm-reject.c.

◆ mimereject

stralloc mimereject = {0}

Definition at line 47 of file ezmlm-reject.c.

◆ mimerejectmap

struct constmap mimerejectmap

Definition at line 51 of file ezmlm-reject.c.

◆ mimeremove

stralloc mimeremove = {0}

Definition at line 46 of file ezmlm-reject.c.

◆ mimeremovemap

struct constmap mimeremovemap

Definition at line 50 of file ezmlm-reject.c.

◆ mydtline

stralloc mydtline = {0}

Definition at line 78 of file ezmlm-reject.c.

◆ outhost

stralloc outhost = {0}

Definition at line 69 of file ezmlm-reject.c.

◆ outlocal

stralloc outlocal = {0}

Definition at line 70 of file ezmlm-reject.c.

◆ precd

stralloc precd = {0}

Definition at line 77 of file ezmlm-reject.c.

◆ qq

struct qmail qq

Definition at line 59 of file ezmlm-reject.c.

◆ qqbuf

char qqbuf[256]

Definition at line 66 of file ezmlm-reject.c.

◆ strnum

char strnum[FMT_ULONG]

Definition at line 54 of file ezmlm-reject.c.

◆ subject

stralloc subject = {0}

Definition at line 75 of file ezmlm-reject.c.

◆ to

stralloc to = {0}

Definition at line 73 of file ezmlm-reject.c.