|
a/src/index/rclmon.h |
|
b/src/index/rclmon.h |
1 |
#ifndef _RCLMON_H_INCLUDED_
|
1 |
#ifndef _RCLMON_H_INCLUDED_
|
2 |
#define _RCLMON_H_INCLUDED_
|
2 |
#define _RCLMON_H_INCLUDED_
|
3 |
#include "autoconfig.h"
|
3 |
#include "autoconfig.h"
|
4 |
#ifdef RCL_MONITOR
|
4 |
#ifdef RCL_MONITOR
|
5 |
/* @(#$Id: rclmon.h,v 1.6 2006-10-25 10:52:02 dockes Exp $ (C) 2006 J.F.Dockes */
|
5 |
/* @(#$Id: rclmon.h,v 1.7 2006-11-07 16:51:45 dockes Exp $ (C) 2006 J.F.Dockes */
|
6 |
/**
|
6 |
/**
|
7 |
* Definitions for the real-time monitoring recoll.
|
7 |
* Definitions for the real-time monitoring recoll.
|
8 |
* We're interested in file modifications, deletions and renaming.
|
8 |
* We're interested in file modifications, deletions and renaming.
|
9 |
* We use two threads, one to receive events from the source, the
|
9 |
* We use two threads, one to receive events from the source, the
|
10 |
* other to perform adequate processing.
|
10 |
* other to perform adequate processing.
|
|
... |
|
... |
77 |
|
77 |
|
78 |
/** There can only be one of us. Name of the lock file inside the config
|
78 |
/** There can only be one of us. Name of the lock file inside the config
|
79 |
* directory. We write our pid in there */
|
79 |
* directory. We write our pid in there */
|
80 |
#define RCL_MONITOR_PIDFILENAME "rclmonpid"
|
80 |
#define RCL_MONITOR_PIDFILENAME "rclmonpid"
|
81 |
|
81 |
|
|
|
82 |
// Specific debug macro for monitor synchronization events
|
|
|
83 |
#define MONDEB LOGDEB2
|
|
|
84 |
|
|
|
85 |
|
82 |
#endif // RCL_MONITOR
|
86 |
#endif // RCL_MONITOR
|
83 |
#endif /* _RCLMON_H_INCLUDED_ */
|
87 |
#endif /* _RCLMON_H_INCLUDED_ */
|