00001 /***************************************************************************/ 00009 #ifndef OBJECTFILE_H_INCLUDED 00010 #define OBJECTFILE_H_INCLUDED 00011 00012 #include <stdio.h> 00013 #include "list.h" 00014 00015 /* forward declaration of opaque structure */ 00016 struct s_objectFile; 00017 typedef struct s_objectFile objectFile; 00018 00021 extern objectFile* objectFileCreate(const char* name); 00022 00025 extern void objectFileCollect(objectFile* src, FILE* file); 00026 00029 extern void objectFileCompute(list* oFiles, FILE* file); 00030 00034 extern void objectFileColorize(const char* seed, unsigned long color); 00035 00038 extern list* objectFileGetUsed(objectFile* src); 00039 00042 extern list* objectFileGetUnused(objectFile* src); 00043 00046 extern const char* objectFileGetName(objectFile* src); 00047 00050 extern void objectFileDumpMap(list* oFiles); 00051 00054 extern void objectFileDumpUsed(list* oFiles); 00055 00058 extern void objectFileDumpUnused(list* oFiles); 00059 00060 #endif