-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathvex.h
1699 lines (1308 loc) · 37.9 KB
/
vex.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/*
* Copyright (c) 2020-2021 NVI, Inc.
*
* This file is part of VLBI Field System
* (see http://github.com/nvi-inc/fs).
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __VEX_H__
#define __VEX_H__
#ifdef __cplusplus
extern "C" {
#endif
/* structure declarations */
struct llist {
struct llist *next;
void *ptr;
};
typedef struct llist Llist;
struct vex {
struct llist *version;
struct llist *blocks;
};
typedef struct vex Vex;
struct vex_version {
char *version;
int lessthan2;
};
typedef struct vex_version Vex_version;
struct block {
int block;
struct llist *items;
};
struct qref {
int primitive;
char *name;
struct llist *qualifiers;
};
typedef struct qref Qref;
struct def {
char *name;
struct llist *refs;
};
typedef struct def Def;
struct dvalue {
char *value;
char *units;
};
typedef struct dvalue Dvalue;
struct lowl {
int statement;
void *item;
};
typedef struct lowl Lowl;
struct chan_def {
char *band_id;
struct dvalue *sky_freq;
char *net_sb;
struct dvalue *bw;
char *chan_id;
char *bbc_id;
char *chan_name;
char *pcal_id;
struct llist *states;
};
typedef struct chan_def Chan_def;
struct external {
char *file;
int primitive;
char *name;
};
struct switching_cycle {
char *origin;
struct llist *periods;
};
typedef struct switching_cycle Switching_cycle;
struct source {
char *key;
struct dvalue *center;
struct dvalue *correlate;
struct llist *stations;
};
typedef struct source Source;
struct station {
char *key;
struct dvalue *start;
struct dvalue *stop;
struct dvalue *start_pos;
char *pass;
char *sector;
struct llist *drives;
};
typedef struct station Station;
struct data_transfer {
char *key;
char *method;
char *destination;
struct dvalue *start;
struct dvalue *stop;
char *options;
};
typedef struct data_transfer Data_transfer;
struct intent {
char *key;
char *identifier;
char *value;
};
typedef struct intent Intent;
struct pointing_offset {
char *key;
char *coord1;
struct dvalue *offset1;
char *coord2;
struct dvalue *offset2;
};
typedef struct pointing_offset Pointing_offset;
struct axis_type {
char *axis1;
char *axis2;
struct dvalue *orientation;
};
typedef struct axis_type Axis_type;
struct antenna_motion {
char *axis;
struct dvalue *rate;
struct dvalue *offset;
struct dvalue *acceleration;
};
typedef struct antenna_motion Antenna_motion;
struct pointing_sector {
char *sector;
char *axis1;
struct dvalue *lolimit1;
struct dvalue *hilimit1;
char *axis2;
struct dvalue *lolimit2;
struct dvalue *hilimit2;
char *name;
};
typedef struct pointing_sector Pointing_sector;
struct nasmyth {
char *band;
char *platform;
};
typedef struct nasmyth Nasmyth;
struct bbc_assign {
char *bbc_id;
struct dvalue *physical;
char *if_id;
};
typedef struct bbc_assign Bbc_assign;
struct stream_def {
char *chan_link;
char *bit;
struct dvalue *input;
struct dvalue *ondisk;
char *bitstream_link;
};
typedef struct stream_def Stream_def;
struct stream_sample_rate {
struct dvalue *rate;
char *bitstream_link;
};
typedef struct stream_sample_rate Stream_sample_rate;
struct stream_label {
char *label;
char *bitstream_link;
};
typedef struct stream_label Stream_label;
struct clock_early {
char *start;
struct dvalue *offset;
char *origin;
struct dvalue *rate;
struct dvalue *accel;
struct dvalue *jerk;
struct dvalue *peculiar;
};
typedef struct clock_early Clock_early;
struct headstack {
struct dvalue *stack;
char *type;
struct dvalue *offset;
};
typedef struct headstack Headstack;
struct s2_data_source {
char *source;
char *bbcx_id;
char *bbcy_id;
};
typedef struct s2_data_source S2_data_source;
struct tape_length {
struct dvalue *duration;
char *speed;
struct dvalue *tapes;
};
typedef struct tape_length Tape_Length;
struct tape_motion {
char *type;
struct dvalue *early;
struct dvalue *late;
struct dvalue *gap;
};
typedef struct tape_motion Tape_Motion;
struct equip {
char *type;
char *device;
char *link;
char *label;
};
typedef struct equip Equip;
struct composite_equip {
char *link;
struct llist *sub;
};
typedef struct composite_equip Composite_equip;
struct equip_set {
char *link;
char *function;
struct llist *settings;
};
typedef struct equip_set Equip_set;
struct equip_info {
char *link;
char *name;
struct llist *values;
};
typedef struct equip_info Equip_info;
struct connection {
char *signal_link;
char *equip_link;
char *label;
char *direction;
char *type;
};
typedef struct connection Connection;
struct record_method {
char *pattern;
struct dvalue *early;
struct dvalue *gap;
};
typedef struct record_method Record_method;
struct datastream {
char *link;
char *format;
char *label;
};
typedef struct datastream Datastream;
struct thread {
char *datastream_link;
char *thread_link;
struct dvalue *number;
struct dvalue *channels;
struct dvalue *sample;
struct dvalue *bits;
char *type;
struct dvalue *bytes;
};
typedef struct thread Thread;
struct channel {
char *datastream_link;
char *thread_link;
char *channel_link;
struct dvalue *number;
};
typedef struct channel Channel;
struct merged_datastream {
char *merged_link;
char *label;
struct llist *constituent_links;
};
typedef struct merged_datastream Merged_datastream;
struct eop_origin {
char *source;
char *version;
};
typedef struct eop_origin Eop_origin;
struct nut_origin {
char *source;
char *version;
};
typedef struct nut_origin Nut_origin;
struct exper_name {
char *name;
char *segment;
};
typedef struct exper_name Exper_name;
struct scheduling_software {
char *program;
char *version;
char *epoch;
};
typedef struct scheduling_software Scheduling_software;
struct vex_file_writer {
char *program;
char *version;
char *epoch;
};
typedef struct vex_file_writer Vex_file_writer;
struct extension {
char *owner;
char *name;
struct llist *values;
};
typedef struct extension Extension;
struct headstack_pos {
struct dvalue *index;
struct llist *positions;
};
typedef struct headstack_pos Headstack_pos;
struct if_def {
char *if_id;
char *physical;
char *polar;
struct dvalue *lo;
char *sb;
struct dvalue *pcal_spacing;
struct dvalue *pcal_base;
struct dvalue *samp_rate;
};
typedef struct if_def If_def;
struct receiver_name {
char *link;
char *name;
};
typedef struct receiver_name Receiver_name;
struct sub_lo_frequencies {
char *link;
struct llist *los;
};
typedef struct sub_lo_frequencies Sub_lo_frequencies;
struct sub_lo_sidebands {
char *link;
struct llist *sbs;
};
typedef struct sub_lo_sidebands Sub_lo_sidebands;
struct switched_power {
char *link;
char *name;
struct dvalue *frequency;
};
typedef struct switched_power Switched_power;
struct phase_cal_detect {
char *pcal_id;
struct llist *tones;
};
typedef struct phase_cal_detect Phase_cal_detect;
struct setup_always {
char *state;
struct dvalue *time;
};
typedef struct setup_always Setup_always;
struct parity_check {
char *state;
struct dvalue *time;
};
typedef struct parity_check Parity_check;
struct tape_prepass {
char *state;
struct dvalue *time;
};
typedef struct tape_prepass Tape_prepass;
struct preob_cal {
char *state;
struct dvalue *time;
char *name;
};
typedef struct preob_cal Preob_cal;
struct midob_cal {
char *state;
struct dvalue *time;
char *name;
};
typedef struct midob_cal Midob_cal;
struct postob_cal {
char *state;
struct dvalue *time;
char *name;
};
typedef struct postob_cal Postob_cal;
struct sefd {
char *if_id;
struct dvalue *flux;
struct llist *params;
};
typedef struct sefd Sefd;
struct site_id {
char *code2;
char *code1;
};
typedef struct site_id Site_id;
struct site_position {
struct dvalue *x;
struct dvalue *y;
struct dvalue *z;
};
typedef struct site_position Site_position;
struct site_velocity {
struct dvalue *x;
struct dvalue *y;
struct dvalue *z;
};
typedef struct site_velocity Site_velocity;
struct ocean_load_vert {
struct dvalue *amp;
struct dvalue *phase;
};
typedef struct ocean_load_vert Ocean_load_vert;
struct ocean_load_horiz {
struct dvalue *amp;
struct dvalue *phase;
};
typedef struct ocean_load_horiz Ocean_load_horiz;
struct source_type {
char *generic;
char *experiment;
char *coordinate;
};
typedef struct source_type Source_type;
struct source_model {
struct dvalue *component;
char *band_id;
struct dvalue *flux;
struct dvalue *majoraxis;
struct dvalue *ratio;
struct dvalue *angle;
struct dvalue *raoff;
struct dvalue *decoff;
};
typedef struct source_model Source_model;
struct datum {
char *time;
char *ra;
char *dec;
struct dvalue *ra_rate;
struct dvalue *dec_rate;
};
typedef struct datum Datum;
struct c_vector {
char *time;
struct dvalue *x;
struct dvalue *y;
struct dvalue *z;
struct dvalue *vx;
struct dvalue *vy;
struct dvalue *vz;
};
typedef struct c_vector c_Vector;
struct vsn {
struct dvalue *drive;
char *label;
char *start;
char *stop;
struct llist *link;
};
typedef struct vsn Vsn;
struct fanin_def {
char *subpass;
struct dvalue *hdstk;
struct dvalue *track;
struct llist *bitstreams;
};
typedef struct fanin_def Fanin_def;
struct fanout_def {
char *subpass;
struct llist *bitstream;
struct dvalue *hdstk;
struct llist *tracks;
};
typedef struct fanout_def Fanout_def;
struct vlba_frmtr_sys_trk {
struct dvalue *output;
char *use;
struct dvalue *start;
struct dvalue *stop;
};
typedef struct vlba_frmtr_sys_trk Vlba_frmtr_sys_trk;
struct format_def {
char* format;
char* extendedformat;
struct dvalue* datarate;
};
typedef struct format_def Format_def;
struct thread_def {
struct dvalue* threadnr;
struct dvalue* backendnr;
struct dvalue* recordernr;
struct dvalue* datarate;
struct dvalue* numchan;
struct dvalue* bitspersample;
char* format;
char* extendedformat;
struct dvalue* bytesperpacket;
};
typedef struct thread_def Thread_def;
struct channel_def {
char* chanid;
struct dvalue* threadnr;
struct dvalue* channelnr;
};
typedef struct channel_def Channel_def;
/* prototypes */
char *make_version(char *str);
struct llist *add_list(struct llist *start,void *ptr);
struct llist *ins_list(void *ptr, struct llist *start);
struct qref *make_qref(int primitive,char *name,struct llist *qualifiers);
struct def *make_def(char *name, struct llist *refs);
struct block *make_block(int block,struct llist *items);
struct vex *make_vex(struct llist *version, struct llist *blocks);
struct lowl *make_lowl(int statement,void *items);
struct chan_def *make_chan_def(char *band_id, struct dvalue *sky_freq,
char *net_sb, struct dvalue *bw,
char *chan_id, char *bbc_id, char *pcal_id,
struct llist *states);
struct dvalue *make_dvalue(char *value, char *units);
struct external *make_external(char *file, int primitive, char *name);
struct switching_cycle *make_switching_cycle(char *origin,
struct llist *periods);
struct source *make_source(char *key, struct dvalue *center,
struct dvalue *correlate, struct llist *stations);
struct station *make_station(char *key, struct dvalue *start,
struct dvalue *stop, struct dvalue *start_pos,
char *pass, char *sector, struct llist *drives);
struct data_transfer *make_data_transfer(char *key, char *method,
char *destination,
struct dvalue *start,
struct dvalue *stop,
char *options);
struct intent *make_intent(char *key, char *identifier,
char *value);
struct pointing_offset *make_pointing_offset(char *key,
char *coord1, struct dvalue *offset1,
char *coord2, struct dvalue *offset2);
struct axis_type *make_axis_type(char *axis1, char *axis2,
struct dvalue *orientation);
struct antenna_motion *make_antenna_motion(char *axis,struct dvalue *rate,
struct dvalue *offset,
struct dvalue *acceleration);
struct pointing_sector *make_pointing_sector(char *sector, char *axis1,
struct dvalue *lolimit1,
struct dvalue *hilimit1,
char *axis2,
struct dvalue *lolimit2,
struct dvalue *hilimit2,
char *name);
struct nasmyth *make_nasmyth(char *band, char *platform);
struct bbc_assign *make_bbc_assign(char *bbc_id,struct dvalue *physical,
char *if_id);
struct stream_def *make_stream_def(char *chan_link,char *bit,
struct dvalue *input,
struct dvalue *ondisk,
char *bitstream_link);
struct stream_sample_rate *make_stream_sample_rate(struct dvalue *rate,
char *bitstream_link);
struct stream_label *make_stream_label(char *label,
char *bitstream_link);
struct clock_early *make_clock_early(char *start,struct dvalue *offset,
char *origin, struct dvalue *rate,
struct dvalue *accel, struct dvalue *jerk,
struct dvalue *peculiar);
struct headstack *make_headstack(struct dvalue *stack,char *type,
struct dvalue *offset);
struct tape_length *make_tape_length(struct dvalue *duration, char *speed,
struct dvalue *tapes);
struct tape_motion *make_tape_motion(char *type, struct dvalue *early,
struct dvalue *late, struct dvalue *gap);
struct equip *make_equip(char *type, char *device, char *link, char *label);
struct composite_equip *make_composite_equip(char *link, struct llist *sub);
struct equip_set *make_equip_set(char *link, char *function,
struct llist *settings);
struct equip_info *make_equip_info(char *link, char *name,
struct llist *values);
struct connection *make_connection(char *signal_link, char *equipment_link,
char *label, char *direction, char *type);
struct record_method *make_record_method(char *pattern, struct dvalue *early,
struct dvalue *gap);
struct datastream *make_datastream(char *link,char *format,
char *label);
struct thread *make_thread(char *datastream_link,char *thread_link,
struct dvalue *number, struct dvalue *channnels,
struct dvalue *sample, struct dvalue *bits,
char *type, struct dvalue *bytes);
struct channel *make_channel(char *datastream_link,char *thread_link,
char *channel_link, struct dvalue *number);
struct merged_datastream *make_merged_datastream(char *merged_link,
char *label, struct llist *constituent_links);
struct eop_origin *make_eop_origin(char *source, char *version);
struct nut_origin *make_nut_origin(char *source, char *version);
struct exper_name *make_exper_name(char *name, char *segment);
struct scheduling_software *make_scheduling_software(char *program,
char *version,
char *epoch);
struct vex_file_writer *make_vex_file_writer(char *program,
char *version,
char *epoch);
struct extension *make_extension(char *owner, char *name,
struct llist *values);
struct headstack_pos *make_headstack_pos(struct dvalue *index,
struct llist *positions);
struct if_def *make_if_def(char *if_id, char *physical, char *polar,
struct dvalue *lo, char *sb,
struct dvalue *pcal_spacing,
struct dvalue *pcal_base,
struct dvalue *samp_rate);
struct receiver_name *make_receiver_name(char *link, char *name);
struct sub_lo_frequencies *make_sub_lo_frequencies (char *link,
struct llist *los);
struct sub_lo_sidebands *make_sub_lo_sidebands (char *link,
struct llist *sbs);
struct switched_power *make_switched_power(char *link,char *name,
struct dvalue *frequency);
struct phase_cal_detect *make_phase_cal_detect(char *pcal_id,
struct llist *tones);
struct setup_always *make_setup_always(char *state, struct dvalue *time);
struct parity_check *make_parity_check(char *state, struct dvalue *time);
struct tape_prepass *make_tape_prepass(char *state, struct dvalue *time);
struct preob_cal *make_preob_cal(char *state, struct dvalue *time,
char *name);
struct midob_cal *make_midob_cal(char *state, struct dvalue *time,
char *name);
struct postob_cal *make_postob_cal(char *state, struct dvalue *time,
char *name);
struct sefd *make_sefd(char *if_id, struct dvalue *flux, struct llist *params);
struct site_id *make_site_id(char *code2, char *code1);
struct site_position *make_site_position(struct dvalue *x, struct dvalue *y,
struct dvalue *z);
struct site_velocity *make_site_velocity(struct dvalue *x, struct dvalue *y,
struct dvalue *z);
struct ocean_load_vert *make_ocean_load_vert(struct dvalue *amp,
struct dvalue *phase);
struct ocean_load_horiz *make_ocean_load_horiz(struct dvalue *amp,
struct dvalue *phase);
struct source_type *make_source_type(char *generic, char *experiment,
char *coordinate);
struct source_model *make_source_model(struct dvalue *component,
char *band_id, struct dvalue *flux,
struct dvalue *majoraxis,
struct dvalue *ratio,
struct dvalue *angle,
struct dvalue *raoff,
struct dvalue *decoff);
struct datum *make_datum(char *time, char *ra, char *dec,
struct dvalue *ra_rate, struct dvalue *dec_rate);
struct c_vector *make_vector(char *time,
struct dvalue *x,
struct dvalue *y,
struct dvalue *z,
struct dvalue *vx,
struct dvalue *vy,
struct dvalue *vz);
struct vsn *make_vsn(struct dvalue *drive, char *label, char *start,
char *stop, struct llist *link);
struct fanin_def *make_fanin_def(char *subpass, struct dvalue *hdstk,
struct dvalue *track,
struct llist *bitstreams);
struct fanout_def *make_fanout_def(char *subpass, struct llist *bitstream,
struct dvalue *hdstk, struct llist *tracks);
struct vlba_frmtr_sys_trk *make_vlba_frmtr_sys_trk(struct dvalue *output,
char *use,
struct dvalue *start,
struct dvalue *stop);
struct s2_data_source *make_s2_data_source(char *source,char *bbcx_id,
char *bbcy_id);
struct format_def* make_format_def(char* format,
char* extendedformat,
struct dvalue* datarate);
struct thread_def* make_thread_def(
struct dvalue* threadnr,
struct dvalue* backendnr,
struct dvalue* recordernr,
struct dvalue* datarate,
struct dvalue* numchan,
struct dvalue* bitspersample,
char* format,
char* extendedformat,
struct dvalue* bytesperpacket);
struct channel_def* make_channel_def(char* chanid,
struct dvalue* threadnr,
struct dvalue* channelnr);
int
lowl2int(char *lowl);
int
block2int(char *block);
char *
int2lowl(int lowl);
char *
int2block(int block);
int
vex_field(int statement,void *ptr,int i,int *link,int *name, char **value,
char **units);
void print_vex(struct vex *vex);
void print_vex_blocks(struct llist *blocks);
void print_block_name(int block);
void print_qref_block(struct llist *items);
void print_qualifiers(struct llist *items);
void print_lowl(struct llist *items);
void print_lowl_st(int statement, void *ptr);
void print_def_block(struct llist *items, void func());
void print_external(struct external *this_);
void print_svalue(char *svalue);
void print_literal_list(struct llist *svalues);
void print_comment(char *comment);
void print_comment_trailing(char *comment_trailing);
char *
get_vex_rev(struct vex *vex_in);
char *
get_source_def_next();
char *
get_source_def(struct vex *vex_in);
char *
get_mode_def_next();
char *
get_mode_def(struct vex *vex_in);
char *
get_station_def_next();
char *
get_station_def(struct vex *vex_in);
void
end_def();
void
create_ref(char *str, char *str2);
void
end_scan();
void
create_stream_def(char *str, char *str2, char *str3, char *str4, char *str5);
void
create_stream_sample_rate(char *str, char *str2, char *str3);
void
create_stream_label(char *str, char *str2);
void
create_dvalue_list(char *str, char *str2);
void
create_svalue_list(char *str);
void
create_lvalue_list(char *str);
void
create_datastream(char *str, char *str2, char *str3);
void
create_thread(char *str, char *str2, char *str3, char *str4, char *str5,
char *str6, char *str7, char *str8, char *str9);
void
create_channel(char *str, char *str2, char *str3, char *str4);
void
create_merged_datastream(char *str, char *str2);
void *
get_all_lowl_next();
void *
get_all_lowl(const char *station, const char *mode, int statement,
int primitive, struct vex *vex_in);
void *
get_mode_lowl(const char *station_in, const char *mode_in, int statement,
int primitive, struct vex *vex_in);
void *
get_mode_lowl_next();
void *
get_station_lowl(const char *station_in, int statement_in,
int primitive_in, struct vex *vex_in);
void *
get_station_lowl_next();
void *
get_source_lowl(char *source_in, int statement_in, struct vex *vex_in);
void *
get_source_lowl_next();
void *
get_global_lowl(int primitive_in, int statement_in, struct vex *vex_in);
void *
get_global_lowl_next();
struct llist *
find_block(int block,struct vex *vex);
struct llist *
find_def(struct llist *defs,const char *mode);
struct llist *
find_lowl(struct llist *lowls,int statement);
void *
get_scan_start(Llist *lowls);
void *
get_scan_mode(Llist *lowls);
void *
get_scan_source_next();
void *
get_scan_source(Llist *lowls_scan_in);
void *
get_scan_source2_next();