} dnsp_string_list;
typedef [nodiscriminant,gensize] union {
- [case(DNS_TYPE_TOMBSTONE)] NTTIME timestamp;
+ [case(DNS_TYPE_TOMBSTONE)] NTTIME EntombedTime;
[case(DNS_TYPE_A)] [flag(NDR_BIG_ENDIAN)] ipv4address ipv4;
[case(DNS_TYPE_NS)] dnsp_name ns;
[case(DNS_TYPE_CNAME)] dnsp_name cname;
DNS_RPC_RECORD_SRV;
typedef [nodiscriminant,gensize,flag(NDR_NOALIGN)] union {
- [case(DNS_TYPE_TOMBSTONE)] NTTIME timestamp;
+ [case(DNS_TYPE_TOMBSTONE)] NTTIME EntombedTime;
[case(DNS_TYPE_A)] [flag(NDR_BIG_ENDIAN)] ipv4address ipv4;
[case(DNS_TYPE_NS)] DNS_RPC_NAME name;
[case(DNS_TYPE_MD)] DNS_RPC_NAME name;
* a tombstone, this will be used
* in dns_common_replace()
*/
- .data.timestamp = 1,
+ .data.EntombedTime = 1,
};
*tombstoned = true;
enum ndr_err_code ndr_err;
if (records[i].wType == DNS_TYPE_TOMBSTONE) {
- if (records[i].data.timestamp != 0) {
+ if (records[i].data.EntombedTime != 0) {
was_tombstoned = true;
}
continue;
tbs = (struct dnsp_DnssrvRpcRecord) {
.wType = DNS_TYPE_TOMBSTONE,
.dwSerial = serial,
- .data.timestamp = timeval_to_nttime(&tv),
+ .data.EntombedTime = timeval_to_nttime(&tv),
};
ndr_err = ndr_push_struct_blob(v, el->values, &tbs,
t /= 3600;
tombstone_struct = (struct dnsp_DnssrvRpcRecord){
- .wType = DNS_TYPE_TOMBSTONE, .data = {.timestamp = t}};
+ .wType = DNS_TYPE_TOMBSTONE, .data = {.EntombedTime = t}};
true_struct = (struct ldb_val){.data = true_str, .length = 4};
continue;
}
- if (rec->data.timestamp > tombstone_time) {
+ if (rec->data.EntombedTime > tombstone_time) {
continue;
}
switch (dnsp->wType) {
case DNS_TYPE_TOMBSTONE:
- dns->data.timestamp = dnsp->data.timestamp;
+ dns->data.EntombedTime = dnsp->data.EntombedTime;
break;
case DNS_TYPE_A:
switch (dns->wType) {
case DNS_TYPE_TOMBSTONE:
- dnsp->data.timestamp = dns->data.timestamp;
+ dnsp->data.EntombedTime = dns->data.EntombedTime;
break;
case DNS_TYPE_A: