diff options
author | midipix <writeonce@midipix.org> | 2018-06-28 03:53:30 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-06-29 01:37:42 -0400 |
commit | 62ed2e6c2962f6012ede1584646bbdb73021b141 (patch) | |
tree | 132c88dbe8a06e588ca0fe557c292cb22d265235 /src/internal/slibtool_mapfile_impl.h | |
parent | a2786588d2ccb01f96e92e039c2aaf18f77d5d5c (diff) | |
download | slibtool-62ed2e6c2962f6012ede1584646bbdb73021b141.tar.bz2 slibtool-62ed2e6c2962f6012ede1584646bbdb73021b141.tar.xz |
internals: added slbt_mapped_readline().
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 |