| 1 |
# include "utils.h" |
| 2 |
|
| 3 |
#ifdef HAVE_CONFIG_H /* for TeXLive */ |
| 4 |
#include <config.h> |
| 5 |
#endif |
| 6 |
|
| 7 |
# ifdef KPATHSEA |
| 8 |
# include <kpathsea/getopt.h> |
| 9 |
# else |
| 10 |
# include <getopt.h> |
| 11 |
# endif |
| 12 |
|
| 13 |
# ifdef HAVE_STDBOOL_H |
| 14 |
# include <stdbool.h> |
| 15 |
# else |
| 16 |
# ifndef HAVE__BOOL |
| 17 |
# define _Bool signed char |
| 18 |
# endif |
| 19 |
# define bool _Bool |
| 20 |
# define true 1 |
| 21 |
# define false 0 |
| 22 |
# endif |
| 23 |
|
| 24 |
# define PRIVATE static |
| 25 |
|
| 26 |
# define SHORT_LEN 256 |
| 27 |
|
| 28 |
extern bool debug; |
| 29 |
extern bool dottedbeamnotes; /* dotted beam notes ignored? */ |
| 30 |
|
| 31 |
extern char infilename[SHORT_LEN]; |
| 32 |
extern char *infilename_n; |
| 33 |
extern char outfilename[SHORT_LEN]; |
| 34 |
extern char *outfilename_n; |
| 35 |
extern char logfilename[SHORT_LEN]; |
| 36 |
extern char *logfilename_n; |
| 37 |
extern FILE *infile, *outfile, *logfile; |
| 38 |
|
| 39 |
|
| 40 |
extern void process_score (); |