summaryrefslogtreecommitdiff
path: root/include/elfhandle.h
blob: c15dd501ab528cd9c094f7e8186722dba061b95e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef __ELFHANDLE_H__
#define __ELFHANDLE_H__

#include <libelf/libelf.h>

typedef struct {
  int fd;
  Elf *e;
} ELFHandles;


void openElf(ELFHandles *h, char *fn, Elf_Cmd elfmode);
void closeElf(ELFHandles *h);

#endif