Main Page | Data Structures | Directories | File List | Data Fields | Globals

Sadie_Index.h

Go to the documentation of this file.
00001 
00017 /* This file is part of tclSadie.
00018 
00019    tclSadie is free software; you can redistribute it and/or modify it
00020    under the terms of the GNU General Public License as published by
00021    the Free Software Foundation; either version 2 of the License, or
00022    (at your option) any later version.
00023 
00024    tclSadie is distributed in the hope that it will be useful, but
00025    WITHOUT ANY WARRANTY; without even the implied warranty of
00026    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00027    General Public License for more details.
00028 
00029    You should have received a copy of the GNU General Public License
00030    along with tclSadie; if not, write to the Free Software Foundation,
00031    Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.  */
00032 
00033 #ifndef SADIE_INDEX_H
00034 
00035 #define SADIE_INDEX_H 1
00036 #include "project_utilities.h"
00037 
00038 BEGIN_C_DECLARATIONS
00039 
00041 typedef void (*sad_property_data_destructor_t) (void *);
00042 
00044 typedef struct Sad_doclist * sad_doclistp_t;
00045 
00046 void dispose_doclist (sad_doclistp_t thedoclist);
00047 
00048 sad_doclistp_t make_doclist (int logsize);
00049 
00050 int sad_dispose_doc (sad_doclistp_t doclist, const char *dkey);
00051 
00052 int sad_put_doc (sad_doclistp_t doclist, const char *dkey,
00053                  int logpsize, const IMAGE *img);
00054 
00055 int sad_put_doc_property (sad_doclistp_t doclist, const char *dkey,
00056                           const char *pkey,
00057                           sad_property_data_destructor_t destruct,
00058                           void *data);
00059 
00060 void * sad_get_doc_property (const sad_doclistp_t doclist,
00061                              const char *dkey, const char *pkey);
00062 
00063 END_C_DECLARATIONS
00064 
00065 #endif /* !SADIE_INDEX_H */

Generated on Fri Jul 8 14:55:01 2005 for tclSadie by  doxygen 1.4.2