summaryrefslogtreecommitdiff
path: root/support/tr2latex/protos.h
blob: 6596dcfacdcc143d0607f671d66530af75a5611d (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
44
45
46
47
48
49
50
51
52
53
54
55
56
#ifndef PROTOS__H
#define PROTOS__H

/*
** tr2latex - troff to LaTeX converter
** COPYRIGHT (C) 1987 Kamal Al-Yahya, 1991,1992 Christian Engel
**
** This module contains the function prototypes.
*/

int	CAP_GREEK (char *w);
void	GR_to_Greek (char *w, char *ww);
char *	alternate (char *pin, char *pout, char *w);
char *	do_table (char *pin, char *pout, int *offset);
char *	end_env (char *pout);
void	envoke_stat (int par);
void	errexit (int exitcode);
char *	flip (char *pout, char *w);
char *	flip_twice (char *pout, char *w, char *ww);
int	get_N_lines (char *pin, char *w, int N);
int	get_allargs (char *pin, char ***ppw, int rec);
int	get_arg (char *pin, char *w, int rec);
void	get_brace_arg (char *buf, char *w);
int	get_defword (char *pin, char *w, int *illegal);
int	get_line (char *pin, char *w, int rec);
int	get_multi_line (char *pin, char *w);
int	get_mydef (char *pin, char *w);
int	get_no_math (char *pin, char *w);
char *	get_over_arg (char *pin, char *ww);
int	get_ref (char *pin, char *w);
void	get_size (char *ww, struct measure *PARAMETER);
int	get_string (char *pin, char *w, int rec);
int	get_sub_arg (char *pin, char *w);
int	get_table_entry (char *pin, char *w, int tab);
int	get_till_space (char *pin, char *w);
int	getdef (char *pin, char *ww);
int	getword (char *pin, char *w);
int	is_def (char *w);
int	is_flip (char *w);
int	is_forbid (char *w);
int	is_mathcom (char *w, char *ww);
int	is_special (char *w, char *ww);
int	is_mydef (char *w);
int	is_troff_mac (char *w, char *ww, int *arg, int *par);
void	parse_units (char *ww, int *sign, int *units, float *value);
int	similar (char *w);
char *	skip_line (char *pin);
int	skip_white (char *pin);
char *	strapp (char *s, char *tail);
void	troff_tex (char *pin, char *pout, int mid, int rec);

#ifdef _MSC_VER
#define snprintf _snprintf
#endif

#endif