opdis/types.c File Reference

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.

Detailed Description

Base types used by opdis.

Author:
TG Community Developers <community@thoughtgang.org>
Note:
Copyright (c) 2010 ThoughtGang. Released under the GNU Public License, version 3. See http://www.gnu.org/licenses/gpl.txt for details.

Generated on Wed Mar 10 14:30:45 2010 for Opdis Disassembly Library by  doxygen 1.6.1