- New Handler tab implementation.
This commit is contained in:
@@ -119,31 +119,30 @@ NDT_Base NDG_Base =
|
||||
|
||||
|
||||
|
||||
NDT_DataStruct_Handlers NDG_Handlers_Default =
|
||||
{
|
||||
"", /* Default Manager function name */
|
||||
NULL, /* Default Manager function pointer */
|
||||
"", /* Default Init function name */
|
||||
NULL, /* Default Init function pointer */
|
||||
|
||||
// "ND_Default_Allocator", /* Default Alloc function name */
|
||||
// ND_Default_Allocator, /* Default Alloc function pointer */
|
||||
// "ND_Default_Deallocator", /* Default Free function name */
|
||||
// ND_Default_Deallocator, /* Default Free function pointer */
|
||||
|
||||
"", /* Default Alloc function name */
|
||||
NULL, /* Default Alloc function pointer */
|
||||
"", /* Default Free function name */
|
||||
NULL, /* Default Free function pointer */
|
||||
"", /* Default Open function name */
|
||||
NULL, /* Default Open function pointer */
|
||||
"", /* Default Close function name */
|
||||
NULL, /* Default Close function pointer */
|
||||
"", /* Default Lock function name */
|
||||
NULL, /* Default Lock function pointer */
|
||||
"", /* Default Unlock function name */
|
||||
NULL /* Default Unlock function pointer */
|
||||
};
|
||||
//{
|
||||
// "", /* Default Manager function name */
|
||||
// NULL, /* Default Manager function pointer */
|
||||
// "", /* Default Init function name */
|
||||
// NULL, /* Default Init function pointer */
|
||||
//
|
||||
//// "ND_Default_Allocator", /* Default Alloc function name */
|
||||
//// ND_Default_Allocator, /* Default Alloc function pointer */
|
||||
//// "ND_Default_Deallocator", /* Default Free function name */
|
||||
//// ND_Default_Deallocator, /* Default Free function pointer */
|
||||
//
|
||||
// "", /* Default Alloc function name */
|
||||
// NULL, /* Default Alloc function pointer */
|
||||
// "", /* Default Free function name */
|
||||
// NULL, /* Default Free function pointer */
|
||||
// "", /* Default Open function name */
|
||||
// NULL, /* Default Open function pointer */
|
||||
// "", /* Default Close function name */
|
||||
// NULL, /* Default Close function pointer */
|
||||
// "", /* Default Lock function name */
|
||||
// NULL, /* Default Lock function pointer */
|
||||
// "", /* Default Unlock function name */
|
||||
// NULL /* Default Unlock function pointer */
|
||||
//};
|
||||
|
||||
|
||||
|
||||
@@ -231,7 +230,7 @@ NDT_Status ND_Index_Clear( NDT_Root *, NDT_Index_Id);
|
||||
/*----------------------------------------------------------------------------*/
|
||||
//NDT_Status ND_Node_Root_Alloc( NDT_Root **, NDT_Index_Nb, NDT_Index_Type[], char *, NDT_Manager *, char *, NDT_Allocator *, char *, NDT_Deallocator *, short, void *);
|
||||
|
||||
NDT_Status ND_Node_Root_Alloc( NDT_Root **Root_Ptr_Ptr, NDT_DataStruct_Name Name, NDT_Index_Nb Index_Nb, NDT_Index_Type *Type_Ptr, NDT_DataStruct_Handlers *Handlers_Ptr, short Own_Value, void *Data_Ptr);
|
||||
NDT_Status ND_Node_Root_Alloc( NDT_Root **Root_Ptr_Ptr, NDT_DataStruct_Name Name, NDT_Index_Nb Index_Nb, NDT_Index_Type *Type_Ptr, NDT_Handler *Handler_Tab, short Own_Value, void *Data_Ptr);
|
||||
|
||||
|
||||
|
||||
@@ -351,6 +350,36 @@ NDT_Status ND_List_Sort( NDT_Root *, NDT_Index_Id);
|
||||
|
||||
|
||||
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Post prototype global variable definitions */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
NDT_Handler NDG_Handler_Tab_Default[ NDD_HANDLER_NB] =
|
||||
{
|
||||
{ "", /* Default Manager function name */
|
||||
NULL}, /* Default Manager function pointer */
|
||||
{ "", /* Default Init function name */
|
||||
NULL}, /* Default Init function pointer */
|
||||
|
||||
{ "ND_Default_Allocator", /* Default Alloc function name */
|
||||
(NDT_Handler_Function *)ND_Default_Allocator}, /* Default Alloc function pointer */
|
||||
{ "ND_Default_Deallocator", /* Default Free function name */
|
||||
(NDT_Handler_Function *)ND_Default_Deallocator}, /* Default Free function pointer */
|
||||
|
||||
// { "", /* Default Alloc function name */
|
||||
// NULL}, /* Default Alloc function pointer */
|
||||
// { "", /* Default Free function name */
|
||||
// NULL}, /* Default Free function pointer */
|
||||
{ "", /* Default Open function name */
|
||||
NULL}, /* Default Open function pointer */
|
||||
{ "", /* Default Close function name */
|
||||
NULL}, /* Default Close function pointer */
|
||||
{ "", /* Default Lock function name */
|
||||
NULL}, /* Default Lock function pointer */
|
||||
{ "", /* Default Unlock function name */
|
||||
NULL} /* Default Unlock function pointer */
|
||||
};
|
||||
|
||||
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
Reference in New Issue
Block a user