1
/*===========================================================================
2
Copyright (C) 1995, 2003 European Southern Observatory (ESO)
4
This program is free software; you can redistribute it and/or
5
modify it under the terms of the GNU General Public License as
6
published by the Free Software Foundation; either version 2 of
7
the License, or (at your option) any later version.
9
This program is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
GNU General Public License for more details.
14
You should have received a copy of the GNU General Public
15
License along with this program; if not, write to the Free
16
Software Foundation, Inc., 675 Massachusetts Ave, Cambridge,
19
Correspondence concerning ESO-MIDAS should be addressed as follows:
20
Internet e-mail: midas@eso.org
21
Postal address: European Southern Observatory
22
Data Management Division
23
Karl-Schwarzschild-Strasse 2
24
D 85748 Garching bei Muenchen
26
===========================================================================*/
28
/*++++++++++++++++++++++++ STE.FC +++++++++++++++++++++++++++++++++++++++++++
30
.IDENTIFICATION Module STE.FC
32
Module contains layer between the error related FORTRAN STxxxx interfaces
33
and the SC_interfaces written in (hopefully independent) C
34
.AUTHOR K. Banse ESO - Garching
35
.KEYWORDS standard interfaces.
36
.ENVIRONMENT FORTRAN and C standards
37
.VERSION [1.00] 871207: created from SXFTOC.C
38
.VERSION [2.60] 880411: modified new version - the last one
39
.VERSION [2.70] 900316: modfied new version - the FNAME_LEN+2 ...
40
.VERSION [3.00] 901213: Master file. CG.
41
-----------------------------------------------------------------------------*/
44
#include <midas_def.h>
46
SUBROUTINE STECNT(action,cont,log,disp)
47
CHARACTER action; /* IN: GET or PUT */
48
fint2c *cont; /* IN: pointer to continuation flag */
49
fint2c *log; /* IN: pointer to log flag */
50
fint2c *disp; /* IN: pointer to display flag */
52
SCECNT(CHAR_LOC(action),cont,log,disp);
56
SUBROUTINE STETER(errno,text)
57
fint2c *errno; /* IN: error no. */
58
CHARACTER text; /* IN: messages to display */
60
SCETER(*errno,STRIPPED_STRING(text));