X-Git-Url: http://git.pond.sub.org/?p=empserver;a=blobdiff_plain;f=include%2Fnat.h;h=5b658bdbb89c2de289e32fdd257154ba39f5b3db;hp=ce1390151fcf144d2b803da582feafb6db767c4c;hb=358aee203eb7dfdcb633f2deea5323810ed32173;hpb=ba2044be189f10349f4dba1bbe80c35ba0e81bae diff --git a/include/nat.h b/include/nat.h index ce1390151..5b658bdbb 100644 --- a/include/nat.h +++ b/include/nat.h @@ -70,9 +70,9 @@ enum nat_status { */ struct realmstr { /* initial part must match struct empobj */ - short ef_type; + signed ef_type: 8; + unsigned r_seqno: 12; int r_uid; /* realm table index */ - unsigned r_seqno; time_t r_timestamp; /* Last time this realm was touched */ natid r_cnum; /* country number */ /* end of part matching struct empobj */ @@ -83,9 +83,9 @@ struct realmstr { struct natstr { /* initial part must match struct empobj */ - short ef_type; + signed ef_type: 8; + unsigned nat_seqno: 12; int nat_uid; /* equals nat_cnum */ - unsigned nat_seqno; time_t nat_timestamp; natid nat_cnum; /* our country number */ /* end of part matching struct empobj */