dwarves/dwarf_loader.h
Arnaldo Carvalho de Melo 58f29607a2 core: Add ->init and ->exit hooks to be called at dwarves__{init,exit}
So that we can more early return if we can't process files for some supported
debugging format and as well release all resources allocated when dwarves__exit
is called.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2009-04-03 09:05:36 -03:00

20 lines
513 B
C

#ifndef _DWARF_LOADER_H_
#define _DWARF_LOADER_H_ 1
/*
Copyright (C) 2008 Arnaldo Carvalho de Melo <acme@redhat.com>
This program is free software; you can redistribute it and/or modify it
under the terms of version 2 of the GNU General Public License as
published by the Free Software Foundation.
*/
struct cus;
struct conf_load;
int dwarf__load_file(struct cus *self, struct conf_load *conf,
const char *filename);
int dwarf__init(void);
void dwarf__exit(void);
#endif /* _DWARF_LOADER_H_ */