-
Notifications
You must be signed in to change notification settings - Fork 0
/
protos.h
810 lines (665 loc) · 19.1 KB
/
protos.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
/*
* $Id: protos.h 4627 2008-10-01 16:48:11Z markstro $
*/
/**1************* SWITCH FOR DEFINITION AND DECLARATION ***************/
#ifndef MSYS_PROTO_H
#define MSYS_PROTO_H
/**2*********************** EXPORTED MACROS ***************************/
/**3********************** EXPORTED TYPEDEFS **************************/
/**4********************** EXPORTED VARIABLES *************************/
/**5**************** DECLARATION EXPORTED FUNCTIONS *******************/
/*** mmf.c **************************************************/
extern long setdims_ (void);
extern long call_modules_ (char *, int);
/*** alloc_space.c **************************************************/
#undef EXTERN
#ifdef ALLOC_SPACE_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN void alloc_space (void);
/*** check_vars.c **************************************************/
#undef EXTERN
#ifdef CHECK_VARS_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN char *CHECK_stat_vars (void);
EXTERN char *CHECK_disp_vars (void);
EXTERN char *CHECK_ani_vars (void);
/*** create_vstats.c **************************************************/
#undef EXTERN
#ifdef CREATE_VSTATS_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN void create_vstats (void);
/*** dprint.c **************************************************/
#undef EXTERN
#ifdef DPRINT_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN void dpstr_ (char *, ftnint *, ftnlen);
EXTERN void dpstr (char *, long);
EXTERN void dpint4_ (char *, ftnint *, ftnint *, ftnint *, ftnlen);
EXTERN void dplong (char *, long *, long, long);
EXTERN void dpreal_ (char *, float *, ftnint *, ftnint *, ftnlen);
EXTERN void dpfloat (char *, float *, long, long);
EXTERN void dpdble_ (char *, double *, ftnint *, ftnint *, ftnlen);
EXTERN void dpdble (char *, double *, long, long);
/*** free_vstats.c **************************************************/
#undef EXTERN
#ifdef FREE_VSTATS_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN void free_vstats (void);
/*** get_times.c **************************************************/
#undef EXTERN
#ifdef GET_TIMES_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN void get_times (void);
/*** get_elem_add.c **************************************************/
#undef EXTERN
#ifdef GET_ELEM_ADD_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN int CheckIndices (char *, char *, int);
EXTERN char *GetElemAddress (char *, char *, int);
/*** oprint.c **************************************************/
#undef EXTERN
#ifdef OPRINT_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN void opstr_ (char *, ftnlen);
EXTERN void opstr (char *);
EXTERN void opint4_ (char *, ftnint *, ftnint *, ftnlen);
EXTERN void oplong (char *, long *, long);
EXTERN void opreal_ (char *, float *, ftnint *, ftnlen);
EXTERN void opfloat (char *, float *, long);
EXTERN void opdble_ (char *, double *, ftnint *, ftnlen);
EXTERN void opdble (char *, double *, long);
/*** rosopt.c **************************************************/
#undef EXTERN
#ifdef ROSOPT_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN char *rosopt (ROSEN_DATA *, float[], float[]);
/*** opinit.c **************************************************/
#undef EXTERN
#ifdef OPINIT_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN char *opinit (float *, float *, int *, ROSEN_DATA *);
/*** bdry.c **************************************************/
#undef EXTERN
#ifdef BDRY_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN int bdry (float *, int *, float *, float *, int *, int *, float *);
/*** param.c **************************************************/
#undef EXTERN
#ifdef PARAM_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN int param (int *, ROSEN_DATA *);
/*** coropt.c **************************************************/
#undef EXTERN
#ifdef COROPT_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN int coropt (int *, float *, float *, int *);
/*** sub1.c **************************************************/
#undef EXTERN
#ifdef SUB1_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN int sub1 (int *, float *, int *, float *, float *, float *,
float *, float *, int *, int *, float *,
int *, float *, float *, int *, int *, ROSEN_DATA *);
/*** tcale.c **************************************************/
#undef EXTERN
#ifdef TCALE_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN int tcale (int *, float *, float *, float *, float *, int *);
/*** unscal.c **************************************************/
#undef EXTERN
#ifdef UNSCAL_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN int unscal (int *, float *, float *, float *, float *, int *);
/*** sub3.c **************************************************/
#undef EXTERN
#ifdef SUB3_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN int sub3 (int *, float *, float *, float *, int *, float *, ROSEN_DATA *);
/*** parse_args.c **************************************************/
#undef EXTERN
#ifdef PARSE_ARGS_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN void parse_args (int, char **, int *, char **, char **);
/*** read_datainfo.c **************************************************/
#undef EXTERN
#ifdef READ_DATAINFO_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN char *read_datainfo (FILE_DATA *);
/*** read_line.c **************************************************/
#undef EXTERN
#ifdef READ_LINE_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN long read_line (void);
EXTERN char *DATA_read_init (void);
EXTERN char *DATA_check_start (void);
EXTERN void DATA_close (void);
EXTERN int control_var_size (char *);
EXTERN FILE_DATA *FILE_with_next_ts (void);
EXTERN char *EXTRACT_time (FILE_DATA *);
EXTERN int CHECK_data (int, FILE_DATA *);
EXTERN void DATA_find_end (DATETIME *, DATETIME *);
EXTERN char *READ_data_info (void);
/*** setup_cont.c **************************************************/
#undef EXTERN
#ifdef SETUP_CONT_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN void setup_cont (void);
/*** batch_run.c **************************************************/
#undef EXTERN
#ifdef BATCH_RUN_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN void BATCH_run (void);
/*** graph_single_run.c **************************************************/
#undef EXTERN
#ifdef GRAPH_SINGLE_RUN_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN int initializeRuntimeGraphs (void);
EXTERN int plotRuntimeGraphValue (void);
EXTERN int closeRuntimeGraphs (void);
/*** stats.c **************************************************/
#undef EXTERN
#ifdef STATS_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN int stats (void);
/*** uprint.c **************************************************/
#undef EXTERN
#ifdef UPRINT_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN FILE *GetUserFile (char *, long);
EXTERN void closeUserFiles (void);
EXTERN void upstr_ (char *, ftnint *, char *, ftnlen, ftnlen);
EXTERN void upstr (char *, long, char *);
EXTERN void upint4_ (char *, ftnint *, char *, ftnint *, ftnint *, ftnlen, ftnlen);
EXTERN void uplong (char *, long, char *, long *, long);
EXTERN void upreal_ (char *, ftnint *, char *, float *, ftnint *, ftnlen, ftnlen);
EXTERN void upfloat (char *, long, char *, float *, long);
EXTERN void updble_ (char *, ftnint *, char *, double *, ftnint *, ftnlen, ftnlen);
EXTERN void updble (char *, long, char *, double *, long);
/*** write_vstats.c **************************************************/
#undef EXTERN
#ifdef WRITE_VSTATS_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN void write_vstats (FILE *);
/*** julconvert.c **************************************************/
#undef EXTERN
#ifdef JULCONVERT_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN double getjulday(int, int, int, int, int, double);
EXTERN int dayofweek(double);
EXTERN long isleap_ (ftnint *);
EXTERN int isleap (int);
/*** build_lists.c **************************************************/
#undef EXTERN
#ifdef BUILD_LISTS_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN LIST *ALLOC_list (char *, int, int);
EXTERN void RESIZE_list (LIST *, int);
EXTERN void DELETE_list (LIST *);
EXTERN void ADD_to_list (LIST *, void *);
/*** sensitivity.c **************************************************/
#undef EXTERN
#ifdef SENSITIVITY_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN char *PRMS_sens (void);
EXTERN int IN_obj_period (int, int, int);
/*** control_addr.c **************************************************/
#undef EXTERN
#ifdef CONTROL_ADDR_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN CONTROL *control_addr (char *);
/*** control_array.c **************************************************/
#undef EXTERN
#ifdef CONTROL_ARRAY_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN char *control_array (char *, long);
EXTERN long *control_larray (char *, long);
EXTERN float *control_farray (char *, long);
EXTERN double *control_darray (char *, long);
EXTERN char **control_sarray (char *, long);
/*** control_var.c **************************************************/
#undef EXTERN
#ifdef CONTROL_VAR_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN char *control_var (char *);
EXTERN long *control_lvar (char *);
EXTERN float *control_fvar (char *);
EXTERN double *control_dvar (char *);
EXTERN char **control_svar (char *);
/*** decldim.c **************************************************/
#undef EXTERN
#ifdef DECLDIM_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN long decldim_ (char *, ftnint *, ftnint *, char *, ftnlen, ftnlen);
EXTERN long decldim (char *, long, long, char *);
EXTERN long declfix (char *, long, long, char *);
EXTERN long declfix_ (char *, ftnint *, ftnint *, char *, ftnlen, ftnlen);
/*** declmodule.c **************************************************/
EXTERN long declmodule (char *);
/*** decl_control.c **************************************************/
#undef EXTERN
#ifdef DECL_CONTROL_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN void decl_control (char *, long, long, void *);
EXTERN CONTROL *add_control (char *, long, long);
/*** declparam.c **************************************************/
#undef EXTERN
#ifdef DECLPARAM_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN long declparam_ (char *, char *, char *, char *, char *,
char *, char *, char *, char *, char *, ftnlen, ftnlen, ftnlen, ftnlen, ftnlen, ftnlen, ftnlen, ftnlen, ftnlen, ftnlen);
EXTERN long declparam (char *, char *, char *, char *, char *,
char *, char *, char *, char *, char *);
EXTERN long declparam_u_ (char *, char *, char *, char *, char *,
char *, char *, char *, char *, char *, char *, ftnlen, ftnlen, ftnlen, ftnlen, ftnlen, ftnlen, ftnlen, ftnlen, ftnlen, ftnlen);
EXTERN long declparam_u (char *, char *, char *, char *, char *,
char *, char *, char *, char *, char *, char *);
/*** declvar.c **************************************************/
#undef EXTERN
#ifdef DECLVAR_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN long declvar_ (char *, char *, char *, ftnint *, char *,
char *, char *, char *, ftnlen, ftnlen, ftnlen, ftnlen, ftnlen, ftnlen);
EXTERN long declvar (char *, char *, char *, long, char *,
char *, char *, char *);
EXTERN long declpri_ (char *, ftnint *, char *, char *, ftnlen, ftnlen);
EXTERN long declpri (char *, long, char *, char *);
/*** dim_addr.c **************************************************/
#undef EXTERN
#ifdef DIM_ADDR_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN DIMEN *dim_addr (char *);
EXTERN char *dim_notes (char *);
/*** getdim.c **************************************************/
#undef EXTERN
#ifdef GETDIM_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN long getdim_ (char *, ftnlen);
EXTERN long getdim (char *);
/*** getdimname.c **************************************************/
#undef EXTERN
#ifdef GETDIMNAME_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN void getdimname_ (char *, ftnint *, char *, ftnlen, ftnlen);
EXTERN void getdimname (char *, long, char *);
EXTERN void getdimdesc_ (char *, ftnint *, char *, ftnlen, ftnlen);
EXTERN void getdimdesc (char *, long, char *);
/*** getparam.c **************************************************/
#undef EXTERN
#ifdef GETPARAM_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN long updateparam (char *);
EXTERN long getparam_ (char *, char *, ftnint *, char *, double *, ftnlen, ftnlen, ftnlen);
EXTERN long getparam (char *, char *, int, char *, double *);
EXTERN long getdatainfo_ (char *, ftnlen);
EXTERN long getdatainfo (char *, ftnlen);
EXTERN long getoutname_ (char *, char *, ftnlen, ftnlen);
EXTERN long getoutname (char *, char *);
EXTERN long getdataname_ (char *, char *, ftnlen, ftnlen);
EXTERN long getdataname (char *, char *);
EXTERN long getoutdirfile_ (char *, char *, ftnlen, ftnlen);
EXTERN long getoutdirfile (char *, char *);
EXTERN long getuserdirfile_ (char *, char *, ftnlen, ftnlen);
EXTERN long getuserdirfile (char *, char *);
/*** getvar.c **************************************************/
#undef EXTERN
#ifdef GETVAR_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN long getvar_ (char *, char *, ftnint *, char *, double *,
ftnlen, ftnlen, ftnlen);
EXTERN long getvar (char *, char *, long, char *, double *);
/*** load_param.c **************************************************/
#undef EXTERN
#ifdef LOAD_PARAM_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN long load_param (PARAM *);
/*** param_addr.c **************************************************/
#undef EXTERN
#ifdef PARAM_ADDR_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN PARAM *param_addr (char *);
/*** print_params.c **************************************************/
#undef EXTERN
#ifdef PRINT_PARAMS_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN int print_params (void);
/*** print_vars.c **************************************************/
#undef EXTERN
#ifdef PRINT_VARS_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN int print_vars (void);
/*** putvar.c **************************************************/
#undef EXTERN
#ifdef PUTVAR_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN long putvar_ (char *, char *, ftnint *, char *, double *value,
ftnlen, ftnlen, ftnlen);
EXTERN long putvar (char *, char *, long, char *, double *);
/*** read_control.c **************************************************/
#undef EXTERN
#ifdef READ_CONTROL_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN char *read_control (char *);
/*** read_params.c **************************************************/
#undef EXTERN
#ifdef READ_PARAMS_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN char *read_params (char *, int);
EXTERN char *read_dims (char *);
/*** read_vars.c **************************************************/
#undef EXTERN
#ifdef READ_VARS_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN int read_vars (char *);
/*** readvar.c **************************************************/
#undef EXTERN
#ifdef READVAR_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN long readvar_ (char *, char *, ftnlen, ftnlen);
EXTERN long readvar (char *, char *);
/*** reset_dim.c **************************************************/
#undef EXTERN
#ifdef RESET_DIM_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN void reset_dim (DIMEN *, long);
/*** save_control.c **************************************************/
#undef EXTERN
#ifdef SAVE_CONTROL_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN void save_control (char *);
/*** save_params.c **************************************************/
#undef EXTERN
#ifdef SAVE_PARAMS_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN int save_params (char *);
/*** save_vars.c **************************************************/
#undef EXTERN
#ifdef SAVE_VARS_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN int save_vars (char *);
/*** sort_dims.c **************************************************/
#undef EXTERN
#ifdef SORT_DIMS_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN void sort_dims (void);
/*** sort_params.c **************************************************/
#undef EXTERN
#ifdef SORT_PARAMS_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN void sort_params (void);
/*** sort_vars.c **************************************************/
#undef EXTERN
#ifdef SORT_VARS_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN void sort_vars (void);
/*** str_to_vals.c **************************************************/
#undef EXTERN
#ifdef STR_TO_VALS_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN long str_to_vals (char *, long, long, char *);
/*** timing.c **************************************************/
#undef EXTERN
#ifdef TIMING_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN void dattim_ (char *, ftnint *, ftnlen);
EXTERN void dattim (char *, long *);
EXTERN long julian_ (char *, char *, ftnlen, ftnlen);
EXTERN long julian (char *, char *);
EXTERN double deltim (void);
EXTERN double delnex (void);
EXTERN long getstep_ (void);
EXTERN long getstep (void);
EXTERN double djulian_ (char *, char *, ftnlen, ftnlen);
EXTERN double djulian (char *, char *);
/*** var_addr.c **************************************************/
#undef EXTERN
#ifdef VAR_ADDR_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN PUBVAR *var_addr (char *);
/*** esp_batch_run.c **************************************************/
#undef EXTERN
#ifdef ESP_BATCH_RUN_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN char *ESP_batch_run (void);
/*** rosenbrock_batch_run.c **************************************************/
#undef EXTERN
#ifdef ROSENBROCK_BATCH_RUN_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN void ROSENBROCK_batch_run (void);
/*** umalloc_etc.c **************************************************/
#undef EXTERN
#ifdef UMALLOC_ETC_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN char *umalloc (unsigned);
EXTERN char *urealloc (char *, unsigned);
EXTERN char *ucalloc (unsigned, unsigned);
EXTERN void ufree (char *);
/*** julday.c **************************************************/
#undef EXTERN
#ifdef JULDAY_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN int julday (DATETIME *);
/*** matinv.c **************************************************/
#undef EXTERN
#ifdef MATINV_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN int matinv (float *, float *, int *, int *);
/*** matind.c **************************************************/
#undef EXTERN
#ifdef MATIND_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN int matind (double *, double *, int *);
/*** snort.c **************************************************/
#undef EXTERN
#ifdef SNORT_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN int snort (float *, int *, int *, int *);
/*** print_model_info.c **************************************************/
#undef EXTERN
#ifdef PRINT_MODEL_INFO_C
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN int print_model_info (void);
#endif