summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-08-03 07:53:34 +0000
committermidipix <writeonce@midipix.org>2018-08-03 21:13:30 -0400
commit18a091990a2de49fb0c9d85b0ae8e86825f2104f (patch)
treebd01adba7687618857a1866790c3ed4f9346f319 /include
parent3d38ce6b746e9d6f4e0b7dc251d88dba78fb0a47 (diff)
downloadmdso-18a091990a2de49fb0c9d85b0ae8e86825f2104f.tar.bz2
mdso-18a091990a2de49fb0c9d85b0ae8e86825f2104f.tar.xz
library interfaces: asm source generation: re-implement w. pure fdio and fdctx.
Diffstat (limited to 'include')
-rw-r--r--include/mdso/mdso.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/mdso/mdso.h b/include/mdso/mdso.h
index a2ac094..a0ecb0e 100644
--- a/include/mdso/mdso.h
+++ b/include/mdso/mdso.h
@@ -158,7 +158,7 @@ mdso_api int mdso_set_driver_fdctx (struct mdso_driver_ctx *, const struct
/* helper api */
mdso_api FILE*mdso_create_archive (const struct mdso_driver_ctx *, const char * arname);
-mdso_api FILE*mdso_create_asmsrc (const struct mdso_driver_ctx *, const char * asmname);
+mdso_api int mdso_create_asmsrc (const struct mdso_driver_ctx *, const char * asmname);
mdso_api FILE*mdso_create_object (const struct mdso_driver_ctx *, const char * objname);
/* utility api */
@@ -181,9 +181,9 @@ mdso_api int mdso_unmap_input (struct mdso_input *);
mdso_api uint32_t mdso_crc32_mbstr (const unsigned char *, size_t *);
mdso_api uint64_t mdso_crc64_mbstr (const unsigned char *, size_t *);
-mdso_api int mdso_asmgen_dsometa (const struct mdso_driver_ctx *, FILE *);
-mdso_api int mdso_asmgen_symentry (const struct mdso_driver_ctx *, const char *, FILE *);
-mdso_api int mdso_asmgen_symfn (const struct mdso_driver_ctx *, const char *, FILE *);
+mdso_api int mdso_asmgen_dsometa (const struct mdso_driver_ctx *, int);
+mdso_api int mdso_asmgen_symentry (const struct mdso_driver_ctx *, const char *, int);
+mdso_api int mdso_asmgen_symfn (const struct mdso_driver_ctx *, const char *, int);
mdso_api int mdso_objgen_dsometa (const struct mdso_driver_ctx *, FILE *, struct mdso_object *);
mdso_api int mdso_objgen_symentry (const struct mdso_driver_ctx *, const char *, FILE *, struct mdso_object *);