s/qmail 4.2.29a
Next generation secure email transport
Loading...
Searching...
No Matches
Macros | Functions | Variables
setforward.c File Reference
#include <unistd.h>
#include "buffer.h"
#include "logmsg.h"
#include "stralloc.h"
#include "open.h"
#include "case.h"
#include "cdbmake.h"
Include dependency graph for setforward.c:

Go to the source code of this file.

Macros

#define WHO   "setforward"
 

Functions

int rename (const char *, const char *)
 
void usage ()
 
void nomem ()
 
void missingsemicolon ()
 
void extracolon ()
 
void extracomma ()
 
void nulbyte ()
 
void longaddress ()
 
void writeerr ()
 
void doit (char *prepend, char *data, int datalen)
 
int getch (char *ch)
 
int main (int argc, char **argv)
 

Variables

char * fncdb
 
char * fntmp
 
int fd
 
struct cdb_make cdb
 
stralloc key = {0}
 
stralloc target = {0}
 
stralloc command = {0}
 
stralloc instr = {0}
 
int flagtarget = 0
 

Macro Definition Documentation

◆ WHO

#define WHO   "setforward"

Definition at line 10 of file setforward.c.

Function Documentation

◆ doit()

void doit ( char *  prepend,
char *  data,
int  datalen 
)

Definition at line 62 of file setforward.c.

Here is the call graph for this function:

◆ extracolon()

void extracolon ( )

Definition at line 26 of file setforward.c.

Here is the caller graph for this function:

◆ extracomma()

void extracomma ( )

Definition at line 30 of file setforward.c.

Here is the caller graph for this function:

◆ getch()

int getch ( char *  ch)

Definition at line 74 of file setforward.c.

Here is the caller graph for this function:

◆ longaddress()

void longaddress ( )

Definition at line 38 of file setforward.c.

Here is the caller graph for this function:

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 85 of file setforward.c.

Here is the call graph for this function:

◆ missingsemicolon()

void missingsemicolon ( )

Definition at line 22 of file setforward.c.

Here is the caller graph for this function:

◆ nomem()

void nomem ( )

Definition at line 18 of file setforward.c.

Here is the caller graph for this function:

◆ nulbyte()

void nulbyte ( )

Definition at line 34 of file setforward.c.

Here is the caller graph for this function:

◆ rename()

int rename ( const char *  ,
const char *   
)
Here is the caller graph for this function:

◆ usage()

void usage ( )

Definition at line 14 of file setforward.c.

Here is the caller graph for this function:

◆ writeerr()

void writeerr ( )

Definition at line 57 of file setforward.c.

Here is the caller graph for this function:

Variable Documentation

◆ cdb

struct cdb_make cdb

Definition at line 46 of file setforward.c.

◆ command

stralloc command = {0}

Definition at line 50 of file setforward.c.

◆ fd

int fd

Definition at line 45 of file setforward.c.

◆ flagtarget

int flagtarget = 0

Definition at line 53 of file setforward.c.

◆ fncdb

char* fncdb

Definition at line 43 of file setforward.c.

◆ fntmp

char* fntmp

Definition at line 44 of file setforward.c.

◆ instr

stralloc instr = {0}

Definition at line 51 of file setforward.c.

◆ key

stralloc key = {0}

Definition at line 47 of file setforward.c.

◆ target

stralloc target = {0}

Definition at line 49 of file setforward.c.