|
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"
|
|
|
4 |
#ifdef RCL_MONITOR
|
3 |
/* @(#$Id: rclmon.h,v 1.1 2006-10-16 15:33:08 dockes Exp $ (C) 2006 J.F.Dockes */
|
5 |
/* @(#$Id: rclmon.h,v 1.2 2006-10-17 14:41:59 dockes Exp $ (C) 2006 J.F.Dockes */
|
4 |
/**
|
6 |
/**
|
5 |
* Definitions for the real-time monitoring recoll.
|
7 |
* Definitions for the real-time monitoring recoll.
|
6 |
* We're interested in file modifications, deletions and renaming.
|
8 |
* We're interested in file modifications, deletions and renaming.
|
7 |
* 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
|
8 |
* other to perform adequate processing.
|
10 |
* other to perform adequate processing.
|
|
... |
|
... |
59 |
RclEQData *m_data;
|
61 |
RclEQData *m_data;
|
60 |
};
|
62 |
};
|
61 |
|
63 |
|
62 |
extern RclMonEventQueue rclEQ;
|
64 |
extern RclMonEventQueue rclEQ;
|
63 |
extern bool startMonitor(RclConfig *conf, bool nofork);
|
65 |
extern bool startMonitor(RclConfig *conf, bool nofork);
|
64 |
|
66 |
#endif // RCL_MONITOR
|
65 |
#endif /* _RCLMON_H_INCLUDED_ */
|
67 |
#endif /* _RCLMON_H_INCLUDED_ */
|