File: qmail.h

package info (click to toggle)
qmail 1.01-5
  • links: PTS
  • area: non-free
  • in suites: hamm
  • size: 2,188 kB
  • ctags: 1,711
  • sloc: ansic: 13,993; makefile: 1,914; perl: 448; sh: 377
file content (36 lines) | stat: -rw-r--r-- 649 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#ifndef QMAIL_H
#define QMAIL_H

#include "substdio.h"

struct qmail {
  int flagerr;
  unsigned long pid;
  int fdm;
  int fde;
  substdio ss;
  char buf[1024];
} ;

extern int qmail_open();
extern void qmail_put();
extern void qmail_puts();
extern void qmail_from();
extern void qmail_to();
extern void qmail_fail();
extern int qmail_close();
extern unsigned long qmail_qp();

#define QMAIL_WAITPID -2
#define QMAIL_CRASHED -3
#define QMAIL_USAGE -4
#define QMAIL_BUG -5
#define QMAIL_SYS -6
#define QMAIL_READ -7
#define QMAIL_WRITE -8
#define QMAIL_NOMEM -9
#define QMAIL_EXECSOFT -11
#define QMAIL_TIMEOUT -13
#define QMAIL_TOOLONG -14

#endif