summaryrefslogtreecommitdiff
path: root/Build/source/texk/dviljk/win32/variables.h
blob: 06f79ddb132b9439c856691bcd09a8382670a49d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef _MKTEX_VARIABLES_H_

#define _MKTEX_VARIABLES_H_

#include <kpathsea/cnf.h>
#include <kpathsea/db.h>
#include <kpathsea/fn.h>
#include <kpathsea/hash.h>

extern MKTEXDLL void init_vars(void);
extern MKTEXDLL char *getval(char *name);
extern MKTEXDLL char *setval(char *name,char *value);
extern MKTEXDLL char *setval_default(char *name,char *value);
extern MKTEXDLL char **grep(char *regexp,char *line,int num_vars) ;

extern MKTEXDLL int parse_variable(char *line);

extern char *strcasestr(char *s1,char *s2);

extern char *subst(char *line, char *from, char *to);
extern MKTEXDLL string expand_var(const_string);
extern MKTEXDLL string mktex_var_expand (const_string src);
#endif /* _MKTEX_VARIABLES_H_ */