Implement a progressive iauth system.
[ircu2.10.12-pk.git] / include / s_user.h
index a395f3511f04dad6db1299f97c49d536a33e289f..205776c2d9321e6db886d28e94ace31d290f858f 100644 (file)
@@ -50,8 +50,6 @@ struct Flags;
 #define MATCH_SERVER  1 /**< flag for relay_masked_message (etc) to indicate the mask matches a server name */
 #define MATCH_HOST    2 /**< flag for relay_masked_message (etc) to indicate the mask matches host name */
 
-#define COOKIE_VERIFIED 0xffffffff /**< value for cli_cookie() to show completion */
-
 /** Formatter function for send_user_info().
  * @param who Client being displayed.
  * @param sptr Client requesting information.
@@ -64,8 +62,7 @@ typedef void (*InfoFormatter)(struct Client* who, struct Client *sptr, struct Ms
  */
 extern struct User* make_user(struct Client *cptr);
 extern void         free_user(struct User *user);
-extern int          register_user(struct Client* cptr, struct Client* sptr,
-                                  const char* nick, char* username);
+extern int          register_user(struct Client* cptr, struct Client *sptr);
 
 extern void         user_count_memory(size_t* count_out, size_t* bytes_out);