diff options
| author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-01-02 08:20:59 +0000 |
|---|---|---|
| committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-01-02 08:20:59 +0000 |
| commit | a819cb0cc0f54a042a088dfba9c1f6b817928641 (patch) | |
| tree | 7931a9d81367c184ca2550a1819ef685e3e0c927 /include/extern.h | |
| parent | 3617d7978899f830d952d9bac70ed14bb0cc0fd6 (diff) | |
Rewrote the vhost code, and moved it to be part of nickalias instead of in its own list. This also fixes being able to steal other users vhosts with /hs on
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2724 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include/extern.h')
| -rw-r--r-- | include/extern.h | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/include/extern.h b/include/extern.h index 09f12ba77..11ba59bd5 100644 --- a/include/extern.h +++ b/include/extern.h @@ -173,16 +173,12 @@ char *sockstrerror(int error); /**** config.c ****/ E ServerConfig Config; - -E int do_on_id(User * u); -E void delHostCore(const char *nick); -E void hostserv(User * u, char *buf); - E int read_config(int reload); -/**** converter.c ****/ - -E int convert_ircservices_44(); +/* hostserv.c */ +E void do_on_id(User *u); +E void hostserv(User *u, char *buf); +E void HostServSyncVhosts(NickAlias *na); /**** encrypt.c ****/ E void initEncryption(); @@ -200,15 +196,6 @@ E void encmodule_check_password(int (*func)(const char *plaintext, const char *p /**** hostserv.c ****/ E void get_hostserv_stats(long *nrec, long *memuse); E void hostserv_init(); -E void addHostCore(const char *nick, char *vIdent, char *vhost, const char *creator, int32 tmp_time); -E char *getvIdent(char *nick); -E char *getvHost(char *nick); -E HostCore *hostCoreListHead(); -E HostCore *findHostCore(HostCore * head, const char *nick, bool *found); -E HostCore *createHostCorelist(HostCore * next, const char *nick, char *vIdent, char *vHost, const char *creator, int32 tmp_time); -E HostCore *insertHostCore(HostCore * head, HostCore * prev, const char *nick, char *vIdent, char *vHost, const char *creator, int32 tmp_time); -E HostCore *deleteHostCore(HostCore * head, HostCore * prev); -E void set_lastmask(User * u); /**** init.c ****/ |
