|
#pragma once
#include "MDUserImports.h"
using namespace System;
using namespace System::Collections;
namespace MDaemon
{
public __gc class cDomain
{
public:
[FlagsAttribute]
__value enum eFlags : Int32
{
BIND = MDDM_BIND,
RECURSEIMAP = MDDM_RECURSEIMAP,
ANTIVIRUS = MDDM_ANTIVIRUS,
ANTISPAM = MDDM_ANTISPAM
};
cDomain();
void Create();
void Load(String* s_Domain);
// STATIC:
static void Delete(String* s_Domain);
static ArrayList* GetAllDomains();
// -------------------------------------
String* DomainName;
String* FQDN;
String* IP;
int MaxInactive;
int MaxMessageAge;
int MaxDeletedIMAPMessageAge;
int POP_Throttle;
int IMAP_Throttle;
int MultiPOP_Throttle;
int DomainPOP_Throttle;
int InboundSMTP_Throttle;
int OutboundSMTP_Throttle;
eFlags Flags;
int MaxUsers;
int MaxLists;
// -------------------------------------
private:
void CopyToManaged (MD_Domain* pk_Domain);
void CopyFromManaged(MD_Domain* pk_Domain);
void VerifyData (MD_Domain* pk_Domain);
};
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.