Changeset 140 for trunk/include
- Timestamp:
- Oct 29, 2007, 1:09:10 AM (17 years ago)
- Location:
- trunk/include
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/samhain.h
r138 r140 126 126 SH_CHECK_INIT = 1, 127 127 SH_CHECK_CHECK = 2 128 }; 129 130 enum { 131 SH_MOD_ACTIVE = 0, 132 SH_MOD_THREAD = 1, 133 SH_MOD_FAILED = 2 128 134 }; 129 135 -
trunk/include/sh_kern.h
r68 r140 6 6 7 7 #ifdef SH_USE_KERN 8 int sh_kern_init ( void);8 int sh_kern_init (struct mod_type * arg); 9 9 int sh_kern_timer (time_t tcurrent); 10 10 int sh_kern_check (void); -
trunk/include/sh_modules.h
r68 r140 3 3 #define SH_MODULE_H 4 4 5 #include "sh_pthread.h" 5 6 6 7 typedef struct rconf … … 19 20 20 21 /* The initialization function. Return 0 on success. */ 21 int (* mod_init) ( void);22 int (* mod_init) (struct mod_type * arg); 22 23 23 24 /* The timer function. Return 0 if NOT time to check. */ … … 39 40 sh_rconf * conf_table; 40 41 42 SH_MUTEX(mod_mutex); 43 41 44 } sh_mtype; 42 45 -
trunk/include/sh_mounts.h
r1 r140 11 11 12 12 #ifdef SH_USE_MOUNTS 13 int sh_mounts_init ( void);13 int sh_mounts_init (struct mod_type * arg); 14 14 int sh_mounts_timer (time_t tcurrent); 15 15 int sh_mounts_check (void); -
trunk/include/sh_portcheck.h
r67 r140 3 3 #define SH_PORTCHECK_H 4 4 5 int sh_portchk_init( void);5 int sh_portchk_init(struct mod_type * arg); 6 6 int sh_portchk_timer(time_t tcurrent); 7 7 int sh_portchk_check(void); -
trunk/include/sh_processcheck.h
r67 r140 3 3 #define SH_PROCESSCHECK_H 4 4 5 int sh_prochk_init( void);5 int sh_prochk_init(struct mod_type * arg); 6 6 int sh_prochk_timer(time_t tcurrent); 7 7 int sh_prochk_check(void); -
trunk/include/sh_pthread.h
r139 r140 123 123 #else 124 124 125 #define PTHREAD_MUTEX_INITIALIZER NULL 125 126 #define SH_MUTEX(M) void *SH_MUTEX_DUMMY_ ## M 126 127 #define SH_MUTEX_INIT(M,I) extern void *SH_MUTEX_DUMMY_ ## M -
trunk/include/sh_suidchk.h
r119 r140 6 6 7 7 #ifdef SH_USE_SUIDCHK 8 int sh_suidchk_init ( void);8 int sh_suidchk_init (struct mod_type * arg); 9 9 int sh_suidchk_timer (time_t tcurrent); 10 10 int sh_suidchk_check (void); -
trunk/include/sh_userfiles.h
r68 r140 9 9 10 10 #ifdef SH_USE_USERFILES 11 int sh_userfiles_init ( void);11 int sh_userfiles_init (struct mod_type * arg); 12 12 int sh_userfiles_timer (time_t tcurrent); 13 13 int sh_userfiles_check (void); -
trunk/include/sh_utmp.h
r68 r140 6 6 7 7 #ifdef SH_USE_UTMP 8 int sh_utmp_init ( void);8 int sh_utmp_init (struct mod_type * arg); 9 9 int sh_utmp_timer (time_t tcurrent); 10 10 int sh_utmp_check (void);
Note:
See TracChangeset
for help on using the changeset viewer.