00001
00002
00007 #ifndef __BR_DOMAIN_COMMON_H__
00008 #define __BR_DOMAIN_COMMON_H__
00009
00010 struct ReleaseProcessFlags {
00011 bool flag1;
00012 bool flag2;
00013 bool flag3;
00014 };
00015
00016 struct PendingDoc {
00017 string status;
00018 string docType;
00019 string limit;
00020 string description;
00021 string description_lang;
00022
00023 bool operator<(const PendingDoc &p) const {
00024 return limit < p.limit;
00025 }
00026 };
00027
00028 struct PendingDns {
00029 string status;
00030 string hostName;
00031 string limit;
00032
00033 bool operator<(const PendingDns &p) const {
00034 return limit < p.limit;
00035 }
00036 };
00037
00038 struct PendingReleaseProc {
00039 string status;
00040 string limit;
00041 };
00042
00043 struct HostStatus {
00044 string host;
00045 string status;
00046 bool operator<(const HostStatus &hs) const {
00047 return status < hs.status;
00048 }
00049 };
00050
00051 #endif //__BR_DOMAIN_COMMON_H__