Turnstone Operating System
Loading...
Searching...
No Matches
indexer.64.c File Reference

Indexer implementation for several data types. More...

#include <types.h>
#include <indexer.h>
#include <memory.h>
#include <list.h>
#include <iterator.h>
#include <strings.h>

Classes

struct  indexer_idx_kc_internal_t
 
struct  indexer_internal_t
 

Typedefs

typedef struct indexer_idx_kc_internal_t indexer_idx_kc_internal_t
 
typedef struct indexer_internal_t indexer_internal_t
 

Functions

 MODULE ("turnstone.lib")
 
indexer_t indexer_create_with_heap (memory_heap_t *heap)
 
int8_t indexer_destroy (indexer_t idxer)
 
int8_t indexer_register_index (indexer_t idxer, uint64_t idx_id, index_t *idx, indexer_key_creator_f key_creator, void *keyarg)
 
int8_t indexer_index (indexer_t idxer, const void *key, const void *data)
 
const void * indexer_delete (indexer_t idxer, const void *key)
 
iterator_tindexer_search (indexer_t idxer, uint64_t idx_id, const void *key1, const void *key2, const index_key_search_criteria_t criteria)
 

Detailed Description

Indexer implementation for several data types.

This work is licensed under TURNSTONE OS Public License. Please read and understand latest version of Licence.