summaryrefslogtreecommitdiff
path: root/Build/source/texk/contrib/fmtutil.h
blob: 9d35b8a24dd6036381ca493d253b28588fed1d05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/* fmtutil.h: definitions for fmtutil lib exports.

Copyright (C) 1998 Fabrice POPINEAU.

Time-stamp: <02/04/03 15:15:00 popineau>

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Library General Public License for more details.

You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */

#ifndef _FMTUTIL_H_
#define _FMTUTIL_H_

#include <kpathsea/c-proto.h>
#include <kpathsea/debug.h>

#define FMTUTIL_DEBUG (KPSE_LAST_DEBUG+5)

typedef void (* process_fn )(string);

void move_log(string fname);
void move_fmt(string fname);
void remove_file(string fname);
void process_multiple_files(string pattern, process_fn);
void cache_vars();
int recreate_all();
int create_missing();
int create_one_format(string);
int recreate_by_hyphenfile(string);
int show_hyphen_file(string);
int edit_fmtutil_cnf();

#endif /* _FMTUTIL_H_ */