source: main/trunk/greenstone2/runtime-src/src/colservr/colservertools.h@ 31903

Last change on this file since 31903 was 31394, checked in by ak19, 7 years ago

Further commit to do with implementing GS2 server side of OAI deletion policy: 1. Forgot to svn add new files! 2. browsefilter code does not need to get the oai metadata, removed this duplicate code, as that part is handled in source.cpp's get_oai_metadata, which is the stage where the oai metadata is actually required.

File size: 1.6 KB
Line 
1/**********************************************************************
2 *
3 * recptprototools.h --
4 * Copyright (C) 1999-2008 The New Zealand Digital Library Project
5 *
6 * A component of the Greenstone digital library software
7 * from the New Zealand Digital Library Project at the
8 * University of Waikato, New Zealand.
9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
14 *
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
19 *
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23 *
24 *********************************************************************/
25
26#ifndef COLSERVERTOOLS_H
27#define COLSERVERTOOLS_H
28
29#include "text_t.h"
30
31text_t getcollectionpath(const text_t& gsdlhome, const text_t& dbhome,
32 const text_t& collecthome, const text_t& collection);
33
34text_t resolve_db_filename(const text_t& gsdlhome, const text_t& dbhome,
35 const text_t& collecthome, const text_t& collection,
36 const text_t& idx, const text_t& file_ext);
37
38text_t resolve_oaidb_filename(const text_t& gsdlhome, const text_t& dbhome,
39 const text_t& collecthome, const text_t& collection,
40 const text_t& file_ext);
41
42
43#endif
Note: See TracBrowser for help on using the repository browser.