1 /*
2 
3 -Header_File SpiceZpr.h ( CSPICE prototypes )
4 
5 -Abstract
6 
7    Define prototypes for CSPICE user-interface-level functions.
8 
9 -Disclaimer
10 
11    THIS SOFTWARE AND ANY RELATED MATERIALS WERE CREATED BY THE
12    CALIFORNIA INSTITUTE OF TECHNOLOGY (CALTECH) UNDER A U.S.
13    GOVERNMENT CONTRACT WITH THE NATIONAL AERONAUTICS AND SPACE
14    ADMINISTRATION (NASA). THE SOFTWARE IS TECHNOLOGY AND SOFTWARE
15    PUBLICLY AVAILABLE UNDER U.S. EXPORT LAWS AND IS PROVIDED "AS-IS"
16    TO THE RECIPIENT WITHOUT WARRANTY OF ANY KIND, INCLUDING ANY
17    WARRANTIES OF PERFORMANCE OR MERCHANTABILITY OR FITNESS FOR A
18    PARTICULAR USE OR PURPOSE (AS SET FORTH IN UNITED STATES UCC
19    SECTIONS 2312-2313) OR FOR ANY PURPOSE WHATSOEVER, FOR THE
20    SOFTWARE AND RELATED MATERIALS, HOWEVER USED.
21 
22    IN NO EVENT SHALL CALTECH, ITS JET PROPULSION LABORATORY, OR NASA
23    BE LIABLE FOR ANY DAMAGES AND/OR COSTS, INCLUDING, BUT NOT
24    LIMITED TO, INCIDENTAL OR CONSEQUENTIAL DAMAGES OF ANY KIND,
25    INCLUDING ECONOMIC DAMAGE OR INJURY TO PROPERTY AND LOST PROFITS,
26    REGARDLESS OF WHETHER CALTECH, JPL, OR NASA BE ADVISED, HAVE
27    REASON TO KNOW, OR, IN FACT, SHALL KNOW OF THE POSSIBILITY.
28 
29    RECIPIENT BEARS ALL RISK RELATING TO QUALITY AND PERFORMANCE OF
30    THE SOFTWARE AND ANY RELATED MATERIALS, AND AGREES TO INDEMNIFY
31    CALTECH AND NASA FOR ALL THIRD-PARTY CLAIMS RESULTING FROM THE
32    ACTIONS OF RECIPIENT IN THE USE OF THE SOFTWARE.
33 
34 -Required_Reading
35 
36    None.
37 
38 -Literature_References
39 
40    None.
41 
42 -Particulars
43 
44    This is the header file containing prototypes for CSPICE user-level
45    C routines.  Prototypes for the underlying f2c'd SPICELIB routines
46    are contained in the separate header file SpiceZfc.  However, those
47    routines are not part of the official CSPICE API.
48 
49 -Author_and_Institution
50 
51    N.J. Bachman       (JPL)
52    K.R. Gehringer     (JPL)
53    W.L. Taber         (JPL)
54    F.S. Turner        (JPL)
55    E.D. Wright        (JPL)
56 
57 -Version
58 
59 
60    -CSPICE Version 12.10.0, 30-JAN-2008 (EDW) (NJB)
61 
62       Added prototypes for:
63 
64          ilumin_c
65          pckcov_c
66          pckfrm_c
67          sincpt_c
68          spkacs_c
69          spkaps_c
70          spkltc_c
71          subpnt_c
72          subslr_c
73          wncard_c
74 
75    -CSPICE Version 12.9.0, 16-NOV-2006 (NJB)
76 
77       Bug fix:  corrected prototype for vhatg_c.
78 
79       Renamed wnfild_c and wnfltd_c arguments `small' to 'smal' for
80       compatiblity with MS Visual C++.
81 
82       Added prototypes for
83 
84          dafac_c
85          dafdc_c
86          dafec_c
87          dafgda_c
88          dascls_c
89          dasopr_c
90          kclear_c
91 
92    -CSPICE Version 12.8.0, 07-NOV-2005 (NJB)
93 
94       Added prototypes for
95 
96          bodvcd_c
97          qdq2av_c
98          qxq_c
99          srfrec_c
100 
101    -CSPICE Version 12.7.0, 06-JAN-2004 (NJB)
102 
103       Added prototypes for
104 
105          bods2c_c
106          ckcov_c
107          ckobj_c
108          dafopw_c
109          dafrs_c
110          dpgrdr_c
111          drdpgr_c
112          lspcn_c
113          pgrrec_c
114          recpgr_c
115          spkcov_c
116          spkobj_c
117 
118    -CSPICE Version 12.6.0, 24-FEB-2003 (NJB)
119 
120       Added prototype for
121 
122          bodvrd_c
123          deltet_c
124          srfxpt_c
125 
126    -CSPICE Version 12.5.0, 14-MAY-2003 (NJB)
127 
128       Removed prototype for getcml_.
129 
130 
131    -CSPICE Version 12.4.0, 25-FEB-2003 (NJB)
132 
133       Added prototypes for
134 
135          dasac_c
136          dasec_c
137          et2lst_c
138 
139    -CSPICE Version 12.3.0, 03-SEP-2002 (NJB)
140 
141       Added prototypes for
142 
143          appndc_c
144          appndd_c
145          appndi_c
146          bschoc_c
147          bschoi_c
148          bsrchc_c
149          bsrchd_c
150          bsrchi_c
151          card_c
152          ckw05_c
153          copy_c
154          cpos_c
155          cposr_c
156          diff_c
157          elemc_c
158          elemd_c
159          elemi_c
160          esrchc_c
161          insrtc_c
162          insrtd_c
163          insrti_c
164          inter_c
165          isordv_c
166          isrchc_c
167          isrchd_c
168          isrchi_c
169          lparss_c
170          lstlec_c
171          lstled_c
172          lstlei_c
173          lstltc_c
174          lstltd_c
175          lstlti_c
176          lx4dec_c
177          lx4num_c
178          lx4sgn_c
179          lx4uns_c
180          lxqstr_c
181          ncpos_c
182          ncposr_c
183          ordc_c
184          ordd_c
185          ordi_c
186          orderc_c
187          orderd_c
188          orderi_c
189          pos_c
190          posr_c
191          prefix_c
192          remove_c
193          reordc_c
194          reordd_c
195          reordi_c
196          reordl_c
197          removc_c
198          removd_c
199          removi_c
200          repmc_c
201          repmct_c
202          repmd_c
203          repmf_c
204          repmi_c
205          repmot_c
206          scard_c
207          sdiff_c
208          set_c
209          shellc_c
210          shelld_c
211          shelli_c
212          size_c
213          scard_c
214          spkw18_c
215          ssize_c
216          union_c
217          valid_c
218          wncomd_c
219          wncond_c
220          wndifd_c
221          wnelmd_c
222          wnexpd_c
223          wnextd_c
224          wnfetd_c
225          wnfild_c
226          wnfltd_c
227          wnincd_c
228          wninsd_c
229          wnintd_c
230          wnreld_c
231          wnsumd_c
232          wnunid_c
233          wnvald_c
234          zzsynccl_c
235 
236 
237    -CSPICE Version 12.2.0, 23-OCT-2001 (NJB)
238 
239       Added prototypes for
240 
241          badkpv_c
242          dcyldr_c
243          dgeodr_c
244          dlatdr_c
245          drdcyl_c
246          drdgeo_c
247          drdlat_c
248          drdsph_c
249          dsphdr_c
250          ekacec_c
251          ekaced_c
252          ekacei_c
253          ekappr_c
254          ekbseg_c
255          ekccnt_c
256          ekcii_c
257          ekdelr_c
258          ekinsr_c
259          ekntab_c
260          ekrcec_c
261          ekrced_c
262          ekrcei_c
263          ektnam_c
264          ekucec_c
265          ekuced_c
266          ekucei_c
267          inelpl_c
268          invort_c
269          kxtrct_c
270 
271       Added const qualifier to input array arguments of
272 
273          conics_c
274          illum_c
275          pdpool_c
276          prop2b_c
277          q2m_c
278          spkuds_c
279          xposeg_c
280 
281       Added const qualifier to the return value of
282 
283          tkvrsn_c
284 
285    -CSPICE Version 12.1.0, 12-APR-2000 (FST)
286 
287       Added prototype for
288 
289          getfov_c
290 
291    -CSPICE Version 12.0.0, 22-MAR-2000 (NJB)
292 
293       Added prototypes for
294 
295          lparse_c
296          lparsm_c
297          spkw12_c
298          spkw13_c
299 
300 
301    -CSPICE Version 11.1.0, 17-DEC-1999 (WLT)
302 
303       Added prototype for
304 
305          dafrda_c
306 
307    -CSPICE Version 11.0.0, 07-OCT-1999 (NJB) (EDW)
308 
309       Changed ekaclc_c, ekacld_c, ekacli_c prototypes to make input
310       pointers const-qualified where appropriate.
311 
312       Changed prompt_c prototype to accommodate memory leak bug fix.
313 
314       Changed ekpsel_c prototype to be consistent with other interfaces
315       having string array outputs.
316 
317       Added prototypes for
318 
319          axisar_c
320          brcktd_c
321          brckti_c
322          cidfrm_c
323          cgv2el_c
324          clpool_c
325          cmprss_c
326          cnmfrm_c
327          convrt_c
328          cvpool_c
329          dafbbs_c
330          dafbfs_c
331          dafcls_c
332          dafcs_c
333          daffna_c
334          daffpa_c
335          dafgh_c
336          dafgn_c
337          dafgs_c
338          dafopr_c
339          dafps_c
340          dafus_c
341          diags2_c
342          dtpool_c
343          dvdot_c
344          dvhat_c
345          dvpool_c
346          edlimb_c
347          ekops_c
348          ekopw_c
349          eul2xf_c
350          ftncls_c
351          furnsh_c
352          getmsg_c
353          getelm_c
354          gnpool_c
355          ident_c
356          illum_c
357          inedpl_c
358          kdata_c
359          kinfo_c
360          ktotal_c
361          lmpool_c
362          matchi_c
363          matchw_c
364          maxd_c
365          maxi_c
366          mequ_c
367          mind_c
368          mini_c
369          moved_
370          npedln_c
371          npelpt_c
372          nplnpt_c
373          pcpool_c
374          pdpool_c
375          pipool_c
376          pjelpl_c
377          pxform_c
378          rav2xf_c
379          raxisa_c
380          rquad_c
381          saelgv_c
382          spk14a_c
383          spk14b_c
384          spk14e_c
385          spkapp_c
386          spkapo_c
387          spkcls_c
388          spkezp_c
389          spkgps_c
390          spkopn_c
391          spkpds_c
392          spkpos_c
393          spkssb_c
394          spksub_c
395          spkuds_c
396          spkw02_c
397          spkw03_c
398          spkw05_c
399          spkw08_c
400          spkw09_c
401          spkw10_c
402          spkw15_c
403          spkw17_c
404          stpool_c
405          subpt_c
406          subsol_c
407          swpool_c
408          szpool_c
409          tparse_c
410          trace_c
411          unload_c
412          vaddg_c
413          vhatg_c
414          vlcomg_c
415          vminug_c
416          vrel_c
417          vrelg_c
418          vsepg_c
419          vtmv_c
420          vtmvg_c
421          vzerog_c
422          xf2eul_c
423          xf2rav_c
424          xposeg_c
425 
426 
427    -CSPICE Version 10.0.0, 09-MAR-1999 (NJB)
428 
429       Added prototypes for
430 
431          frame_c
432          inrypl_c
433          nvc2pl_c
434          nvp2pl_c
435          pl2nvc_c
436          pl2nvp_c
437          pl2psv_c
438          psv2pl_c
439          sce2c_c
440          vprjp_c
441          vprjpi_c
442 
443       Now conditionally includes SpiceEll.h and SpicePln.h.
444 
445 
446    -CSPICE Version 9.0.0, 25-FEB-1999 (NJB)
447 
448       Added prototypes for
449 
450          eknseg_c
451          eknelt_c
452          ekpsel_c
453          ekssum_c
454 
455       Now conditionally includes SpiceEK.h.
456 
457 
458    -CSPICE Version 8.0.0, 20-OCT-1998 (NJB)
459 
460       Added const qualifier to all input matrix and vector arguments.
461 
462       Added prototypes for
463 
464          det_c
465          dpmax_c
466          dpmax_
467          dpmin_c
468          dpmin_
469          frinfo_c
470          frmnam_c
471          getfat_c
472          intmax_c
473          intmax_
474          intmin_c
475          intmin_
476          invert_c
477          namfrm_c
478          vrotv_c
479          vsclg_c
480 
481 
482    -CSPICE Version 7.0.0, 02-APR-1998 (EDW)
483 
484       Added prototypes for
485 
486          mequg_c
487          unormg_g
488          vdistg_c
489          vdotg_c
490          vequg_c
491          vnormg_c
492 
493    -CSPICE Version 6.0.0, 31-MAR-1998 (NJB)
494 
495       Added prototypes for
496 
497          ekaclc_c
498          ekacld_c
499          ekacli_c
500          ekcls_c
501          ekffld_c
502          ekfind_c
503          ekgc_c
504          ekgd_c
505          ekgi_c
506          ekifld_c
507          eklef_c
508          ekopr_c
509          ekopn_c
510          ekuef_c
511 
512    -CSPICE Version 5.0.1, 05-MAR-1998 (EDW)
513 
514       Remove some non printing characters.
515 
516    -CSPICE Version 5.0.0, 03-MAR-1998 (NJB)
517 
518       Added prototypes for
519 
520          etcal_c
521          ltime_c
522          stelab_c
523          tpictr_c
524          twovec_c
525          vsubg_c
526 
527    -CSPICE Version 4.0.0, 11-FEB-1998 (EDW)
528 
529       Added prototypes for
530 
531          timdef_c
532          tsetyr_c
533 
534 
535    -CSPICE Version 3.0.0, 02-FEB-1998 (NJB)
536 
537       Added prototypes for
538 
539          pckuof_c
540          tipbod_c
541 
542       Type SpiceVoid was replaced with void.
543 
544    -CSPICE Version 2.0.0, 06-JAN-1998 (NJB)
545 
546       Changed all input-only character pointers to type ConstSpiceChar.
547 
548    -CSPICE Version 1.0.0, 25-OCT-1997 (NJB) (KRG) (EDW)
549 
550 -Index_Entries
551 
552    protoypes of CSPICE functions
553 
554 */
555 
556 
557 /*
558 Include Files:
559 */
560 
561 
562 #ifndef  HAVE_SPICEDEFS_H
563 #include "SpiceZdf.h"
564 #endif
565 
566 #ifndef  HAVE_SPICE_EK_H
567 #include "SpiceEK.h"
568 #endif
569 
570 #ifndef  HAVE_SPICE_PLANES_H
571 #include "SpicePln.h"
572 #endif
573 
574 #ifndef  HAVE_SPICE_ELLIPSES_H
575 #include "SpiceEll.h"
576 #endif
577 
578 #ifndef  HAVE_SPICE_CELLS_H
579 #include "SpiceCel.h"
580 #endif
581 
582 #ifndef  HAVE_SPICE_SPK_H
583 #include "SpiceSPK.h"
584 #endif
585 
586 #ifndef HAVE_SPICEWRAPPERS_H
587 #define HAVE_SPICEWRAPPERS_H
588 
589 
590 
591 
592 /*
593    Function prototypes for CSPICE functions are listed below.
594    Each prototype is accompanied by a function abstract and brief I/O
595    description.
596 
597    See the headers of the C wrappers for detailed descriptions of the
598    routines' interfaces.
599 
600    The list below should be maintained in alphabetical order.
601 */
602 
603    void              appndc_c ( ConstSpiceChar     * item,
604                                 SpiceCell          * cell  );
605 
606 
607    void              appndd_c ( SpiceDouble          item,
608                                 SpiceCell          * cell  );
609 
610 
611    void              appndi_c ( SpiceInt             item,
612                                 SpiceCell          * cell  );
613 
614 
615    void              axisar_c ( ConstSpiceDouble     axis   [3],
616                                 SpiceDouble          angle,
617                                 SpiceDouble          r      [3][3]  );
618 
619 
620    SpiceBoolean      badkpv_c ( ConstSpiceChar      *caller,
621                                 ConstSpiceChar      *name,
622                                 ConstSpiceChar      *comp,
623                                 SpiceInt             size,
624                                 SpiceInt             divby,
625                                 SpiceChar            type   );
626 
627 
628    void              bodc2n_c ( SpiceInt             code,
629                                 SpiceInt             namelen,
630                                 SpiceChar          * name,
631                                 SpiceBoolean       * found   );
632 
633 
634    void              boddef_c ( ConstSpiceChar     * name,
635                                 SpiceInt             code );
636 
637 
638    SpiceBoolean      bodfnd_c ( SpiceInt             body,
639                                 ConstSpiceChar     * item );
640 
641 
642    void              bodn2c_c ( ConstSpiceChar     * name,
643                                 SpiceInt           * code,
644                                 SpiceBoolean       * found );
645 
646 
647    void              bods2c_c ( ConstSpiceChar     * name,
648                                 SpiceInt           * code,
649                                 SpiceBoolean       * found );
650 
651 
652    void              bodvar_c ( SpiceInt             body,
653                                 ConstSpiceChar     * item,
654                                 SpiceInt           * dim ,
655                                 SpiceDouble        * values );
656 
657 
658    void              bodvcd_c ( SpiceInt             body,
659                                 ConstSpiceChar     * item,
660                                 SpiceInt             maxn,
661                                 SpiceInt           * dim ,
662                                 SpiceDouble        * values );
663 
664 
665    void              bodvrd_c ( ConstSpiceChar     * body,
666                                 ConstSpiceChar     * item,
667                                 SpiceInt             maxn,
668                                 SpiceInt           * dim ,
669                                 SpiceDouble        * values );
670 
671 
672    SpiceDouble       brcktd_c ( SpiceDouble          number,
673                                 SpiceDouble          end1,
674                                 SpiceDouble          end2    );
675 
676 
677    SpiceInt          brckti_c ( SpiceInt             number,
678                                 SpiceInt             end1,
679                                 SpiceInt             end2    );
680 
681 
682    SpiceInt          bschoc_c ( ConstSpiceChar     * value,
683                                 SpiceInt             ndim,
684                                 SpiceInt             lenvals,
685                                 const void         * array,
686                                 ConstSpiceInt      * order  );
687 
688 
689    SpiceInt          bschoi_c ( SpiceInt             value,
690                                 SpiceInt             ndim,
691                                 ConstSpiceInt      * array,
692                                 ConstSpiceInt      * order  );
693 
694 
695    SpiceInt          bsrchc_c ( ConstSpiceChar     * value,
696                                 SpiceInt             ndim,
697                                 SpiceInt             lenvals,
698                                 const void         * array   );
699 
700 
701    SpiceInt          bsrchd_c ( SpiceDouble          value,
702                                 SpiceInt             ndim,
703                                 ConstSpiceDouble   * array );
704 
705 
706    SpiceInt          bsrchi_c ( SpiceInt             value,
707                                 SpiceInt             ndim,
708                                 ConstSpiceInt      * array );
709 
710 
711    SpiceDouble       b1900_c  ( void );
712 
713 
714    SpiceDouble       b1950_c  ( void );
715 
716 
717    SpiceInt          card_c   ( SpiceCell         * cell );
718 
719 
720    void              cgv2el_c ( ConstSpiceDouble    center[3],
721                                 ConstSpiceDouble    vec1  [3],
722                                 ConstSpiceDouble    vec2  [3],
723                                 SpiceEllipse      * ellipse   );
724 
725 
726    void              chkin_c  ( ConstSpiceChar    * module );
727 
728 
729    void              chkout_c ( ConstSpiceChar    * module );
730 
731 
732    void              cidfrm_c ( SpiceInt            cent,
733                                 SpiceInt            lenout,
734                                 SpiceInt          * frcode,
735                                 SpiceChar         * frname,
736                                 SpiceBoolean      * found  );
737 
738 
739    void              ckcls_c  ( SpiceInt            handle );
740 
741 
742    void              ckcov_c  ( ConstSpiceChar    * ck,
743                                 SpiceInt            idcode,
744                                 SpiceBoolean        needav,
745                                 ConstSpiceChar    * level,
746                                 SpiceDouble         tol,
747                                 ConstSpiceChar    * timsys,
748                                 SpiceCell         * cover   );
749 
750 
751    void              ckobj_c  ( ConstSpiceChar    * ck,
752                                 SpiceCell         * ids );
753 
754 
755    void              ckgp_c   ( SpiceInt            inst,
756                                 SpiceDouble         sclkdp,
757                                 SpiceDouble         tol,
758                                 ConstSpiceChar    * ref,
759                                 SpiceDouble         cmat[3][3],
760                                 SpiceDouble       * clkout,
761                                 SpiceBoolean      * found      );
762 
763 
764    void              ckgpav_c ( SpiceInt            inst,
765                                 SpiceDouble         sclkdp,
766                                 SpiceDouble         tol,
767                                 ConstSpiceChar    * ref,
768                                 SpiceDouble         cmat[3][3],
769                                 SpiceDouble         av[3],
770                                 SpiceDouble       * clkout,
771                                 SpiceBoolean      * found      );
772 
773 
774    void              cklpf_c  ( ConstSpiceChar    * fname,
775                                 SpiceInt          * handle    );
776 
777 
778    void              ckopn_c  ( ConstSpiceChar    * name,
779                                 ConstSpiceChar    * ifname,
780                                 SpiceInt            ncomch,
781                                 SpiceInt          * handle  );
782 
783 
784    void              ckupf_c  ( SpiceInt            handle );
785 
786 
787    void              ckw01_c  ( SpiceInt            handle,
788                                 SpiceDouble         begtime,
789                                 SpiceDouble         endtime,
790                                 SpiceInt            inst,
791                                 ConstSpiceChar    * ref,
792                                 SpiceBoolean        avflag,
793                                 ConstSpiceChar    * segid,
794                                 SpiceInt            nrec,
795                                 ConstSpiceDouble    sclkdp [],
796                                 ConstSpiceDouble    quats  [][4],
797                                 ConstSpiceDouble    avvs   [][3]  );
798 
799 
800    void              ckw02_c  ( SpiceInt            handle,
801                                 SpiceDouble         begtim,
802                                 SpiceDouble         endtim,
803                                 SpiceInt            inst,
804                                 ConstSpiceChar    * ref,
805                                 ConstSpiceChar    * segid,
806                                 SpiceInt            nrec,
807                                 ConstSpiceDouble    start  [],
808                                 ConstSpiceDouble    stop   [],
809                                 ConstSpiceDouble    quats  [][4],
810                                 ConstSpiceDouble    avvs   [][3],
811                                 ConstSpiceDouble    rates  []    );
812 
813 
814    void              ckw03_c  ( SpiceInt            handle,
815                                 SpiceDouble         begtim,
816                                 SpiceDouble         endtim,
817                                 SpiceInt            inst,
818                                 ConstSpiceChar    * ref,
819                                 SpiceBoolean        avflag,
820                                 ConstSpiceChar    * segid,
821                                 SpiceInt            nrec,
822                                 ConstSpiceDouble    sclkdp [],
823                                 ConstSpiceDouble    quats  [][4],
824                                 ConstSpiceDouble    avvs   [][3],
825                                 SpiceInt            nints,
826                                 ConstSpiceDouble    starts []     );
827 
828 
829    void              ckw05_c  ( SpiceInt             handle,
830                                 SpiceCK05Subtype     subtyp,
831                                 SpiceInt             degree,
832                                 SpiceDouble          begtim,
833                                 SpiceDouble          endtim,
834                                 SpiceInt             inst,
835                                 ConstSpiceChar     * ref,
836                                 SpiceBoolean         avflag,
837                                 ConstSpiceChar     * segid,
838                                 SpiceInt             n,
839                                 ConstSpiceDouble     sclkdp[],
840                                 const void         * packets,
841                                 SpiceDouble          rate,
842                                 SpiceInt             nints,
843                                 ConstSpiceDouble     starts[]     );
844 
845 
846    SpiceDouble       clight_c ( void );
847 
848 
849    void              clpool_c ( void );
850 
851 
852    void              cmprss_c ( SpiceChar           delim,
853                                 SpiceInt            n,
854                                 ConstSpiceChar    * input,
855                                 SpiceInt            lenout,
856                                 SpiceChar         * output  );
857 
858 
859    void              cnmfrm_c ( ConstSpiceChar    * cname,
860                                 SpiceInt            lenout,
861                                 SpiceInt          * frcode,
862                                 SpiceChar         * frname,
863                                 SpiceBoolean      * found   );
864 
865 
866    void              conics_c ( ConstSpiceDouble    elts[8],
867                                 SpiceDouble         et,
868                                 SpiceDouble         state[6] );
869 
870 
871    void              convrt_c ( SpiceDouble         x,
872                                 ConstSpiceChar    * in,
873                                 ConstSpiceChar    * out,
874                                 SpiceDouble       * y    );
875 
876 
877    void              copy_c   ( SpiceCell         * a,
878                                 SpiceCell         * b     );
879 
880 
881 
882    SpiceInt          cpos_c   ( ConstSpiceChar    * str,
883                                 ConstSpiceChar    * chars,
884                                 SpiceInt            start  );
885 
886 
887    SpiceInt          cposr_c  ( ConstSpiceChar    * str,
888                                 ConstSpiceChar    * chars,
889                                 SpiceInt            start  );
890 
891 
892    void              cvpool_c ( ConstSpiceChar    * agent,
893                                 SpiceBoolean      * update );
894 
895 
896    void              cyllat_c ( SpiceDouble         r,
897                                 SpiceDouble         lonc,
898                                 SpiceDouble         z,
899                                 SpiceDouble       * radius,
900                                 SpiceDouble       * lon,
901                                 SpiceDouble       * lat );
902 
903 
904    void              cylrec_c ( SpiceDouble         r,
905                                 SpiceDouble         lon,
906                                 SpiceDouble         z,
907                                 SpiceDouble         rectan[3] );
908 
909 
910    void              cylsph_c ( SpiceDouble         r,
911                                 SpiceDouble         lonc,
912                                 SpiceDouble         z,
913                                 SpiceDouble       * radius,
914                                 SpiceDouble       * colat,
915                                 SpiceDouble       * lon );
916 
917 
918    void              dafac_c  ( SpiceInt            handle,
919                                 SpiceInt            n,
920                                 SpiceInt            lenvals,
921                                 const void        * buffer  );
922 
923 
924    void              dafbbs_c ( SpiceInt            handle );
925 
926 
927    void              dafbfs_c ( SpiceInt            handle );
928 
929 
930    void              dafcls_c ( SpiceInt            handle );
931 
932 
933    void              dafcs_c  ( SpiceInt            handle );
934 
935 
936    void              dafdc_c  ( SpiceInt            handle );
937 
938 
939    void              dafec_c  ( SpiceInt            handle,
940                                 SpiceInt            bufsiz,
941                                 SpiceInt            lenout,
942                                 SpiceInt          * n,
943                                 void              * buffer,
944                                 SpiceBoolean      * done    );
945 
946 
947    void              daffna_c ( SpiceBoolean      * found );
948 
949 
950    void              daffpa_c ( SpiceBoolean      * found );
951 
952 
953    void              dafgda_c ( SpiceInt            handle,
954                                 SpiceInt            begin,
955                                 SpiceInt            end,
956                                 SpiceDouble       * data );
957 
958 
959    void              dafgh_c  ( SpiceInt          * handle );
960 
961 
962    void              dafgn_c  ( SpiceInt            lenout,
963                                 SpiceChar         * name   );
964 
965 
966    void              dafgs_c  ( SpiceDouble         sum[] );
967 
968 
969    void              dafopr_c ( ConstSpiceChar    * fname,
970                                 SpiceInt          * handle  );
971 
972 
973    void              dafopw_c ( ConstSpiceChar    * fname,
974                                 SpiceInt          * handle );
975 
976 
977    void              dafps_c  ( SpiceInt            nd,
978                                 SpiceInt            ni,
979                                 ConstSpiceDouble    dc  [],
980                                 ConstSpiceInt       ic  [],
981                                 SpiceDouble         sum []  );
982 
983 
984    void              dafrda_c ( SpiceInt            handle,
985                                 SpiceInt            begin,
986                                 SpiceInt            end,
987                                 SpiceDouble       * data );
988 
989 
990    void              dafrs_c  ( ConstSpiceDouble  * sum );
991 
992 
993    void              dafus_c  ( ConstSpiceDouble    sum [],
994                                 SpiceInt            nd,
995                                 SpiceInt            ni,
996                                 SpiceDouble         dc  [],
997                                 SpiceInt            ic  []  );
998 
999 
1000    void              dasac_c  ( SpiceInt            handle,
1001                                 SpiceInt            n,
1002                                 SpiceInt            buflen,
1003                                 const void        * buffer  );
1004 
1005 
1006    void              dascls_c ( SpiceInt            handle );
1007 
1008 
1009    void              dasec_c  ( SpiceInt            handle,
1010                                 SpiceInt            bufsiz,
1011                                 SpiceInt            buflen,
1012                                 SpiceInt          * n,
1013                                 void              * buffer,
1014                                 SpiceBoolean      * done   );
1015 
1016 
1017    void              dasopr_c ( ConstSpiceChar    * fname,
1018                                 SpiceInt          * handle  );
1019 
1020 
1021    void              dcyldr_c ( SpiceDouble         x,
1022                                 SpiceDouble         y,
1023                                 SpiceDouble         z,
1024                                 SpiceDouble         jacobi[3][3] );
1025 
1026 
1027    void              deltet_c ( SpiceDouble         epoch,
1028                                 ConstSpiceChar    * eptype,
1029                                 SpiceDouble       * delta   );
1030 
1031 
1032    SpiceDouble       det_c    ( ConstSpiceDouble    m1[3][3] );
1033 
1034 
1035    void              diags2_c ( ConstSpiceDouble    symmat [2][2],
1036                                 SpiceDouble         diag   [2][2],
1037                                 SpiceDouble         rotate [2][2]  );
1038 
1039 
1040    void              diff_c   ( SpiceCell         * a,
1041                                 SpiceCell         * b,
1042                                 SpiceCell         * c  );
1043 
1044 
1045    void              dgeodr_c ( SpiceDouble         x,
1046                                 SpiceDouble         y,
1047                                 SpiceDouble         z,
1048                                 SpiceDouble         re,
1049                                 SpiceDouble         f,
1050                                 SpiceDouble         jacobi[3][3] );
1051 
1052 
1053    void              dlatdr_c ( SpiceDouble         x,
1054                                 SpiceDouble         y,
1055                                 SpiceDouble         z,
1056                                 SpiceDouble         jacobi[3][3] );
1057 
1058 
1059    void              dpgrdr_c ( ConstSpiceChar    * body,
1060                                 SpiceDouble         x,
1061                                 SpiceDouble         y,
1062                                 SpiceDouble         z,
1063                                 SpiceDouble         re,
1064                                 SpiceDouble         f,
1065                                 SpiceDouble         jacobi[3][3] );
1066 
1067 
1068    SpiceDouble       dpmax_c  ( void );
1069 
1070 
1071    SpiceDouble       dpmax_   ( void );
1072 
1073 
1074    SpiceDouble       dpmin_c  ( void );
1075 
1076 
1077    SpiceDouble       dpmin_   ( void );
1078 
1079 
1080    SpiceDouble       dpr_c    ( void );
1081 
1082 
1083    void              drdcyl_c ( SpiceDouble         r,
1084                                 SpiceDouble         lon,
1085                                 SpiceDouble         z,
1086                                 SpiceDouble         jacobi[3][3] );
1087 
1088 
1089    void              drdgeo_c ( SpiceDouble         lon,
1090                                 SpiceDouble         lat,
1091                                 SpiceDouble         alt,
1092                                 SpiceDouble         re,
1093                                 SpiceDouble         f,
1094                                 SpiceDouble         jacobi[3][3] );
1095 
1096 
1097    void              drdlat_c ( SpiceDouble         r,
1098                                 SpiceDouble         lon,
1099                                 SpiceDouble         lat,
1100                                 SpiceDouble         jacobi[3][3] );
1101 
1102 
1103    void              drdpgr_c ( ConstSpiceChar    * body,
1104                                 SpiceDouble         lon,
1105                                 SpiceDouble         lat,
1106                                 SpiceDouble         alt,
1107                                 SpiceDouble         re,
1108                                 SpiceDouble         f,
1109                                 SpiceDouble         jacobi[3][3] );
1110 
1111 
1112    void              drdsph_c ( SpiceDouble         r,
1113                                 SpiceDouble         colat,
1114                                 SpiceDouble         lon,
1115                                 SpiceDouble         jacobi[3][3] );
1116 
1117 
1118    void              dsphdr_c ( SpiceDouble         x,
1119                                 SpiceDouble         y,
1120                                 SpiceDouble         z,
1121                                 SpiceDouble         jacobi[3][3] );
1122 
1123 
1124    void              dtpool_c ( ConstSpiceChar      * name,
1125                                 SpiceBoolean        * found,
1126                                 SpiceInt            * n,
1127                                 SpiceChar             type [1] );
1128 
1129 
1130    SpiceDouble       dvdot_c  ( ConstSpiceDouble      s1[6],
1131                                 ConstSpiceDouble      s2[6] );
1132 
1133 
1134    void              dvhat_c  ( ConstSpiceDouble      s1[6],
1135                                 SpiceDouble           sout[6] );
1136 
1137 
1138    void              dvpool_c ( ConstSpiceChar      * name );
1139 
1140 
1141    void              edlimb_c ( SpiceDouble           a,
1142                                 SpiceDouble           b,
1143                                 SpiceDouble           c,
1144                                 ConstSpiceDouble      viewpt[3],
1145                                 SpiceEllipse        * limb      );
1146 
1147 
1148    void              ekacec_c ( SpiceInt              handle,
1149                                 SpiceInt              segno,
1150                                 SpiceInt              recno,
1151                                 ConstSpiceChar      * column,
1152                                 SpiceInt              nvals,
1153                                 SpiceInt              vallen,
1154                                 const void          * cvals,
1155                                 SpiceBoolean          isnull );
1156 
1157 
1158    void              ekaced_c ( SpiceInt              handle,
1159                                 SpiceInt              segno,
1160                                 SpiceInt              recno,
1161                                 ConstSpiceChar      * column,
1162                                 SpiceInt              nvals,
1163                                 ConstSpiceDouble    * dvals,
1164                                 SpiceBoolean          isnull );
1165 
1166 
1167    void              ekacei_c ( SpiceInt              handle,
1168                                 SpiceInt              segno,
1169                                 SpiceInt              recno,
1170                                 ConstSpiceChar      * column,
1171                                 SpiceInt              nvals,
1172                                 ConstSpiceInt       * ivals,
1173                                 SpiceBoolean          isnull );
1174 
1175 
1176    void              ekaclc_c ( SpiceInt              handle,
1177                                 SpiceInt              segno,
1178                                 ConstSpiceChar      * column,
1179                                 SpiceInt              vallen,
1180                                 const void          * cvals,
1181                                 ConstSpiceInt       * entszs,
1182                                 ConstSpiceBoolean   * nlflgs,
1183                                 ConstSpiceInt       * rcptrs,
1184                                 SpiceInt            * wkindx  );
1185 
1186 
1187    void              ekacld_c ( SpiceInt              handle,
1188                                 SpiceInt              segno,
1189                                 ConstSpiceChar      * column,
1190                                 ConstSpiceDouble    * dvals,
1191                                 ConstSpiceInt       * entszs,
1192                                 ConstSpiceBoolean   * nlflgs,
1193                                 ConstSpiceInt       * rcptrs,
1194                                 SpiceInt            * wkindx  );
1195 
1196 
1197    void              ekacli_c ( SpiceInt              handle,
1198                                 SpiceInt              segno,
1199                                 ConstSpiceChar      * column,
1200                                 ConstSpiceInt       * ivals,
1201                                 ConstSpiceInt       * entszs,
1202                                 ConstSpiceBoolean   * nlflgs,
1203                                 ConstSpiceInt       * rcptrs,
1204                                 SpiceInt            * wkindx  );
1205 
1206 
1207    void              ekappr_c ( SpiceInt              handle,
1208                                 SpiceInt              segno,
1209                                 SpiceInt            * recno  );
1210 
1211 
1212    void              ekbseg_c ( SpiceInt              handle,
1213                                 ConstSpiceChar      * tabnam,
1214                                 SpiceInt              ncols,
1215                                 SpiceInt              cnmlen,
1216                                 const void          * cnames,
1217                                 SpiceInt              declen,
1218                                 const void          * decls,
1219                                 SpiceInt            * segno  );
1220 
1221 
1222    void              ekccnt_c ( ConstSpiceChar      * table,
1223                                 SpiceInt            * ccount );
1224 
1225 
1226    void              ekcii_c  ( ConstSpiceChar      * table,
1227                                 SpiceInt              cindex,
1228                                 SpiceInt              lenout,
1229                                 SpiceChar           * column,
1230                                 SpiceEKAttDsc       * attdsc  );
1231 
1232 
1233    void              ekcls_c  ( SpiceInt              handle );
1234 
1235 
1236    void              ekdelr_c ( SpiceInt              handle,
1237                                 SpiceInt              segno,
1238                                 SpiceInt              recno );
1239 
1240 
1241    void              ekffld_c ( SpiceInt            handle,
1242                                 SpiceInt            segno,
1243                                 SpiceInt          * rcptrs );
1244 
1245 
1246    void              ekfind_c ( ConstSpiceChar    * query,
1247                                 SpiceInt            lenout,
1248                                 SpiceInt          * nmrows,
1249                                 SpiceBoolean      * error,
1250                                 SpiceChar         * errmsg );
1251 
1252 
1253    void              ekgc_c   ( SpiceInt            selidx,
1254                                 SpiceInt            row,
1255                                 SpiceInt            elment,
1256                                 SpiceInt            lenout,
1257                                 SpiceChar         * cdata,
1258                                 SpiceBoolean      * null,
1259                                 SpiceBoolean      * found  );
1260 
1261 
1262    void              ekgd_c   ( SpiceInt            selidx,
1263                                 SpiceInt            row,
1264                                 SpiceInt            elment,
1265                                 SpiceDouble       * ddata,
1266                                 SpiceBoolean      * null,
1267                                 SpiceBoolean      * found  );
1268 
1269 
1270    void              ekgi_c   ( SpiceInt            selidx,
1271                                 SpiceInt            row,
1272                                 SpiceInt            elment,
1273                                 SpiceInt          * idata,
1274                                 SpiceBoolean      * null,
1275                                 SpiceBoolean      * found  );
1276 
1277 
1278    void              ekifld_c ( SpiceInt            handle,
1279                                 ConstSpiceChar    * tabnam,
1280                                 SpiceInt            ncols,
1281                                 SpiceInt            nrows,
1282                                 SpiceInt            cnmlen,
1283                                 const void        * cnames,
1284                                 SpiceInt            declen,
1285                                 const void        * decls,
1286                                 SpiceInt          * segno,
1287                                 SpiceInt          * rcptrs );
1288 
1289 
1290    void              ekinsr_c ( SpiceInt            handle,
1291                                 SpiceInt            segno,
1292                                 SpiceInt            recno );
1293 
1294 
1295    void              eklef_c  ( ConstSpiceChar    * fname,
1296                                 SpiceInt          * handle );
1297 
1298 
1299    SpiceInt          eknelt_c ( SpiceInt            selidx,
1300                                 SpiceInt            row     );
1301 
1302 
1303    SpiceInt          eknseg_c ( SpiceInt            handle );
1304 
1305 
1306    void              ekntab_c ( SpiceInt            * n );
1307 
1308 
1309    void              ekopn_c  ( ConstSpiceChar    * fname,
1310                                 ConstSpiceChar    * ifname,
1311                                 SpiceInt            ncomch,
1312                                 SpiceInt          * handle );
1313 
1314 
1315    void              ekopr_c  ( ConstSpiceChar    * fname,
1316                                 SpiceInt          * handle );
1317 
1318 
1319    void              ekops_c  ( SpiceInt          * handle );
1320 
1321 
1322    void              ekopw_c  ( ConstSpiceChar    * fname,
1323                                 SpiceInt          * handle );
1324 
1325 
1326    void              ekpsel_c ( ConstSpiceChar    * query,
1327                                 SpiceInt            msglen,
1328                                 SpiceInt            tablen,
1329                                 SpiceInt            collen,
1330                                 SpiceInt          * n,
1331                                 SpiceInt          * xbegs,
1332                                 SpiceInt          * xends,
1333                                 SpiceEKDataType   * xtypes,
1334                                 SpiceEKExprClass  * xclass,
1335                                 void              * tabs,
1336                                 void              * cols,
1337                                 SpiceBoolean      * error,
1338                                 SpiceChar         * errmsg );
1339 
1340 
1341    void              ekrcec_c ( SpiceInt           handle,
1342                                 SpiceInt           segno,
1343                                 SpiceInt           recno,
1344                                 ConstSpiceChar   * column,
1345                                 SpiceInt           lenout,
1346                                 SpiceInt         * nvals,
1347                                 void             * cvals,
1348                                 SpiceBoolean     * isnull );
1349 
1350 
1351    void              ekrced_c ( SpiceInt           handle,
1352                                 SpiceInt           segno,
1353                                 SpiceInt           recno,
1354                                 ConstSpiceChar   * column,
1355                                 SpiceInt         * nvals,
1356                                 SpiceDouble      * dvals,
1357                                 SpiceBoolean     * isnull );
1358 
1359 
1360    void              ekrcei_c ( SpiceInt           handle,
1361                                 SpiceInt           segno,
1362                                 SpiceInt           recno,
1363                                 ConstSpiceChar   * column,
1364                                 SpiceInt         * nvals,
1365                                 SpiceInt         * ivals,
1366                                 SpiceBoolean     * isnull );
1367 
1368 
1369    void              ekssum_c ( SpiceInt            handle,
1370                                 SpiceInt            segno,
1371                                 SpiceEKSegSum     * segsum );
1372 
1373 
1374    void              ektnam_c ( SpiceInt            n,
1375                                 SpiceInt            lenout,
1376                                 SpiceChar         * table  );
1377 
1378 
1379    void              ekucec_c ( SpiceInt              handle,
1380                                 SpiceInt              segno,
1381                                 SpiceInt              recno,
1382                                 ConstSpiceChar      * column,
1383                                 SpiceInt              nvals,
1384                                 SpiceInt              vallen,
1385                                 const void          * cvals,
1386                                 SpiceBoolean          isnull );
1387 
1388 
1389    void              ekuced_c ( SpiceInt              handle,
1390                                 SpiceInt              segno,
1391                                 SpiceInt              recno,
1392                                 ConstSpiceChar      * column,
1393                                 SpiceInt              nvals,
1394                                 ConstSpiceDouble    * dvals,
1395                                 SpiceBoolean          isnull );
1396 
1397 
1398    void              ekucei_c ( SpiceInt              handle,
1399                                 SpiceInt              segno,
1400                                 SpiceInt              recno,
1401                                 ConstSpiceChar      * column,
1402                                 SpiceInt              nvals,
1403                                 ConstSpiceInt       * ivals,
1404                                 SpiceBoolean          isnull );
1405 
1406 
1407    void              ekuef_c  ( SpiceInt            handle );
1408 
1409 
1410    SpiceBoolean      elemc_c  ( ConstSpiceChar     * item,
1411                                 SpiceCell          * set   );
1412 
1413 
1414    SpiceBoolean      elemd_c  ( SpiceDouble          item,
1415                                 SpiceCell          * set   );
1416 
1417 
1418    SpiceBoolean      elemi_c  ( SpiceInt             item,
1419                                 SpiceCell          * set   );
1420 
1421 
1422    SpiceBoolean      eqstr_c  ( ConstSpiceChar    * a,
1423                                 ConstSpiceChar    * b  );
1424 
1425 
1426    void              el2cgv_c ( ConstSpiceEllipse * ellipse,
1427                                 SpiceDouble         center[3],
1428                                 SpiceDouble         smajor[3],
1429                                 SpiceDouble         sminor[3]  );
1430 
1431 
1432    void              erract_c ( ConstSpiceChar    * operation,
1433                                 SpiceInt            lenout,
1434                                 SpiceChar         * action    );
1435 
1436 
1437    void              errch_c  ( ConstSpiceChar    * marker,
1438                                 ConstSpiceChar    * string );
1439 
1440 
1441    void              errdev_c ( ConstSpiceChar    * operation,
1442                                 SpiceInt            lenout,
1443                                 SpiceChar         * device    );
1444 
1445 
1446    void              errdp_c  ( ConstSpiceChar    * marker,
1447                                 SpiceDouble         number  );
1448 
1449 
1450    void              errint_c ( ConstSpiceChar    * marker,
1451                                 SpiceInt            number );
1452 
1453 
1454    void              errprt_c ( ConstSpiceChar    * operation,
1455                                 SpiceInt            lenout,
1456                                 SpiceChar         * list     );
1457 
1458 
1459    SpiceInt          esrchc_c ( ConstSpiceChar  * value,
1460                                 SpiceInt          ndim,
1461                                 SpiceInt          lenvals,
1462                                 const void      * array   );
1463 
1464 
1465    void              etcal_c  ( SpiceDouble         et,
1466                                 SpiceInt            lenout,
1467                                 SpiceChar         * string  );
1468 
1469 
1470    void              et2lst_c ( SpiceDouble         et,
1471                                 SpiceInt            body,
1472                                 SpiceDouble         lon,
1473                                 ConstSpiceChar    * type,
1474                                 SpiceInt            timlen,
1475                                 SpiceInt            ampmlen,
1476                                 SpiceInt          * hr,
1477                                 SpiceInt          * mn,
1478                                 SpiceInt          * sc,
1479                                 SpiceChar         * time,
1480                                 SpiceChar         * ampm    );
1481 
1482 
1483    void              et2utc_c ( SpiceDouble         et ,
1484                                 ConstSpiceChar    * format,
1485                                 SpiceInt            prec,
1486                                 SpiceInt            lenout,
1487                                 SpiceChar         * utcstr );
1488 
1489 
1490    void              eul2m_c  ( SpiceDouble         angle3,
1491                                 SpiceDouble         angle2,
1492                                 SpiceDouble         angle1,
1493                                 SpiceInt            axis3,
1494                                 SpiceInt            axis2,
1495                                 SpiceInt            axis1,
1496                                 SpiceDouble         r [3][3] );
1497 
1498 
1499    void              eul2xf_c ( ConstSpiceDouble    eulang[6],
1500                                 SpiceInt            axisa,
1501                                 SpiceInt            axisb,
1502                                 SpiceInt            axisc,
1503                                 SpiceDouble         xform [6][6] );
1504 
1505 
1506    SpiceBoolean      exists_c ( ConstSpiceChar    * name );
1507 
1508 
1509    void              expool_c ( ConstSpiceChar    * name,
1510                                 SpiceBoolean      * found );
1511 
1512 
1513    SpiceBoolean      failed_c ( void );
1514 
1515 
1516    void              frame_c  ( SpiceDouble         x[3],
1517                                 SpiceDouble         y[3],
1518                                 SpiceDouble         z[3] );
1519 
1520 
1521    void              frinfo_c ( SpiceInt            frcode,
1522                                 SpiceInt          * cent,
1523                                 SpiceInt          * clss,
1524                                 SpiceInt          * clssid,
1525                                 SpiceBoolean      * found );
1526 
1527 
1528    void              frmnam_c ( SpiceInt            frcode,
1529                                 SpiceInt            lenout,
1530                                 SpiceChar         * frname  );
1531 
1532 
1533    void              ftncls_c ( SpiceInt            unit );
1534 
1535 
1536    void              furnsh_c ( ConstSpiceChar    * file );
1537 
1538 
1539    void              gcpool_c ( ConstSpiceChar    * name,
1540                                 SpiceInt            start,
1541                                 SpiceInt            room,
1542                                 SpiceInt            lenout,
1543                                 SpiceInt          * n,
1544                                 void              * cvals,
1545                                 SpiceBoolean      * found );
1546 
1547 
1548    void              gdpool_c ( ConstSpiceChar    * name,
1549                                 SpiceInt            start,
1550                                 SpiceInt            room,
1551                                 SpiceInt          * n,
1552                                 SpiceDouble       * values,
1553                                 SpiceBoolean      * found );
1554 
1555 
1556    void              georec_c ( SpiceDouble         lon,
1557                                 SpiceDouble         lat,
1558                                 SpiceDouble         alt,
1559                                 SpiceDouble         re,
1560                                 SpiceDouble         f,
1561                                 SpiceDouble         rectan[3] );
1562 
1563 
1564    void              getcml_c ( SpiceInt          * argc,
1565                                 SpiceChar       *** argv );
1566 
1567 
1568    void              getelm_c ( SpiceInt            frstyr,
1569                                 SpiceInt            lineln,
1570                                 const void        * lines,
1571                                 SpiceDouble       * epoch,
1572                                 SpiceDouble       * elems   );
1573 
1574 
1575    void              getfat_c ( ConstSpiceChar    * file,
1576                                 SpiceInt            arclen,
1577                                 SpiceInt            typlen,
1578                                 SpiceChar         * arch,
1579                                 SpiceChar         * type   );
1580 
1581 
1582    void              getfov_c ( SpiceInt            instid,
1583                                 SpiceInt            room,
1584                                 SpiceInt            shapelen,
1585                                 SpiceInt            framelen,
1586                                 SpiceChar         * shape,
1587                                 SpiceChar         * frame,
1588                                 SpiceDouble         bsight [3],
1589                                 SpiceInt          * n,
1590                                 SpiceDouble         bounds [][3] );
1591 
1592 
1593    void              getmsg_c ( ConstSpiceChar    * option,
1594                                 SpiceInt            lenout,
1595                                 SpiceChar         * msg     );
1596 
1597 
1598    void              gipool_c ( ConstSpiceChar    * name,
1599                                 SpiceInt            start,
1600                                 SpiceInt            room,
1601                                 SpiceInt          * n,
1602                                 SpiceInt          * ivals,
1603                                 SpiceBoolean      * found );
1604 
1605 
1606    void              gnpool_c ( ConstSpiceChar    * name,
1607                                 SpiceInt            start,
1608                                 SpiceInt            room,
1609                                 SpiceInt            lenout,
1610                                 SpiceInt          * n,
1611                                 void              * kvars,
1612                                 SpiceBoolean      * found  );
1613 
1614 
1615    SpiceDouble       halfpi_c ( void );
1616 
1617 
1618    void              ident_c  ( SpiceDouble         matrix[3][3] );
1619 
1620 
1621    void              ilumin_c ( ConstSpiceChar    * method,
1622                                 ConstSpiceChar    * target,
1623                                 SpiceDouble         et,
1624                                 ConstSpiceChar    * fixref,
1625                                 ConstSpiceChar    * abcorr,
1626                                 ConstSpiceChar    * obsrvr,
1627                                 ConstSpiceDouble    spoint [3],
1628                                 SpiceDouble       * trgepc,
1629                                 SpiceDouble         srfvec [3],
1630                                 SpiceDouble       * phase,
1631                                 SpiceDouble       * solar,
1632                                 SpiceDouble       * emissn     );
1633 
1634 
1635    void              illum_c  ( ConstSpiceChar    * target,
1636                                 SpiceDouble         et,
1637                                 ConstSpiceChar    * abcorr,
1638                                 ConstSpiceChar    * obsrvr,
1639                                 ConstSpiceDouble    spoint [3],
1640                                 SpiceDouble       * phase,
1641                                 SpiceDouble       * solar,
1642                                 SpiceDouble       * emissn     );
1643 
1644 
1645    void              inedpl_c ( SpiceDouble         a,
1646                                 SpiceDouble         b,
1647                                 SpiceDouble         c,
1648                                 ConstSpicePlane   * plane,
1649                                 SpiceEllipse      * ellipse,
1650                                 SpiceBoolean      * found    );
1651 
1652 
1653    void              inelpl_c ( ConstSpiceEllipse * ellips,
1654                                 ConstSpicePlane   * plane,
1655                                 SpiceInt          * nxpts,
1656                                 SpiceDouble         xpt1[3],
1657                                 SpiceDouble         xpt2[3] );
1658 
1659 
1660    void              insrtc_c ( ConstSpiceChar     * item,
1661                                 SpiceCell          * set   );
1662 
1663 
1664    void              insrtd_c ( SpiceDouble          item,
1665                                 SpiceCell          * set  );
1666 
1667 
1668    void              insrti_c ( SpiceInt             item,
1669                                 SpiceCell          * set  );
1670 
1671 
1672    void              inter_c  (  SpiceCell        * a,
1673                                  SpiceCell        * b,
1674                                  SpiceCell        * c  );
1675 
1676 
1677    void              inrypl_c ( ConstSpiceDouble    vertex [3],
1678                                 ConstSpiceDouble    dir    [3],
1679                                 ConstSpicePlane   * plane,
1680                                 SpiceInt          * nxpts,
1681                                 SpiceDouble         xpt    [3] );
1682 
1683 
1684    SpiceInt          intmax_c ( void );
1685 
1686 
1687    SpiceInt          intmax_  ( void );
1688 
1689 
1690    SpiceInt          intmin_c ( void );
1691 
1692 
1693    SpiceInt          intmin_  ( void );
1694 
1695 
1696    void              invert_c ( ConstSpiceDouble    m1[3][3],
1697                                 SpiceDouble         m2[3][3]  );
1698 
1699 
1700    void              invort_c ( ConstSpiceDouble    m  [3][3],
1701                                 SpiceDouble         mit[3][3] );
1702 
1703 
1704    SpiceBoolean      isordv_c ( ConstSpiceInt     * array,
1705                                 SpiceInt            n      );
1706 
1707 
1708    SpiceBoolean      isrot_c  ( ConstSpiceDouble    m   [3][3],
1709                                 SpiceDouble         ntol,
1710                                 SpiceDouble         dtol       );
1711 
1712 
1713 
1714    SpiceInt          isrchc_c ( ConstSpiceChar  * value,
1715                                 SpiceInt          ndim,
1716                                 SpiceInt          lenvals,
1717                                 const void      * array   );
1718 
1719 
1720    SpiceInt          isrchd_c ( SpiceDouble          value,
1721                                 SpiceInt             ndim,
1722                                 ConstSpiceDouble   * array );
1723 
1724 
1725    SpiceInt          isrchi_c ( SpiceInt             value,
1726                                 SpiceInt             ndim,
1727                                 ConstSpiceInt      * array );
1728 
1729 
1730    SpiceBoolean      iswhsp_c ( ConstSpiceChar    * string );
1731 
1732 
1733    SpiceDouble       j1900_c  ( void );
1734 
1735 
1736    SpiceDouble       j1950_c  ( void );
1737 
1738 
1739    SpiceDouble       j2000_c  ( void );
1740 
1741 
1742    SpiceDouble       j2100_c  ( void );
1743 
1744 
1745    SpiceDouble       jyear_c  ( void );
1746 
1747 
1748    void              kclear_c ( void );
1749 
1750 
1751    void              kdata_c  ( SpiceInt          which,
1752                                 ConstSpiceChar  * kind,
1753                                 SpiceInt          fillen,
1754                                 SpiceInt          typlen,
1755                                 SpiceInt          srclen,
1756                                 SpiceChar       * file,
1757                                 SpiceChar       * filtyp,
1758                                 SpiceChar       * source,
1759                                 SpiceInt        * handle,
1760                                 SpiceBoolean    * found   );
1761 
1762 
1763    void              kinfo_c  ( ConstSpiceChar  * file,
1764                                 SpiceInt          typlen,
1765                                 SpiceInt          srclen,
1766                                 SpiceChar       * filtyp,
1767                                 SpiceChar       * source,
1768                                 SpiceInt        * handle,
1769                                 SpiceBoolean    * found  );
1770 
1771 
1772    void              ktotal_c ( ConstSpiceChar   * kind,
1773                                 SpiceInt         * count );
1774 
1775 
1776    void              kxtrct_c ( ConstSpiceChar       * keywd,
1777                                 SpiceInt               termlen,
1778                                 const void           * terms,
1779                                 SpiceInt               nterms,
1780                                 SpiceInt               stringlen,
1781                                 SpiceInt               substrlen,
1782                                 SpiceChar            * string,
1783                                 SpiceBoolean         * found,
1784                                 SpiceChar            * substr  );
1785 
1786 
1787    SpiceInt          lastnb_c ( ConstSpiceChar    * string );
1788 
1789 
1790    void              latcyl_c ( SpiceDouble         radius,
1791                                 SpiceDouble         lon,
1792                                 SpiceDouble         lat,
1793                                 SpiceDouble       * r,
1794                                 SpiceDouble       * lonc,
1795                                 SpiceDouble       * z      );
1796 
1797 
1798    void              latrec_c ( SpiceDouble         radius,
1799                                 SpiceDouble         longitude,
1800                                 SpiceDouble         latitude,
1801                                 SpiceDouble         rectan [3] );
1802 
1803 
1804    void              latsph_c ( SpiceDouble         radius,
1805                                 SpiceDouble         lon,
1806                                 SpiceDouble         lat,
1807                                 SpiceDouble       * rho,
1808                                 SpiceDouble       * colat,
1809                                 SpiceDouble       * lons   );
1810 
1811 
1812    void              lcase_c  ( SpiceChar         * in,
1813                                 SpiceInt            lenout,
1814                                 SpiceChar         * out     );
1815 
1816 
1817    void              ldpool_c ( ConstSpiceChar    * filename );
1818 
1819 
1820    void              lmpool_c ( const void        * cvals,
1821                                 SpiceInt            lenvals,
1822                                 SpiceInt             n       );
1823 
1824 
1825    void              lparse_c ( ConstSpiceChar    * list,
1826                                 ConstSpiceChar    * delim,
1827                                 SpiceInt            nmax,
1828                                 SpiceInt            lenout,
1829                                 SpiceInt          * n,
1830                                 void              * items   );
1831 
1832 
1833    void              lparsm_c ( ConstSpiceChar    * list,
1834                                 ConstSpiceChar    * delims,
1835                                 SpiceInt            nmax,
1836                                 SpiceInt            lenout,
1837                                 SpiceInt          * n,
1838                                 void              * items   );
1839 
1840 
1841    void              lparss_c ( ConstSpiceChar    * list,
1842                                 ConstSpiceChar    * delims,
1843                                 SpiceCell         * set     );
1844 
1845 
1846    SpiceDouble       lspcn_c  ( ConstSpiceChar    * body,
1847                                 SpiceDouble         et,
1848                                 ConstSpiceChar    * abcorr );
1849 
1850 
1851    SpiceInt          lstlec_c ( ConstSpiceChar    * string,
1852                                 SpiceInt            n,
1853                                 SpiceInt            lenvals,
1854                                 const void        * array   );
1855 
1856 
1857    SpiceInt          lstled_c ( SpiceDouble         x,
1858                                 SpiceInt            n,
1859                                 ConstSpiceDouble  * array );
1860 
1861 
1862    SpiceInt          lstlei_c ( SpiceInt            x,
1863                                 SpiceInt            n,
1864                                 ConstSpiceInt     * array );
1865 
1866 
1867    SpiceInt          lstltc_c ( ConstSpiceChar    * string,
1868                                 SpiceInt            n,
1869                                 SpiceInt            lenvals,
1870                                 const void        * array   );
1871 
1872 
1873    SpiceInt          lstltd_c ( SpiceDouble         x,
1874                                 SpiceInt            n,
1875                                 ConstSpiceDouble  * array );
1876 
1877 
1878    SpiceInt          lstlti_c ( SpiceInt            x,
1879                                 SpiceInt            n,
1880                                 ConstSpiceInt     * array );
1881 
1882 
1883    void              ltime_c  ( SpiceDouble         etobs,
1884                                 SpiceInt            obs,
1885                                 ConstSpiceChar    * dir,
1886                                 SpiceInt            targ,
1887                                 SpiceDouble       * ettarg,
1888                                 SpiceDouble       * elapsd  );
1889 
1890 
1891    void              lx4dec_c ( ConstSpiceChar    * string,
1892                                 SpiceInt            first,
1893                                 SpiceInt          * last,
1894                                 SpiceInt          * nchar  );
1895 
1896 
1897    void              lx4num_c ( ConstSpiceChar    * string,
1898                                 SpiceInt            first,
1899                                 SpiceInt          * last,
1900                                 SpiceInt          * nchar  );
1901 
1902 
1903    void              lx4sgn_c ( ConstSpiceChar    * string,
1904                                 SpiceInt            first,
1905                                 SpiceInt          * last,
1906                                 SpiceInt          * nchar  );
1907 
1908 
1909    void              lx4uns_c ( ConstSpiceChar    * string,
1910                                 SpiceInt            first,
1911                                 SpiceInt          * last,
1912                                 SpiceInt          * nchar  );
1913 
1914 
1915    void              lxqstr_c ( ConstSpiceChar    * string,
1916                                 SpiceChar           qchar,
1917                                 SpiceInt            first,
1918                                 SpiceInt          * last,
1919                                 SpiceInt          * nchar  );
1920 
1921 
1922    void              m2eul_c  ( ConstSpiceDouble    r[3][3],
1923                                 SpiceInt            axis3,
1924                                 SpiceInt            axis2,
1925                                 SpiceInt            axis1,
1926                                 SpiceDouble       * angle3,
1927                                 SpiceDouble       * angle2,
1928                                 SpiceDouble       * angle1  );
1929 
1930 
1931    void              m2q_c    ( ConstSpiceDouble    r[3][3],
1932                                 SpiceDouble         q[4]     );
1933 
1934 
1935 
1936    SpiceBoolean      matchi_c ( ConstSpiceChar    * string,
1937                                 ConstSpiceChar    * templ,
1938                                 SpiceChar           wstr,
1939                                 SpiceChar           wchr   );
1940 
1941 
1942    SpiceBoolean      matchw_c ( ConstSpiceChar    * string,
1943                                 ConstSpiceChar    * templ,
1944                                 SpiceChar           wstr,
1945                                 SpiceChar           wchr   );
1946 
1947 
1948    SpiceDouble       maxd_c  ( SpiceInt             n,
1949                                                     ... );
1950 
1951 
1952    SpiceInt          maxi_c  ( SpiceInt             n,
1953                                                     ... );
1954 
1955 
1956    void              mequ_c   ( ConstSpiceDouble    m1  [3][3],
1957                                 SpiceDouble         mout[3][3] );
1958 
1959 
1960    void              mequg_c  ( const void        * m1,
1961                                 SpiceInt            nr,
1962                                 SpiceInt            nc,
1963                                 void              * mout );
1964 
1965 
1966    SpiceDouble       mind_c   ( SpiceInt            n,
1967                                                     ... );
1968 
1969 
1970    SpiceInt          mini_c   ( SpiceInt            n,
1971                                                     ... );
1972 
1973 
1974    int               moved_   ( SpiceDouble       * arrfrm,
1975                                 SpiceInt          * ndim,
1976                                 SpiceDouble       * arrto  );
1977 
1978 
1979    void              mtxm_c   ( ConstSpiceDouble    m1  [3][3],
1980                                 ConstSpiceDouble    m2  [3][3],
1981                                 SpiceDouble         mout[3][3] );
1982 
1983 
1984    void              mtxmg_c  ( const void        * m1,
1985                                 const void        * m2,
1986                                 SpiceInt            row1,
1987                                 SpiceInt            col1,
1988                                 SpiceInt            col2,
1989                                 void              * mout  );
1990 
1991 
1992    void              mtxv_c   ( ConstSpiceDouble    m1  [3][3],
1993                                 ConstSpiceDouble    vin [3],
1994                                 SpiceDouble         vout[3]    );
1995 
1996 
1997    void              mtxvg_c  ( const void        * m1,
1998                                 const void        * v2,
1999                                 SpiceInt            ncol1,
2000                                 SpiceInt            nr1r2,
2001                                 void              * vout   );
2002 
2003 
2004    void              mxm_c    ( ConstSpiceDouble    m1  [3][3],
2005                                 ConstSpiceDouble    m2  [3][3],
2006                                 SpiceDouble         mout[3][3] );
2007 
2008 
2009    void              mxmg_c   ( const void        * m1,
2010                                 const void        * m2,
2011                                 SpiceInt            row1,
2012                                 SpiceInt            col1,
2013                                 SpiceInt            col2,
2014                                 void              * mout  );
2015 
2016 
2017    void              mxmt_c   ( ConstSpiceDouble    m1  [3][3],
2018                                 ConstSpiceDouble    m2  [3][3],
2019                                 SpiceDouble         mout[3][3] );
2020 
2021 
2022    void              mxmtg_c  ( const void        * m1,
2023                                 const void        * m2,
2024                                 SpiceInt            nrow1,
2025                                 SpiceInt            nc1c2,
2026                                 SpiceInt            nrow2,
2027                                 void              * mout  );
2028 
2029 
2030    void              mxv_c    ( ConstSpiceDouble    m1[3][3],
2031                                 ConstSpiceDouble    vin[3],
2032                                 SpiceDouble         vout[3] );
2033 
2034 
2035    void              mxvg_c   ( const void        * m1,
2036                                 const void        * v2,
2037                                 SpiceInt            nrow1,
2038                                 SpiceInt            nc1r2,
2039                                 void              * vout   );
2040 
2041 
2042    void              namfrm_c ( ConstSpiceChar    * frname,
2043                                 SpiceInt          * frcode );
2044 
2045 
2046    SpiceInt          ncpos_c  ( ConstSpiceChar    * str,
2047                                 ConstSpiceChar    * chars,
2048                                 SpiceInt            start  );
2049 
2050 
2051    SpiceInt          ncposr_c ( ConstSpiceChar    * str,
2052                                 ConstSpiceChar    * chars,
2053                                 SpiceInt            start  );
2054 
2055 
2056    void              nearpt_c ( ConstSpiceDouble    positn[3],
2057                                 SpiceDouble         a,
2058                                 SpiceDouble         b,
2059                                 SpiceDouble         c,
2060                                 SpiceDouble         npoint[3],
2061                                 SpiceDouble       * alt        );
2062 
2063 
2064    void              npedln_c ( SpiceDouble         a,
2065                                 SpiceDouble         b,
2066                                 SpiceDouble         c,
2067                                 ConstSpiceDouble    linept[3],
2068                                 ConstSpiceDouble    linedr[3],
2069                                 SpiceDouble         pnear[3],
2070                                 SpiceDouble       * dist      );
2071 
2072 
2073    void              npelpt_c ( ConstSpiceDouble    point[3],
2074                                 ConstSpiceEllipse * ellips,
2075                                 SpiceDouble         pnear[3],
2076                                 SpiceDouble       * dist      );
2077 
2078 
2079    void              nplnpt_c ( ConstSpiceDouble    linpt  [3],
2080                                 ConstSpiceDouble    lindir [3],
2081                                 ConstSpiceDouble    point  [3],
2082                                 SpiceDouble         pnear  [3],
2083                                 SpiceDouble       * dist       );
2084 
2085 
2086    void              nvc2pl_c ( ConstSpiceDouble    normal[3],
2087                                 SpiceDouble         constant,
2088                                 SpicePlane        * plane     );
2089 
2090 
2091    void              nvp2pl_c ( ConstSpiceDouble    normal[3],
2092                                 ConstSpiceDouble    point[3],
2093                                 SpicePlane        * plane     );
2094 
2095 
2096    SpiceInt          ordc_c   ( ConstSpiceChar     * item,
2097                                 SpiceCell          * set   );
2098 
2099 
2100    SpiceInt          ordd_c   ( SpiceDouble          item,
2101                                 SpiceCell          * set   );
2102 
2103 
2104    SpiceInt          ordi_c   ( SpiceInt             item,
2105                                 SpiceCell          * set   );
2106 
2107 
2108    void              orderc_c ( SpiceInt            lenvals,
2109                                 const void        * array,
2110                                 SpiceInt            ndim,
2111                                 SpiceInt          * iorder  );
2112 
2113 
2114    void              orderd_c ( ConstSpiceDouble  * array,
2115                                 SpiceInt            ndim,
2116                                 SpiceInt          * iorder );
2117 
2118 
2119    void              orderi_c ( ConstSpiceInt     * array,
2120                                 SpiceInt            ndim,
2121                                 SpiceInt          * iorder );
2122 
2123 
2124    void              oscelt_c ( ConstSpiceDouble    state[6],
2125                                 SpiceDouble         et      ,
2126                                 SpiceDouble         mu      ,
2127                                 SpiceDouble         elts[8]  );
2128 
2129 
2130    void              pckcov_c ( ConstSpiceChar    * pck,
2131                                 SpiceInt            idcode,
2132                                 SpiceCell         * cover   );
2133 
2134 
2135    void              pckfrm_c ( ConstSpiceChar    * pck,
2136                                 SpiceCell         * ids  );
2137 
2138 
2139    void              pcklof_c ( ConstSpiceChar    * fname,
2140                                 SpiceInt          * handle );
2141 
2142 
2143    void              pckuof_c ( SpiceInt            handle );
2144 
2145 
2146    void              pcpool_c ( ConstSpiceChar   * name,
2147                                 SpiceInt           n,
2148                                 SpiceInt           lenvals,
2149                                 const void        * cvals    );
2150 
2151 
2152    void              pdpool_c ( ConstSpiceChar    * name,
2153                                 SpiceInt            n,
2154                                 ConstSpiceDouble  * dvals );
2155 
2156 
2157    void              pgrrec_c ( ConstSpiceChar    * body,
2158                                 SpiceDouble         lon,
2159                                 SpiceDouble         lat,
2160                                 SpiceDouble         alt,
2161                                 SpiceDouble         re,
2162                                 SpiceDouble         f,
2163                                 SpiceDouble         rectan[3] );
2164 
2165 
2166    SpiceDouble       pi_c     ( void );
2167 
2168 
2169    void              pipool_c ( ConstSpiceChar    * name,
2170                                 SpiceInt            n,
2171                                 ConstSpiceInt     * ivals );
2172 
2173 
2174    void              pjelpl_c ( ConstSpiceEllipse * elin,
2175                                 ConstSpicePlane   * plane,
2176                                 SpiceEllipse      * elout  );
2177 
2178 
2179    void              pl2nvc_c ( ConstSpicePlane   * plane,
2180                                 SpiceDouble         normal[3],
2181                                 SpiceDouble       * constant  );
2182 
2183 
2184    void              pl2nvp_c ( ConstSpicePlane   * plane,
2185                                 SpiceDouble         normal[3],
2186                                 SpiceDouble         point[3]  );
2187 
2188 
2189    void              pl2psv_c ( ConstSpicePlane   * plane,
2190                                 SpiceDouble         point[3],
2191                                 SpiceDouble         span1[3],
2192                                 SpiceDouble         span2[3]  );
2193 
2194 
2195    SpiceInt          pos_c    ( ConstSpiceChar    * str,
2196                                 ConstSpiceChar    * substr,
2197                                 SpiceInt            start   );
2198 
2199 
2200    SpiceInt          posr_c   ( ConstSpiceChar    * str,
2201                                 ConstSpiceChar    * substr,
2202                                 SpiceInt            start   );
2203 
2204 
2205    void              prefix_c ( ConstSpiceChar    * pref,
2206                                 SpiceInt            spaces,
2207                                 SpiceInt            lenout,
2208                                 SpiceChar         * string  );
2209 
2210 
2211    SpiceChar       * prompt_c ( ConstSpiceChar    * prmptStr,
2212                                 SpiceInt            lenout,
2213                                 SpiceChar         * buffer   );
2214 
2215 
2216    void              prop2b_c ( SpiceDouble         gm,
2217                                 ConstSpiceDouble    pvinit[6],
2218                                 SpiceDouble         dt,
2219                                 SpiceDouble         pvprop[6] );
2220 
2221 
2222    void              prsdp_c  ( ConstSpiceChar    * string,
2223                                 SpiceDouble       * dpval  );
2224 
2225 
2226    void              prsint_c ( ConstSpiceChar    * string,
2227                                 SpiceInt          * intval );
2228 
2229 
2230    void              psv2pl_c ( ConstSpiceDouble    point[3],
2231                                 ConstSpiceDouble    span1[3],
2232                                 ConstSpiceDouble    span2[3],
2233                                 SpicePlane        * plane     );
2234 
2235 
2236    void              putcml_c ( SpiceInt            argc ,
2237                                 SpiceChar        ** argv  );
2238 
2239 
2240    void              pxform_c ( ConstSpiceChar    * from,
2241                                 ConstSpiceChar    * to,
2242                                 SpiceDouble         et,
2243                                 SpiceDouble         rotate[3][3] );
2244 
2245 
2246    void              q2m_c    ( ConstSpiceDouble    q[4],
2247                                 SpiceDouble         r[3][3] );
2248 
2249 
2250    void              qdq2av_c ( ConstSpiceDouble    q[4],
2251                                 ConstSpiceDouble    dq[4],
2252                                 SpiceDouble         av[3] );
2253 
2254 
2255    void              qxq_c    ( ConstSpiceDouble    q1[4],
2256                                 ConstSpiceDouble    q2[4],
2257                                 SpiceDouble         qout[4] );
2258 
2259 
2260 
2261    void              radrec_c ( SpiceDouble         range,
2262                                 SpiceDouble         ra,
2263                                 SpiceDouble         dec,
2264                                 SpiceDouble         rectan[3] );
2265 
2266 
2267    void              rav2xf_c ( ConstSpiceDouble     rot   [3][3],
2268                                 ConstSpiceDouble     av    [3],
2269                                 SpiceDouble          xform [6][6]  );
2270 
2271 
2272    void              raxisa_c ( ConstSpiceDouble     matrix[3][3],
2273                                 SpiceDouble          axis  [3],
2274                                 SpiceDouble        * angle       );
2275 
2276 
2277    void              rdtext_c ( ConstSpiceChar     * file,
2278                                 SpiceInt             lenout,
2279                                 SpiceChar          * line,
2280                                 SpiceBoolean       * eof    );
2281 
2282 
2283    void              reccyl_c ( ConstSpiceDouble    rectan[3],
2284                                 SpiceDouble       * r,
2285                                 SpiceDouble       * lon,
2286                                 SpiceDouble       * z         );
2287 
2288 
2289    void              recgeo_c ( ConstSpiceDouble    rectan[3],
2290                                 SpiceDouble         re,
2291                                 SpiceDouble         f,
2292                                 SpiceDouble       * lon,
2293                                 SpiceDouble       * lat,
2294                                 SpiceDouble       * alt );
2295 
2296 
2297    void              reclat_c ( ConstSpiceDouble    rectan[3],
2298                                 SpiceDouble       * radius,
2299                                 SpiceDouble       * longitude,
2300                                 SpiceDouble       * latitude  );
2301 
2302 
2303    void              recpgr_c ( ConstSpiceChar    * body,
2304                                 SpiceDouble         rectan[3],
2305                                 SpiceDouble         re,
2306                                 SpiceDouble         f,
2307                                 SpiceDouble       * lon,
2308                                 SpiceDouble       * lat,
2309                                 SpiceDouble       * alt       );
2310 
2311 
2312    void              recrad_c ( ConstSpiceDouble    rectan[3],
2313                                 SpiceDouble       * radius,
2314                                 SpiceDouble       * ra,
2315                                 SpiceDouble       * dec  );
2316 
2317 
2318 
2319    void              reordc_c ( ConstSpiceInt     * iorder,
2320                                 SpiceInt            ndim,
2321                                 SpiceInt            lenvals,
2322                                 void              * array    );
2323 
2324 
2325    void              reordd_c ( ConstSpiceInt     * iorder,
2326                                 SpiceInt            ndim,
2327                                 SpiceDouble       * array   );
2328 
2329 
2330    void              reordi_c ( ConstSpiceInt     * iorder,
2331                                 SpiceInt            ndim,
2332                                 SpiceInt          * array   );
2333 
2334 
2335    void              reordl_c ( ConstSpiceInt     * iorder,
2336                                 SpiceInt            ndim,
2337                                 SpiceBoolean      * array   );
2338 
2339 
2340    void              removc_c ( ConstSpiceChar     * item,
2341                                 SpiceCell          * set   );
2342 
2343 
2344    void              removd_c ( SpiceDouble          item,
2345                                 SpiceCell          * set   );
2346 
2347 
2348    void              removi_c ( SpiceInt             item,
2349                                 SpiceCell          * set   );
2350 
2351 
2352    void              repmc_c  ( ConstSpiceChar     * in,
2353                                 ConstSpiceChar     * marker,
2354                                 ConstSpiceChar     * value,
2355                                 SpiceInt             lenout,
2356                                 SpiceChar          * out     );
2357 
2358 
2359    void              repmct_c ( ConstSpiceChar     * in,
2360                                 ConstSpiceChar     * marker,
2361                                 SpiceInt             value,
2362                                 SpiceChar            strCase,
2363                                 SpiceInt             lenout,
2364                                 SpiceChar          * out     );
2365 
2366 
2367    void              repmd_c  ( ConstSpiceChar     * in,
2368                                 ConstSpiceChar     * marker,
2369                                 SpiceDouble          value,
2370                                 SpiceInt             sigdig,
2371                                 SpiceInt             lenout,
2372                                 SpiceChar          * out     );
2373 
2374 
2375    void              repmf_c  ( ConstSpiceChar     * in,
2376                                 ConstSpiceChar     * marker,
2377                                 SpiceDouble          value,
2378                                 SpiceInt             sigdig,
2379                                 SpiceChar            format,
2380                                 SpiceInt             lenout,
2381                                 SpiceChar          * out     );
2382 
2383 
2384    void              repmi_c  ( ConstSpiceChar     * in,
2385                                 ConstSpiceChar     * marker,
2386                                 SpiceInt             value,
2387                                 SpiceInt             lenout,
2388                                 SpiceChar          * out     );
2389 
2390 
2391    void              repmot_c ( ConstSpiceChar     * in,
2392                                 ConstSpiceChar     * marker,
2393                                 SpiceInt             value,
2394                                 SpiceChar            strCase,
2395                                 SpiceInt             lenout,
2396                                 SpiceChar          * out     );
2397 
2398 
2399    void              reset_c  ( void );
2400 
2401 
2402    SpiceBoolean      return_c ( void );
2403 
2404 
2405    void              recsph_c ( ConstSpiceDouble    rectan[3],
2406                                 SpiceDouble       * r,
2407                                 SpiceDouble       * colat,
2408                                 SpiceDouble       * lon );
2409 
2410 
2411    void              rotate_c ( SpiceDouble         angle,
2412                                 SpiceInt            iaxis,
2413                                 SpiceDouble         mout[3][3] );
2414 
2415 
2416    void              rotmat_c ( ConstSpiceDouble    m1[3][3],
2417                                 SpiceDouble         angle,
2418                                 SpiceInt            iaxis,
2419                                 SpiceDouble         mout[3][3] );
2420 
2421 
2422    void              rotvec_c ( ConstSpiceDouble    v1[3],
2423                                 SpiceDouble         angle,
2424                                 SpiceInt            iaxis,
2425                                 SpiceDouble         vout[3] );
2426 
2427 
2428    SpiceDouble       rpd_c    ( void );
2429 
2430 
2431    void              rquad_c  ( SpiceDouble         a,
2432                                 SpiceDouble         b,
2433                                 SpiceDouble         c,
2434                                 SpiceDouble         root1[2],
2435                                 SpiceDouble         root2[2] );
2436 
2437 
2438    void              saelgv_c ( ConstSpiceDouble    vec1  [3],
2439                                 ConstSpiceDouble    vec2  [3],
2440                                 SpiceDouble         smajor[3],
2441                                 SpiceDouble         sminor[3]  );
2442 
2443 
2444    void              scard_c (  SpiceInt            card,
2445                                 SpiceCell         * cell  );
2446 
2447 
2448    void              scdecd_c ( SpiceInt            sc,
2449                                 SpiceDouble         sclkdp,
2450                                 SpiceInt            sclklen,
2451                                 SpiceChar         * sclkch   );
2452 
2453 
2454    void              sce2s_c  ( SpiceInt            sc,
2455                                 SpiceDouble         et,
2456                                 SpiceInt            sclklen,
2457                                 SpiceChar         * sclkch   );
2458 
2459 
2460    void              sce2c_c  ( SpiceInt            sc,
2461                                 SpiceDouble         et,
2462                                 SpiceDouble       * sclkdp   );
2463 
2464 
2465    void              sce2t_c  ( SpiceInt            sc,
2466                                 SpiceDouble         et,
2467                                 SpiceDouble       * sclkdp   );
2468 
2469 
2470    void              scencd_c ( SpiceInt            sc,
2471                                 ConstSpiceChar    * sclkch,
2472                                 SpiceDouble       * sclkdp   );
2473 
2474 
2475    void              scfmt_c  ( SpiceInt            sc,
2476                                 SpiceDouble         ticks,
2477                                 SpiceInt            clkstrlen,
2478                                 SpiceChar         * clkstr    );
2479 
2480 
2481    void              scpart_c ( SpiceInt            sc,
2482                                 SpiceInt          * nparts,
2483                                 SpiceDouble       * pstart,
2484                                 SpiceDouble       * pstop   );
2485 
2486 
2487    void              scs2e_c  ( SpiceInt            sc,
2488                                 ConstSpiceChar    * sclkch,
2489                                 SpiceDouble       * et      );
2490 
2491 
2492    void              sct2e_c  ( SpiceInt            sc,
2493                                 SpiceDouble         sclkdp,
2494                                 SpiceDouble       * et      );
2495 
2496 
2497    void              sctiks_c ( SpiceInt            sc,
2498                                 ConstSpiceChar    * clkstr,
2499                                 SpiceDouble       * ticks   );
2500 
2501 
2502    void              sdiff_c  ( SpiceCell         * a,
2503                                 SpiceCell         * b,
2504                                 SpiceCell         * c  );
2505 
2506 
2507    SpiceBoolean      set_c    ( SpiceCell          * a,
2508                                 ConstSpiceChar     * op,
2509                                 SpiceCell          * b  );
2510 
2511 
2512    void              setmsg_c ( ConstSpiceChar    * msg );
2513 
2514 
2515    void              shellc_c ( SpiceInt            ndim,
2516                                 SpiceInt            lenvals,
2517                                 void              * array   );
2518 
2519 
2520    void              shelld_c ( SpiceInt            ndim,
2521                                 SpiceDouble       * array   );
2522 
2523 
2524    void              shelli_c ( SpiceInt            ndim,
2525                                 SpiceInt          * array   );
2526 
2527 
2528    void              sigerr_c ( ConstSpiceChar    * message );
2529 
2530 
2531    void              sincpt_c ( ConstSpiceChar    * method,
2532                                 ConstSpiceChar    * target,
2533                                 SpiceDouble         et,
2534                                 ConstSpiceChar    * fixref,
2535                                 ConstSpiceChar    * abcorr,
2536                                 ConstSpiceChar    * obsrvr,
2537                                 ConstSpiceChar    * dref,
2538                                 ConstSpiceDouble    dvec   [3],
2539                                 SpiceDouble         spoint [3],
2540                                 SpiceDouble       * trgepc,
2541                                 SpiceDouble         srfvec [3],
2542                                 SpiceBoolean      * found         );
2543 
2544 
2545    SpiceInt          size_c   ( SpiceCell         * size );
2546 
2547 
2548    SpiceDouble       spd_c    ( void );
2549 
2550 
2551    void              sphcyl_c ( SpiceDouble         radius,
2552                                 SpiceDouble         colat,
2553                                 SpiceDouble         slon,
2554                                 SpiceDouble       * r,
2555                                 SpiceDouble       * lon,
2556                                 SpiceDouble       * z );
2557 
2558 
2559    void              sphlat_c ( SpiceDouble         r,
2560                                 SpiceDouble         colat,
2561                                 SpiceDouble         lons,
2562                                 SpiceDouble       * radius,
2563                                 SpiceDouble       * lon,
2564                                 SpiceDouble       * lat   );
2565 
2566 
2567    void              sphrec_c ( SpiceDouble         r,
2568                                 SpiceDouble         colat,
2569                                 SpiceDouble         lon,
2570                                 SpiceDouble         rectan[3] );
2571 
2572 
2573    void              spk14a_c ( SpiceInt            handle,
2574                                 SpiceInt            ncsets,
2575                                 ConstSpiceDouble    coeffs [],
2576                                 ConstSpiceDouble    epochs []  );
2577 
2578 
2579    void              spk14b_c ( SpiceInt            handle,
2580                                 ConstSpiceChar    * segid,
2581                                 SpiceInt            body,
2582                                 SpiceInt            center,
2583                                 ConstSpiceChar    * frame,
2584                                 SpiceDouble         first,
2585                                 SpiceDouble         last,
2586                                 SpiceInt            chbdeg  );
2587 
2588 
2589    void              spk14e_c ( SpiceInt            handle );
2590 
2591 
2592    void              spkapo_c ( SpiceInt            targ,
2593                                 SpiceDouble         et,
2594                                 ConstSpiceChar    * ref,
2595                                 ConstSpiceDouble    sobs[6],
2596                                 ConstSpiceChar    * abcorr,
2597                                 SpiceDouble         ptarg[3],
2598                                 SpiceDouble       * lt        );
2599 
2600 
2601    void              spkapp_c ( SpiceInt            targ,
2602                                 SpiceDouble         et,
2603                                 ConstSpiceChar    * ref,
2604                                 ConstSpiceDouble    sobs   [6],
2605                                 ConstSpiceChar    * abcorr,
2606                                 SpiceDouble         starg  [6],
2607                                 SpiceDouble       * lt         );
2608 
2609 
2610    void              spkcls_c ( SpiceInt            handle );
2611 
2612 
2613    void              spkcov_c ( ConstSpiceChar    * spk,
2614                                 SpiceInt            idcode,
2615                                 SpiceCell         * cover   );
2616 
2617 
2618    void              spkacs_c ( SpiceInt            targ,
2619                                 SpiceDouble         et,
2620                                 ConstSpiceChar    * ref,
2621                                 ConstSpiceChar    * abcorr,
2622                                 SpiceInt            obs,
2623                                 SpiceDouble         starg[6],
2624                                 SpiceDouble       * lt,
2625                                 SpiceDouble       * dlt       );
2626 
2627 
2628    void              spkaps_c ( SpiceInt            targ,
2629                                 SpiceDouble         et,
2630                                 ConstSpiceChar    * ref,
2631                                 ConstSpiceChar    * abcorr,
2632                                 ConstSpiceDouble    stobs[6],
2633                                 ConstSpiceDouble    accobs[6],
2634                                 SpiceDouble         starg[6],
2635                                 SpiceDouble       * lt,
2636                                 SpiceDouble       * dlt      );
2637 
2638 
2639    void              spkez_c  ( SpiceInt            target,
2640                                 SpiceDouble         epoch,
2641                                 ConstSpiceChar    * frame,
2642                                 ConstSpiceChar    * abcorr,
2643                                 SpiceInt            observer,
2644                                 SpiceDouble         state[6],
2645                                 SpiceDouble       * lt       );
2646 
2647 
2648    void              spkezp_c ( SpiceInt            targ,
2649                                 SpiceDouble         et,
2650                                 ConstSpiceChar    * ref,
2651                                 ConstSpiceChar    * abcorr,
2652                                 SpiceInt            obs,
2653                                 SpiceDouble         ptarg[3],
2654                                 SpiceDouble       * lt        );
2655 
2656 
2657    void              spkezr_c ( ConstSpiceChar    * target,
2658                                 SpiceDouble         epoch,
2659                                 ConstSpiceChar    * frame,
2660                                 ConstSpiceChar    * abcorr,
2661                                 ConstSpiceChar    * observer,
2662                                 SpiceDouble         state[6],
2663                                 SpiceDouble       * lt       );
2664 
2665 
2666    void              spkgeo_c ( SpiceInt            targ,
2667                                 SpiceDouble         et,
2668                                 ConstSpiceChar    * ref,
2669                                 SpiceInt            obs,
2670                                 SpiceDouble         state[6],
2671                                 SpiceDouble       * lt       );
2672 
2673 
2674    void              spkgps_c ( SpiceInt            targ,
2675                                 SpiceDouble         et,
2676                                 ConstSpiceChar    * ref,
2677                                 SpiceInt            obs,
2678                                 SpiceDouble         pos[3],
2679                                 SpiceDouble       * lt     );
2680 
2681 
2682    void              spklef_c ( ConstSpiceChar    * filename,
2683                                 SpiceInt          * handle   );
2684 
2685 
2686    void              spkltc_c ( SpiceInt            targ,
2687                                 SpiceDouble         et,
2688                                 ConstSpiceChar    * ref,
2689                                 ConstSpiceChar    * abcorr,
2690                                 ConstSpiceDouble    stobs[6],
2691                                 SpiceDouble         starg[6],
2692                                 SpiceDouble       * lt,
2693                                 SpiceDouble       * dlt      );
2694 
2695 
2696    void              spkobj_c ( ConstSpiceChar    * spk,
2697                                 SpiceCell         * ids );
2698 
2699 
2700    void              spkopa_c ( ConstSpiceChar    * file,
2701                                 SpiceInt          * handle );
2702 
2703 
2704    void              spkopn_c ( ConstSpiceChar    * name,
2705                                 ConstSpiceChar    * ifname,
2706                                 SpiceInt            ncomch,
2707                                 SpiceInt          * handle  );
2708 
2709 
2710    void              spkpds_c ( SpiceInt            body,
2711                                 SpiceInt            center,
2712                                 ConstSpiceChar    * frame,
2713                                 SpiceInt            type,
2714                                 SpiceDouble         first,
2715                                 SpiceDouble         last,
2716                                 SpiceDouble         descr[5] );
2717 
2718 
2719    void              spkpos_c ( ConstSpiceChar    * targ,
2720                                 SpiceDouble         et,
2721                                 ConstSpiceChar    * ref,
2722                                 ConstSpiceChar    * abcorr,
2723                                 ConstSpiceChar    * obs,
2724                                 SpiceDouble         ptarg[3],
2725                                 SpiceDouble       * lt        );
2726 
2727 
2728    void              spkssb_c ( SpiceInt            targ,
2729                                 SpiceDouble         et,
2730                                 ConstSpiceChar    * ref,
2731                                 SpiceDouble         starg[6] );
2732 
2733 
2734    void              spksub_c ( SpiceInt            handle,
2735                                 SpiceDouble         descr[5],
2736                                 ConstSpiceChar    * ident,
2737                                 SpiceDouble         begin,
2738                                 SpiceDouble         end,
2739                                 SpiceInt            newh    );
2740 
2741 
2742    void              spkuds_c ( ConstSpiceDouble    descr [5],
2743                                 SpiceInt          * body,
2744                                 SpiceInt          * center,
2745                                 SpiceInt          * frame,
2746                                 SpiceInt          * type,
2747                                 SpiceDouble       * first,
2748                                 SpiceDouble       * last,
2749                                 SpiceInt          * begin,
2750                                 SpiceInt          * end     );
2751 
2752 
2753    void              spkuef_c ( SpiceInt             handle );
2754 
2755 
2756    void              spkw02_c ( SpiceInt             handle,
2757                                 SpiceInt             body,
2758                                 SpiceInt             center,
2759                                 ConstSpiceChar     * frame,
2760                                 SpiceDouble          first,
2761                                 SpiceDouble          last,
2762                                 ConstSpiceChar     * segid,
2763                                 SpiceDouble          intlen,
2764                                 SpiceInt             n,
2765                                 SpiceInt             polydg,
2766                                 ConstSpiceDouble     cdata [],
2767                                 SpiceDouble          btime     );
2768 
2769 
2770    void              spkw03_c ( SpiceInt             handle,
2771                                 SpiceInt             body,
2772                                 SpiceInt             center,
2773                                 ConstSpiceChar     * frame,
2774                                 SpiceDouble          first,
2775                                 SpiceDouble          last,
2776                                 ConstSpiceChar     * segid,
2777                                 SpiceDouble          intlen,
2778                                 SpiceInt             n,
2779                                 SpiceInt             polydg,
2780                                 ConstSpiceDouble     cdata [],
2781                                 SpiceDouble          btime     );
2782 
2783 
2784    void              spkw05_c ( SpiceInt             handle,
2785                                 SpiceInt             body,
2786                                 SpiceInt             center,
2787                                 ConstSpiceChar     * frame,
2788                                 SpiceDouble          first,
2789                                 SpiceDouble          last,
2790                                 ConstSpiceChar     * segid,
2791                                 SpiceDouble          gm,
2792                                 SpiceInt             n,
2793                                 ConstSpiceDouble     states [][6],
2794                                 ConstSpiceDouble     epochs []     );
2795 
2796 
2797    void              spkw08_c ( SpiceInt             handle,
2798                                 SpiceInt             body,
2799                                 SpiceInt             center,
2800                                 ConstSpiceChar     * frame,
2801                                 SpiceDouble          first,
2802                                 SpiceDouble          last,
2803                                 ConstSpiceChar     * segid,
2804                                 SpiceInt             degree,
2805                                 SpiceInt             n,
2806                                 ConstSpiceDouble     states[][6],
2807                                 SpiceDouble          epoch1,
2808                                 SpiceDouble          step         );
2809 
2810 
2811    void              spkw09_c ( SpiceInt             handle,
2812                                 SpiceInt             body,
2813                                 SpiceInt             center,
2814                                 ConstSpiceChar     * frame,
2815                                 SpiceDouble          first,
2816                                 SpiceDouble          last,
2817                                 ConstSpiceChar     * segid,
2818                                 SpiceInt             degree,
2819                                 SpiceInt             n,
2820                                 ConstSpiceDouble     states[][6],
2821                                 ConstSpiceDouble     epochs[]     );
2822 
2823 
2824    void              spkw10_c ( SpiceInt             handle,
2825                                 SpiceInt             body,
2826                                 SpiceInt             center,
2827                                 ConstSpiceChar     * frame,
2828                                 SpiceDouble          first,
2829                                 SpiceDouble          last,
2830                                 ConstSpiceChar     * segid,
2831                                 ConstSpiceDouble     consts [8],
2832                                 SpiceInt             n,
2833                                 ConstSpiceDouble     elems  [],
2834                                 ConstSpiceDouble     epochs []  );
2835 
2836 
2837    void              spkw12_c ( SpiceInt             handle,
2838                                 SpiceInt             body,
2839                                 SpiceInt             center,
2840                                 ConstSpiceChar     * frame,
2841                                 SpiceDouble          first,
2842                                 SpiceDouble          last,
2843                                 ConstSpiceChar     * segid,
2844                                 SpiceInt             degree,
2845                                 SpiceInt             n,
2846                                 ConstSpiceDouble     states[][6],
2847                                 SpiceDouble          epoch0,
2848                                 SpiceDouble          step        );
2849 
2850 
2851    void              spkw13_c ( SpiceInt             handle,
2852                                 SpiceInt             body,
2853                                 SpiceInt             center,
2854                                 ConstSpiceChar     * frame,
2855                                 SpiceDouble          first,
2856                                 SpiceDouble          last,
2857                                 ConstSpiceChar     * segid,
2858                                 SpiceInt             degree,
2859                                 SpiceInt             n,
2860                                 ConstSpiceDouble     states[][6],
2861                                 ConstSpiceDouble     epochs[]     );
2862 
2863 
2864    void              spkw15_c ( SpiceInt             handle,
2865                                 SpiceInt             body,
2866                                 SpiceInt             center,
2867                                 ConstSpiceChar     * frame,
2868                                 SpiceDouble          first,
2869                                 SpiceDouble          last,
2870                                 ConstSpiceChar     * segid,
2871                                 SpiceDouble          epoch,
2872                                 ConstSpiceDouble     tp     [3],
2873                                 ConstSpiceDouble     pa     [3],
2874                                 SpiceDouble          p,
2875                                 SpiceDouble          ecc,
2876                                 SpiceDouble          j2flg,
2877                                 ConstSpiceDouble     pv     [3],
2878                                 SpiceDouble          gm,
2879                                 SpiceDouble          j2,
2880                                 SpiceDouble          radius     );
2881 
2882 
2883    void              spkw17_c ( SpiceInt             handle,
2884                                 SpiceInt             body,
2885                                 SpiceInt             center,
2886                                 ConstSpiceChar     * frame,
2887                                 SpiceDouble          first,
2888                                 SpiceDouble          last,
2889                                 ConstSpiceChar     * segid,
2890                                 SpiceDouble          epoch,
2891                                 ConstSpiceDouble     eqel   [9],
2892                                 SpiceDouble          rapol,
2893                                 SpiceDouble          decpol      );
2894 
2895 
2896    void              spkw18_c ( SpiceInt             handle,
2897                                 SpiceSPK18Subtype    subtyp,
2898                                 SpiceInt             body,
2899                                 SpiceInt             center,
2900                                 ConstSpiceChar     * frame,
2901                                 SpiceDouble          first,
2902                                 SpiceDouble          last,
2903                                 ConstSpiceChar     * segid,
2904                                 SpiceInt             degree,
2905                                 SpiceInt             n,
2906                                 const void         * packts,
2907                                 ConstSpiceDouble     epochs[]     );
2908 
2909 
2910    void              srfrec_c ( SpiceInt            body,
2911                                 SpiceDouble         lon,
2912                                 SpiceDouble         lat,
2913                                 SpiceDouble         rectan[3] );
2914 
2915 
2916    void              srfxpt_c ( ConstSpiceChar    * method,
2917                                 ConstSpiceChar    * target,
2918                                 SpiceDouble         et,
2919                                 ConstSpiceChar    * abcorr,
2920                                 ConstSpiceChar    * obsrvr,
2921                                 ConstSpiceChar    * dref,
2922                                 ConstSpiceDouble    dvec   [3],
2923                                 SpiceDouble         spoint [3],
2924                                 SpiceDouble       * dist,
2925                                 SpiceDouble       * trgepc,
2926                                 SpiceDouble         obspos [3],
2927                                 SpiceBoolean      * found         );
2928 
2929 
2930    void              ssize_c  ( SpiceInt             size,
2931                                 SpiceCell          * cell  );
2932 
2933 
2934    void              stelab_c ( ConstSpiceDouble    pobj[3],
2935                                 ConstSpiceDouble    vobs[3],
2936                                 SpiceDouble         appobj[3] );
2937 
2938 
2939    void              stpool_c ( ConstSpiceChar    * item,
2940                                 SpiceInt            nth,
2941                                 ConstSpiceChar    * contin,
2942                                 SpiceInt            lenout,
2943                                 SpiceChar         * string,
2944                                 SpiceInt          * size,
2945                                 SpiceBoolean      * found  );
2946 
2947 
2948    void              str2et_c ( ConstSpiceChar    * date,
2949                                 SpiceDouble       * et   );
2950 
2951 
2952    void              subpnt_c ( ConstSpiceChar    * method,
2953                                 ConstSpiceChar    * target,
2954                                 SpiceDouble         et,
2955                                 ConstSpiceChar    * fixref,
2956                                 ConstSpiceChar    * abcorr,
2957                                 ConstSpiceChar    * obsrvr,
2958                                 SpiceDouble         spoint [3],
2959                                 SpiceDouble       * trgepc,
2960                                 SpiceDouble         srfvec [3] );
2961 
2962 
2963    void              subpt_c  ( ConstSpiceChar    * method,
2964                                 ConstSpiceChar    * target,
2965                                 SpiceDouble         et,
2966                                 ConstSpiceChar    * abcorr,
2967                                 ConstSpiceChar    * obsrvr,
2968                                 SpiceDouble         spoint [3],
2969                                 SpiceDouble       * alt         );
2970 
2971 
2972    void              subslr_c ( ConstSpiceChar    * method,
2973                                 ConstSpiceChar    * target,
2974                                 SpiceDouble         et,
2975                                 ConstSpiceChar    * fixref,
2976                                 ConstSpiceChar    * abcorr,
2977                                 ConstSpiceChar    * obsrvr,
2978                                 SpiceDouble         spoint [3],
2979                                 SpiceDouble       * trgepc,
2980                                 SpiceDouble         srfvec [3] );
2981 
2982 
2983    void              subsol_c ( ConstSpiceChar    * method,
2984                                 ConstSpiceChar    * target,
2985                                 SpiceDouble         et,
2986                                 ConstSpiceChar    * abcorr,
2987                                 ConstSpiceChar    * obsrvr,
2988                                 SpiceDouble         spoint[3] );
2989 
2990 
2991    SpiceDouble       sumad_c  ( ConstSpiceDouble    array[],
2992                                 SpiceInt            n        );
2993 
2994 
2995    SpiceInt          sumai_c  ( ConstSpiceInt       array[],
2996                                 SpiceInt            n        );
2997 
2998 
2999    void              surfnm_c ( SpiceDouble         a,
3000                                 SpiceDouble         b,
3001                                 SpiceDouble         c,
3002                                 ConstSpiceDouble    point[3],
3003                                 SpiceDouble         normal[3] );
3004 
3005 
3006    void              surfpt_c ( ConstSpiceDouble    positn[3],
3007                                 ConstSpiceDouble    u[3],
3008                                 SpiceDouble         a,
3009                                 SpiceDouble         b,
3010                                 SpiceDouble         c,
3011                                 SpiceDouble         point[3],
3012                                 SpiceBoolean      * found     );
3013 
3014 
3015    void              swpool_c ( ConstSpiceChar    * agent,
3016                                 SpiceInt            nnames,
3017                                 SpiceInt            lenvals,
3018                                 const void        * names   );
3019 
3020 
3021    void              sxform_c ( ConstSpiceChar    * from,
3022                                 ConstSpiceChar    * to,
3023                                 SpiceDouble         et,
3024                                 SpiceDouble         xform[6][6] );
3025 
3026 
3027    void              szpool_c ( ConstSpiceChar    * name,
3028                                 SpiceInt          * n,
3029                                 SpiceBoolean      * found );
3030 
3031 
3032    void              timdef_c ( ConstSpiceChar    * action,
3033                                 ConstSpiceChar    * item,
3034                                 SpiceInt            lenout,
3035                                 SpiceChar         * value );
3036 
3037 
3038    void              timout_c ( SpiceDouble         et,
3039                                 ConstSpiceChar    * pictur,
3040                                 SpiceInt            lenout,
3041                                 SpiceChar         * output );
3042 
3043 
3044    void              tipbod_c ( ConstSpiceChar    * ref,
3045                                 SpiceInt            body,
3046                                 SpiceDouble         et,
3047                                 SpiceDouble         tipm[3][3] );
3048 
3049 
3050    void              tisbod_c ( ConstSpiceChar    * ref,
3051                                 SpiceInt            body,
3052                                 SpiceDouble         et,
3053                                 SpiceDouble         tsipm[6][6] );
3054 
3055 
3056    ConstSpiceChar  * tkvrsn_c ( ConstSpiceChar    * item );
3057 
3058 
3059    void              tparse_c ( ConstSpiceChar    * string,
3060                                 SpiceInt            lenout,
3061                                 SpiceDouble       * sp2000,
3062                                 SpiceChar         * errmsg  );
3063 
3064 
3065    void              tpictr_c ( ConstSpiceChar    * sample,
3066                                 SpiceInt            lenpictur,
3067                                 SpiceInt            lenerror,
3068                                 SpiceChar         * pictur,
3069                                 SpiceBoolean      * ok,
3070                                 SpiceChar         * error     );
3071 
3072 
3073    SpiceDouble       trace_c  ( ConstSpiceDouble    matrix[3][3] );
3074 
3075 
3076    void              trcoff_c ( void );
3077 
3078 
3079    void              tsetyr_c ( SpiceInt            year );
3080 
3081 
3082    SpiceDouble       twopi_c  ( void );
3083 
3084 
3085    void              twovec_c ( ConstSpiceDouble    axdef  [3],
3086                                 SpiceInt            indexa,
3087                                 ConstSpiceDouble    plndef [3],
3088                                 SpiceInt            indexp,
3089                                 SpiceDouble         mout   [3][3] );
3090 
3091 
3092    SpiceDouble       tyear_c  ( void );
3093 
3094 
3095    void              ucase_c  ( SpiceChar         * in,
3096                                 SpiceInt            lenout,
3097                                 SpiceChar         * out    );
3098 
3099 
3100    void              ucrss_c  ( ConstSpiceDouble    v1[3],
3101                                 ConstSpiceDouble    v2[3],
3102                                 SpiceDouble         vout[3] );
3103 
3104 
3105    void              union_c  ( SpiceCell          * a,
3106                                 SpiceCell          * b,
3107                                 SpiceCell          * c  );
3108 
3109 
3110    SpiceDouble       unitim_c ( SpiceDouble         epoch,
3111                                 ConstSpiceChar    * insys,
3112                                 ConstSpiceChar    * outsys );
3113 
3114 
3115    void              unload_c ( ConstSpiceChar   * file );
3116 
3117 
3118    void              unorm_c  ( ConstSpiceDouble    v1[3],
3119                                 SpiceDouble         vout[3],
3120                                 SpiceDouble       * vmag    );
3121 
3122 
3123    void              unormg_c ( ConstSpiceDouble  * v1,
3124                                 SpiceInt            ndim,
3125                                 SpiceDouble       * vout,
3126                                 SpiceDouble       * vmag );
3127 
3128 
3129    void              utc2et_c ( ConstSpiceChar    * utcstr,
3130                                 SpiceDouble       * et   );
3131 
3132 
3133    void              vadd_c   ( ConstSpiceDouble    v1[3],
3134                                 ConstSpiceDouble    v2[3],
3135                                 SpiceDouble         vout[3] ) ;
3136 
3137 
3138    void              vaddg_c  ( ConstSpiceDouble  * v1,
3139                                 ConstSpiceDouble  * v2,
3140                                 SpiceInt            ndim,
3141                                 SpiceDouble       * vout );
3142 
3143 
3144    void              valid_c  ( SpiceInt             size,
3145                                 SpiceInt             n,
3146                                 SpiceCell          * a    );
3147 
3148 
3149    void              vcrss_c  ( ConstSpiceDouble    v1[3],
3150                                 ConstSpiceDouble    v2[3],
3151                                 SpiceDouble         vout[3] );
3152 
3153 
3154    SpiceDouble       vdist_c  ( ConstSpiceDouble    v1[3],
3155                                 ConstSpiceDouble    v2[3] );
3156 
3157 
3158    SpiceDouble       vdistg_c ( ConstSpiceDouble  * v1,
3159                                 ConstSpiceDouble  * v2,
3160                                 SpiceInt            ndim );
3161 
3162 
3163    SpiceDouble       vdot_c   ( ConstSpiceDouble    v1[3],
3164                                 ConstSpiceDouble    v2[3] );
3165 
3166    SpiceDouble       vdotg_c  ( ConstSpiceDouble  * v1,
3167                                 ConstSpiceDouble  * v2,
3168                                 SpiceInt            ndim );
3169 
3170    void              vequ_c   ( ConstSpiceDouble    vin[3],
3171                                 SpiceDouble         vout[3] );
3172 
3173 
3174    void              vequg_c  ( ConstSpiceDouble  * vin,
3175                                 SpiceInt            ndim,
3176                                 SpiceDouble       * vout );
3177 
3178 
3179    void              vhat_c   ( ConstSpiceDouble    v1  [3],
3180                                 SpiceDouble         vout[3] );
3181 
3182 
3183    void              vhatg_c  ( ConstSpiceDouble  * v1,
3184                                 SpiceInt            ndim,
3185                                 SpiceDouble       * vout  );
3186 
3187 
3188    void              vlcom_c  ( SpiceDouble         a,
3189                                 ConstSpiceDouble    v1[3],
3190                                 SpiceDouble         b,
3191                                 ConstSpiceDouble    v2[3],
3192                                 SpiceDouble         sum[3] );
3193 
3194 
3195    void              vlcom3_c ( SpiceDouble         a,
3196                                 ConstSpiceDouble    v1[3],
3197                                 SpiceDouble         b,
3198                                 ConstSpiceDouble    v2[3],
3199                                 SpiceDouble         c,
3200                                 ConstSpiceDouble    v3[3],
3201                                 SpiceDouble         sum[3] );
3202 
3203 
3204    void              vlcomg_c ( SpiceInt            n,
3205                                 SpiceDouble         a,
3206                                 ConstSpiceDouble  * v1,
3207                                 SpiceDouble         b,
3208                                 ConstSpiceDouble  * v2,
3209                                 SpiceDouble       * sum );
3210 
3211 
3212    void              vminug_c ( ConstSpiceDouble  * vin,
3213                                 SpiceInt            ndim,
3214                                 SpiceDouble       * vout );
3215 
3216 
3217    void              vminus_c ( ConstSpiceDouble    v1[3],
3218                                 SpiceDouble         vout[3] );
3219 
3220 
3221    SpiceDouble       vnorm_c  ( ConstSpiceDouble    v1[3] );
3222 
3223 
3224    SpiceDouble       vnormg_c ( ConstSpiceDouble  * v1,
3225                                 SpiceInt            ndim );
3226 
3227 
3228    void              vpack_c  ( SpiceDouble         x,
3229                                 SpiceDouble         y,
3230                                 SpiceDouble         z,
3231                                 SpiceDouble         v[3] );
3232 
3233 
3234    void              vperp_c  ( ConstSpiceDouble    a[3],
3235                                 ConstSpiceDouble    b[3],
3236                                 SpiceDouble         p[3] );
3237 
3238 
3239    void              vprjp_c  ( ConstSpiceDouble    vin   [3],
3240                                 ConstSpicePlane   * plane,
3241                                 SpiceDouble         vout  [3] );
3242 
3243 
3244    void              vprjpi_c ( ConstSpiceDouble    vin    [3],
3245                                 ConstSpicePlane   * projpl,
3246                                 ConstSpicePlane   * invpl,
3247                                 SpiceDouble         vout   [3],
3248                                 SpiceBoolean      * found       );
3249 
3250 
3251    void              vproj_c  ( ConstSpiceDouble    a[3],
3252                                 ConstSpiceDouble    b[3],
3253                                 SpiceDouble         p[3] );
3254 
3255 
3256    SpiceDouble       vrel_c   ( ConstSpiceDouble    v1[3],
3257                                 ConstSpiceDouble    v2[3]  );
3258 
3259 
3260    SpiceDouble       vrelg_c  ( ConstSpiceDouble  * v1,
3261                                 ConstSpiceDouble  * v2,
3262                                 SpiceInt            ndim  );
3263 
3264 
3265    void              vrotv_c  ( ConstSpiceDouble    v[3],
3266                                 ConstSpiceDouble    axis[3],
3267                                 SpiceDouble         theta,
3268                                 SpiceDouble         r[3] );
3269 
3270 
3271    void              vscl_c   ( SpiceDouble         s,
3272                                 ConstSpiceDouble    v1[3],
3273                                 SpiceDouble         vout[3] );
3274 
3275 
3276    void              vsclg_c  ( SpiceDouble         s,
3277                                 ConstSpiceDouble  * v1,
3278                                 SpiceInt            ndim,
3279                                 SpiceDouble       * vout  );
3280 
3281 
3282    SpiceDouble       vsep_c   ( ConstSpiceDouble    v1[3],
3283                                 ConstSpiceDouble    v2[3] );
3284 
3285 
3286    void              vsub_c   ( ConstSpiceDouble    v1[3],
3287                                 ConstSpiceDouble    v2[3],
3288                                 SpiceDouble         vout[3] );
3289 
3290 
3291    void              vsubg_c  ( ConstSpiceDouble  * v1,
3292                                 ConstSpiceDouble  * v2,
3293                                 SpiceInt            ndim,
3294                                 SpiceDouble       * vout  );
3295 
3296 
3297    SpiceDouble       vsepg_c  ( ConstSpiceDouble  * v1,
3298                                 ConstSpiceDouble  * v2,
3299                                 SpiceInt            ndim );
3300 
3301 
3302    SpiceDouble       vtmv_c   ( ConstSpiceDouble    v1     [3],
3303                                 ConstSpiceDouble    matrix [3][3],
3304                                 ConstSpiceDouble    v2     [3]    );
3305 
3306 
3307    SpiceDouble       vtmvg_c  ( const void        * v1,
3308                                 const void        * matrix,
3309                                 const void        * v2,
3310                                 SpiceInt            nrow,
3311                                 SpiceInt            ncol          );
3312 
3313 
3314    void              vupack_c ( ConstSpiceDouble    v[3],
3315                                 SpiceDouble       * x,
3316                                 SpiceDouble       * y,
3317                                 SpiceDouble       * z     );
3318 
3319    SpiceBoolean      vzero_c  ( ConstSpiceDouble     v[3] );
3320 
3321 
3322    SpiceBoolean      vzerog_c ( ConstSpiceDouble  * v,
3323                                 SpiceInt            ndim );
3324 
3325    SpiceInt          wncard_c ( SpiceCell          * window );
3326 
3327    void              wncomd_c ( SpiceDouble          left,
3328                                 SpiceDouble          right,
3329                                 SpiceCell          * window,
3330                                 SpiceCell          * result );
3331 
3332 
3333    void              wncond_c ( SpiceDouble          left,
3334                                 SpiceDouble          right,
3335                                 SpiceCell          * window );
3336 
3337 
3338    void              wndifd_c ( SpiceCell          * a,
3339                                 SpiceCell          * b,
3340                                  SpiceCell         * c  );
3341 
3342 
3343    SpiceBoolean      wnelmd_c ( SpiceDouble          point,
3344                                 SpiceCell          * window );
3345 
3346 
3347    void              wnexpd_c ( SpiceDouble          left,
3348                                 SpiceDouble          right,
3349                                 SpiceCell          * window );
3350 
3351 
3352    void              wnextd_c ( SpiceChar            side,
3353                                 SpiceCell          * window );
3354 
3355 
3356    void              wnfetd_c ( SpiceCell          * window,
3357                                 SpiceInt             n,
3358                                 SpiceDouble        * left,
3359                                 SpiceDouble        * right   );
3360 
3361 
3362    void              wnfild_c ( SpiceDouble          sml,
3363                                 SpiceCell          * window );
3364 
3365 
3366    void              wnfltd_c ( SpiceDouble          sml,
3367                                 SpiceCell          * window );
3368 
3369 
3370    SpiceBoolean      wnincd_c ( SpiceDouble          left,
3371                                 SpiceDouble          right,
3372                                 SpiceCell          * window  );
3373 
3374 
3375    void              wninsd_c ( SpiceDouble          left,
3376                                 SpiceDouble          right,
3377                                 SpiceCell          * window );
3378 
3379 
3380    void              wnintd_c ( SpiceCell          * a,
3381                                 SpiceCell          * b,
3382                                 SpiceCell          * c  );
3383 
3384 
3385    SpiceBoolean      wnreld_c ( SpiceCell          * a,
3386                                 ConstSpiceChar     * op,
3387                                 SpiceCell          * b   );
3388 
3389 
3390    void              wnsumd_c ( SpiceCell          * window,
3391                                 SpiceDouble        * meas,
3392                                 SpiceDouble        * avg,
3393                                 SpiceDouble        * stddev,
3394                                 SpiceInt           * shortest,
3395                                 SpiceInt           * longest   );
3396 
3397 
3398    void              wnunid_c ( SpiceCell          * a,
3399                                 SpiceCell          * b,
3400                                 SpiceCell          * c  );
3401 
3402 
3403    void              wnvald_c ( SpiceInt             size,
3404                                 SpiceInt             n,
3405                                 SpiceCell          * window );
3406 
3407 
3408 
3409    void              xf2eul_c ( ConstSpiceDouble     xform  [6][6],
3410                                 SpiceInt             axisa,
3411                                 SpiceInt             axisb,
3412                                 SpiceInt             axisc,
3413                                 SpiceDouble          eulang [6],
3414                                 SpiceBoolean       * unique         );
3415 
3416 
3417    void              xf2rav_c ( ConstSpiceDouble     xform [6][6],
3418                                 SpiceDouble          rot   [3][3],
3419                                 SpiceDouble          av    [3]     );
3420 
3421 
3422    void              xpose_c  ( ConstSpiceDouble    m1  [3][3],
3423                                 SpiceDouble         mout[3][3] );
3424 
3425 
3426    void              xpose6_c ( ConstSpiceDouble    m1  [6][6],
3427                                 SpiceDouble         mout[6][6] );
3428 
3429 
3430    void              xposeg_c ( const void        * matrix,
3431                                 SpiceInt            nrow,
3432                                 SpiceInt            ncol,
3433                                 void              * xposem );
3434 
3435 
3436    void              zzgetcml_c( SpiceInt          * argc,
3437                                  SpiceChar       *** argv,
3438                                  SpiceBoolean        init );
3439 
3440 
3441    void              zzsynccl_c( SpiceTransDir       xdir,
3442                                  SpiceCell         * cell );
3443 
3444 #endif
3445 
3446