]> git.pond.sub.org Git - empserver/blobdiff - include/trade.h
Generation numbers to catch write back of stale copies
[empserver] / include / trade.h
index 72ebdbbb90b3d9261850fc1b4af76cb4f15c29b0..41889265c98a7b19369911017aed3a2ccf86df04 100644 (file)
@@ -44,6 +44,7 @@ struct trdstr {
     /* initial part must match struct empobj */
     signed ef_type: 8;
     unsigned trd_seqno: 12;
+    unsigned trd_generation: 12;
     int trd_uid;
     time_t trd_timestamp;
     natid trd_owner;