nightmaremail

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

mxf-send.h (1455B)


      1 #ifndef   MXFSEND_H
      2 #define   MXFSEND_H
      3 #include <sys/types.h>
      4 #include <sys/stat.h>
      5 #include <sys/time.h>
      6 #include "readwrite.h"
      7 #include "sig.h"
      8 #include "direntry.h"
      9 #include "control.h"
     10 #include "select.h"
     11 #include "open.h"
     12 #include "seek.h"
     13 #include "exit.h"
     14 #include "lock.h"
     15 #include "ndelay.h"
     16 #include "now.h"
     17 #include "getln.h"
     18 #ifdef USING_SKALIBS
     19 #include <skalibs/buffer.h>
     20 #include <skalibs/iopause.h>
     21 #include <skalibs/stralloc.h>
     22 #include <skalibs/tai.h>
     23 #else
     24 #include "substdio.h"
     25 #include "stralloc.h"
     26 #endif
     27 #include "error.h"
     28 #include "str.h"
     29 #include "byte.h"
     30 #include "fmt.h"
     31 #include "scan.h"
     32 #include "alloc.h"
     33 #include "case.h"
     34 #include "auto_qmail.h"
     35 #include "trigger.h"
     36 #include "newfield.h"
     37 #include "quote.h"
     38 #include "qmail.h"
     39 #include "qsutil.h"
     40 #include "prioq.h"
     41 #include "constmap.h"
     42 #include "fmtqfn.h"
     43 #include "readsubdir.h"
     44 
     45 #define AMNESIAC	(errno = ENOMEM, -1)
     46 #define SLEEP_TODO 1500 /* check todo/ every 25 minutes in any case */
     47 #define SLEEP_FUZZ 1 /* slop a bit on sleeps to avoid zeno effect */
     48 #define SLEEP_FOREVER 86400 /* absolute maximum time spent in iopause() */
     49 #define SLEEP_CLEANUP 76431 /* time between cleanups */
     50 #define SLEEP_SYSFAIL 123
     51 #define OSSIFIED 129600 /* 36 hours; _must_ exceed q-q's DEATH (24 hours) */
     52 #define CHANNELS 2
     53 #define REPORTMAX 10000
     54 #define CHECKSTAT if (errno != error_noent) goto fail;
     55 
     56 #include "mxf-send-protos.h"
     57 #include "mxf-send-globals.h"
     58 #endif // MXFSEND_H