static const char **skip_files;
static struct fce_close_event last_close_event;
-static char *fce_event_names[] = {
+/*
+ * This only initializes consecutive events beginning at 1, high
+ * numbered events must be initialized in the code
+ */
+static char *fce_event_names[FCE_LAST_EVENT + 1] = {
"",
"FCE_FILE_MODIFY",
"FCE_FILE_DELETE",
if (first_event == true) {
first_event = false;
+ fce_event_names[FCE_CONN_START] = "FCE_CONN_START";
+ fce_event_names[FCE_CONN_BROKEN] = "FCE_CONN_BROKEN";
+
struct passwd *pwd = getpwuid(obj->uid);
user = strdup(pwd->pw_name);