Add GNU LGPL headers to all .c .C and .h files
[oweals/cde.git] / cde / programs / dtinfo / dtinfogen / infolib / etc / SearchStorage.h
1 /*
2  * CDE - Common Desktop Environment
3  *
4  * Copyright (c) 1993-2012, The Open Group. All rights reserved.
5  *
6  * These libraries and programs are free software; you can
7  * redistribute them and/or modify them under the terms of the GNU
8  * Lesser General Public License as published by the Free Software
9  * Foundation; either version 2 of the License, or (at your option)
10  * any later version.
11  *
12  * These libraries and programs are distributed in the hope that
13  * they will be useful, but WITHOUT ANY WARRANTY; without even the
14  * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15  * PURPOSE. See the GNU Lesser General Public License for more
16  * details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with these librararies and programs; if not, write
20  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21  * Floor, Boston, MA 02110-1301 USA
22  */
23 /* $XConsortium: SearchStorage.h /main/3 1996/07/18 16:49:38 drk $ */
24
25 #ifndef SRCH_STOR_HDR
26 #define SCRH_STOR_HDR
27
28 #include <stdio.h>
29
30 class SearchStorage {
31 private:
32   FILE *catalogfile;
33   char *filteredPath;
34
35 public:
36
37   SearchStorage( const char *BookCasePath, const char *BookCaseName ); 
38   /*
39    * insert ( "This Book Case Name", 2,
40    *           "XmyLcfhalklkoop",
41    *          "This is the text that the indexing machine will see",
42    *          51 );
43    *
44    */
45   
46   void insert( const char *BookCaseName,
47                const int   BookNum,
48                const char *BookShortTitle,
49                const char *SectionID,
50                const char *SectionTitle,
51                const char *buffer,
52                int         size
53     );
54   ~SearchStorage();
55   
56 };
57
58 #endif
59
60