From 2f4c03923b250a3bbf96188ceb91979841a95e91 Mon Sep 17 00:00:00 2001 From: midipix Date: Fri, 3 Aug 2018 23:16:42 +0000 Subject: library interfaces: archive generation: simplify, re-implement with mmap. --- include/mdso/mdso.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/mdso/mdso.h b/include/mdso/mdso.h index 7927896..f8228e5 100644 --- a/include/mdso/mdso.h +++ b/include/mdso/mdso.h @@ -158,9 +158,9 @@ mdso_api int mdso_get_driver_fdctx (const struct mdso_driver_ctx *, struct mdso_api int mdso_set_driver_fdctx (struct mdso_driver_ctx *, const struct mdso_fd_ctx *); /* helper api */ -mdso_api FILE*mdso_create_archive (const struct mdso_driver_ctx *, const char * arname); mdso_api int mdso_create_asmsrc (const struct mdso_driver_ctx *, const char * asmname); mdso_api int mdso_create_object (const struct mdso_driver_ctx *, struct mdso_object *); +mdso_api int mdso_create_archive (const struct mdso_driver_ctx *, struct mdso_object *); /* utility api */ mdso_api int mdso_main (int, char **, char **, const struct mdso_fd_ctx *); @@ -192,7 +192,7 @@ mdso_api int mdso_objgen_symfn (const struct mdso_driver_ctx *, const c mdso_api int mdso_argen_common (const struct mdso_driver_ctx *, const char **, const int *, - FILE *, struct mdso_object *); + struct mdso_object *); /* package info */ mdso_api const struct mdso_source_version * mdso_source_version(void); -- cgit v1.2.3