Switch to unified view

a/src/index/subtreelist.h b/src/index/subtreelist.h
...
...
16
 */
16
 */
17
17
18
#ifndef _SUBTREELIST_H_INCLUDED_
18
#ifndef _SUBTREELIST_H_INCLUDED_
19
#define _SUBTREELIST_H_INCLUDED_
19
#define _SUBTREELIST_H_INCLUDED_
20
20
21
#include <vector>
21
#include <list>
22
#include <string>
22
using std::list;
23
23
24
class RclConfig;
24
class RclConfig;
25
25
26
// This queries the database with a pure directory-filter query, to
26
// This queries the database with a pure directory-filter query, to
27
// retrieve all the entries beside the specified path. This is used by
27
// retrieve all the entries beside the specified path. This is used by
28
// the real time indexer to purge entries when a top directory is
28
// the real time indexer to purge entries when a top directory is
29
// renamed. This is really convoluted, I'd like a better way.
29
// renamed. This is really convoluted, I'd like a better way.
30
extern bool subtreelist(RclConfig *config, const string& top, 
30
extern bool subtreelist(RclConfig *config, const string& top, 
31
            list<string>& paths); 
31
            std::vector<std::string>& paths); 
32
32
33
#endif /* _SUBTREELIST_H_INCLUDED_ */
33
#endif /* _SUBTREELIST_H_INCLUDED_ */