ezmlmx 0.68
ezmlmx
|
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include "stralloc.h"
#include "error.h"
#include "qmail.h"
#include "env.h"
#include "sig.h"
#include "open.h"
#include "getln.h"
#include "case.h"
#include "str.h"
#include "datetime.h"
#include "now.h"
#include "quote.h"
#include "readwrite.h"
#include "exit.h"
#include "buffer.h"
#include "getconf.h"
#include "constmap.h"
#include "fmt.h"
#include "getoptb.h"
#include "byte.h"
#include "seek.h"
#include "errtxt.h"
#include "ezcopy.h"
#include "cookie.h"
#include "subscribe.h"
#include "mime.h"
#include "hdr.h"
#include "idx.h"
#include "auto_version.h"
#include "logmsg.h"
#include "ezmlm.h"
Go to the source code of this file.
Macros | |
#define | WHO "ezmlm-request" |
#define | EZREQ_LISTS 13 |
#define | EZREQ_WHICH 14 |
#define | EZREQ_HELP 2 |
#define | EZREQ_BAD 1 |
Functions | |
ssize_t | qqwrite (int fd, char *buf, unsigned int len) |
int | code_qput (char *s, unsigned int n) |
void | checkarg (char *s) |
void | parseline (char *cp) |
int | main (int argc, char **argv) |
Variables | |
char | strnum [FMT_ULONG] |
char * | userlocal = (char *) 0 |
char * | userhost = (char *) 0 |
char * | listlocal = (char *) 0 |
char * | listhost = (char *) 0 |
const char * | cfname = (char *) 0 |
char * | command = (char*)"help" |
stralloc | outhost = {0} |
stralloc | outlocal = {0} |
stralloc | line = {0} |
stralloc | qline = {0} |
stralloc | usr = {0} |
stralloc | lhost = {0} |
stralloc | subject = {0} |
stralloc | listname = {0} |
stralloc | hostname = {0} |
stralloc | headerremove = {0} |
stralloc | mailinglist = {0} |
stralloc | cmds = {0} |
stralloc | from = {0} |
stralloc | to = {0} |
stralloc | charset = {0} |
stralloc | quoted = {0} |
char | hboundary [COOKIE] = "zxcaeedrqcrtrvthbdty" |
char | flagcd = '\0' |
struct constmap | headerremovemap |
struct constmap | commandmap |
int | flaggotsub = 0 |
const char * | cmdstring |
const int | cmdxlate [] = { 0,1,2,3,4,5,6,7,8,3,4,4,4,-13,-14,5,7,7,7,7,7,1,1 } |
const int | noargsxlate [] |
buffer | bt |
char | textbuf [1024] |
struct qmail | |
char | qqbuf [1] |
buffer | bq = BUFFER_INIT(qqwrite,-1,qqbuf,(int) sizeof(qqbuf)) |
char | inbuf [1024] |
buffer | bi = BUFFER_INIT(read,0,inbuf,(int) sizeof(inbuf)) |
buffer | bj = BUFFER_INIT(read,0,inbuf,(int) sizeof(inbuf)) |
buffer | bo |
char | outbuf [1] |
stralloc | mydtline = {0} |
Definition in file ezmlm-request.c.
#define EZREQ_BAD 1 |
Definition at line 120 of file ezmlm-request.c.
#define EZREQ_HELP 2 |
Definition at line 119 of file ezmlm-request.c.
#define EZREQ_LISTS 13 |
Definition at line 117 of file ezmlm-request.c.
#define EZREQ_WHICH 14 |
Definition at line 118 of file ezmlm-request.c.
#define WHO "ezmlm-request" |
Definition at line 36 of file ezmlm-request.c.
void checkarg | ( | char * | s | ) |
Definition at line 166 of file ezmlm-request.c.
int code_qput | ( | char * | s, |
unsigned int | n ) |
Definition at line 145 of file ezmlm-request.c.
int main | ( | int | argc, |
char ** | argv ) |
void parseline | ( | char * | cp | ) |
Definition at line 211 of file ezmlm-request.c.
ssize_t qqwrite | ( | int | fd, |
char * | buf, | ||
unsigned int | len ) |
Definition at line 137 of file ezmlm-request.c.
Definition at line 138 of file ezmlm-request.c.
buffer bo |
Definition at line 140 of file ezmlm-request.c.
buffer bq = BUFFER_INIT(qqwrite,-1,qqbuf,(int) sizeof(qqbuf)) |
Definition at line 134 of file ezmlm-request.c.
buffer bt |
Definition at line 122 of file ezmlm-request.c.
const char* cfname = (char *) 0 |
Definition at line 54 of file ezmlm-request.c.
stralloc charset = {0} |
Definition at line 72 of file ezmlm-request.c.
stralloc cmds = {0} |
Definition at line 69 of file ezmlm-request.c.
const char* cmdstring |
Definition at line 86 of file ezmlm-request.c.
const int cmdxlate[] = { 0,1,2,3,4,5,6,7,8,3,4,4,4,-13,-14,5,7,7,7,7,7,1,1 } |
Definition at line 103 of file ezmlm-request.c.
char* command = (char*)"help" |
Definition at line 55 of file ezmlm-request.c.
struct constmap commandmap |
Definition at line 78 of file ezmlm-request.c.
char flagcd = '\0' |
Definition at line 75 of file ezmlm-request.c.
int flaggotsub = 0 |
Definition at line 79 of file ezmlm-request.c.
stralloc from = {0} |
Definition at line 70 of file ezmlm-request.c.
char hboundary[COOKIE] = "zxcaeedrqcrtrvthbdty" |
Definition at line 74 of file ezmlm-request.c.
stralloc headerremove = {0} |
Definition at line 67 of file ezmlm-request.c.
struct constmap headerremovemap |
Definition at line 77 of file ezmlm-request.c.
stralloc hostname = {0} |
Definition at line 66 of file ezmlm-request.c.
char inbuf[1024] |
Definition at line 136 of file ezmlm-request.c.
stralloc lhost = {0} |
Definition at line 63 of file ezmlm-request.c.
stralloc line = {0} |
Definition at line 60 of file ezmlm-request.c.
char* listhost = (char *) 0 |
Definition at line 53 of file ezmlm-request.c.
char* listlocal = (char *) 0 |
Definition at line 52 of file ezmlm-request.c.
stralloc listname = {0} |
Definition at line 65 of file ezmlm-request.c.
stralloc mailinglist = {0} |
Definition at line 68 of file ezmlm-request.c.
stralloc mydtline = {0} |
Definition at line 143 of file ezmlm-request.c.
const int noargsxlate[] |
Definition at line 111 of file ezmlm-request.c.
char outbuf[1] |
Definition at line 141 of file ezmlm-request.c.
stralloc outhost = {0} |
Definition at line 57 of file ezmlm-request.c.
stralloc outlocal = {0} |
Definition at line 58 of file ezmlm-request.c.
stralloc qline = {0} |
Definition at line 61 of file ezmlm-request.c.
struct qmail qq |
Definition at line 125 of file ezmlm-request.c.
char qqbuf[1] |
Definition at line 133 of file ezmlm-request.c.
stralloc quoted = {0} |
Definition at line 73 of file ezmlm-request.c.
char strnum[FMT_ULONG] |
Definition at line 48 of file ezmlm-request.c.
stralloc subject = {0} |
Definition at line 64 of file ezmlm-request.c.
char textbuf[1024] |
Definition at line 123 of file ezmlm-request.c.
stralloc to = {0} |
Definition at line 71 of file ezmlm-request.c.
char* userhost = (char *) 0 |
Definition at line 51 of file ezmlm-request.c.
char* userlocal = (char *) 0 |
Definition at line 50 of file ezmlm-request.c.
stralloc usr = {0} |
Definition at line 62 of file ezmlm-request.c.