Add include / exclude lists options and relative filename support.

- fmond.c: add include / exclude list support like rsync for
ignoring/restricting some files.
- fmond.c: pass new variable $rfile to command which is the relative
file found.
- fmond.c: fix to allow daemon execution without setting user and group
options.
- fmond.c: fix for custom config file and add file check before options
loading.
- fmond.c: add daemon flag to known current execution type.
- fmond.c: use GError on all glib functions where it is possible.
- fmond.c: check main/watcher groups existence and creation order.
- fmond.c: update logger/handlers with new API.
- log.c: redesign log handler functions.
- log_console.c: update API.
- log_file.c: update API.
- log_syslog.c: update API.

Signed-off-by: Boris HUISGEN <bhuisgen@hbis.fr>
Update README/TODO files

Signed-off-by: Boris HUISGEN <bhuisgen@hbis.fr>
Fix uninitialized value.

fmond.c: fix uninitialized watcher struct.

Signed-off-by: Boris HUISGEN <bhuisgen@hbis.fr>
Remove duplicated code.

Signed-off-by: Boris HUISGEN <bhuisgen@hbis.fr>
Add unmounted event capability.

- fmond.c: add 'unmounted' event capability.
- fmond.c: fix crash when logger is not created in stop_watchers().
- fmond.c: fix event check + exclude list.
- fmond.c: enable debug flags to g_type_init().
- update configuration file and translations.

Signed-off-by: Boris HUISGEN <bhuisgen@hbis.fr>
Add mount/umounts events support, recursive directories and new file tests.

- fmond.c: add support for mount/umount events.
- fmond.c: add support for recursive monitoring.
- fmond.c: add new file tests : type, user/group owner,
- fmond.c: catch SIGUSR1 and SIGUSR2 signals for starting/stopping watchers.
- fmond.c: update logger macros to check logger existence.
- common.h: add gio-unix.h
- fmond.conf: add new options.
- configure.in:  add check for gio-unix 2.6.
- autoconf/automake: regenerate scripts on Debian 6.

Signed-off-by: Boris HUISGEN <bhuisgen@hbis.fr>
Add watcher support in command line execution.

- fmond.c: add watcher support in client execution to simulate find command.
- fmond.c: add print/print0 in client execution though pipe to allow grep/xargs.
- fmond.c: rename 'Command' option to 'Exec'.
- fmond.c: allow 'Exec' and 'Events' options to be omitted to allow log only mode.
- fmond.c: fix SIGHUP/SIGUSR1/SIGUSR2 to work only in daemon mode.
- fmond.c: disable configuration file loading in client execution.
- fmond.c: reorder options in init_watchers().
- fmond.c: add uid/gid support for 'User' and 'Group' watcher options.
- fmond.c: fix verbose output in init_logger().
- fmond.c: cleanup in watcher_list_monitors().
- fmond.c: force custom config file to be absolute for daemon mode.
- fmond.c: fix check on owner group name.
- fmond.c: fix logger_set_options() return values.
- fmond.c: fix watcher struct member mount_event() and watcher_event().
- fmond.c: fix memory leaks in init_watchers().
- fmond.c: fix memory leaks with watcher user/group options .
- daemon.c: remove unused variable.
- fmond.conf: update configuration file.
- fmond.c: update configure.in.

Signed-off-by: Boris HUISGEN <bhuisgen@hbis.fr>
Rename program name to fmon.

Signed-off-by: Boris HUISGEN <bhuisgen@hbis.fr>
Some minor fixes.

- fmond.c : fix help text output.
- fmond.c : fix logger to show error for non verbose output.
- fmond.c : fix daemon option value set to no if client execution.

Signed-off-by: Boris HUISGEN <bhuisgen@hbis.fr>
Fix owner uid/gid checks.

Signed-off-by: Boris HUISGEN <bhuisgen@hbis.fr>
Update traductions.

Signed-off-by: Boris HUISGEN <bhuisgen@hbis.fr>