Global hostname and domainname

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@526 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1996-05-12 22:04:06 +00:00
parent 2f86fdde6b
commit 28558456c4
2 changed files with 6 additions and 0 deletions

View File

@@ -167,3 +167,5 @@ extern off_t restart_point;
extern int NCMDS;
extern char username[32];
extern char myhostname[];
extern char *mydomain;

View File

@@ -69,3 +69,7 @@ struct macel macros[16];
char macbuf[4096];
char username[32];
/* these are set in ruserpass */
char myhostname[MaxHostNameLen];
char *mydomain;