00001 #ifndef LIST_MAP_H 00002 #define LIST_MAP_H 00003 00004 /************************************************** 00005 * the Beos Reversing Engine * 00006 * by Zadig * 00007 * * 00008 * This file contains headers of the chain-lists * 00009 * structures manipulation functions. * 00010 **************************************************/ 00011 /*******************/ 00012 /* GROUP Chainlist */ 00013 /*******************/ 00014 00015 /*********************** 00016 * Mapping functions * 00017 ***********************/ 00018 extern int32 LIST_AlphaSort(LIST_Mapping *list); 00019 extern int32 LIST_FreeMap(LIST_Mapping *list); 00020 extern int32 LIST_DeleteMap(LIST_Mapping *list, Mapping *mapping); 00021 extern Mapping *LIST_AddMap(LIST_Mapping *list, Mapping map); 00022 extern Mapping *LIST_GetMappingAtAddr(LIST_Mapping *list, uint32 i_Addr); 00023 00024 /************************* 00025 * Reference functions * 00026 *************************/ 00027 extern int32 LIST_FreeRef(LIST_Reference *list); 00028 extern int32 LIST_DeleteRef(LIST_Reference *list, int32 i_Index); 00029 extern int32 LIST_AppendRef(LIST_Reference *list, Reference ref); 00030 00031 /********************** 00032 * Callee functions * 00033 **********************/ 00034 extern int32 LIST_FreeCallees(LIST_Callee *list); 00035 extern int32 LIST_AddCallee(LIST_Callee *list, Mapping *mapping); 00036 00037 /*************/ 00038 /* END GROUP */ 00039 /*************/ 00040 00041 #endif