]> git.pond.sub.org Git - empserver/blobdiff - include/nat.h
Generation numbers to catch write back of stale copies
[empserver] / include / nat.h
index 5749a1bd0bdbafd7042651fd718ed138bb0387b6..e4c135f93d39d9a3d0ff428a42f6e5aa208c9283 100644 (file)
@@ -73,6 +73,7 @@ struct realmstr {
     short ef_type;
     short r_uid;               /* realm table index */
     unsigned r_seqno;
+    unsigned r_generation;
     time_t r_timestamp;                /* Last time this realm was touched */
     natid r_cnum;              /* country number */
     /* end of part matching struct empobj */
@@ -86,6 +87,7 @@ struct natstr {
     short ef_type;
     short nat_uid;             /* equals nat_cnum */
     unsigned nat_seqno;
+    unsigned nat_generation;
     time_t nat_timestamp;
     natid nat_cnum;            /* our country number */
     /* end of part matching struct empobj */