+static void change_remote_nick(struct Client *, struct Client *, time_t,
+ const char *, int);
+static bool clean_username(const char *);
+static bool clean_host(const char *);
+static bool clean_uid(const char *uid, const char *sid);
+
+static void set_initial_nick(struct Client *client_p, struct Client *source_p, char *nick);
+static void change_local_nick(struct Client *client_p, struct Client *source_p, char *nick, int);
+static void register_client(struct Client *client_p, struct Client *server,
+ const char *nick, time_t newts, int parc, const char *parv[]);
+static void perform_nick_collides(struct Client *, struct Client *,
+ struct Client *, int, const char **,
+ time_t, const char *, const char *);
+static void perform_nickchange_collides(struct Client *, struct Client *,
+ struct Client *, int, const char **, time_t, const char *);