aboutsummaryrefslogtreecommitdiffstats
path: root/elfcreator.h
blob: c2c8fe4e7c2d6197f1aa0891edf749b2564f4a2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * SPDX-License-Identifier: GPL-2.0-only
 *
 * Copyright 2009 Red Hat, Inc.
 *
 * Author: Peter Jones <pjones@redhat.com>
 */
#ifndef ELFCREATOR_H
#define ELFCREATOR_H 1

#include <gelf.h>

typedef struct elf_creator ElfCreator;
extern ElfCreator *elfcreator_begin(char *path, Elf *elf);
extern void elfcreator_copy_scn(ElfCreator *ctor, Elf_Scn *scn);
extern void elfcreator_end(ElfCreator *ctor);

#endif /* ELFCREATOR_H */