#include "logerr.h"
#include <unistd.h>
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
#include <sadie.h>
#include "Sadie_Index.h"
Classes | |
| struct | Sad_doclist |
| A hash table implements the list of documents. More... | |
| struct | Sad_docitem |
| One node of the singly-linked list of documents hanging off a hash bucket. More... | |
| struct | Sad_property |
| struct | Sad_propertyitem |
| One node of the singly-linked list of properties hanging off a hash bucket. More... | |
| struct | Sad_doc |
| Each document contains a SADIE image with its property hash table. More... | |
Typedefs | |
| typedef Sad_property * | sad_propertyp_t |
| typedef Sad_docitem * | sad_docitemp_t |
| typedef Sad_doc * | sad_docp_t |
| typedef Sad_propertyitem * | sad_propertyitemp_t |
Functions | |
| void | dispose_doclist (sad_doclistp_t thedoclist) |
| sad_propertyp_t | make_property (sad_property_data_destructor_t yourdestruct, void *yourdata) |
| sad_doclistp_t | make_doclist (int logsize) |
| Create a new empty document list. | |
| int | sad_put_doc (sad_doclistp_t doclist, const char *dkey, int logpsize, const IMAGE *img) |
| int | sad_dispose_doc (sad_doclistp_t doclist, const char *dkey) |
| int | sad_put_doc_property (sad_doclistp_t doclist, const char *dkey, const char *pkey, sad_property_data_destructor_t destruct, void *data) |
| void * | sad_get_doc_property (const sad_doclistp_t doclist, const char *dkey, const char *pkey) |
SADIE represents images as structures that contain the pixel data and a limited range of other information. A simple in-memory database can however associate arbitrary metadata with the images, and track additional information not associated with a particular image.
1.3.9.1