diff options
author | Jeffrey Hutzelman <jhutz@cmu.edu> | 2013-01-04 18:05:28 -0500 |
---|---|---|
committer | Jeffrey Hutzelman <jhutz@cmu.edu> | 2013-02-17 22:34:40 -0500 |
commit | 959c68d69e1887cb119f82bf0d64409936696fc0 (patch) | |
tree | 3eb25f2d03c58ea4774322ac00e85045a469ad59 /server/zserver.h | |
parent | 3923d414d0408e2f33dff220c5964b36e28565ba (diff) |
Support calling realm_init() more than once
This makes realm_init() augment the existing other-realm array instead
of replacing it wholesale, which makes it safe to call more than once.
During the first call in which the realm.list file exists and contains at
least one realm, the otherrealms array will be initialized with entries
for all configured realms. During subsequent calls, any new realms will
be added, growing the array as necessary. For now, entries for existing
realms are not updated in any way.
Diffstat (limited to 'server/zserver.h')
0 files changed, 0 insertions, 0 deletions