Base types used by opdis. More...
#include <stdlib.h>
#include <string.h>
#include <opdis/types.h>
Functions | |
opdis_buf_t LIBCALL | opdis_buf_alloc (opdis_off_t size, opdis_vma_t addr) |
Allocate an opdis buffer. | |
void LIBCALL | opdis_buf_set_vma (opdis_buf_t buf, opdis_vma_t addr) |
Set the VMA for a buffer. | |
opdis_buf_t LIBCALL | opdis_buf_read (FILE *f, opdis_off_t size, opdis_vma_t addr) |
Allocate an opdis buffer containing contents of file. | |
int LIBCALL | opdis_buf_fill (opdis_buf_t buf, opdis_off_t offset, void *src, opdis_off_t len) |
Fill an opdis buffer from a memory location. | |
void LIBCALL | opdis_buf_free (opdis_buf_t buf) |
Free an opdis buffer. |
Base types used by opdis.