diff options
author | midipix <writeonce@midipix.org> | 2018-08-05 01:34:56 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-08-05 03:22:21 -0400 |
commit | 09321c8d9d972b1bfb568d570fad4e5cc9dd1dc6 (patch) | |
tree | 772f9ed243579775f4fe0d5c5b7a7b3bcf25de28 /include | |
parent | 27c84717bf617575785dd2dddf4e96f15a5aa1b9 (diff) | |
download | apimagic-09321c8d9d972b1bfb568d570fad4e5cc9dd1dc6.tar.bz2 apimagic-09321c8d9d972b1bfb568d570fad4e5cc9dd1dc6.tar.xz |
driver, unit context: remove input-mapping interfaces which are not needed.
Diffstat (limited to 'include')
-rw-r--r-- | include/apimagic/apimagic.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/apimagic/apimagic.h b/include/apimagic/apimagic.h index cbd15c5..ceda5c9 100644 --- a/include/apimagic/apimagic.h +++ b/include/apimagic/apimagic.h @@ -78,11 +78,6 @@ enum amgc_output_action { AMGC_LIST_FUNCTION, }; -struct amgc_input { - void * addr; - size_t size; -}; - struct amgc_source_version { int major; int minor; @@ -180,7 +175,6 @@ struct amgc_unit_entities { struct amgc_unit_ctx { const char * const * path; - const struct amgc_input * map; const struct amgc_common_ctx * cctx; const struct amgc_unit_meta * meta; const struct amgc_unit_entities*entities; @@ -320,10 +314,6 @@ amgc_api int amgc_output_union (const struct amgc_driver_ctx *, amgc_api int amgc_output_error_record (const struct amgc_driver_ctx *, const struct amgc_error_info *); amgc_api int amgc_output_error_vector (const struct amgc_driver_ctx *); -/* raw input api */ -amgc_api int amgc_map_input (const struct amgc_driver_ctx *, int fd, const char * path, int prot, struct amgc_input *); -amgc_api int amgc_unmap_input (struct amgc_input *); - /* low-level api */ amgc_api int amgc_init_unit_meta (const struct amgc_unit_ctx *, struct amgc_unit_meta *); |