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

#include <libelf.h>

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


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

#endif