summaryrefslogtreecommitdiff
path: root/rdoff/segtab.h
blob: 1679d3f97767584079705150a55bb7159859eb3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef RDOFF_SEGTAB_H
#define RDOFF_SEGTAB_H 1

#include <inttypes.h>

typedef void *segtab;

void init_seglocations(segtab * r);
void add_seglocation(segtab * r, int localseg, int destseg, int32_t offset);
int get_seglocation(segtab * r, int localseg, int *destseg, int32_t *offset);
void done_seglocations(segtab * r);

#endif