diff options
Diffstat (limited to 'private_include/sections.h')
| -rw-r--r-- | private_include/sections.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/private_include/sections.h b/private_include/sections.h new file mode 100644 index 0000000..67e49ce --- /dev/null +++ b/private_include/sections.h @@ -0,0 +1,22 @@ +#ifndef SECTIONS_H +#define SECTIONS_H + +#include <wasm_types.h> +#include <stdio.h> + +int section_custom(struct wasmfs *w, FILE *f, unsigned long len); +int section_type(struct wasmfs *w, FILE *f, unsigned long len); +int section_import(struct wasmfs *w, FILE *f, unsigned long len); +int section_function(struct wasmfs *w, FILE *f, unsigned long len); +int section_table(struct wasmfs *w, FILE *f, unsigned long len); +int section_memory(struct wasmfs *w, FILE *f, unsigned long len); +int section_global(struct wasmfs *w, FILE *f, unsigned long len); +int section_export(struct wasmfs *w, FILE *f, unsigned long len); +int section_start(struct wasmfs *w, FILE *f, unsigned long len); +int section_element(struct wasmfs *w, FILE *f, unsigned long len); +int section_code(struct wasmfs *w, FILE *f, unsigned long len); +int section_data(struct wasmfs *w, FILE *f, unsigned long len); + +int check_resizable_limits(FILE *f); + +#endif |
