Declare bin_parser_free();

2006-11-19   Soren Sandmann <sandmann@redhat.com>

        * binparser.h: Declare bin_parser_free();

        * elfparser.c (elf_parser_get_crc32): Use madvise(DONT_NEED) on
        the file.

        * process.c (struct Process): Remove do_offset.
This commit is contained in:
Soren Sandmann
2006-11-19 22:48:28 +00:00
committed by Søren Sandmann Pedersen
parent 66fc976342
commit 9af533a11f
6 changed files with 34 additions and 7 deletions

View File

@ -8,6 +8,7 @@ typedef struct BinRecord BinRecord;
/* BinParser */
BinParser * bin_parser_new (const guchar *data,
gsize length);
void bin_parser_free (BinParser *parser);
const guchar *bin_parser_get_data (BinParser *parser);
gsize bin_parser_get_length (BinParser *parser);
gsize bin_parser_get_offset (BinParser *parser);