Debian Codegraph @

libsrc/idi/cidi/iii-1.fc

raw
1 /*===========================================================================
2 Copyright (C) 1995-2005 European Southern Observatory (ESO)
3
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.
8
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.
13
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,
17 MA 02139, USA.
18
19 Correspondence concerning ESO-MIDAS should be addressed as follows:
20 Internet e-mail: [email protected]
21 Postal address: European Southern Observatory
22 Data Management Division
23 Karl-Schwarzschild-Strasse 2
24 D 85748 Garching bei Muenchen
25 GERMANY
26 ===========================================================================*/
27
28 /* IIISTR.C2 */
29
30 #include <ftoc.h>
31
32
33 static int savdsp, *pin1, *pin2, *pin3;
34
35 ROUTINE III1(dsplay,in1,in2,in3)
36 fint2c *dsplay;
37 fint2c *in1;
38 fint2c *in2;
39 fint2c *in3;
40
41 {
42 savdsp = *dsplay;
43 pin1 = in1;
44 pin2 = in2;
45 pin3 = in3;
46 return 0;
47 }
48
49 SUBROUTINE IIIGSE(dsplay,evalno,kstring,ll,idst)
50 CHARACTER kstring;
51 fint2c *dsplay;
52 fint2c *evalno;
53 fint2c *ll;
54 fint2c *idst;
55
56 {
57 int IIIGSE_C();
58
59 *idst = IIIGSE_C(*dsplay,*evalno,CHAR_LOC(kstring),ll);
60 return 0;
61 }
62
63 SUBROUTINE IIIGCE(dsplay,evalno,kstring,idst)
64 CHARACTER kstring;
65 fint2c *dsplay;
66 fint2c *evalno;
67 fint2c *idst;
68
69 {
70 int IIIGCE_C();
71
72 *idst = IIIGCE_C(*dsplay,*evalno,CHAR_LOC(kstring));
73 return 0;
74 }
75
76
77 ROUTINE III2(objid,intop,extrig,idst)
78 fint2c *objid;
79 fint2c *intop;
80 fint2c *extrig;
81 fint2c *idst;
82
83 {
84 int IIIENI_C();
85
86 *idst = IIIENI_C(savdsp,*pin1,*pin2,*pin3,*objid,*intop,*extrig);
87 return 0;
88
89 }
90
91 ROUTINE IIIEIW(dsplay,trigst,idst)
92 fint2c *dsplay;
93 fint2c *trigst;
94 fint2c *idst;
95
96 {
97 int IIIEIW_C();
98
99 *idst = IIIEIW_C(*dsplay,trigst);
100 return 0;
101 }
102
103 ROUTINE IIISTI(dsplay,idst)
104 fint2c *dsplay;
105 fint2c *idst;
106
107 {
108 int IIISTI_C();
109
110 *idst = IIISTI_C(*dsplay);
111 return 0;
112 }
113
114 ROUTINE IIIGLD(dsplay,locno,jx,jy,idst)
115 fint2c *dsplay;
116 fint2c *locno;
117 fint2c *jx;
118 fint2c *jy;
119 fint2c *idst;
120
121 {
122 int IIIGLD_C();
123
124 *idst = IIIGLD_C(*dsplay,*locno,jx,jy);
125 return 0;
126 }
127
128 ROUTINE IIIGLE(dsplay,eval,jj,idst)
129 fint2c *dsplay;
130 fint2c *eval;
131 fint2c *jj;
132 fint2c *idst;
133
134 {
135 int IIIGLE_C();
136
137 *idst = IIIGLE_C(*dsplay,*eval,jj);
138 return 0;
139 }