Back to index

courier  0.68.2
cddlvrhost.h
Go to the documentation of this file.
00001 /*
00002 ** Copyright 1998 - 2007 Double Precision, Inc.
00003 ** See COPYING for distribution information.
00004 */
00005 
00006 #ifndef       cddlvrhost_h
00007 #define       cddlvrhost_h
00008 
00009 #include      "config.h"
00010 #include      <string>
00011 
00012 class rcptinfo;
00013 class pendelinfo;
00014 class drvinfo;
00015 
00016 class dlvrhost {
00017 public:
00018     dlvrhost *next, *prev;  // next used on hdlvrpfree list, else
00019                             // this is the first/last list, in MRU order
00020     std::string hostname;   // Name of this host
00021     unsigned dlvrcount;            // How many deliveries to this host are
00022                             // in progress
00023     pendelinfo *pending_list;
00024     dlvrhost();
00025     ~dlvrhost();
00026 } ;
00027 
00028 #endif