|
System | : | Linux MiraNet 3.0.0-14-generic-pae #23-Ubuntu SMP Mon Nov 21 22:07:10 UTC 2011 i686 |
Software | : | Apache. PHP/5.3.6-13ubuntu3.10 |
ID | : | uid=65534(nobody) gid=65534(nogroup) groups=65534(nogroup)
|
|
Safe Mode | : | OFF |
Open_Basedir | : | OFF |
Freespace | : | 24.39 GB of 70.42 GB (34.64%) |
|
MySQL: ON MSSQL: OFF Oracle: OFF PostgreSQL: OFF Curl: OFF Sockets: ON Fetch: OFF Wget: ON Perl: ON |
Disabled Functions: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
|
[ System Info ]
[ Processes ]
[ SQL Manager ]
[ Eval ]
[ Encoder ]
[ Mailer ]
[ Back Connection ]
[ Backdoor Server ]
[ Kernel Exploit Search ]
[ MD5 Decrypter ]
[ Reverse IP ]
[ Kill Shell ]
[ FTP Brute-Force ]
|
|
/
usr/
src/
courier-0.66.1/
courier/
- drwxrwxrwx
|
Viewing file: cdmsgq.h (2.15 KB) -rw-rw-rw-Select action/file-type:  ( +) |  ( +) |  ( +) | Code ( +) | Session ( +) |  ( +) | SDB ( +) |  ( +) |  ( +) |  ( +) |  ( +) |  ( +) |
/* ** Copyright 1998 - 2007 Double Precision, Inc. ** See COPYING for distribution information. */
#ifndef cdmsgq_h #define cdmsgq_h
#if HAVE_CONFIG_H #undef PACKAGE #undef VERSION #include "config.h" #endif
#include <sys/types.h> #include <time.h>
#include "cdrcptinfo.h"
#include <string> #include <vector>
class drvinfo; struct rfc822token; struct comctlfile;
class msgq { public: int cancelled; // This message should be cancelled msgq *next, *prev; // Sorted by nextdel msgq *nexthash, *prevhash; // Same hash bucket ino_t msgnum; // Queue message number
std::string msgid; // Message ID, for logging
time_t nextdel; // Next delivery attempt (used to find the // filename in msgq) time_t nextsenddel; // Usually nextdel, but is reset when // the queue is flushed -- this is the time // when this message should be scheduled // for delivery. unsigned long nksize; // Size in kilobytes std::vector<rcptinfo> rcptinfo_list; // The recipients unsigned rcptcount; // # of incomplete deliveries for this msg msgq(); ~msgq();
static std::vector<msgq> queue; static std::vector<msgq *> queuehashfirst, queuehashlast;
static unsigned queuedelivering, queuewaiting, inprogress;
static void init(unsigned); static void logmsgid(msgq *q); static msgq *queuehead, *queuetail, // Message with a next-delivery time stamp // IN THE FUTURE *queuefree; // Unused msgqs
static msgq *findq(ino_t);
static int tmpscan(); static void queuescan();
static void flushmsg(ino_t, const char *);
private:
static drvinfo *backup_relay_driver; static std::string backup_relay;
static int queuescan2(std::string); static int queuescan3(std::string, std::string, const char *);
static drvinfo *getdelinfo(struct rfc822token *, const char *, std::string &, std::string &, std::string &);
public: void removeq(); void removewq(); void start_message();
static void completed(drvinfo &, size_t);
private: static void startdelivery(drvinfo *, delinfo *);
static void done(msgq *, int);
const char *needs_dsn(struct ctlfile *); const char *needs_warndsn(struct ctlfile *);
} ;
#endif
|