s/qmail 4.2.29a
Next generation secure email transport
Loading...
Searching...
No Matches
Macros | Functions | Variables
matchup.c File Reference
#include <unistd.h>
#include "genalloc.h"
#include "alloc.h"
#include "stralloc.h"
#include "logmsg.h"
#include "getln.h"
#include "buffer.h"
#include "readwrite.h"
#include "exit.h"
#include "str.h"
#include "fmt.h"
#include "scan.h"
#include "case.h"
Include dependency graph for matchup.c:

Go to the source code of this file.

Macros

#define WHO   "matchup"
 
#define FIELDS   20
 

Functions

void nomem ()
 
void die_read ()
 
void die_write ()
 
void die_write5 ()
 
void out (char *buf, int len)
 
void outs (char *buf)
 
void out5 (char *buf, int len)
 
void outs5 (char *buf)
 
 GEN_ALLOC_typedef (GEN_ALLOC_ready(ulongalloc, GEN_ALLOC_ready(unsigned long, GEN_ALLOC_ready(u, GEN_ALLOC_ready(len, GEN_ALLOC_ready(a)
 
int msg_find (unsigned long m)
 
int msg_add (unsigned long m)
 
void msg_kill (int i)
 
int del_find (unsigned long d)
 
int del_add (unsigned long d)
 
void del_kill (int i)
 
void garbage ()
 
void clear ()
 
void starting ()
 
void delivery ()
 
void newmsg ()
 
void endmsg ()
 
void info ()
 
void extra ()
 
void pending ()
 
int main ()
 

Variables

char buf5 [512]
 
buffer bo5 = BUFFER_INIT(write,5,buf5,sizeof(buf5))
 
unsigned int poolbytes = 0
 
int nummsg = 0
 
ulongalloc msg = {0}
 
ulongalloc bytes = {0}
 
ulongalloc qp = {0}
 
ulongalloc uid = {0}
 
ulongalloc numk = {0}
 
ulongalloc numd = {0}
 
ulongalloc numz = {0}
 
ulongalloc sender = {0}
 
ulongalloc birth = {0}
 
int numdel = 0
 
ulongalloc del = {0}
 
ulongalloc dmsg = {0}
 
ulongalloc dchan = {0}
 
ulongalloc drecip = {0}
 
ulongalloc dstart = {0}
 
stralloc pool2 = {0}
 
stralloc line = {0}
 
int match
 
int field [FIELDS]
 
stralloc outline = {0}
 

Macro Definition Documentation

◆ FIELDS

#define FIELDS   20

Definition at line 197 of file matchup.c.

◆ WHO

#define WHO   "matchup"

Definition at line 15 of file matchup.c.

Function Documentation

◆ clear()

void clear ( )

Definition at line 200 of file matchup.c.

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

◆ del_add()

int del_add ( unsigned long  d)

Definition at line 124 of file matchup.c.

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

◆ del_find()

int del_find ( unsigned long  d)

Definition at line 116 of file matchup.c.

Here is the caller graph for this function:

◆ del_kill()

void del_kill ( int  i)

Definition at line 139 of file matchup.c.

Here is the caller graph for this function:

◆ delivery()

void delivery ( )

Definition at line 236 of file matchup.c.

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

◆ die_read()

void die_read ( void  )

Definition at line 18 of file matchup.c.

Here is the caller graph for this function:

◆ die_write()

void die_write ( )

Definition at line 19 of file matchup.c.

Here is the caller graph for this function:

◆ die_write5()

void die_write5 ( )

Definition at line 20 of file matchup.c.

Here is the caller graph for this function:

◆ endmsg()

void endmsg ( )

Definition at line 314 of file matchup.c.

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

◆ extra()

void extra ( )

Definition at line 366 of file matchup.c.

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

◆ garbage()

void garbage ( )

Definition at line 154 of file matchup.c.

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

◆ GEN_ALLOC_typedef()

GEN_ALLOC_typedef ( GEN_ALLOC_ready ulongalloc,
GEN_ALLOC_ready unsigned long,
GEN_ALLOC_ready u,
GEN_ALLOC_ready len,
GEN_ALLOC_ready a 
)

Definition at line 45 of file matchup.c.

◆ info()

void info ( )

Definition at line 338 of file matchup.c.

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

◆ main()

int main ( void  )

Definition at line 428 of file matchup.c.

Here is the call graph for this function:

◆ msg_add()

int msg_add ( unsigned long  m)

Definition at line 73 of file matchup.c.

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

◆ msg_find()

int msg_find ( unsigned long  m)

Definition at line 65 of file matchup.c.

Here is the caller graph for this function:

◆ msg_kill()

void msg_kill ( int  i)

Definition at line 92 of file matchup.c.

Here is the caller graph for this function:

◆ newmsg()

void newmsg ( )

Definition at line 302 of file matchup.c.

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

◆ nomem()

void nomem ( )

Definition at line 17 of file matchup.c.

Here is the caller graph for this function:

◆ out()

void out ( char *  buf,
int  len 
)

Definition at line 22 of file matchup.c.

Here is the call graph for this function:

◆ out5()

void out5 ( char *  buf,
int  len 
)

Definition at line 34 of file matchup.c.

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

◆ outs()

void outs ( char *  buf)

Definition at line 26 of file matchup.c.

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

◆ outs5()

void outs5 ( char *  buf)

Definition at line 39 of file matchup.c.

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

◆ pending()

void pending ( )

Definition at line 380 of file matchup.c.

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

◆ starting()

void starting ( )

Definition at line 207 of file matchup.c.

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

Variable Documentation

◆ birth

ulongalloc birth = {0}

Definition at line 63 of file matchup.c.

◆ bo5

buffer bo5 = BUFFER_INIT(write,5,buf5,sizeof(buf5))

Definition at line 32 of file matchup.c.

◆ buf5

char buf5[512]

Definition at line 31 of file matchup.c.

◆ bytes

ulongalloc bytes = {0}

Definition at line 56 of file matchup.c.

◆ dchan

ulongalloc dchan = {0}

Definition at line 112 of file matchup.c.

◆ del

ulongalloc del = {0}

Definition at line 110 of file matchup.c.

◆ dmsg

ulongalloc dmsg = {0}

Definition at line 111 of file matchup.c.

◆ drecip

ulongalloc drecip = {0}

Definition at line 113 of file matchup.c.

◆ dstart

ulongalloc dstart = {0}

Definition at line 114 of file matchup.c.

◆ field

int field[FIELDS]

Definition at line 198 of file matchup.c.

◆ line

stralloc line = {0}

Definition at line 194 of file matchup.c.

◆ match

int match

Definition at line 195 of file matchup.c.

◆ msg

ulongalloc msg = {0}

Definition at line 55 of file matchup.c.

◆ numd

ulongalloc numd = {0}

Definition at line 60 of file matchup.c.

◆ numdel

int numdel = 0

Definition at line 109 of file matchup.c.

◆ numk

ulongalloc numk = {0}

Definition at line 59 of file matchup.c.

◆ nummsg

int nummsg = 0

Definition at line 54 of file matchup.c.

◆ numz

ulongalloc numz = {0}

Definition at line 61 of file matchup.c.

◆ outline

stralloc outline = {0}

Definition at line 426 of file matchup.c.

◆ pool2

stralloc pool2 = {0}

Definition at line 152 of file matchup.c.

◆ poolbytes

unsigned int poolbytes = 0

Definition at line 52 of file matchup.c.

◆ qp

ulongalloc qp = {0}

Definition at line 57 of file matchup.c.

◆ sender

ulongalloc sender = {0}

Definition at line 62 of file matchup.c.

◆ uid

ulongalloc uid = {0}

Definition at line 58 of file matchup.c.