Author: Kev <klmitch@mit.edu>
[ircu2.10.12-pk.git] / include / s_user.h
index dd6c62001e59454d69ee7bcc00d239a8945c229c..70da19bfa9333f87c3ecd79fd75da67c0e95d59d 100644 (file)
@@ -12,6 +12,7 @@
 
 struct Client;
 struct User;
+struct Gline;
 
 /*
  * Macros
@@ -55,7 +56,8 @@ typedef char* (*InfoFormatter)(struct Client* who, char* buf);
 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);
+                                  const char* nick, char* username,
+                                 struct Gline *agline);
 
 extern void         user_count_memory(size_t* count_out, size_t* bytes_out);
 
@@ -75,6 +77,10 @@ extern int set_user_mode(struct Client *cptr, struct Client *sptr,
 extern int is_silenced(struct Client *sptr, struct Client *acptr);
 extern int hunt_server(int, struct Client *cptr, struct Client *sptr,
     char *command, int server, int parc, char *parv[]);
+extern int hunt_server_cmd(struct Client *from, const char *cmd,
+                          const char *tok, struct Client *one,
+                          int MustBeOper, const char *pattern, int server,
+                          int parc, char *parv[]);
 extern struct Client* next_client(struct Client* next, const char* ch);
 extern char *umode_str(struct Client *cptr);
 extern void send_umode(struct Client *cptr, struct Client *sptr, int old, int sendmask);