Author: Kev <klmitch@mit.edu>
[ircu2.10.12-pk.git] / include / s_user.h
index 70da19bfa9333f87c3ecd79fd75da67c0e95d59d..e3e70c7846d87d0e0e1839b4ed249674e0904077 100644 (file)
@@ -13,6 +13,7 @@
 struct Client;
 struct User;
 struct Gline;
+struct Channel;
 
 /*
  * Macros
@@ -93,5 +94,9 @@ extern void add_target(struct Client *sptr, void *target);
 extern unsigned int umode_make_snomask(unsigned int oldmask, char *arg,
                                        int what);
 
+#define NAMES_ALL 1 /* List all users in channel */
+#define NAMES_VIS 2 /* List only visible users in non-secret channels */
+
+void do_names(struct Client* sptr, struct Channel* chptr, int filter);
 
 #endif /* INCLUDED_s_user_h */