summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-10-24 12:34:04 -0400
committermidipix <writeonce@midipix.org>2016-10-24 12:44:05 -0400
commit1379f79d286988f2582ff8efb1af736bf4229a3f (patch)
tree33c69145e2e9946812cad94ec888c720d9811968 /include
parent53b79cb91864bfdbc1205c461807879ecbe18397 (diff)
downloadslibtool-1379f79d286988f2582ff8efb1af736bf4229a3f.tar.bz2
slibtool-1379f79d286988f2582ff8efb1af736bf4229a3f.tar.xz
driver: removed unit context and related interfaces (not needed by slibtool).
Diffstat (limited to 'include')
-rw-r--r--include/slibtool/slibtool.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/include/slibtool/slibtool.h b/include/slibtool/slibtool.h
index 3ea06a9..1a4b9fe 100644
--- a/include/slibtool/slibtool.h
+++ b/include/slibtool/slibtool.h
@@ -221,7 +221,6 @@ struct slbt_common_ctx {
};
struct slbt_driver_ctx {
- const char ** units;
const char * program;
const char * module;
const struct slbt_common_ctx * cctx;
@@ -229,15 +228,6 @@ struct slbt_driver_ctx {
void * any;
};
-struct slbt_unit_ctx {
- const char * const * path;
- const struct slbt_input * map;
- const struct slbt_common_ctx * cctx;
- void * any;
- int status;
- int nerrors;
-};
-
/* package info */
slbt_api const struct slbt_source_version * slbt_source_version(void);
@@ -246,9 +236,6 @@ slbt_api int slbt_get_driver_ctx (char ** argv, char ** envp, uint32_t flags, s
slbt_api int slbt_create_driver_ctx (const struct slbt_common_ctx *, struct slbt_driver_ctx **);
slbt_api void slbt_free_driver_ctx (struct slbt_driver_ctx *);
-slbt_api int slbt_get_unit_ctx (const struct slbt_driver_ctx *, const char * path, struct slbt_unit_ctx **);
-slbt_api void slbt_free_unit_ctx (struct slbt_unit_ctx *);
-
/* execution context api */
slbt_api int slbt_get_exec_ctx (const struct slbt_driver_ctx *, struct slbt_exec_ctx **);
slbt_api void slbt_free_exec_ctx (struct slbt_exec_ctx *);
@@ -267,8 +254,6 @@ slbt_api int slbt_set_alternate_host (const struct slbt_driver_ctx *, const cha
slbt_api void slbt_reset_alternate_host (const struct slbt_driver_ctx *);
/* helper api */
-slbt_api int slbt_map_input (int fd, const char * path, int prot, struct slbt_input *);
-slbt_api int slbt_unmap_input (struct slbt_input *);
slbt_api int slbt_archive_import (const struct slbt_driver_ctx *, struct slbt_exec_ctx *,
char * dstarchive, char * srcarchive);
slbt_api int slbt_copy_file (const struct slbt_driver_ctx *, struct slbt_exec_ctx *,