Chinaunix首页 | 论坛 | 博客
  • 博客访问: 735280
  • 博文数量: 769
  • 博客积分: 6000
  • 博客等级: 准将
  • 技术积分: 4985
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-15 16:37
文章分类

全部博文(769)

文章存档

2011年(1)

2008年(768)

我的朋友

分类:

2008-10-15 16:40:32

#include
    #include
    #include "readwrite.h"
    #include "sig.h"
    #include "env.h"
    #include "byte.h"
    #include "exit.h"
    #include "fork.h"
    #include "open.h"
    #include "wait.h"
    #include "lock.h"
    #include "seek.h"
    #include "substdio.h"
    #include "getln.h"
    #include "strerr.h"
    #include "subfd.h"
    #include "sgetopt.h"
    #include "alloc.h"
    #include "error.h"
    #include "stralloc.h"
    #include "fmt.h"
    #include "str.h"
    #include "now.h"
    #include "case.h"
    #include "quote.h"
    #include "qmail.h"
    #include "slurpclose.h"
    #include "myctime.h"
    #include "gfrom.h"
    #include "auto_patrn.h"

    void usage() { strerr_die1x(100,"qmail-local: usage: qmail-local [ -nN ] user homedir local dash ext domain sender aliasempty"); }

    void temp_nomem() { strerr_die1x(111,"Out of memory. (#4.3.0)"); }
    void temp_rewind() { strerr_die1x(111,"Unable to rewind message. (#4.3.0)"); }
    void temp_childcrashed() { strerr_die1x(111,"Aack, child crashed. (#4.3.0)"); }
    void temp_fork() { strerr_die3x(111,"Unable to fork: ",error_str(errno),". (#4.3.0)"); }
    void temp_read() { strerr_die3x(111,"Unable to read message: ",error_str(errno),". (#4.3.0)"); }
    void temp_slowlock()
    { strerr_die1x(111,"File has been locked for 30 seconds straight. (#4.3.0)"); }
    void temp_qmail(fn) char *fn;
    { strerr_die5x(111,"Unable to open ",fn,": ",error_str(errno),". (#4.3.0)"); }

    int flagdoit;
    int flag99;

    char *user;
    char *homedir;
    char *local;
    char *dash;
    char *ext;
    char *host;
    char *sender;
    char *aliasempty;

    stralloc safeext = {0};
    stralloc ufline = {0};
    stralloc rpline = {0};

[1]           ...

【责编:landy】

--------------------next---------------------

阅读(482) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~