| 1 |
/* mktex.h: definitions for mktex lib exports. |
| 2 |
|
| 3 |
Copyright (C) 1997 Fabrice POPINEAU. |
| 4 |
Adapted to MS-DOS/DJGPP by Eli Zaretskii <[email protected]>. |
| 5 |
|
| 6 |
Time-stamp: <02/12/23 00:33:08 popineau> |
| 7 |
|
| 8 |
This library is free software; you can redistribute it and/or |
| 9 |
modify it under the terms of the GNU Library General Public |
| 10 |
License as published by the Free Software Foundation; either |
| 11 |
version 2 of the License, or (at your option) any later version. |
| 12 |
|
| 13 |
This library is distributed in the hope that it will be useful, |
| 14 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 16 |
Library General Public License for more details. |
| 17 |
|
| 18 |
You should have received a copy of the GNU Library General Public |
| 19 |
License along with this library; if not, write to the Free Software |
| 20 |
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ |
| 21 |
|
| 22 |
#ifndef _MKTEX_H_ |
| 23 |
#define _MKTEX_H_ |
| 24 |
|
| 25 |
#include "mktexlib.h" |
| 26 |
|
| 27 |
/* Pointer to functions that accept argc and argv[] */ |
| 28 |
typedef int (*fp)(int, string*); |
| 29 |
|
| 30 |
typedef struct _program_description { |
| 31 |
string name; |
| 32 |
int arg_min; |
| 33 |
int arg_max; |
| 34 |
fp prog; |
| 35 |
} program_description; |
| 36 |
|
| 37 |
extern MKTEXDLL int program_number; |
| 38 |
extern MKTEXDLL string progname; |
| 39 |
extern MKTEXDLL char empty_str[]; |
| 40 |
extern MKTEXDLL FILE *fout; |
| 41 |
extern MKTEXDLL FILE *fnul; |
| 42 |
extern MKTEXDLL string output; |
| 43 |
extern MKTEXDLL string progname; |
| 44 |
extern MKTEXDLL char tmpdir[]; |
| 45 |
extern MKTEXDLL void mktexinit(int, char**); |
| 46 |
extern MKTEXDLL int mktexpk(int, char**); |
| 47 |
extern MKTEXDLL int mktextfm(int, char**); |
| 48 |
extern MKTEXDLL int mktextex(int, char**); |
| 49 |
extern MKTEXDLL int mktexmf(int, char**); |
| 50 |
extern MKTEXDLL int mktexlsr(int, char**); |
| 51 |
extern MKTEXDLL int mktexupdate(int, char**); |
| 52 |
extern MKTEXDLL int mktexmkdir(int, char**); |
| 53 |
extern MKTEXDLL int mktexrmdir(int, char**); |
| 54 |
extern MKTEXDLL int mktexnames(int, char**); |
| 55 |
extern MKTEXDLL int mktex_opt(int, char**, program_description *); |
| 56 |
extern MKTEXDLL program_description makedesc[]; |
| 57 |
#endif /* _MKTEX_H_ */ |
| 58 |
|