- void *map, char **buf, size_t *len);
-void afh_get_header(struct afh_info *afhi, void *map, char **buf, size_t *len);
+ void *map, const char **buf, size_t *len);
+void afh_get_header(struct afh_info *afhi, void *map, const char **buf, size_t *len);