summaryrefslogtreecommitdiff
path: root/distrib/common/elfrdsetroot.h
blob: e32391aaadce9572bd2477420965692d63301615 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* $OpenBSD: elfrdsetroot.h,v 1.3 2017/12/03 19:32:19 tb Exp $ */

struct elf_fn {
	void (*locate_image)(int, struct elfhdr *,  char *, long *, long *,
	    off_t *, size_t *);
	int (*find_rd_root_image)(char *, int, Elf_Phdr *, int, long *, long *,
	    off_t *, size_t *);

};

extern int debug;
extern struct elf_fn ELF32_fn;
extern struct elf_fn ELF64_fn;