1 /*** tex_read.h *************************************************************** 2 ** 3 ** This file is part of BibTool. 4 ** It is distributed under the GNU General Public License. 5 ** See the file COPYING for details. 6 ** 7 ** (c) 1996-2020 Gerd Neugebauer 8 ** 9 ** Net: gene@gerd-neugebauer.de 10 ** 11 ** This program is free software; you can redistribute it and/or modify 12 ** it under the terms of the GNU General Public License as published by 13 ** the Free Software Foundation; either version 2, or (at your option) 14 ** any later version. 15 ** 16 ** This program is distributed in the hope that it will be useful, 17 ** but WITHOUT ANY WARRANTY; without even the implied warranty of 18 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 ** GNU General Public License for more details. 20 ** 21 ** You should have received a copy of the GNU General Public License 22 ** along with this program; if not, write to the Free Software 23 ** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 24 ** 25 **----------------------------------------------------------------------------- 26 ** Description: 27 ** This header file provides definitions for the use of functions 28 ** to immitate the reading apparatus of \TeX{} which are defined 29 ** in |tex_read.c|. 30 ** 31 ******************************************************************************/ 32 33 #include <stdio.h> 34 #include <bibtool/type.h> 35 36 #ifdef __STDC__ 37 #define _ARG(A) A 38 #else 39 #define _ARG(A) () 40 #endif 41 int TeX_read _ARG((String cp, String *sp)); /* tex-read.c */ 42 void TeX_active _ARG((int c,int arity, String s));/* tex_read.c */ 43 void TeX_close _ARG((void)); /* tex_read.c */ 44 void TeX_def _ARG((String s)); /* tex_read.c */ 45 void TeX_define _ARG((char *name,int arity,char *body));/* tex_read.c */ 46 void TeX_open_file _ARG((FILE * file)); /* tex_read.c */ 47 void TeX_open_string _ARG((String s)); /* tex_read.c */ 48 void TeX_reset _ARG((void)); /* tex_read.c */ 49 50 /*---------------------------------------------------------------------------*/ 51