aboutsummaryrefslogtreecommitdiff
path: root/include/relocation.h
blob: ea9da9fcb1b4b89c1486d8ec7fb4a29eb6bef46a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/**
 * @file relocation.h
 */
#ifndef OMC_RELOCATION_H
#define OMC_RELOCATION_H

#include "config.h"

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#if defined(OMC_OS_DARWIN)
#include <limits.h>
# else
#include <linux/limits.h>
#endif
#include <unistd.h>

void replace_text(char *original, const char *target, const char *replacement);
void file_replace_text(const char* filename, const char* target, const char* replacement);

#endif //OMC_RELOCATION_H