~ubuntu-branches/debian/jessie/eso-midas/jessie

« back to all changes in this revision

Viewing changes to incl/proto_agl.h

  • Committer: Package Import Robot
  • Author(s): Ole Streicher
  • Date: 2014-04-22 14:44:58 UTC
  • Revision ID: package-import@ubuntu.com-20140422144458-okiwi1assxkkiz39
Tags: upstream-13.09pl1.2+dfsg
ImportĀ upstreamĀ versionĀ 13.09pl1.2+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
2
.COPYRIGHT   (c) 2009-2012 European Southern Observatory
 
3
.IDENTifer   proto_agl.h
 
4
.AUTHOR      K. Banse   ESO Garching
 
5
.KEYWORDS    prototypes
 
6
.LANGUAGE    C & ANSI-C
 
7
.PURPOSE     prototypes for Low & High level AGL Interfaces
 
8
 
 
9
.ENVIRONment none
 
10
 
 
11
.VERSION     1.0     090407     creation
 
12
 
 
13
 120123         last modif
 
14
------------------------------------------------------------*/
 
15
 
 
16
#ifndef  PROTO_AGL               /* Avoid redefinitions */
 
17
#define  PROTO_AGL       0
 
18
 
 
19
 
 
20
#ifdef  __cplusplus
 
21
extern "C" {
 
22
#endif
 
23
 
 
24
extern void AGL_reset(
 
25
#ifdef __STDC__
 
26
        FILE  *fp
 
27
#endif
 
28
);
 
29
 
 
30
extern void AGL_setraw(
 
31
#ifdef __STDC__
 
32
        FILE  *fp
 
33
#endif
 
34
);
 
35
 
 
36
extern FILE *AGL_fopen(
 
37
#ifdef __STDC__
 
38
        char  *fname
 
39
#endif
 
40
);
 
41
 
 
42
extern void AG_CDEF(
 
43
#ifdef __STDC__
 
44
        double  x1,
 
45
        double  x2,
 
46
        double  y1,
 
47
        double  y2
 
48
#endif
 
49
);
 
50
 
 
51
extern void AG_DMSG(
 
52
#ifdef __STDC__
 
53
        char  *m1,
 
54
        char  *m2
 
55
#endif
 
56
);
 
57
 
 
58
extern void AG_CLS();
 
59
 
 
60
extern void AG_MCLS();
 
61
 
 
62
extern void AG_MOPN(
 
63
#ifdef __STDC__
 
64
        char  *fname
 
65
#endif
 
66
);
 
67
 
 
68
extern void AG_MRDW(
 
69
#ifdef __STDC__
 
70
        char  *fname
 
71
#endif
 
72
);
 
73
 
 
74
extern void AG_MRES();
 
75
 
 
76
extern void AG_MSUS();
 
77
 
 
78
extern void AG_ESC(
 
79
#ifdef __STDC__
 
80
        char  *cmd,
 
81
        int  cmdlen
 
82
#endif
 
83
);
 
84
 
 
85
extern void AG_VERS();
 
86
 
 
87
extern char *AG_GETS(
 
88
#ifdef __STDC__
 
89
        char  *buf,
 
90
        int  len,
 
91
        FILE  *fp
 
92
#endif
 
93
);
 
94
 
 
95
extern char *AG_GETN(
 
96
#ifdef __STDC__
 
97
        char  *buf,
 
98
        int  len,
 
99
        FILE  *fp,
 
100
        int  *nlin
 
101
#endif
 
102
);
 
103
 
 
104
extern char *AG_IDN();
 
105
 
 
106
extern char *AG_SCAN(
 
107
#ifdef __STDC__
 
108
        char  *chstrg,
 
109
        int   delim,
 
110
        int   tklen,
 
111
        char *token
 
112
#endif
 
113
);
 
114
 
 
115
extern FILE *AG_STDO(
 
116
#ifdef __STDC__
 
117
        char  *fname,
 
118
        char  *ext,
 
119
        int  flag
 
120
#endif
 
121
);
 
122
 
 
123
extern void AG_NEWN(
 
124
#ifdef __STDC__
 
125
        char  *templa
 
126
#endif
 
127
);
 
128
 
 
129
extern void AG_SSET(
 
130
#ifdef __STDC__
 
131
        char  *tbuf
 
132
#endif
 
133
);
 
134
 
 
135
extern int AG_VDEF (
 
136
#ifdef __STDC__
 
137
        char  *device,
 
138
        double xa,
 
139
        double xb,
 
140
        double ya,
 
141
        double yb,
 
142
        double xlim,
 
143
        double ylim
 
144
#endif
 
145
);
 
146
 
 
147
extern void AG_AXIS (
 
148
#ifdef __STDC__
 
149
        int  type,
 
150
        float *data,
 
151
        double lspace,
 
152
        char  *format,
 
153
        char  *label
 
154
#endif
 
155
);
 
156
 
 
157
extern void AG_NLIN (
 
158
#ifdef __STDC__
 
159
        double xa,
 
160
        double xb,
 
161
        double ya,
 
162
        double yb,
 
163
        char *select
 
164
#endif
 
165
);
 
166
 
 
167
extern void AG_AXES (
 
168
#ifdef __STDC__
 
169
        double xa,
 
170
        double xb,
 
171
        double ya,
 
172
        double yb,
 
173
        char *option
 
174
#endif
 
175
);
 
176
 
 
177
extern void AG_ORAX (
 
178
#ifdef __STDC__
 
179
        int  flags,
 
180
        float *ends,
 
181
        float *data,
 
182
        char *form,
 
183
        char *label
 
184
#endif
 
185
);
 
186
 
 
187
extern void AG_HIST (
 
188
#ifdef __STDC__
 
189
        float *xv,
 
190
        float *yv,
 
191
        int  np,
 
192
        int  mode,
 
193
        int join
 
194
#endif
 
195
);
 
196
 
 
197
extern void AG_VKIL();
 
198
 
 
199
extern void AG_VUPD();
 
200
 
 
201
extern void AG_DRIV();
 
202
 
 
203
extern void AG_VSEL(
 
204
#ifdef __STDC__
 
205
        int  id
 
206
#endif
 
207
);
 
208
 
 
209
extern void AG_WDEF(
 
210
#ifdef __STDC__
 
211
        double  x1,
 
212
        double  x2,
 
213
        double  y1,
 
214
        double  y2
 
215
#endif
 
216
);
 
217
 
 
218
extern void AG_GPLG(
 
219
#ifdef __STDC__
 
220
        float  *xv,
 
221
        float  *yv,
 
222
        int  np
 
223
#endif
 
224
);
 
225
 
 
226
extern void AG_GPLL(
 
227
#ifdef __STDC__
 
228
        float  *xv,
 
229
        float  *yv,
 
230
        int  np
 
231
#endif
 
232
);
 
233
 
 
234
extern void AG_GPLM(
 
235
#ifdef __STDC__
 
236
        float  *xv,
 
237
        float  *yv,
 
238
        int  np,
 
239
        int  mark
 
240
#endif
 
241
);
 
242
 
 
243
extern void AG_FILL(
 
244
#ifdef __STDC__
 
245
        float  *x,
 
246
        float  *y,
 
247
        int  n,
 
248
        double space,
 
249
        double angle,
 
250
        char  *ss
 
251
#endif
 
252
);
 
253
 
 
254
extern void AG_GINT(
 
255
#ifdef __STDC__
 
256
        float  *xv,
 
257
        float  *yv,
 
258
        int  np
 
259
#endif
 
260
);
 
261
 
 
262
extern void AG_GTXT(
 
263
#ifdef __STDC__
 
264
        double  xc,
 
265
        double  yc,
 
266
        char  *text,
 
267
        int  center
 
268
#endif
 
269
);
 
270
 
 
271
extern void AG_GERR(
 
272
#ifdef __STDC__
 
273
        int  code,
 
274
        char  *msg
 
275
#endif
 
276
);
 
277
 
 
278
extern void AG_ISET(
 
279
#ifdef __STDC__
 
280
        int  number,
 
281
        int  *values
 
282
#endif
 
283
);
 
284
 
 
285
extern void AG_RSET(
 
286
#ifdef __STDC__
 
287
        int  number,
 
288
        float  *values
 
289
#endif
 
290
);
 
291
 
 
292
extern int AG_RGET(
 
293
#ifdef __STDC__
 
294
        char  *item,
 
295
        float  *values
 
296
#endif
 
297
);
 
298
 
 
299
extern int AG_IGET(
 
300
#ifdef __STDC__
 
301
        char  *item,
 
302
        int  *values
 
303
#endif
 
304
);
 
305
 
 
306
extern int AG_IVAL(
 
307
#ifdef __STDC__
 
308
        char  *chstrg,
 
309
        int   nvals,
 
310
        int  *values
 
311
#endif
 
312
);
 
313
 
 
314
extern int AG_RVAL(
 
315
#ifdef __STDC__
 
316
        char  *chstrg,
 
317
        int   nvals,
 
318
        float  *values
 
319
#endif
 
320
);
 
321
 
 
322
extern int AG_SVAL(
 
323
#ifdef __STDC__
 
324
        char  *in,
 
325
        int   nvals,
 
326
        char  *out
 
327
#endif
 
328
);
 
329
 
 
330
extern void AG_TRNS(
 
331
#ifdef __STDC__
 
332
        void (*myinit)(),
 
333
        int  (*mytransf)(),
 
334
        int  (*myrtransf)()
 
335
#endif
 
336
);
 
337
 
 
338
extern void AG_TGET(
 
339
#ifdef __STDC__
 
340
        char  *text,
 
341
        float  *xd,
 
342
        float  *yd
 
343
#endif
 
344
);
 
345
 
 
346
extern void AG_VN2U(
 
347
#ifdef __STDC__
 
348
        double  xpn,
 
349
        double  ypn,
 
350
        float  *xu,
 
351
        float  *yu
 
352
#endif
 
353
);
 
354
 
 
355
extern void AG_VU2N(
 
356
#ifdef __STDC__
 
357
        double  xu,
 
358
        double  yu,
 
359
        float  *xpn,
 
360
        float  *ypn
 
361
#endif
 
362
);
 
363
 
 
364
extern void AG_VLOC(
 
365
#ifdef __STDC__
 
366
        float  *xv,
 
367
        float  *yv,
 
368
        int *key,
 
369
        int *pixval
 
370
#endif
 
371
);
 
372
 
 
373
extern void AG_VLOS(
 
374
#ifdef __STDC__
 
375
        float  *xv,
 
376
        float  *yv,
 
377
        int  maxlen,
 
378
        char  *chstr,
 
379
        int *pixval
 
380
#endif
 
381
);
 
382
 
 
383
extern void AG_MAGN(
 
384
#ifdef __STDC__
 
385
        double  xf,
 
386
        double  yf,
 
387
        float  *xv,
 
388
        float  *yv,
 
389
        int  np
 
390
#endif
 
391
);
 
392
 
 
393
extern void AG_TROT(
 
394
#ifdef __STDC__
 
395
        float  *xv,
 
396
        float  *yv,
 
397
        int  np
 
398
#endif
 
399
);
 
400
 
 
401
extern void AG_TSET(
 
402
#ifdef __STDC__
 
403
        float  xoff,
 
404
        float  yoff,
 
405
        float  angle,
 
406
        int  item
 
407
#endif
 
408
);
 
409
 
 
410
 
 
411
 
 
412
 
 
413
#ifdef  __cplusplus
 
414
}
 
415
#endif
 
416
 
 
417
#endif 
 
418
 
 
419