s/qmail 4.2.29a
Next generation secure email transport
Loading...
Searching...
No Matches
Macros | Functions | Variables
maildirwatch.c File Reference
#include <unistd.h>
#include "getln.h"
#include "buffer.h"
#include "prioq.h"
#include "stralloc.h"
#include "str.h"
#include "exit.h"
#include "hfield.h"
#include "logmsg.h"
#include "open.h"
#include "headerbody.h"
#include "maildir.h"
Include dependency graph for maildirwatch.c:

Go to the source code of this file.

Macros

#define WHO   "maildirwatch"
 

Functions

void die_nomem ()
 
void addtext (char *s, int n)
 
void dobody (stralloc *h)
 
void doheader (stralloc *h)
 
void finishheader ()
 
int main ()
 

Variables

stralloc recipient = {0}
 
stralloc sender = {0}
 
stralloc fromline = {0}
 
stralloc text = {0}
 
stralloc filenames = {0}
 
prioq pq = {0}
 
char inbuf [BUFFER_INSIZE]
 
buffer bi
 

Macro Definition Documentation

◆ WHO

#define WHO   "maildirwatch"

Definition at line 14 of file maildirwatch.c.

Function Documentation

◆ addtext()

void addtext ( char *  s,
int  n 
)

Definition at line 23 of file maildirwatch.c.

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

◆ die_nomem()

void die_nomem ( void  )

Definition at line 16 of file maildirwatch.c.

Here is the caller graph for this function:

◆ dobody()

void dobody ( stralloc *  h)

Definition at line 29 of file maildirwatch.c.

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

◆ doheader()

void doheader ( stralloc *  h)

Definition at line 31 of file maildirwatch.c.

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

◆ finishheader()

void finishheader ( )

Definition at line 54 of file maildirwatch.c.

Here is the caller graph for this function:

◆ main()

int main ( void  )

Definition at line 62 of file maildirwatch.c.

Here is the call graph for this function:

Variable Documentation

◆ bi

buffer bi

Definition at line 60 of file maildirwatch.c.

◆ filenames

stralloc filenames = {0}

Definition at line 56 of file maildirwatch.c.

◆ fromline

stralloc fromline = {0}

Definition at line 20 of file maildirwatch.c.

◆ inbuf

char inbuf[BUFFER_INSIZE]

Definition at line 59 of file maildirwatch.c.

◆ pq

prioq pq = {0}

Definition at line 57 of file maildirwatch.c.

◆ recipient

stralloc recipient = {0}

Definition at line 18 of file maildirwatch.c.

◆ sender

stralloc sender = {0}

Definition at line 19 of file maildirwatch.c.

◆ text

stralloc text = {0}

Definition at line 21 of file maildirwatch.c.