Switch to unified view

a/src/index/indexer.h b/src/index/indexer.h
...
...
14
 *   Free Software Foundation, Inc.,
14
 *   Free Software Foundation, Inc.,
15
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
15
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
16
 */
16
 */
17
#ifndef _INDEXER_H_INCLUDED_
17
#ifndef _INDEXER_H_INCLUDED_
18
#define _INDEXER_H_INCLUDED_
18
#define _INDEXER_H_INCLUDED_
19
/* @(#$Id: indexer.h,v 1.19 2006-10-16 15:33:08 dockes Exp $  (C) 2004 J.F.Dockes */
19
/* @(#$Id: indexer.h,v 1.20 2006-10-22 14:47:13 dockes Exp $  (C) 2004 J.F.Dockes */
20
20
21
#include <string>
21
#include <string>
22
#include <list>
22
#include <list>
23
23
24
#ifndef NO_NAMESPACES
24
#ifndef NO_NAMESPACES
...
...
114
    bool indexDb(bool resetbefore, std::list<string> *topdirs);
114
    bool indexDb(bool resetbefore, std::list<string> *topdirs);
115
115
116
    /** Index a list of files. No db cleaning or stemdb updating */
116
    /** Index a list of files. No db cleaning or stemdb updating */
117
    bool indexFiles(const std::list<string> &files);
117
    bool indexFiles(const std::list<string> &files);
118
118
119
    /** Purge a list of files. */
120
    bool purgeFiles(const std::list<string> &files);
121
119
    /** Create stem database for given language */
122
    /** Create stem database for given language */
120
    bool createStemDb(const string &lang);
123
    bool createStemDb(const string &lang);
121
124
122
    /** Create misspelling expansion dictionary if aspell i/f is available */
125
    /** Create misspelling expansion dictionary if aspell i/f is available */
123
    bool createAspellDict();
126
    bool createAspellDict();
...
...
139
    DbIxStatusUpdater *m_updater;
142
    DbIxStatusUpdater *m_updater;
140
143
141
    bool init(bool rst = false);
144
    bool init(bool rst = false);
142
};
145
};
143
146
144
/** Helper method in recollindex.cpp for initial checks/setup to index 
147
/** Helper methods in recollindex.cpp for initial checks/setup to index 
145
 * a list of files (either from the monitor or the command line) */
148
 * a list of files (either from the monitor or the command line) */
146
extern bool indexfiles(RclConfig *config, const list<string> &filenames);
149
extern bool indexfiles(RclConfig *config, const list<string> &filenames);
150
extern bool purgefiles(RclConfig *config, const list<string> &filenames);
147
151
148
#endif /* _INDEXER_H_INCLUDED_ */
152
#endif /* _INDEXER_H_INCLUDED_ */