Included Files
- #include <mplib1/mplib1_config.h>
- #include <mplib1/mpstrtok.h>
- #include <mplib1/dl_list.h>
- #include <mplib1/dl_lru.h>
- #include <mplib1/data_align.h>
Preprocessor definitions
#define SEARCH_MISSING_LIST
#define SEARCH_FREE_LIST
#define SEARCH_LRU_LIST
#define SEARCH_ALL_LISTS
#define C_MODE( r, n, a, t, m, d )
- struct vchar_gen
- {
- unsigned short len;
- unsigned char arr[1];
- }
typedef struct vchar_gen* vchar_ptr
- See:
- struct cps
- {
- struct Cache_List* cl;
- int nrl;
- struct full_search_rule* srp;
- void** sv;
- struct Cache_Item* ci;
- struct Cache_Item* si;
- struct Cache_Item* rv;
- }
Local Variables
Master_List
static struct List* Master_List
- Used in:
-
default_flags
static int default_flags
- Used in:
-
int Add_Cache_Item ( const char* list_name, const void* list_key, ... )
- Prototyped in:
-
- Calls:
-
- References Variables:
-
void* Cache_Alloc_Lump ( size_t sz, const char* name, char** new_name )
- Prototyped in:
-
- Calls:
- malloc(), memset(), strcpy(), strlen()
- Called by:
-
int Cache_Build_Field_List ( struct Cache_List* cl, const char* format_str, const char* field_names )
- Prototyped in:
-
- Calls:
-
- Called by:
-
int Cache_Complete_Miss ( const char* list_name, const void* list_key )
- Prototyped in:
-
- Calls:
-
- References Variables:
-
struct Cache_Item* Cache_Find_Simple_Item ( struct Cache_List* cl, const char* list_key, int* rv )
- Prototyped in:
-
- Calls:
-
- Called by:
-
int Cache_Flush ( const char* list_name )
- Prototyped in:
-
- Calls:
-
- References Variables:
-
int Cache_Init ( int def_flags )
- Prototyped in:
-
- Calls:
-
- References Variables:
-
int Create_Cache_List ( const char* list_name, int max_items, int list_flags, size_t key_size, const char* format_str, const char* field_names )
- Prototyped in:
-
- Calls:
-
- References Variables:
-
int Find_Cache_Item ( const char* list_name, const void* list_key, const char* field_list, ... )
- Prototyped in:
-
- Calls:
-
- References Variables:
-
void* Find_Full_Item ( struct Full_List* flist, const char* name )
- Prototyped in:
-
- Calls:
-
- Called by:
-
struct List* Get_Cache_Master_List ( void )
- Prototyped in:
-
- Calls:
-
- Called by:
-
- References Variables:
-
Full_List* Init_Full_List ( Full_List* list, const char* name, int flags )
- Prototyped in:
-
- Calls:
-
- Called by:
-
struct Cache_List* New_Cache_List ( const char* list_name, int max_items, int flags, int defaults, int last_ditch )
- Prototyped in:
-
- Calls:
-
- Called by:
-
static int Alloc_Many ( struct Cache_List* cl, size_t key_size )
- Calls:
-
- Called by:
-
static int Cache_Flag_Gen ( int new_flags, int alt_flags )
- Called by:
-
static int Init_Item ( struct Cache_Item* ci, struct Cache_List* cl, char* new_name, size_t name_len )
- Calls:
-
- Called by:
-
static int Local_Cache_Init ( List** cml )
- Calls:
-
- Called by:
-
static struct Cache_Item* New_Cache_Item ( struct Cache_List* cl, char* item_name )
- Calls:
-
- Called by:
-
static struct Cache_Item* Obtain_Cache_Item ( struct Cache_List* cl, const char* list_key, List* L_List, int i_flags )
- Calls:
-
- Called by:
-