added support for user privileges through connection class
[ircu2.10.12-pk.git] / include / s_conf.h
index 0907f9b5343b9fc1a536c32d854c8d77f2ee6697..ea4f1c21706066755795585fd2702ac166c2f844 100644 (file)
@@ -67,7 +67,7 @@ struct ConfItem
   int dns_pending;    /**< A dns request is pending. */
   int flags;          /**< Additional modifiers for item. */
   int addrbits;       /**< Number of bits valid in ConfItem::address. */
-  struct Privs privs; /**< Privileges for opers. */
+  struct Privs privs; /**< Privileges for all users in this class. */
   /** Used to detect if a privilege has been set by this ConfItem. */
   struct Privs privs_dirty;
 };
@@ -186,6 +186,7 @@ extern const char *find_quarantine(const char* chname);
 extern void lookup_confhost(struct ConfItem *aconf);
 extern void conf_parse_userhost(struct ConfItem *aconf, char *host);
 extern struct ConfItem *conf_debug_iline(const char *client);
+extern void free_mapping(struct s_map *smap);
 
 extern void yyerror(const char *msg);