]> jfr.im git - irc/quakenet/newserv.git/blobdiff - helpmod2/hlamer.h
CHANSERV: remove E type escapes
[irc/quakenet/newserv.git] / helpmod2 / hlamer.h
index 7d830f82216d41c32a96493d4d69fc53f63eae55..948ba907cd9134102815322f8bb511084f9a7be0 100644 (file)
@@ -19,6 +19,15 @@ typedef enum
     HLC_SPAM
 } hlc_violation;
 
+/* under construction */
+typedef enum
+{
+    HLC_X,
+    HLC_Y
+} hlc_component;
+
+#define HLC_COMPONENT_COUNT 0
+
 typedef struct hlamercontrol_profile_struct
 {
     sstring *name;
@@ -55,4 +64,8 @@ hlc_profile *hlc_get(const char *);
 /* checks a string for lameness, returns non-zero if lameness is present and the user is kicked */
 int hlc_check(struct hchannel_struct*, struct huser_struct*, const char *);
 
+/* Returns the component name for the given component */
+const char *hlc_get_cname(hlc_component);
+const char *hlc_get_violation_name(hlc_violation);
+
 #endif