summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-02-11 14:38:50 -0500
committermidipix <writeonce@midipix.org>2017-02-11 19:23:15 -0500
commitc70c0a72abe470aa16aefd47f1fdde5c4aa0718f (patch)
tree0cc0fe527b27e7d5f074f792eeeb5ad270af2d86 /include
parent9c013b63fef168f49246fd69ab0c0ce024a20941 (diff)
downloadmdso-c70c0a72abe470aa16aefd47f1fdde5c4aa0718f.tar.bz2
mdso-c70c0a72abe470aa16aefd47f1fdde5c4aa0718f.tar.xz
driver: utility api: added mdso_create_implib_archive().
Diffstat (limited to 'include')
-rw-r--r--include/mdso/mdso.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/mdso/mdso.h b/include/mdso/mdso.h
index 105a9c5..62ec354 100644
--- a/include/mdso/mdso.h
+++ b/include/mdso/mdso.h
@@ -51,6 +51,7 @@ enum mdso_custom_error {
MDSO_ERR_FLEE_ERROR,
MDSO_ERR_NULL_CONTEXT,
MDSO_ERR_NULL_SOURCE,
+ MDSO_ERR_INVALID_NAME,
MDSO_ERR_INVALID_DATA,
MDSO_ERR_INVALID_DSTDIR,
MDSO_ERR_INVALID_CONTEXT,
@@ -99,6 +100,7 @@ struct mdso_common_ctx {
uint64_t actflags;
uint64_t fmtflags;
uint32_t dsoflags;
+ const char * implib;
const char * libname;
const char * asmbase;
const char * dstdir;
@@ -136,11 +138,13 @@ mdso_api int mdso_map_input (const struct mdso_driver_ctx *, int fd, const cha
mdso_api int mdso_unmap_input (struct mdso_input *);
/* helper api */
+mdso_api FILE*mdso_create_archive (const struct mdso_driver_ctx *, const char * arname);
mdso_api FILE*mdso_create_asm_source (const struct mdso_driver_ctx *, const char * asmname);
mdso_api FILE*mdso_create_object (const struct mdso_driver_ctx *, const char * objname);
/* utility api */
mdso_api int mdso_main (int, char **, char **);
+mdso_api int mdso_create_implib_archive(const struct mdso_driver_ctx *);
mdso_api int mdso_create_implib_sources(const struct mdso_driver_ctx *);
mdso_api int mdso_create_implib_objects(const struct mdso_driver_ctx *);
mdso_api int mdso_output_export_symbols(const struct mdso_driver_ctx *, const struct mdso_unit_ctx *, FILE *);