summaryrefslogtreecommitdiffstats
path: root/src/maps.h
blob: 32b4938b8a4b8beaad86152e4f48ad0de9223f55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include "input.h"

struct map {
    int mode;
    short recursive;
    struct block * in;
    struct block * out; 
    struct map * psig;
};
typedef struct map map;

extern unsigned int curmode;

int replace_maps (struct block * b);
struct block * get_mapbuf_str (char * str);
void del_maps ();
map * get_last_map();
int exists_map(char * in, int mode);
void add_map(char * in, char * out, int mode, short recursive);
void del_map(char * in, int mode);
void get_mapstr_buf (struct block * b, char * str);
void get_mappings(char * salida);