summaryrefslogtreecommitdiff
path: root/builder/builder-utils.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2016-01-08 16:47:01 +0100
committerAlexander Larsson <alexl@redhat.com>2016-01-11 11:40:46 +0100
commit62b4ffaa72891520d57ce32ba99b40ceeda6cd99 (patch)
treed78a57f078ecfdd499cebb210326f5d6064328b4 /builder/builder-utils.h
parent8be003135589486ce8e6570e45af022950af8665 (diff)
downloadxdg-app-62b4ffaa72891520d57ce32ba99b40ceeda6cd99.tar.gz
builder: Use libelf to detect elf files
This additionally looks for already stripped files
Diffstat (limited to 'builder/builder-utils.h')
-rw-r--r--builder/builder-utils.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/builder/builder-utils.h b/builder/builder-utils.h
index 58614bb..d0b59ac 100644
--- a/builder/builder-utils.h
+++ b/builder/builder-utils.h
@@ -33,6 +33,13 @@ char *builder_uri_to_filename (const char *uri);
const char *path_prefix_match (const char *pattern,
const char *string);
+gboolean strip (GError **error,
+ ...);
+
+gboolean is_elf_file (const char *path,
+ gboolean *is_shared,
+ gboolean *is_stripped);
+
G_END_DECLS
#endif /* __BUILDER_UTILS_H__ */