Changeset 367 for trunk/src/sh_modules.c


Ignore:
Timestamp:
Oct 30, 2011, 9:18:31 AM (13 years ago)
Author:
katerina
Message:

Modifications for ticket #265 (inotify support). Needs testing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_modules.c

    r294 r367  
    1818#include "sh_logmon.h"
    1919#include "sh_registry.h"
     20#include "sh_fInotify.h"
    2021
    2122sh_mtype modList[] = {
     
    173174#endif
    174175
     176#if defined(HAVE_SYS_INOTIFY_H)
     177  {
     178    N_("INOTIFY"),
     179    -1,
     180    SH_MODFL_NOTIMER,
     181    sh_fInotify_init,
     182    sh_fInotify_timer,
     183    sh_fInotify_run,
     184    sh_fInotify_cleanup,
     185    sh_fInotify_reconf,
     186
     187    N_("[Inotify]"),
     188    sh_fInotify_table,
     189    PTHREAD_MUTEX_INITIALIZER,
     190  },
     191#endif
     192
    175193  {
    176194    NULL,
Note: See TracChangeset for help on using the changeset viewer.