ddc
Corpora.h
Go to the documentation of this file.
1 //-*- Mode: C++ -*-
2 //
3 // DDC originally by Alexey Sokirko
4 // Changes and modifications 2011-2014 by Bryan Jurish
5 //
6 // This file is part of DDC.
7 //
8 // DDC is free software: you can redistribute it and/or modify
9 // it under the terms of the GNU Lesser General Public License as published by
10 // the Free Software Foundation, either version 3 of the License, or
11 // (at your option) any later version.
12 //
13 // DDC is distributed in the hope that it will be useful,
14 // but WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 // GNU Lesser General Public License for more details.
17 //
18 // You should have received a copy of the GNU Lesser General Public License
19 // along with DDC. If not, see <http://www.gnu.org/licenses/>.
20 //
21 // Corpora.h : Declaration of the CCorpora
22 #ifndef __CORPORA_H_
23 #define __CORPORA_H_
24 
25 #include "../CommonLib/string_socket.h"
26 #include "ServerOptions.h"
27 
28 extern void LoadDDCServer (string ServerConfigFile, const CDDCServerOptions& Options);
29 extern void LoadLocalCorpora(string ConfigFile, const CDDCServerOptions& Options);
30 extern void UnloadLocalCorporaAndServer ();
31 extern void ShutdownDDCServer();
32 extern void ShutdownLocalCorpora();
33 extern bool CheckDaemonAlive();
34 #endif //__CORPORA_H_
35 
36 /*--- emacs style variables ---
37  * Local Variables:
38  * mode: C++
39  * c-file-style: "ellemtel"
40  * c-basic-offset: 4
41  * tab-width: 8
42  * indent-tabs-mode: nil
43  * End:
44  */
void LoadLocalCorpora(string ConfigFile, const CDDCServerOptions &Options)
Definition: Corpora.cpp:64
void LoadDDCServer(string ServerConfigFile, const CDDCServerOptions &Options)
Definition: Corpora.cpp:112
void ShutdownLocalCorpora()
Definition: Corpora.cpp:251
Definition: ServerOptions.h:30
bool CheckDaemonAlive()
Definition: Corpora.cpp:44
void ShutdownDDCServer()
Definition: Corpora.cpp:243
void UnloadLocalCorporaAndServer()
Definition: Corpora.cpp:211