ezmlmx 0.68
ezmlmx
Loading...
Searching...
No Matches
ezmlm-store.c File Reference
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include "stralloc.h"
#include "error.h"
#include "qmail.h"
#include "env.h"
#include "lock.h"
#include "sig.h"
#include "open.h"
#include "getln.h"
#include "str.h"
#include "fmt.h"
#include "readwrite.h"
#include "wait.h"
#include "exit.h"
#include "buffer.h"
#include "getconf.h"
#include "datetime.h"
#include "now.h"
#include "cookie.h"
#include "getoptb.h"
#include "errtxt.h"
#include "byte.h"
#include "case.h"
#include "readclose.h"
#include "quote.h"
#include "hdr.h"
#include "idx.h"
#include "subscribe.h"
#include "mime.h"
#include "wrap.h"
#include "auto_version.h"
#include "logmsg.h"
#include "ezcopy.h"
#include "lockfile.h"
#include "ezmlm.h"
Include dependency graph for ezmlm-store.c:

Go to the source code of this file.

Macros

#define WHO   "ezmlm-store"

Functions

ssize_t qqwrite (int fd, char *buf, unsigned int len)
int subto (char *s, unsigned int l)
void makeacthash (stralloc *act)
int main (int argc, char **argv)

Variables

int flagmime = MOD_MIME
int flagpublic = 1
int flagself = 0
int flagconfirm = -1
char flagcd = '\0'
int flagbody = 1
stralloc fnmsg = {0}
int fdmsg
int fdmod
int pid
int match
char hash [COOKIE]
char hboundary [COOKIE]
datetime_sec when
struct stat st
stralloc outhost = {0}
stralloc outlocal = {0}
stralloc fnbase = {0}
stralloc line = {0}
stralloc mailinglist = {0}
stralloc mydtline = {0}
stralloc returnpath = {0}
stralloc accept = {0}
stralloc action = {0}
stralloc reject = {0}
stralloc quoted = {0}
stralloc key = {0}
stralloc subject = {0}
stralloc moderators = {0}
stralloc confirmpost = {0}
stralloc charset = {0}
stralloc sendopt = {0}
struct qmail qq
char qqbuf [1]
buffer bq = BUFFER_INIT(qqwrite,-1,qqbuf,sizeof(qqbuf))
buffer bi
char inbuf [1024]
buffer bo
char outbuf [1024]
buffer bt
char textbuf [512]
buffer bs
char subbuf [512]

Detailed Description

Author
Bruce Guenter
Date
2005-02-09 21:38:05Z

Definition in file ezmlm-store.c.

Macro Definition Documentation

◆ WHO

#define WHO   "ezmlm-store"

Definition at line 39 of file ezmlm-store.c.

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

Definition at line 139 of file ezmlm-store.c.

Here is the call graph for this function:

◆ makeacthash()

void makeacthash ( stralloc * act)

Definition at line 127 of file ezmlm-store.c.

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

◆ qqwrite()

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

Definition at line 95 of file ezmlm-store.c.

Here is the call graph for this function:

◆ subto()

int subto ( char * s,
unsigned int l )

Definition at line 101 of file ezmlm-store.c.

Here is the call graph for this function:

Variable Documentation

◆ accept

stralloc accept = {0}

Definition at line 83 of file ezmlm-store.c.

◆ action

stralloc action = {0}

Definition at line 84 of file ezmlm-store.c.

◆ bi

buffer bi

Definition at line 111 of file ezmlm-store.c.

◆ bo

buffer bo

Definition at line 113 of file ezmlm-store.c.

◆ bq

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

Definition at line 110 of file ezmlm-store.c.

◆ bs

buffer bs

Definition at line 117 of file ezmlm-store.c.

◆ bt

buffer bt

Definition at line 115 of file ezmlm-store.c.

◆ charset

stralloc charset = {0}

Definition at line 91 of file ezmlm-store.c.

◆ confirmpost

stralloc confirmpost = {0}

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

◆ fdmod

int fdmod

Definition at line 65 of file ezmlm-store.c.

◆ fdmsg

int fdmsg

Definition at line 64 of file ezmlm-store.c.

◆ flagbody

int flagbody = 1

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

◆ flagcd

char flagcd = '\0'

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

◆ flagconfirm

int flagconfirm = -1

Definition at line 53 of file ezmlm-store.c.

◆ flagmime

int flagmime = MOD_MIME

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

◆ flagpublic

int flagpublic = 1

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

◆ flagself

int flagself = 0

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

◆ fnbase

stralloc fnbase = {0}

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

◆ fnmsg

stralloc fnmsg = {0}

Definition at line 61 of file ezmlm-store.c.

◆ hash

char hash[COOKIE]

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

◆ hboundary

char hboundary[COOKIE]

Definition at line 71 of file ezmlm-store.c.

◆ inbuf

char inbuf[1024]

Definition at line 112 of file ezmlm-store.c.

◆ key

stralloc key = {0}

Definition at line 87 of file ezmlm-store.c.

◆ line

stralloc line = {0}

Definition at line 79 of file ezmlm-store.c.

◆ mailinglist

stralloc mailinglist = {0}

Definition at line 80 of file ezmlm-store.c.

◆ match

int match

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

◆ moderators

stralloc moderators = {0}

Definition at line 89 of file ezmlm-store.c.

◆ mydtline

stralloc mydtline = {0}

Definition at line 81 of file ezmlm-store.c.

◆ outbuf

char outbuf[1024]

Definition at line 114 of file ezmlm-store.c.

◆ outhost

stralloc outhost = {0}

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

◆ outlocal

stralloc outlocal = {0}

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

◆ pid

int pid

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

◆ qq

struct qmail qq

Definition at line 94 of file ezmlm-store.c.

◆ qqbuf

char qqbuf[1]

Definition at line 109 of file ezmlm-store.c.

◆ quoted

stralloc quoted = {0}

Definition at line 86 of file ezmlm-store.c.

◆ reject

stralloc reject = {0}

Definition at line 85 of file ezmlm-store.c.

◆ returnpath

stralloc returnpath = {0}

Definition at line 82 of file ezmlm-store.c.

◆ sendopt

stralloc sendopt = {0}

Definition at line 92 of file ezmlm-store.c.

◆ st

struct stat st

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

◆ subbuf

char subbuf[512]

Definition at line 118 of file ezmlm-store.c.

◆ subject

stralloc subject = {0}

Definition at line 88 of file ezmlm-store.c.

◆ textbuf

char textbuf[512]

Definition at line 116 of file ezmlm-store.c.

◆ when

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