r307: additions for plotfile
[ctsim.git] / include / pol.h
index 2d8932440dc04fd7129fd79ceb0b15262ccd12fc..cf5d8e096ae270fef7974ce02e2877bffe8a37fb 100644 (file)
@@ -2,14 +2,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: pol.h,v 1.3 2000/05/07 12:46:19 kevin Exp $
-**  $Log: pol.h,v $
-**  Revision 1.3  2000/05/07 12:46:19  kevin
-**  made c++ compatible
-**
-**  Revision 1.2  2000/04/28 14:14:16  kevin
-**  *** empty log message ***
-**
+**  $Id: pol.h,v 1.5 2000/12/20 14:39:09 kevin Exp $
 **
 **  This program is free software; you can redistribute it and/or modify
 **  it under the terms of the GNU General Public License (version 2) as
 #ifndef __H_POL
 #define __H_POL
 
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
 /* codes for pol_usefile */
 
 #define P_USE_STR  1           /* use string as input source */
@@ -99,28 +88,24 @@ struct token_st {
 typedef struct token_st TOKEN;
 
 /* pol.c */
-void pol_init(void);
-void pol_skpword(char *w);
-void pol_skpchar(char *s);
-int pol_install(char *str, int code);
-int pol_word(char *search, int nlet);
-int pol_usertok(char *str, int *code);
-int pol_string(char *str);
-int pol_integer(int *n, int typecode, int boundcode, int bb1, int bb2);
-int pol_float(double *n, double typecode, double boundcode, double bb1, double bb2);
-int pol_skip(void);
-void pol_reader(void);
-void gettext(char *str, int lim);
-void pol_usefile(int source, char *fn);
-void pol_closefile(void);
-int pol_lookchar(void);
-int pol_inchar(void);
-void pol_ungetch(int c);
-int get_inputline(FILE *fp);
-void set_inputline(char *line);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+void pol_init (void);
+void pol_skpword (char *w);
+void pol_skpchar (char *s);
+int pol_install (char *str, int code);
+int pol_word (char *search, int nlet);
+int pol_usertok (char *str, int *code);
+int pol_string (char *str);
+int pol_integer (int *n, int typecode, int boundcode, int bb1, int bb2);
+int pol_float (double *n, double typecode, double boundcode, double bb1, double bb2);
+int pol_skip (void);
+void pol_reader (void);
+void gettext (char *str, int lim);
+void pol_usefile (int source, char *fn);
+void pol_closefile (void);
+int pol_lookchar (void);
+int pol_inchar (void);
+void pol_ungetch (int c);
+int get_inputline (FILE *fp);
+void set_inputline (const char const *line);
 
 #endif