Annotate doxygen-style
[centaur.git] / include / elfhandle.h
1 #ifndef __ELFHANDLE_H__
2 #define __ELFHANDLE_H__
3
4 #include <libelf.h>
5
6 /*!
7  * A simple pair of a file descriptor and a libelf handle,
8  * used to simplify elfucli.
9  */
10 typedef struct {
11   int fd;   /*!< File handle */
12   Elf *e;   /*!< libelf handle */
13 } ELFHandles;
14
15
16 void openElf(ELFHandles *h, char *fn, Elf_Cmd elfmode);
17 void closeElf(ELFHandles *h);
18
19 #endif