Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

object.h File Reference

#include <list.h>
#include <errorCodes.h>
#include <types.h>

Go to the source code of this file.

Data Structures

struct  _Object
struct  _ObjectSymbol
struct  _ObjectRelocation
struct  _ObjectSection
struct  _ObjectParser

Typedefs

typedef _ObjectObject
typedef _ObjectParserObjectParser
typedef _ObjectSectionObjectSection
typedef _ObjectSymbolObjectSymbol
typedef _ObjectRelocationObjectRelocation
typedef ErrorCode(* ObjectParserCreateFunction )(Object obj, void *buffer, uint32 length)
typedef ErrorCode(* ObjectParserDestroyFunction )(Object obj)

Functions

ErrorCode objectCreate (Object *obj, String name, void *buffer, uint32 length)
ErrorCode objectCreateEmpty (Object *obj)
ErrorCode objectDestroy (Object *obj)
ErrorCode objectGetImportList (Object obj, List *imports)
ErrorCode objectGetExportList (Object obj, List *exports)
ErrorCode objectGetSectionIterator (Object obj, ListIterator *iterator)
ErrorCode objectGetSectionList (Object obj, List *sections)
ErrorCode objectSetBase (Object obj, void *base)
ErrorCode objectLink (Object obj1, Object obj2)
ErrorCode objectDump (Object obj)
ErrorCode objectParserInit (void)
ErrorCode objectParserFinal (void)
ErrorCode objectParserAdd (String formatName, ObjectParserCreateFunction create, ObjectParserDestroyFunction destroy)
ErrorCode objectParserRemove (ObjectParser parser)
ErrorCode objectParserCreateSection (ObjectSection *section, String name, uint32 id, uint32 offset, uint32 length, uint32 alignment)
ErrorCode objectParserAddSection (Object obj, ObjectSection section)
ErrorCode objectParserGetSection (Object obj, String name, ObjectSection *section)
ErrorCode objectParserGetSectionById (Object obj, uint32 id, ObjectSection *section)
ErrorCode objectParserCreateSymbol (ObjectSymbol *symbol, String name, uint32 id, uint32 location)
ErrorCode objectParserAddImport (Object obj, ObjectSymbol import)
ErrorCode objectParserAddExport (Object obj, ObjectSymbol export, ObjectSection section)
ErrorCode objectParserGetImportById (Object obj, uint32 id, ObjectSymbol *symbol)
ErrorCode objectParserGetExportById (Object obj, uint32 id, ObjectSymbol *symbol)
ErrorCode objectParserGetImportByName (Object obj, String name, ObjectSymbol *symbol)
ErrorCode objectParserGetExportByName (Object obj, String name, ObjectSymbol *symbol)
ErrorCode objectParserCreateSymbolRelocation (ObjectRelocation *reloc, ObjectSection sourceSection, uint32 offset, ObjectSymbol symbol, uint8 length, Boolean relative)
ErrorCode objectParserCreateSectionRelocation (ObjectRelocation *reloc, ObjectSection sourceSection, uint32 offset, ObjectSection section, uint8 length, Boolean relative)
ErrorCode objectParserAddRelocation (Object obj, ObjectRelocation rec)
ErrorCode objectParserSetPrivateData (Object obj, void *privateData)
ErrorCode objectParserGetPrivateData (Object obj, void **privateData)


Generated on Wed Mar 22 20:36:34 2006 for ndk by  doxygen 1.4.4