summaryrefslogtreecommitdiffstats
path: root/libebl/libebl.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-08-03 02:05:39 +0000
committerUlrich Drepper <drepper@redhat.com>2005-08-03 02:05:39 +0000
commita38998e815ccde5d90ff0800c31da255eb3430d3 (patch)
treee5f035b73eeaf4033f159351ecad375f63d3a0aa /libebl/libebl.h
parentef9c9c8fca98a8f9b6aa7c3604ba47e74094e181 (diff)
downloadandroid_external_elfutils-a38998e815ccde5d90ff0800c31da255eb3430d3.tar.gz
android_external_elfutils-a38998e815ccde5d90ff0800c31da255eb3430d3.tar.bz2
android_external_elfutils-a38998e815ccde5d90ff0800c31da255eb3430d3.zip
Add some patches from the disasm-branch branch.
The asm_begin interface changed. In text mode output is really written to the file.
Diffstat (limited to 'libebl/libebl.h')
-rw-r--r--libebl/libebl.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/libebl/libebl.h b/libebl/libebl.h
index aff9ca5e..a59d4dd4 100644
--- a/libebl/libebl.h
+++ b/libebl/libebl.h
@@ -37,6 +37,18 @@ extern Ebl *ebl_openbackend_emulation (const char *emulation);
extern void ebl_closebackend (Ebl *bh);
+/* Information about the descriptor. */
+
+/* Get ELF machine. */
+extern int ebl_get_elfmachine (Ebl *ebl) __attribute__ ((__pure__));
+
+/* Get ELF class. */
+extern int ebl_get_elfclass (Ebl *ebl) __attribute__ ((__pure__));
+
+/* Get ELF data encoding. */
+extern int ebl_get_elfdata (Ebl *ebl) __attribute__ ((__pure__));
+
+
/* Function to call the callback functions including default ELF
handling. */