File mplib1/dl_lru.h


Included Files


Preprocessor definitions

#define MPLIB1_DL_LRU

#define BIT( n )

#define CACHE_USE_DEFAULT 0

#define CACHE_CACHE_ON

#define CACHE_STAT_ONLY

#define CACHE_IGNORE_CASE

#define CACHE_CHECK_CASE

#define CACHE_PRE_ALLOCATE

#define CACHE_DEMAND_ALLOC

#define CACHE_MISS_IGNORE

#define CACHE_MISS_CACHE

#define CACHE_INSERT_MANY

#define CACHE_INSERT_SINGLE

#define CACHE_FLUSHABLE

#define CACHE_NO_FLUSH

#define CACHE_DEFAULTS

#define CACHE_MODE_MASK

#define CACHE_CASE_MASK

#define CACHE_ALLOC_MASK

#define CACHE_MISS_MASK

#define CACHE_INSERT_MASK

#define CACHE_FLUSH_MASK

#define CACHE_RANGE_DEFAULTS

#define CACHE_COMPLETE_MISS -1

#define CACHE_MISSED 0

#define CACHE_FOUND_ITEM 1

#define CACHE_FOUND_MANY 2

#define SEARCH_EQ 0

#define SEARCH_GE 1

#define SEARCH_GT 2

#define SEARCH_LE 3

#define SEARCH_LT 4

#define SEARCH_NE 5

#define NUM_SEARCH_COMPS 6

#define CACHE_ONE_OF_ONE

#define CACHE_ONE_OF_MANY

#define CACHE_END_OF_MANY NULL


Type struct search_rule

struct search_rule
struct search_rule  
   {  
      char* field_name;  
      int comparison_method;  
   }