diff options
Diffstat (limited to 'src/internal/slibtool_mapfile_impl.h')
-rw-r--r-- | src/internal/slibtool_mapfile_impl.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/internal/slibtool_mapfile_impl.h b/src/internal/slibtool_mapfile_impl.h index 567fc8f..4b96c11 100644 --- a/src/internal/slibtool_mapfile_impl.h +++ b/src/internal/slibtool_mapfile_impl.h @@ -7,6 +7,8 @@ struct slbt_map_info { void * addr; size_t size; + char * mark; + char * cap; }; struct slbt_map_info * slbt_map_file( @@ -15,4 +17,9 @@ struct slbt_map_info * slbt_map_file( void slbt_unmap_file(struct slbt_map_info *); +int slbt_mapped_readline( + const struct slbt_driver_ctx *, + struct slbt_map_info *, + char *, size_t); + #endif |