|
a/src/rcldb/rcldb.h |
|
b/src/rcldb/rcldb.h |
|
... |
|
... |
248 |
bool needUpdate(const string &udi, const string& sig);
|
248 |
bool needUpdate(const string &udi, const string& sig);
|
249 |
|
249 |
|
250 |
/** Add or update document. The Doc class should have been filled as much as
|
250 |
/** Add or update document. The Doc class should have been filled as much as
|
251 |
* possible depending on the document type. parent_udi is only
|
251 |
* possible depending on the document type. parent_udi is only
|
252 |
* use for subdocs, else set it to empty */
|
252 |
* use for subdocs, else set it to empty */
|
253 |
bool addOrUpdate(const string &udi, const string &parent_udi,
|
253 |
bool addOrUpdate(RclConfig *config, const string &udi,
|
254 |
Doc &doc);
|
254 |
const string &parent_udi, Doc &doc);
|
|
|
255 |
#ifdef IDX_THREADS
|
|
|
256 |
void waitUpdIdle();
|
|
|
257 |
#endif
|
255 |
|
258 |
|
256 |
/** Delete document(s) for given UDI, including subdocs */
|
259 |
/** Delete document(s) for given UDI, including subdocs */
|
257 |
bool purgeFile(const string &udi, bool *existed = 0);
|
260 |
bool purgeFile(const string &udi, bool *existed = 0);
|
258 |
|
261 |
|
259 |
/** Remove documents that no longer exist in the file system. This
|
262 |
/** Remove documents that no longer exist in the file system. This
|