~ubuntu-branches/ubuntu/wily/eso-midas/wily-proposed

« back to all changes in this revision

Viewing changes to incl/proto_tbl.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) 1993-2010 European Southern Observatory
 
3
.IDENTifer   tbl.h
 
4
.AUTHOR      R.M. van Hees IPG-ESO Garching
 
5
.KEYWORDS    prototypes
 
6
.LANGUAGE    C & ANSI-C
 
7
.PURPOSE     prototypes for all Table Interfaces,
 
8
               resp.: tca, tcc, tcd, tce, tcm, tcr, tct.
 
9
 
 
10
.ENVIRONment none
 
11
 
 
12
.VERSION     1.0     05-Oct-1993   Creation by R.M. van Hees
 
13
.VERSION     1.1     14-Oct-1993   tz* modules included. CG.
 
14
 
 
15
 100903         last modif (undo modif before...)
 
16
------------------------------------------------------------*/
 
17
 
 
18
#ifndef  PROTO_TBL              /* Avoid redefinitions */
 
19
#define  PROTO_TBL      0
 
20
 
 
21
#ifdef  __cplusplus
 
22
extern "C" {
 
23
#endif
 
24
 
 
25
#include <tblsys.h>             /* Table control definitions */
 
26
#include <string.h>
 
27
/*
 
28
 * module tca.c
 
29
 */
 
30
 
 
31
extern void *TCTTST(
 
32
#ifdef __STDC__
 
33
        int tid
 
34
#endif
 
35
);
 
36
 
 
37
extern int TCAMAP(  
 
38
#ifdef __STDC__
 
39
        int tid, 
 
40
        int row, 
 
41
        int col, 
 
42
        char **addr
 
43
#endif
 
44
);
 
45
 
 
46
extern int TCAUNM(  
 
47
#ifdef __STDC__
 
48
       int tid,
 
49
       char *addr
 
50
#endif
 
51
);
 
52
 
 
53
extern int TCAEDC(
 
54
#ifdef __STDC__
 
55
        int tid, 
 
56
        char *abin, 
 
57
        int col, 
 
58
        int index, 
 
59
        int items, 
 
60
        char *buffer
 
61
#endif
 
62
);
 
63
 
 
64
extern int TCATRC(
 
65
#ifdef __STDC__
 
66
        int tid, 
 
67
        char *abin, 
 
68
        int col, 
 
69
        int index, 
 
70
        int items, 
 
71
        char *buffer
 
72
#endif
 
73
);
 
74
 
 
75
extern int TCARDC(
 
76
#ifdef __STDC__
 
77
        int tid, 
 
78
        int row, 
 
79
        int col, 
 
80
        int index, 
 
81
        int items, 
 
82
        char *values  
 
83
#endif
 
84
);
 
85
 
 
86
extern int TCARDI(  
 
87
#ifdef __STDC__
 
88
        int tid, 
 
89
        int row, 
 
90
        int col, 
 
91
        int index, 
 
92
        int items, 
 
93
        int *values  
 
94
#endif
 
95
);
 
96
 
 
97
extern int TCARDR(  
 
98
#ifdef __STDC__
 
99
        int tid, 
 
100
        int row, 
 
101
        int col, 
 
102
        int index, 
 
103
        int items, 
 
104
        float *values  
 
105
#endif
 
106
);
 
107
 
 
108
extern int TCARDD(  
 
109
#ifdef __STDC__
 
110
        int tid, 
 
111
        int row, 
 
112
        int col, 
 
113
        int index, 
 
114
        int items, 
 
115
        double *values  
 
116
#endif
 
117
);
 
118
 
 
119
extern int TCARDS(  
 
120
#ifdef __STDC__
 
121
        int tid, 
 
122
        int row, 
 
123
        int col, 
 
124
        int index, 
 
125
        char *values  
 
126
#endif
 
127
);
 
128
 
 
129
extern int TCADEL(  
 
130
#ifdef __STDC__
 
131
        int tid, 
 
132
        int row, 
 
133
        int col, 
 
134
        int index, 
 
135
        int items
 
136
#endif
 
137
);
 
138
 
 
139
extern int xTCAWRC(  
 
140
#ifdef __STDC__
 
141
        TABLE *tp,
 
142
        int tid, 
 
143
        int row, 
 
144
        int col, 
 
145
        int items, 
 
146
        char *values  
 
147
#endif
 
148
);
 
149
 
 
150
extern int TCAWRC(  
 
151
#ifdef __STDC__
 
152
        int tid, 
 
153
        int row, 
 
154
        int col, 
 
155
        int index, 
 
156
        int items, 
 
157
        char *values  
 
158
#endif
 
159
);
 
160
 
 
161
extern int TCAWRI(  
 
162
#ifdef __STDC__
 
163
        int tid, 
 
164
        int row, 
 
165
        int col, 
 
166
        int index, 
 
167
        int items, 
 
168
        int *values  
 
169
#endif
 
170
);
 
171
 
 
172
extern int xTCAWRI(  
 
173
#ifdef __STDC__
 
174
        TABLE *tp,
 
175
        int tid, 
 
176
        int row, 
 
177
        int col, 
 
178
        int items, 
 
179
        int *values  
 
180
#endif
 
181
);
 
182
 
 
183
extern int xTCAWRR(  
 
184
#ifdef __STDC__
 
185
        TABLE *tp,
 
186
        int tid, 
 
187
        int row, 
 
188
        int col, 
 
189
        int items, 
 
190
        float *values  
 
191
#endif
 
192
);
 
193
 
 
194
extern int TCAWRR(  
 
195
#ifdef __STDC__
 
196
        int tid, 
 
197
        int row, 
 
198
        int col, 
 
199
        int index, 
 
200
        int items, 
 
201
        float *values  
 
202
#endif
 
203
);
 
204
 
 
205
extern int xTCAWRD(  
 
206
#ifdef __STDC__
 
207
        TABLE *tp,
 
208
        int tid, 
 
209
        int row, 
 
210
        int col, 
 
211
        int items, 
 
212
        double *values  
 
213
#endif
 
214
);
 
215
 
 
216
extern int TCAWRD(  
 
217
#ifdef __STDC__
 
218
        int tid, 
 
219
        int row, 
 
220
        int col, 
 
221
        int index, 
 
222
        int items, 
 
223
        double *values  
 
224
#endif
 
225
);
 
226
 
 
227
extern int TCAWRS(
 
228
#ifdef __STDC__
 
229
        int tid,
 
230
        int row,
 
231
        int col,
 
232
        int index,
 
233
        char *value
 
234
#endif
 
235
);
 
236
 
 
237
extern int TCASRC(
 
238
#ifdef __STDC__
 
239
        int tid, 
 
240
        int row, 
 
241
        int col, 
 
242
        int index, 
 
243
        int items, 
 
244
        char *values, 
 
245
        int *next
 
246
#endif
 
247
);
 
248
 
 
249
extern int TCASRD(
 
250
#ifdef __STDC__
 
251
        int tid, 
 
252
        int row, 
 
253
        int col, 
 
254
        int index, 
 
255
        int items, 
 
256
        double *values, 
 
257
        int *next
 
258
#endif
 
259
);
 
260
 
 
261
extern int TCASRI(
 
262
#ifdef __STDC__
 
263
        int tid, 
 
264
        int row, 
 
265
        int col, 
 
266
        int index, 
 
267
        int items, 
 
268
        int *values, 
 
269
        int *next
 
270
#endif
 
271
);
 
272
 
 
273
extern int TCASRR(
 
274
#ifdef __STDC__
 
275
        int tid, 
 
276
        int row, 
 
277
        int col, 
 
278
        int index, 
 
279
        int items, 
 
280
        float *values, 
 
281
        int *next
 
282
#endif
 
283
);
 
284
 
 
285
extern int TCAPUT(
 
286
#ifdef __STDC__
 
287
        int tid, 
 
288
        int col, 
 
289
        int alen 
 
290
#endif
 
291
);
 
292
 
 
293
/*
 
294
 * module tcc.c
 
295
 */
 
296
extern int TCCDEL(  
 
297
#ifdef __STDC__
 
298
        int tid, 
 
299
        int col, 
 
300
        int *ncol  
 
301
#endif
 
302
);
 
303
 
 
304
extern int TCCINI(  
 
305
#ifdef __STDC__
 
306
        int tid, 
 
307
        int dtype, 
 
308
        int alen, 
 
309
        char *form, 
 
310
        char *unit,
 
311
        char *label, 
 
312
        int *col  
 
313
#endif
 
314
);
 
315
 
 
316
extern int TCCMAP(  
 
317
#ifdef __STDC__
 
318
        int tid, 
 
319
        int col, 
 
320
        char **address  
 
321
#endif
 
322
);
 
323
 
 
324
extern int TCCSEL(  
 
325
#ifdef __STDC__
 
326
        int tid, 
 
327
        char *text, 
 
328
        int mxcol, 
 
329
        int *cols, 
 
330
        int *flags, 
 
331
        int *outcol  
 
332
#endif
 
333
);
 
334
 
 
335
extern int TCCSER(  
 
336
#ifdef __STDC__
 
337
        int tid, 
 
338
        char *text, 
 
339
        int *col  
 
340
#endif
 
341
);
 
342
 
 
343
extern int TCCSRT(  
 
344
#ifdef __STDC__
 
345
        int tid, 
 
346
        int nc, 
 
347
        int *col, 
 
348
        int *soltfl  
 
349
#endif
 
350
);
 
351
 
 
352
extern int TCCUNM(  
 
353
#ifdef __STDC__
 
354
        int tid, 
 
355
        char *address  
 
356
#endif
 
357
);
 
358
 
 
359
/*
 
360
 * module tcd.c
 
361
 */
 
362
extern int GetLabel(
 
363
#ifdef __STDC__
 
364
        TABLE *tp, 
 
365
        int col, 
 
366
        int pos, 
 
367
        int len, 
 
368
        char *buf
 
369
#endif
 
370
);
 
371
 
 
372
extern int PutLabel(
 
373
#ifdef __STDC__
 
374
        TABLE *tp, 
 
375
        int col, 
 
376
        char *buf, 
 
377
        int pos, 
 
378
        int len
 
379
#endif
 
380
);
 
381
 
 
382
extern int  TCBGET(  
 
383
#ifdef __STDC__
 
384
        int tid, 
 
385
        int col, 
 
386
        int *dtype, 
 
387
        int *items, 
 
388
        int *bytes  
 
389
#endif
 
390
);
 
391
 
 
392
extern int  TCDGET(  
 
393
#ifdef __STDC__
 
394
        int tid, 
 
395
        int *store  
 
396
#endif
 
397
);
 
398
 
 
399
extern int  TCFGET(  
 
400
#ifdef __STDC__
 
401
        int tid, 
 
402
        int col, 
 
403
        char *fmt, 
 
404
        int *len, 
 
405
        int *dtype  
 
406
#endif
 
407
);
 
408
 
 
409
extern int  TCFPUT(  
 
410
#ifdef __STDC__
 
411
        int tid, 
 
412
        int col, 
 
413
        char *fmt  
 
414
#endif
 
415
);
 
416
 
 
417
extern int  TCIGET(
 
418
#ifdef __STDC__
 
419
        int tid, 
 
420
        int *ncol, 
 
421
        int *nrow, 
 
422
        int *nsort, 
 
423
        int *alcol, 
 
424
        int *allrow  
 
425
#endif
 
426
);
 
427
 
 
428
extern int  TCIPUT(
 
429
#ifdef __STDC__
 
430
        int tid, 
 
431
        int column, 
 
432
        int row
 
433
#endif
 
434
);
 
435
 
 
436
extern int  TCKGET(  
 
437
#ifdef __STDC__
 
438
        int tid, 
 
439
        int *col  
 
440
#endif
 
441
);
 
442
 
 
443
extern int  TCKPUT(  
 
444
#ifdef __STDC__
 
445
        int tid, 
 
446
        int col  
 
447
#endif
 
448
);
 
449
 
 
450
extern int  TCLGET(  
 
451
#ifdef __STDC__
 
452
        int tid, 
 
453
        int col, 
 
454
        char *label  
 
455
#endif
 
456
);
 
457
 
 
458
extern int  TCLPUT(  
 
459
#ifdef __STDC__
 
460
        int tid, 
 
461
        int col, 
 
462
        char *label  
 
463
#endif
 
464
);
 
465
 
 
466
extern int  TCLSER(  
 
467
#ifdef __STDC__
 
468
        int tid, 
 
469
        char *label, 
 
470
        int *col
 
471
#endif
 
472
);
 
473
 
 
474
extern int  TCOERR(
 
475
#ifdef __STDC__
 
476
        int tid, 
 
477
        int row, 
 
478
        int col, 
 
479
        int status, 
 
480
        char *text
 
481
#endif
 
482
);
 
483
 
 
484
extern int  TCOGET(
 
485
#ifdef __STDC__
 
486
        char *op_name,
 
487
        int  *value
 
488
#endif
 
489
);
 
490
 
 
491
extern int  TCOSET(
 
492
#ifdef __STDC__
 
493
        char *op_name, 
 
494
        int value
 
495
#endif
 
496
);
 
497
 
 
498
extern int  TCSDSC(  
 
499
#ifdef __STDC__
 
500
        int tid
 
501
#endif
 
502
);
 
503
 
 
504
extern int  TCSGET(  
 
505
#ifdef __STDC__
 
506
        int tid, 
 
507
        int row, 
 
508
        int *isel  
 
509
#endif
 
510
);
 
511
 
 
512
extern int  TCSPUT(  
 
513
#ifdef __STDC__
 
514
        int tid, 
 
515
        int row, 
 
516
        int *value  
 
517
#endif
 
518
);
 
519
 
 
520
extern int  TCSCNT(
 
521
#ifdef __STDC__
 
522
        int tid,
 
523
        int *count
 
524
#endif
 
525
);
 
526
 
 
527
extern int  TCSINI(
 
528
#ifdef __STDC__
 
529
        int tid
 
530
#endif
 
531
);
 
532
 
 
533
extern int  TCSINF(  
 
534
#ifdef __STDC__
 
535
        int tid, 
 
536
        char *info
 
537
#endif
 
538
);
 
539
 
 
540
extern int  TCSSET(  
 
541
#ifdef __STDC__
 
542
        int tid, 
 
543
        char *info  
 
544
#endif
 
545
);
 
546
 
 
547
extern int  TCUGET(  
 
548
#ifdef __STDC__
 
549
        int tid, 
 
550
        int col, 
 
551
        char *unit  
 
552
#endif
 
553
);
 
554
 
 
555
extern int  TCUPUT(  
 
556
#ifdef __STDC__
 
557
        int tid, 
 
558
        int col, 
 
559
        char *unit  
 
560
#endif
 
561
);
 
562
 
 
563
extern int  TCVERS(
 
564
#ifdef __STDC__
 
565
#endif
 
566
);
 
567
 
 
568
/*
 
569
 * module tce.c
 
570
 */
 
571
extern int  TCEDEL(  
 
572
#ifdef __STDC__
 
573
        int tid, 
 
574
        int row, 
 
575
        int col
 
576
#endif
 
577
);
 
578
 
 
579
extern int  TCEMAP(  
 
580
#ifdef __STDC__
 
581
        int tid, 
 
582
        int row, 
 
583
        int col, 
 
584
        char **addr, 
 
585
        int *inull  
 
586
#endif
 
587
);
 
588
 
 
589
extern int  TCEEDC(  
 
590
#ifdef __STDC__
 
591
        int tid, 
 
592
        char *abin, 
 
593
        int col, 
 
594
        char *buff
 
595
#endif
 
596
);
 
597
 
 
598
extern int  TCERDC(  
 
599
#ifdef __STDC__
 
600
        int tid, 
 
601
        int row, 
 
602
        int col, 
 
603
        char *value
 
604
        , int *inull  
 
605
#endif
 
606
);
 
607
 
 
608
extern int  TCERDI(  
 
609
#ifdef __STDC__
 
610
        int tid, 
 
611
        int row, 
 
612
        int col, 
 
613
        int *value, 
 
614
        int *inull  
 
615
#endif
 
616
);
 
617
 
 
618
extern int  TCERDR(  
 
619
#ifdef __STDC__
 
620
        int tid, 
 
621
        int row, 
 
622
        int col, 
 
623
        float *value, 
 
624
        int *inull  
 
625
#endif
 
626
);
 
627
 
 
628
extern int  TCERDD(  
 
629
#ifdef __STDC__
 
630
        int tid,
 
631
        int row, 
 
632
        int col, 
 
633
        double *value, 
 
634
        int *inull  
 
635
#endif
 
636
);
 
637
 
 
638
extern int  TCETRC(
 
639
#ifdef __STDC__
 
640
        int tid,
 
641
        char *abin, 
 
642
        int col,
 
643
        char *buff
 
644
#endif
 
645
);
 
646
 
 
647
extern int  TCEWRC(
 
648
#ifdef __STDC__
 
649
        int tid,
 
650
        int row, 
 
651
        int col, 
 
652
        char *value
 
653
#endif
 
654
);
 
655
 
 
656
extern int  TCEWRI(  
 
657
#ifdef __STDC__
 
658
        int tid,
 
659
        int row, 
 
660
        int col, 
 
661
        int *value  
 
662
#endif
 
663
);
 
664
 
 
665
extern int  TCEWRR(  
 
666
#ifdef __STDC__
 
667
        int tid,
 
668
        int row, 
 
669
        int col, 
 
670
        float *value  
 
671
#endif
 
672
);
 
673
 
 
674
extern int  TCEWRD(  
 
675
#ifdef __STDC__
 
676
        int tid,
 
677
        int row, 
 
678
        int col, 
 
679
        double *value  
 
680
#endif
 
681
);
 
682
 
 
683
extern int  TCESRC(
 
684
#ifdef __STDC__
 
685
        int tid,
 
686
        int column, 
 
687
        char *val, 
 
688
        int start, 
 
689
        int len, 
 
690
        int first,
 
691
        int *next
 
692
#endif
 
693
);
 
694
 
 
695
extern int  TCESRI(
 
696
#ifdef __STDC__
 
697
        int tid,
 
698
        int col, 
 
699
        int value, 
 
700
        int deltv, 
 
701
        int first,
 
702
        int *next
 
703
#endif
 
704
);
 
705
 
 
706
extern int  TCESRR(
 
707
#ifdef __STDC__
 
708
        int tid,
 
709
        int col, 
 
710
        float value, 
 
711
        float deltv, 
 
712
        int first,
 
713
        int *next
 
714
#endif
 
715
);
 
716
 
 
717
extern int  TCESRD(
 
718
#ifdef __STDC__
 
719
        int tid,
 
720
        int col, 
 
721
        double value, 
 
722
        double deltv, 
 
723
        int first,
 
724
        int *next
 
725
#endif
 
726
);
 
727
 
 
728
extern int  TCEUNM(
 
729
#ifdef __STDC__
 
730
        int tid,
 
731
        char *addr
 
732
#endif
 
733
);
 
734
 
 
735
/*
 
736
 * module tcm.c
 
737
 */
 
738
extern int TCMALL(  
 
739
#ifdef __STDC__
 
740
        char *type,
 
741
        int ncol, 
 
742
        int nrow, 
 
743
        int *pointer  
 
744
#endif
 
745
);
 
746
 
 
747
extern int TCMFRE(  
 
748
#ifdef __STDC__
 
749
        int *pointer  
 
750
#endif
 
751
);
 
752
 
 
753
extern int TCMGET(  
 
754
#ifdef __STDC__
 
755
        int tid, 
 
756
        int *pointer, 
 
757
        int *nac, 
 
758
        int *nar  
 
759
#endif
 
760
);
 
761
 
 
762
extern int TCMPUT(  
 
763
#ifdef __STDC__
 
764
        int tid, 
 
765
        int *pointer, 
 
766
        int nac, 
 
767
        int nar  
 
768
#endif
 
769
);
 
770
 
 
771
extern int TCMCON(  
 
772
#ifdef __STDC__
 
773
        float *tbsel, 
 
774
        double *tdtrue, 
 
775
        double *tbfalse  
 
776
#endif
 
777
);
 
778
 
 
779
extern int TCMNUL(  
 
780
#ifdef __STDC__
 
781
        int *inull, 
 
782
        float *rnull, 
 
783
        double *dnull  
 
784
#endif
 
785
);
 
786
 
 
787
/*
 
788
 * module tcr.c
 
789
 */
 
790
extern int TCRDEL(  
 
791
#ifdef __STDC__
 
792
        int tid, 
 
793
        int row  
 
794
#endif
 
795
);
 
796
 
 
797
extern int TCRRDC(  
 
798
#ifdef __STDC__
 
799
        int tid, 
 
800
        int row, 
 
801
        int nc, 
 
802
        int *col, 
 
803
        char *value, 
 
804
        int *null  
 
805
#endif
 
806
);
 
807
 
 
808
extern int TCRRDI(  
 
809
#ifdef __STDC__
 
810
        int tid, 
 
811
        int row, 
 
812
        int nc, 
 
813
        int *col, 
 
814
        int *value, 
 
815
        int *null  
 
816
#endif
 
817
);
 
818
 
 
819
extern int TCRRDR(  
 
820
#ifdef __STDC__
 
821
        int tid, 
 
822
        int row, 
 
823
        int nc, 
 
824
        int *col, 
 
825
        float *value, 
 
826
        int *null  
 
827
#endif
 
828
);
 
829
 
 
830
extern int TCRRDD(  
 
831
#ifdef __STDC__
 
832
        int tid, 
 
833
        int row, 
 
834
        int nc, 
 
835
        int *col, 
 
836
        double *value, 
 
837
        int *null  
 
838
#endif
 
839
);
 
840
 
 
841
extern int TCRSEL(  
 
842
#ifdef __STDC__
 
843
        int tid, 
 
844
        char *text, 
 
845
        int max_ranges, 
 
846
        int *low_bounds, 
 
847
        int *upp_bounds, 
 
848
        int *found_ranges  
 
849
#endif
 
850
);
 
851
 
 
852
extern int TCRWRC(  
 
853
#ifdef __STDC__
 
854
        int tid, 
 
855
        int row, 
 
856
        int nc, 
 
857
        int *col, 
 
858
        char *value  
 
859
#endif
 
860
);
 
861
 
 
862
extern int TCRWRI(  
 
863
#ifdef __STDC__
 
864
        int tid, 
 
865
        int row, 
 
866
        int nc, 
 
867
        int *col, 
 
868
        int *value  
 
869
#endif
 
870
);
 
871
 
 
872
extern int TCRWRR(  
 
873
#ifdef __STDC__
 
874
        int tid, 
 
875
        int row, 
 
876
        int nc, 
 
877
        int *col, 
 
878
        float *value  
 
879
#endif
 
880
);
 
881
 
 
882
extern int TCRWRD(  
 
883
#ifdef __STDC__
 
884
        int tid, 
 
885
        int row, 
 
886
        int nc, 
 
887
        int *col, 
 
888
        double *value  
 
889
#endif
 
890
);
 
891
 
 
892
/*
 
893
 * module tct.c
 
894
*/
 
895
 
 
896
extern int  TCTCLO(  
 
897
#ifdef __STDC__
 
898
        int tid  
 
899
#endif
 
900
);
 
901
 
 
902
extern int  TCTCRV(  
 
903
#ifdef __STDC__
 
904
        char *name, 
 
905
        char *ref_name, 
 
906
        int mode
 
907
#endif
 
908
);
 
909
 
 
910
extern int  TCTUNM(  
 
911
#ifdef __STDC__
 
912
        int tid  
 
913
#endif
 
914
);
 
915
 
 
916
extern int  TCTUNMF(  
 
917
#ifdef __STDC__
 
918
        int tid,
 
919
        int flag  
 
920
#endif
 
921
);
 
922
 
 
923
extern int  TCTID(  
 
924
#ifdef __STDC__
 
925
        char *name
 
926
#endif
 
927
);
 
928
 
 
929
extern int  TCTINI(  
 
930
#ifdef __STDC__
 
931
        char *name, 
 
932
        int storage, 
 
933
        int mode, 
 
934
        int allcol, 
 
935
        int allrow,
 
936
        int *tid  
 
937
#endif
 
938
);
 
939
 
 
940
extern int  TCTMAP(  
 
941
#ifdef __STDC__
 
942
        int tid,
 
943
        char **addr
 
944
#endif
 
945
);
 
946
 
 
947
extern int  TCTOPN(  
 
948
#ifdef __STDC__
 
949
        char *name, 
 
950
        int mode, 
 
951
        int *tid  
 
952
#endif
 
953
);
 
954
 
 
955
extern int  TCTFIX(
 
956
#ifdef __STDC__
 
957
        int tid
 
958
#endif
 
959
);
 
960
 
 
961
extern int TCTVIS(
 
962
#ifdef __STDC__
 
963
        int tid,
 
964
        char *name
 
965
#endif
 
966
);
 
967
 
 
968
/*
 
969
 * module tz0.c
 
970
 */
 
971
extern int  TBL_isNULL(  
 
972
#ifdef __STDC__
 
973
        int    dtype,
 
974
        int    *x
 
975
#endif
 
976
);
 
977
 
 
978
extern int  TBL_toNULL(  
 
979
#ifdef __STDC__
 
980
        int    dtype,
 
981
        char   *x
 
982
#endif
 
983
);
 
984
 
 
985
extern int  TBL_cv2(  
 
986
#ifdef __STDC__
 
987
        char    *x1,
 
988
        int     dtyp1,
 
989
        char    *x2,
 
990
        int     dtyp2
 
991
#endif
 
992
);
 
993
 
 
994
extern int  TBL_toMAX(  
 
995
#ifdef __STDC__
 
996
        int    dtype,
 
997
        char   *x
 
998
#endif
 
999
);
 
1000
 
 
1001
/*
 
1002
 * module tz1.c
 
1003
 */
 
1004
extern int  TBL_offset(  
 
1005
#ifdef __STDC__
 
1006
        TABLE   *tp,
 
1007
        int     row,
 
1008
        int     col
 
1009
#endif
 
1010
);
 
1011
 
 
1012
extern char *TBL_Dlab(  
 
1013
#ifdef __STDC__
 
1014
        int    col
 
1015
#endif
 
1016
);
 
1017
 
 
1018
extern char  *TBL_Cfmt(  
 
1019
#ifdef __STDC__
 
1020
        char    *form,
 
1021
        int     ttype
 
1022
#endif
 
1023
);
 
1024
 
 
1025
extern int  TBL_FMTCHK(  
 
1026
#ifdef __STDC__
 
1027
        char    *form,
 
1028
        int     ttype,
 
1029
        char    *oform
 
1030
#endif
 
1031
);
 
1032
 
 
1033
extern int  TBL_UNICHK(  
 
1034
#ifdef __STDC__
 
1035
        char    *unit,
 
1036
        char    *ounit
 
1037
#endif
 
1038
);
 
1039
 
 
1040
extern int  TBL_LABCHK(  
 
1041
#ifdef __STDC__
 
1042
        char    *label,
 
1043
        char    *outlab
 
1044
#endif
 
1045
);
 
1046
 
 
1047
extern int  TBL_TYPCHK(  
 
1048
#ifdef __STDC__
 
1049
        int     dtype,
 
1050
        int     alen,
 
1051
        int     *icode
 
1052
#endif
 
1053
);
 
1054
 
 
1055
/* 
 
1056
 * module tz2.c
 
1057
 */
 
1058
extern int  TBL_s0(  
 
1059
#ifdef __STDC__
 
1060
        char    *s,
 
1061
        int     len
 
1062
#endif
 
1063
);
 
1064
 
 
1065
extern int  TBL_s1(  
 
1066
#ifdef __STDC__
 
1067
        char    *s,
 
1068
        int     len
 
1069
#endif
 
1070
);
 
1071
 
 
1072
extern int  TBL_sdiff(  
 
1073
#ifdef __STDC__
 
1074
        char    *s1,
 
1075
        char    *s2
 
1076
#endif
 
1077
);
 
1078
 
 
1079
extern int  TBL_labcase(  
 
1080
#ifdef __STDC__
 
1081
        int     value
 
1082
#endif
 
1083
);
 
1084
 
 
1085
extern char *TBL_ssave(  
 
1086
#ifdef __STDC__
 
1087
        char    *s
 
1088
#endif
 
1089
);
 
1090
 
 
1091
/*
 
1092
 * module tz3.c
 
1093
 */
 
1094
extern int TBL_cv(  
 
1095
#ifdef __STDC__
 
1096
        char    *buf,
 
1097
        char    *form,
 
1098
        int     dtype,
 
1099
        char    *addr
 
1100
#endif
 
1101
);
 
1102
 
 
1103
extern int TBL_ed(  
 
1104
#ifdef __STDC__
 
1105
        char    *buf,
 
1106
        char    *form,
 
1107
        int     dtype,
 
1108
        char    *addr
 
1109
#endif
 
1110
);
 
1111
 
 
1112
/*
 
1113
 * module tz4.c
 
1114
 */
 
1115
extern void TBL_ERROR(  
 
1116
#ifdef __STDC__
 
1117
        char    *name,
 
1118
        int    tid,
 
1119
        int    status
 
1120
#endif
 
1121
);
 
1122
 
 
1123
extern char *TBL_eget(  
 
1124
#ifdef __STDC__
 
1125
        void
 
1126
#endif
 
1127
);
 
1128
extern int TBL_eput(  
 
1129
#ifdef __STDC__
 
1130
        int     status,
 
1131
        char    *message
 
1132
#endif
 
1133
);
 
1134
 
 
1135
extern int TBL_eclear(  
 
1136
#ifdef __STDC__
 
1137
        void
 
1138
#endif
 
1139
);
 
1140
 
 
1141
extern int TBL_eset(  
 
1142
#ifdef __STDC__
 
1143
        int opt
 
1144
#endif
 
1145
);
 
1146
 
 
1147
extern int TBL_enter(  
 
1148
#ifdef __STDC__
 
1149
        char    *name
 
1150
#endif
 
1151
);
 
1152
 
 
1153
extern int TBL_exit(  
 
1154
#ifdef __STDC__
 
1155
        int     status
 
1156
#endif
 
1157
);
 
1158
 
 
1159
extern int TBL_errf(  
 
1160
#ifdef __STDC__
 
1161
        int     status,
 
1162
        char *fmt,
 
1163
        ...
 
1164
#endif
 
1165
);
 
1166
 
 
1167
extern int TBL_errs(  
 
1168
#ifdef __STDC__
 
1169
        int     tid,
 
1170
        int     status,
 
1171
        int     value
 
1172
#endif
 
1173
);
 
1174
 
 
1175
/*
 
1176
 * module tz5.c
 
1177
 */
 
1178
extern int TBL_new(  
 
1179
#ifdef __STDC__
 
1180
        int     fid
 
1181
#endif
 
1182
);
 
1183
 
 
1184
extern int TBL_kill(  
 
1185
#ifdef __STDC__
 
1186
        int     fid
 
1187
#endif
 
1188
);
 
1189
 
 
1190
extern TABLE *TBL_ptr(  
 
1191
#ifdef __STDC__
 
1192
        int     fid
 
1193
#endif
 
1194
);
 
1195
 
 
1196
extern int TBL_tid(  
 
1197
#ifdef __STDC__
 
1198
        char *name
 
1199
#endif
 
1200
);
 
1201
 
 
1202
/* 
 
1203
 * module tz6.c
 
1204
 */
 
1205
 
 
1206
 
 
1207
extern int TBL_WR(  
 
1208
#ifdef __STDC__
 
1209
        TABLE *tp
 
1210
#endif
 
1211
);
 
1212
 
 
1213
extern int TBL_RDst(  
 
1214
#ifdef __STDC__
 
1215
        void
 
1216
#endif
 
1217
);
 
1218
 
 
1219
extern char *TBL_RD(  
 
1220
#ifdef __STDC__
 
1221
        TABLE *tp,
 
1222
        int   offset,
 
1223
        int   len
 
1224
#endif
 
1225
);
 
1226
 
 
1227
extern char *TBL_RDF(  
 
1228
#ifdef __STDC__
 
1229
        TABLE *tp,
 
1230
        int   offset,
 
1231
        int   len,
 
1232
        int   flag
 
1233
#endif
 
1234
);
 
1235
 
 
1236
extern int TBL_UMAP(  
 
1237
#ifdef __STDC__
 
1238
        TABLE *tp,
 
1239
        char  *addr
 
1240
#endif
 
1241
);
 
1242
 
 
1243
/* 
 
1244
 * module tz8.c
 
1245
 */
 
1246
extern int TBL_ALLOCOL(  
 
1247
#ifdef __STDC__
 
1248
        int   tid,
 
1249
        int   no
 
1250
#endif
 
1251
);
 
1252
 
 
1253
extern int TBL_ALLOROW(  
 
1254
#ifdef __STDC__
 
1255
        int   tid,
 
1256
        int   nr
 
1257
#endif
 
1258
);
 
1259
 
 
1260
extern int TBL_ADDROW(  
 
1261
#ifdef __STDC__
 
1262
        int   tid,
 
1263
        int   irow,
 
1264
        int   nr
 
1265
#endif
 
1266
);
 
1267
 
 
1268
extern int TBL_DELROW(  
 
1269
#ifdef __STDC__
 
1270
        int   tid,
 
1271
        int   irow,
 
1272
        int   no
 
1273
#endif
 
1274
);
 
1275
 
 
1276
/*
 
1277
 * module tz9.c
 
1278
 */
 
1279
extern int TBL_SSI1(  
 
1280
#ifdef __STDC__
 
1281
        char    *data,
 
1282
        int     value,
 
1283
        int     error,
 
1284
        int     count,
 
1285
        int     incr
 
1286
#endif
 
1287
);
 
1288
 
 
1289
extern int TBL_SSI2(  
 
1290
#ifdef __STDC__
 
1291
        short   *data,
 
1292
        int     value,
 
1293
        int     error,
 
1294
        int     count,
 
1295
        int     incr
 
1296
#endif
 
1297
);
 
1298
 
 
1299
extern int TBL_SSI4(  
 
1300
#ifdef __STDC__
 
1301
        int     *data,
 
1302
        int     value,
 
1303
        int     error,
 
1304
        int     count,
 
1305
        int     incr
 
1306
#endif
 
1307
);
 
1308
 
 
1309
extern int TBL_SSR(  
 
1310
#ifdef __STDC__
 
1311
        float   *data,
 
1312
        double  value,
 
1313
        double  error,
 
1314
        int     count,
 
1315
        int     incr
 
1316
#endif
 
1317
);
 
1318
 
 
1319
extern int TBL_SSD(  
 
1320
#ifdef __STDC__
 
1321
        double  *data,
 
1322
        double  value,
 
1323
        double  error,
 
1324
        int     count,
 
1325
        int     incr
 
1326
#endif
 
1327
);
 
1328
 
 
1329
extern int TBL_SSC(  
 
1330
#ifdef __STDC__
 
1331
        char    *data,
 
1332
        char    *value,
 
1333
        int     start,
 
1334
        int     ncomp,
 
1335
        int     count,
 
1336
        int     incr
 
1337
#endif
 
1338
);
 
1339
 
 
1340
extern int TBL_BSI1(  
 
1341
#ifdef __STDC__
 
1342
        char    *data,
 
1343
        int     value,
 
1344
        int     error,
 
1345
        int     count,
 
1346
        int     tonext
 
1347
#endif
 
1348
);
 
1349
 
 
1350
extern int TBL_BSI2(  
 
1351
#ifdef __STDC__
 
1352
        short   *data,
 
1353
        int     value,
 
1354
        int     error,
 
1355
        int     count,
 
1356
        int     tonext
 
1357
#endif
 
1358
);
 
1359
 
 
1360
extern int TBL_BSI4(  
 
1361
#ifdef __STDC__
 
1362
        int     *data,
 
1363
        int     value,
 
1364
        int     error,
 
1365
        int     count,
 
1366
        int     tonext
 
1367
#endif
 
1368
);
 
1369
 
 
1370
extern int TBL_BSR(  
 
1371
#ifdef __STDC__
 
1372
        float   *data,
 
1373
        double  value,
 
1374
        double  error,
 
1375
        int     count,
 
1376
        int     tonext
 
1377
#endif
 
1378
);
 
1379
 
 
1380
extern int TBL_BSD(  
 
1381
#ifdef __STDC__
 
1382
        double  *data,
 
1383
        double  value,
 
1384
        double  error,
 
1385
        int     count,
 
1386
        int     tonext
 
1387
#endif
 
1388
);
 
1389
 
 
1390
extern int TBL_BSC(  
 
1391
#ifdef __STDC__
 
1392
        char    *data,
 
1393
        char    *value,
 
1394
        int     start,
 
1395
        int     ncomp,
 
1396
        int     count,
 
1397
        int     tonext
 
1398
#endif
 
1399
);
 
1400
 
 
1401
extern int TBL_BSCTA(  
 
1402
#ifdef __STDC__
 
1403
        char    *data,
 
1404
        char    *value,
 
1405
        int     start,
 
1406
        int     ncomp,
 
1407
        int     count,
 
1408
        int     nb
 
1409
#endif
 
1410
);
 
1411
 
 
1412
extern int TBL_BSCTD(  
 
1413
#ifdef __STDC__
 
1414
        char    *data,
 
1415
        char    *value,
 
1416
        int     start,
 
1417
        int     ncomp,
 
1418
        int     count,
 
1419
        int     nb
 
1420
#endif
 
1421
);
 
1422
 
 
1423
#ifdef  __cplusplus
 
1424
}
 
1425
#endif
 
1426
 
 
1427
#endif