s/qmail 4.2.29a
Next generation secure email transport
Loading...
Searching...
No Matches
Functions | Variables
qmail-qread.c File Reference
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include "stralloc.h"
#include "fmt.h"
#include "str.h"
#include "getln.h"
#include "fmtqfn.h"
#include "readsubdir.h"
#include "auto_qmail.h"
#include "open.h"
#include "datetime.h"
#include "date822fmt.h"
#include "error.h"
#include "exit.h"
Include dependency graph for qmail-qread.c:

Go to the source code of this file.

Functions

void die (int n)
 
void warn (char *s1, char *s2)
 
void die_nomem ()
 
void die_chdir ()
 
void die_opendir (char *fn)
 
void err (unsigned long id)
 
unsigned int fmtstats (char *s)
 
void out (char *s, unsigned int n)
 
void outs (char *s)
 
void outok (char *s)
 
void putstats ()
 
int main ()
 

Variables

readsubdir rs
 
char fnmess [FMTQFN]
 
char fninfo [FMTQFN]
 
char fnlocal [FMTQFN]
 
char fnremote [FMTQFN]
 
char fnbounce [FMTQFN]
 
char inbuf [1024]
 
stralloc sender = {0}
 
unsigned long id
 
datetime_sec qtime
 
int flagbounce
 
unsigned long size
 
stralloc stats = {0}
 
stralloc line = {0}
 

Function Documentation

◆ die()

void die ( int  n)

Definition at line 19 of file qmail-qread.c.

Here is the call graph for this function:

◆ die_chdir()

void die_chdir ( )

Definition at line 33 of file qmail-qread.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 32 of file qmail-qread.c.

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

◆ die_opendir()

void die_opendir ( char *  fn)

Definition at line 34 of file qmail-qread.c.

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

◆ err()

void err ( unsigned long  id)

Definition at line 36 of file qmail-qread.c.

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

◆ fmtstats()

unsigned int fmtstats ( char *  s)

Definition at line 57 of file qmail-qread.c.

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

◆ main()

int main ( void  )

Definition at line 103 of file qmail-qread.c.

Here is the call graph for this function:

◆ out()

void out ( char *  s,
unsigned int  n 
)

Definition at line 82 of file qmail-qread.c.

◆ outok()

void outok ( char *  s)

Definition at line 91 of file qmail-qread.c.

Here is the caller graph for this function:

◆ outs()

void outs ( char *  s)

Definition at line 90 of file qmail-qread.c.

Here is the caller graph for this function:

◆ putstats()

void putstats ( )

Definition at line 93 of file qmail-qread.c.

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

◆ warn()

void warn ( char *  s1,
char *  s2 
)

Definition at line 21 of file qmail-qread.c.

Here is the caller graph for this function:

Variable Documentation

◆ flagbounce

int flagbounce

Definition at line 54 of file qmail-qread.c.

◆ fnbounce

char fnbounce[FMTQFN]

Definition at line 47 of file qmail-qread.c.

◆ fninfo

char fninfo[FMTQFN]

Definition at line 44 of file qmail-qread.c.

◆ fnlocal

char fnlocal[FMTQFN]

Definition at line 45 of file qmail-qread.c.

◆ fnmess

char fnmess[FMTQFN]

Definition at line 43 of file qmail-qread.c.

◆ fnremote

char fnremote[FMTQFN]

Definition at line 46 of file qmail-qread.c.

◆ id

unsigned long id

Definition at line 52 of file qmail-qread.c.

◆ inbuf

char inbuf[1024]

Definition at line 49 of file qmail-qread.c.

◆ line

stralloc line = {0}

Definition at line 101 of file qmail-qread.c.

◆ qtime

datetime_sec qtime

Definition at line 53 of file qmail-qread.c.

◆ rs

Definition at line 17 of file qmail-qread.c.

◆ sender

stralloc sender = {0}

Definition at line 50 of file qmail-qread.c.

◆ size

unsigned long size

Definition at line 55 of file qmail-qread.c.

◆ stats

stralloc stats = {0}

Definition at line 80 of file qmail-qread.c.