#define HLC_DEFAULT_BANTIME (60 * 60 * 24)
+/* Forward declarations */
+struct hchannel_struct;
+struct huser_struct;
+
typedef enum
{
HLC_CAPS,
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;
void hlc_del_all(void);
hlc_profile *hlc_get(const char *);
-/* checks a string for lameness, returns non-zero if lameness is present and user is kicked */
-/* the first parameter is hchannel* and second is huser*, but since hchannel.h includes hlamer.h, this is needed */
-int hlc_check(void *, void*, 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