Back to index

courier  0.68.2
comrwinfoinit.c
Go to the documentation of this file.
00001 /*
00002 ** Copyright 1998 - 1999 Double Precision, Inc.
00003 ** See COPYING for distribution information.
00004 */
00005 
00006 #include      "rw.h"
00007 #include      "courier.h"
00008 
00009 void rw_info_init(struct rw_info *p, struct rfc822token *t,
00010               void (*err_func)(int, const char *, struct rw_info *p))
00011 {
00012        p->mode=0;
00013        p->ptr=t;
00014        p->err_func=err_func;
00015        p->sender=0;
00016        p->udata=0;
00017        p->smodule=0;
00018        p->host=0;
00019 }