summaryrefslogtreecommitdiffstats
path: root/libebl/libebl.h
diff options
context:
space:
mode:
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. */