summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-08-03 23:16:42 +0000
committermidipix <writeonce@midipix.org>2018-08-03 21:13:31 -0400
commit2f4c03923b250a3bbf96188ceb91979841a95e91 (patch)
tree0b0a3fe3c47081345b72e9d7caa25b834c1cfbe9 /include
parent1c93c26f73c2e8746defed21d22d83d08ac16eaf (diff)
downloadmdso-2f4c03923b250a3bbf96188ceb91979841a95e91.tar.bz2
mdso-2f4c03923b250a3bbf96188ceb91979841a95e91.tar.xz
library interfaces: archive generation: simplify, re-implement with mmap.
Diffstat (limited to 'include')
-rw-r--r--include/mdso/mdso.h4
1 files changed, 2 insertions, 2 deletions
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);