ezmlmx 0.68
ezmlmx
Loading...
Searching...
No Matches
ezmlm-archive.c File Reference
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include "alloc.h"
#include "error.h"
#include "stralloc.h"
#include "str.h"
#include "sig.h"
#include "getconf.h"
#include "logmsg.h"
#include "getln.h"
#include "buffer.h"
#include "readwrite.h"
#include "fmt.h"
#include "getoptb.h"
#include "idxthread.h"
#include "makehash.h"
#include "lock.h"
#include "open.h"
#include "scan.h"
#include "idx.h"
#include "errtxt.h"
#include "lockfile.h"
#include "auto_version.h"
Include dependency graph for ezmlm-archive.c:

Go to the source code of this file.

Data Structures

struct  ca

Macros

#define WHO   "ezmlm-archive"

Functions

void close_proper (buffer *bo, char *s, char *sn)
 flush,sync,close,move sn->s
void write_threads (msgentry *msgtable, subentry *subtable, authentry *authtable, dateentry *datetable, unsigned long from, unsigned long to)
int main (int argc, char **argv)

Variables

buffer bi
char inbuf [1024]
buffer bo
char outbuf [1024]
buffer bn
char numbuf [16]
stralloc line = {0}
stralloc num = {0}
stralloc fn = {0}
stralloc fnn = {0}
char strnum [FMT_ULONG]
int flagerror = 0
int flagsync = 1
char * dir
struct ca ca

Detailed Description

Author
Bruce Guenter

Definition in file ezmlm-archive.c.

Macro Definition Documentation

◆ WHO

#define WHO   "ezmlm-archive"

Definition at line 26 of file ezmlm-archive.c.

Function Documentation

◆ close_proper()

void close_proper ( buffer * bo,
char * s,
char * sn )

flush,sync,close,move sn->s

fn close_proper

Parameters
strallocbo, char *s, char *sn

Definition at line 64 of file ezmlm-archive.c.

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

◆ main()

int main ( int argc,
char ** argv )

Definition at line 367 of file ezmlm-archive.c.

Here is the call graph for this function:

◆ write_threads()

void write_threads ( msgentry * msgtable,
subentry * subtable,
authentry * authtable,
dateentry * datetable,
unsigned long from,
unsigned long to )

Definition at line 83 of file ezmlm-archive.c.

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

Variable Documentation

◆ bi

buffer bi

Definition at line 33 of file ezmlm-archive.c.

◆ bn

buffer bn

Definition at line 37 of file ezmlm-archive.c.

◆ bo

buffer bo

Definition at line 35 of file ezmlm-archive.c.

◆ ca

struct ca ca

◆ dir

char* dir

Definition at line 48 of file ezmlm-archive.c.

◆ flagerror

int flagerror = 0

Definition at line 46 of file ezmlm-archive.c.

◆ flagsync

int flagsync = 1

Definition at line 47 of file ezmlm-archive.c.

◆ fn

stralloc fn = {0}

Definition at line 42 of file ezmlm-archive.c.

◆ fnn

stralloc fnn = {0}

Definition at line 43 of file ezmlm-archive.c.

◆ inbuf

char inbuf[1024]

Definition at line 34 of file ezmlm-archive.c.

◆ line

stralloc line = {0}

Definition at line 40 of file ezmlm-archive.c.

◆ num

stralloc num = {0}

Definition at line 41 of file ezmlm-archive.c.

◆ numbuf

char numbuf[16]

Definition at line 38 of file ezmlm-archive.c.

◆ outbuf

char outbuf[1024]

Definition at line 36 of file ezmlm-archive.c.

◆ strnum

char strnum[FMT_ULONG]

Definition at line 45 of file ezmlm-archive.c.