#ifndef _HACKERS_WATCH_H #define _HACKERS_WATCH_H #include #include struct session { pthread_rwlock_t lock; size_t cnt; struct passwd *users; /* The following are only for writers */ char *yamldir; int *in_user_wds; int in_fd; int in_wd_home; int in_wd_yaml; }; int hackers_init(const char *yamldir, struct session *session); int hackers_worker(struct session *session); #endif