s/qmail 4.3.21
Next generation secure email transport
Loading...
Searching...
No Matches
columnt.c File Reference
#include <unistd.h>
#include "alloc.h"
#include "logmsg.h"
#include "buffer.h"
#include "stralloc.h"
#include "exit.h"
#include "readclose.h"
#include "qmail.h"
Include dependency graph for columnt.c:

Go to the source code of this file.

Macros

#define WHO   "columnt"

Functions

void nomem ()
void die_read ()
void die_write ()
void nothing ()
void printline ()
void maxfield_check (int fieldnum, char *buf, int len)
void width_check (int fieldnum, char *buf, int len)
void width_init ()
void printfield (int fieldnum, char *buf, int len)
void split (void(*dofield)(), void(*doline)())
int main ()

Variables

char outbuf [BUFSIZE_MESS]
buffer bo = BUFFER_INIT(write,1,outbuf,sizeof(outbuf))
stralloc file = {0}
int * width
int maxfield = 0

Macro Definition Documentation

◆ WHO

#define WHO   "columnt"

Definition at line 10 of file columnt.c.

Function Documentation

◆ die_read()

void die_read ( void )

Definition at line 16 of file columnt.c.

Here is the caller graph for this function:

◆ die_write()

void die_write ( )

Definition at line 17 of file columnt.c.

Here is the caller graph for this function:

◆ main()

int main ( void )

Definition at line 89 of file columnt.c.

Here is the call graph for this function:

◆ maxfield_check()

void maxfield_check ( int fieldnum,
char * buf,
int len )

Definition at line 33 of file columnt.c.

Here is the caller graph for this function:

◆ nomem()

void nomem ( )

Definition at line 15 of file columnt.c.

Here is the caller graph for this function:

◆ nothing()

void nothing ( )

Definition at line 23 of file columnt.c.

Here is the caller graph for this function:

◆ printfield()

void printfield ( int fieldnum,
char * buf,
int len )

Definition at line 53 of file columnt.c.

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

◆ printline()

void printline ( )

Definition at line 28 of file columnt.c.

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

◆ split()

void split ( void(* dofield )(),
void(* doline )() )

Definition at line 67 of file columnt.c.

Here is the caller graph for this function:

◆ width_check()

void width_check ( int fieldnum,
char * buf,
int len )

Definition at line 38 of file columnt.c.

Here is the caller graph for this function:

◆ width_init()

void width_init ( )

Definition at line 43 of file columnt.c.

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

Variable Documentation

◆ bo

buffer bo = BUFFER_INIT(write,1,outbuf,sizeof(outbuf))

Definition at line 13 of file columnt.c.

◆ file

stralloc file = {0}

Definition at line 19 of file columnt.c.

◆ maxfield

int maxfield = 0

Definition at line 21 of file columnt.c.

◆ outbuf

char outbuf[BUFSIZE_MESS]

Definition at line 12 of file columnt.c.

◆ width

int* width

Definition at line 20 of file columnt.c.