]> git.pond.sub.org Git - empserver/blobdiff - include/nat.h
prnat() prnatid(): New, common country name (#number) formatting
[empserver] / include / nat.h
index 3243d2aec820c5a22dbbb6b5a8c83e55c5d4d7ce..fd80c02ea41bdd15262987f41f38664f98f761f5 100644 (file)
@@ -105,8 +105,8 @@ struct natstr {
     int nat_timeused;          /* number of seconds used today */
     short nat_btu;             /* bureaucratic time units */
     short nat_access;          /* The tick when BTUs were last updated */
-    long nat_reserve;          /* military reserves */
-    long nat_money;            /* moola */
+    int nat_reserve;           /* military reserves */
+    int nat_money;             /* moola */
     time_t nat_last_login;     /* time of last login, 0 menas never */
     time_t nat_last_logout;    /* time of last logout, 0 means never */
     time_t nat_newstim;                /* date news last read */
@@ -181,6 +181,8 @@ extern struct natstr *nat_reset(struct natstr *, natid, char *, char *,
                                enum nat_status);
 
 extern int check_nat_name(char *, natid);
+extern char *prnat(struct natstr *);
+extern char *prnatid(natid);
 
 extern int grant_btus(struct natstr *, int);