+/* Diplomatic relations */
+enum relations {
+ /*
+ * Don't change order without checking inequality comparisons and
+ * array initializers!
+ */
+ AT_WAR,
+ HOSTILE,
+ NEUTRAL,
+ FRIENDLY,
+ ALLIED
+};
+
+struct relatstr {
+ /* initial part must match struct empobj */
+ signed ef_type: 8;
+ unsigned rel_seqno: 12;
+ unsigned rel_generation: 12;
+ int rel_uid;
+ time_t rel_timestamp;
+ /* end of part matching struct empobj */
+ unsigned char rel_relate[MAXNOC]; /* enum relations */
+};
+