ezmlmx 0.68
ezmlmx
|
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include "stralloc.h"
#include "error.h"
#include "lock.h"
#include "readclose.h"
#include "open.h"
#include "getln.h"
#include "getoptb.h"
#include "case.h"
#include "scan.h"
#include "str.h"
#include "fmt.h"
#include "readwrite.h"
#include "exit.h"
#include "buffer.h"
#include "sig.h"
#include "byte.h"
#include "idx.h"
#include "mime.h"
#include "errtxt.h"
#include "getconf.h"
#include "makehash.h"
#include "auto_version.h"
#include "logmsg.h"
#include "lockfile.h"
Go to the source code of this file.
Macros | |
#define | WHO "ezmlm-idx" |
Functions | |
int | idx_get_trimsubject (void) |
reads an open message from 'fd', extracts the subject (if any), and returns the subject in 'sub', the author in 'author', and the received rfc822 date to 'received'. 'fatal' is a program-specific error string. returns: 0 - no reply no prefix 1 - reply no prefix 2 - prefix no reply 3 - reply & prefix No terminal ' ' in any of the strallocs! | |
int | main (int argc, char **argv) |
Variables | |
char | strnum [FMT_ULONG] |
char | hash [HASHLEN] |
stralloc | fnadir = {0} |
stralloc | fnif = {0} |
stralloc | fnifn = {0} |
stralloc | fnaf = {0} |
stralloc | line = {0} |
stralloc | lines = {0} |
stralloc | dummy = {0} |
int | fdindexn |
int | fdlock |
int | fd |
int | flagdate = 0 |
buffer | bx |
char | indexbuf [1024] |
struct stat | st |
stralloc | subject = {0} |
stralloc | author = {0} |
stralloc | authmail = {0} |
stralloc | received = {0} |
stralloc | prefix = {0} |
stralloc | charset = {0} |
stralloc | num = {0} |
date 2005-02-09 21:28:36Z
Definition in file ezmlm-idx.c.
#define WHO "ezmlm-idx" |
Definition at line 29 of file ezmlm-idx.c.
int idx_get_trimsubject | ( | void | ) |
reads an open message from 'fd', extracts the subject (if any), and returns the subject in 'sub', the author in 'author', and the received rfc822 date to 'received'. 'fatal' is a program-specific error string. returns: 0 - no reply no prefix 1 - reply no prefix 2 - prefix no reply 3 - reply & prefix No terminal '
' in any of the strallocs!
Definition at line 89 of file ezmlm-idx.c.
int main | ( | int | argc, |
char ** | argv ) |
stralloc authmail = {0} |
Definition at line 67 of file ezmlm-idx.c.
stralloc author = {0} |
Definition at line 66 of file ezmlm-idx.c.
buffer bx |
Definition at line 60 of file ezmlm-idx.c.
stralloc charset = {0} |
Definition at line 70 of file ezmlm-idx.c.
stralloc dummy = {0} |
Definition at line 48 of file ezmlm-idx.c.
int fd |
Definition at line 52 of file ezmlm-idx.c.
int fdindexn |
Definition at line 50 of file ezmlm-idx.c.
int fdlock |
Definition at line 51 of file ezmlm-idx.c.
int flagdate = 0 |
Definition at line 53 of file ezmlm-idx.c.
stralloc fnadir = {0} |
Definition at line 41 of file ezmlm-idx.c.
stralloc fnaf = {0} |
Definition at line 44 of file ezmlm-idx.c.
stralloc fnif = {0} |
Definition at line 42 of file ezmlm-idx.c.
stralloc fnifn = {0} |
Definition at line 43 of file ezmlm-idx.c.
char hash[HASHLEN] |
Definition at line 39 of file ezmlm-idx.c.
char indexbuf[1024] |
Definition at line 61 of file ezmlm-idx.c.
stralloc line = {0} |
Definition at line 46 of file ezmlm-idx.c.
stralloc lines = {0} |
Definition at line 47 of file ezmlm-idx.c.
stralloc num = {0} |
Definition at line 72 of file ezmlm-idx.c.
stralloc prefix = {0} |
Definition at line 69 of file ezmlm-idx.c.
stralloc received = {0} |
Definition at line 68 of file ezmlm-idx.c.
struct stat st |
Definition at line 63 of file ezmlm-idx.c.
char strnum[FMT_ULONG] |
Definition at line 38 of file ezmlm-idx.c.
stralloc subject = {0} |
Definition at line 65 of file ezmlm-idx.c.