summaryrefslogtreecommitdiff
path: root/server/zserver.h
diff options
context:
space:
mode:
authorGravatar Jeffrey Hutzelman <jhutz@cmu.edu>2013-01-04 18:05:28 -0500
committerGravatar Jeffrey Hutzelman <jhutz@cmu.edu>2013-02-17 22:34:40 -0500
commit959c68d69e1887cb119f82bf0d64409936696fc0 (patch)
tree3eb25f2d03c58ea4774322ac00e85045a469ad59 /server/zserver.h
parent3923d414d0408e2f33dff220c5964b36e28565ba (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