- Remove ND_Node_Root_Alloc(),
- Update init handler API.
This commit is contained in:
@@ -194,23 +194,6 @@ NDT_Status ND_Node_Free( NDT_Root *, NDT_Node *);
|
||||
/*----------------------------------------------------------------------------*/
|
||||
NDT_Status ND_Index_Clear( NDT_Root *, NDT_Index_Id);
|
||||
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Alocate and initialize a new data structure root node */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* (O) Root_Ptr_Ptr: Pointer adress of the new sata structure */
|
||||
/* (I) DataStruct_Name: Name of the data structure */
|
||||
/* (I) Index_Nb: Number of index */
|
||||
/* (I) Index_Type_Ptr: Array of Index type (List, tree, ...) */
|
||||
/* (I) Handlers_Ptr: Pointer to the data structure handlers */
|
||||
/* (I) Root_Extra_Size: Additional size to be allocated with root node */
|
||||
/* (I) Own_Value: Flag indicating if the structure is the node owner */
|
||||
/* (I) User_Ptr: User pointer */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
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, size_t Root_Extra_Size, short Own_Value, void *User_Ptr);
|
||||
|
||||
|
||||
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Destruction d'une racine */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
@@ -338,15 +321,11 @@ NDT_Status ND_List_Sort( NDT_Root *, NDT_Index_Id);
|
||||
/* - Return extra root size */
|
||||
/* - Update handler tab */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* (O) Root_Ptr_Ptr: Pointer adress of the new data structure */
|
||||
/* (O) Root_Extra_Size: Pointer on the extra root size */
|
||||
/* (I) DataStruct_Name: Name of the data structure */
|
||||
/* (I) Open_Mode: Open mode */
|
||||
/* (I) Handler_Tab: Pointer on the handler tab */
|
||||
/* (I) User_Ptr: User pointer */
|
||||
/* (O) Root_Extra_Size_Ptr: Pointer on the extra root size */
|
||||
/* (I) User_Ptr: User pointer */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
NDT_Status ND_Handler_Init_Default( NDT_Root **Root_Ptr_Ptr, size_t *Root_Extra_Size, NDT_DataStruct_Name Name, NDT_Open_Flag Open_Mode, NDT_Handler *Handler_Tab, void *User_Ptr);
|
||||
NDT_Status ND_Handler_Init_Default( size_t *Root_Extra_Size_Ptr, void *User_Ptr);
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user