#include <sys/types.h>
#include <sys/stat.h>
#include <sys/select.h>
#include <unistd.h>
#include <string.h>
#include "alloc.h"
#include "sig.h"
#include "wait.h"
#include "buffer.h"
#include "byte.h"
#include "str.h"
#include "stralloc.h"
#include "exit.h"
#include "fd.h"
#include "open.h"
#include "error.h"
#include "auto_queue.h"
#include "auto_uids.h"
#include "auto_spawn.h"
#include "qmail.h"
Go to the source code of this file.
|
int | spawn (int, int, const char *, char *, const int) |
|
void | report (buffer *, int, char *, int) |
|
void | initialize (int, char **) |
|
void | sigchld () |
|
ssize_t | okwrite (int fd, char *buf, int n) |
|
void | err (char *s) |
|
void | docmd () |
|
void | getcmd () |
|
int | main (int argc, char *const *argv) |
|
◆ BUF_COMMANDS
#define BUF_COMMANDS 1024 |
◆ BUFSIZE_MINI
◆ docmd()
◆ err()
◆ getcmd()
◆ initialize()
void initialize |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ main()
int main |
( |
int |
argc, |
|
|
char *const * |
argv |
|
) |
| |
◆ okwrite()
ssize_t okwrite |
( |
int |
fd, |
|
|
char * |
buf, |
|
|
int |
n |
|
) |
| |
◆ report()
void report |
( |
buffer * |
log, |
|
|
int |
wstat, |
|
|
char * |
s, |
|
|
int |
len |
|
) |
| |
◆ sigchld()
◆ spawn()
int spawn |
( |
int |
fdmess, |
|
|
int |
fdout, |
|
|
const char * |
s, |
|
|
char * |
r, |
|
|
const int |
at |
|
) |
| |
◆ bo
◆ cmdbuf
◆ delnum
◆ flagabort
◆ flagreading
◆ flagwriting
◆ inbuf
◆ messid
◆ outbuf
◆ recip
◆ sender
◆ stage
◆ truncreport