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 C header file contains 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    -CSPICE Version 12.14.0, 05-JAN-2017 (EDW) (NJB)
60 
61       Added prototypes for
62 
63          chbder_c
64          cleard_c
65          dasdc_c
66          dashfn_c
67          dasopw_c
68          dasrfr_c
69          dlabbs_c
70          dlabfs_c
71          dlafns_c
72          dlafps_c
73          dskb02_c
74          dskcls_c
75          dskd02_c
76          dskgd_c
77          dskgtl_c
78          dski02_c
79          dskmi2_c
80          dskn02_c
81          dskobj_c
82          dskopn_c
83          dskp02_c
84          dskrb2_c
85          dsksrf_c
86          dskstl_c
87          dskv02_c
88          dskw02_c
89          dskx02_c
90          dskxsi_c
91          dskxv_c
92          dskz02_c
93          hrmint_c
94          illum_pl02
95          illum_plid_pl02
96          latsrf_c
97          lgrind_c
98          limb_pl02
99          limbpt_c
100          llgrid_pl02
101          oscltx_c
102          pckcls_c
103          pckopn_c
104          pckw02_c
105          pltar_c
106          pltexp_c
107          pltnp_c
108          pltnrm_c
109          pltvol_c
110          polyds_c
111          srfc2s_c
112          srfcss_c
113          srfnrm_c
114          srfs2c_c
115          srfscc_c
116          subpt_pl02
117          subsol_pl02
118          term_pl02
119          termpt_c
120 
121    -CSPICE Version 12.13.0, 03-DEC-2013 (NJB) (SCK) (EDW)
122 
123       Correction to argument order for gfsep_c.c prototype.
124 
125       Added prototypes for
126 
127          bltfrm_c
128          ccifrm_c
129          edterm_c
130          eqncpv_c
131          fovray_c
132          fovtrg_c
133          gfilum_c
134          gfpa_c
135          gfstol_c
136          gfudb_c
137          illumg_c
138          kplfrm_c
139          occult_c
140          phaseq_c
141          pxfrm2_c
142          qcktrc_c
143          trcdep_c
144          trcnam_c
145          spkcpo_c
146          spkcpt_c
147          spkcvo_c
148          spkcvt_c
149          spkpvn_c
150          spksfs_c
151          spkw20_c
152          xfmsta_c
153          udf_c
154 
155    -CSPICE Version 12.12.0, 19-FEB-2010 (EDW) (NJB)
156 
157       Added prototypes for
158 
159          bodc2s_c
160          dafgsr_c
161          dafrfr_c
162          dp2hx_c
163          ducrss_c
164          dvcrss_c
165          dvnorm_c
166          gfrr_c
167          gfuds_c
168          hx2dp_c
169          uddc_c
170          uddf_c
171 
172    -CSPICE Version 12.11.0, 29-MAR-2009 (EDW) (NJB)
173 
174       Added prototypes for
175 
176          dvsep_c
177          gfbail_c
178          gfclrh_c
179          gfdist_c
180          gfevnt_c
181          gffove_c
182          gfinth_c
183          gfocce_c
184          gfoclt_c
185          gfposc_c
186          gfrefn_c
187          gfrepf_c
188          gfrepi_c
189          gfrepu_c
190          gfrfov_c
191          gfsep_c
192          gfseth_c
193          gfsntc_c
194          gfsstp_c
195          gfstep_c
196          gfsubc_c
197          gftfov_c
198          surfpv_c
199          zzgfgeth_c
200          zzgfsavh_c
201 
202    -CSPICE Version 12.10.0, 30-JAN-2008 (EDW) (NJB)
203 
204       Added prototypes for:
205 
206          ilumin_c
207          pckcov_c
208          pckfrm_c
209          sincpt_c
210          spkacs_c
211          spkaps_c
212          spkltc_c
213          subpnt_c
214          subslr_c
215          wncard_c
216 
217    -CSPICE Version 12.9.0, 16-NOV-2006 (NJB)
218 
219       Bug fix:  corrected prototype for vhatg_c.
220 
221       Renamed wnfild_c and wnfltd_c arguments `small' to 'smal' for
222       compatibility with MS Visual C++.
223 
224       Added prototypes for
225 
226          dafac_c
227          dafdc_c
228          dafec_c
229          dafgda_c
230          dascls_c
231          dasopr_c
232          kclear_c
233 
234    -CSPICE Version 12.8.0, 07-NOV-2005 (NJB)
235 
236       Added prototypes for
237 
238          bodvcd_c
239          qdq2av_c
240          qxq_c
241          srfrec_c
242 
243    -CSPICE Version 12.7.0, 06-JAN-2004 (NJB)
244 
245       Added prototypes for
246 
247          bods2c_c
248          ckcov_c
249          ckobj_c
250          dafopw_c
251          dafrs_c
252          dpgrdr_c
253          drdpgr_c
254          lspcn_c
255          pgrrec_c
256          recpgr_c
257          spkcov_c
258          spkobj_c
259 
260    -CSPICE Version 12.6.0, 24-FEB-2003 (NJB)
261 
262       Added prototype for
263 
264          bodvrd_c
265          deltet_c
266          srfxpt_c
267 
268    -CSPICE Version 12.5.0, 14-MAY-2003 (NJB)
269 
270       Removed prototype for getcml_.
271 
272 
273    -CSPICE Version 12.4.0, 25-FEB-2003 (NJB)
274 
275       Added prototypes for
276 
277          dasac_c
278          dasec_c
279          et2lst_c
280 
281    -CSPICE Version 12.3.0, 03-SEP-2002 (NJB)
282 
283       Added prototypes for
284 
285          appndc_c
286          appndd_c
287          appndi_c
288          bschoc_c
289          bschoi_c
290          bsrchc_c
291          bsrchd_c
292          bsrchi_c
293          card_c
294          ckw05_c
295          copy_c
296          cpos_c
297          cposr_c
298          diff_c
299          elemc_c
300          elemd_c
301          elemi_c
302          esrchc_c
303          insrtc_c
304          insrtd_c
305          insrti_c
306          inter_c
307          isordv_c
308          isrchc_c
309          isrchd_c
310          isrchi_c
311          lparss_c
312          lstlec_c
313          lstled_c
314          lstlei_c
315          lstltc_c
316          lstltd_c
317          lstlti_c
318          lx4dec_c
319          lx4num_c
320          lx4sgn_c
321          lx4uns_c
322          lxqstr_c
323          ncpos_c
324          ncposr_c
325          ordc_c
326          ordd_c
327          orderc_c
328          orderd_c
329          orderi_c
330          ordi_c
331          pos_c
332          posr_c
333          prefix_c
334          removc_c
335          removd_c
336          remove_c
337          removi_c
338          reordc_c
339          reordd_c
340          reordi_c
341          reordl_c
342          repmc_c
343          repmct_c
344          repmd_c
345          repmf_c
346          repmi_c
347          repmot_c
348          scard_c
349          sdiff_c
350          set_c
351          shellc_c
352          shelld_c
353          shelli_c
354          size_c
355          spkw18_c
356          ssize_c
357          union_c
358          valid_c
359          wncomd_c
360          wncond_c
361          wndifd_c
362          wnelmd_c
363          wnexpd_c
364          wnextd_c
365          wnfetd_c
366          wnfild_c
367          wnfltd_c
368          wnincd_c
369          wninsd_c
370          wnintd_c
371          wnreld_c
372          wnsumd_c
373          wnunid_c
374          wnvald_c
375          zzsynccl_c
376 
377    -CSPICE Version 12.2.0, 23-OCT-2001 (NJB)
378 
379       Added prototypes for
380 
381          badkpv_c
382          dcyldr_c
383          dgeodr_c
384          dlatdr_c
385          drdcyl_c
386          drdgeo_c
387          drdlat_c
388          drdsph_c
389          dsphdr_c
390          ekacec_c
391          ekaced_c
392          ekacei_c
393          ekappr_c
394          ekbseg_c
395          ekccnt_c
396          ekcii_c
397          ekdelr_c
398          ekinsr_c
399          ekntab_c
400          ekrcec_c
401          ekrced_c
402          ekrcei_c
403          ektnam_c
404          ekucec_c
405          ekuced_c
406          ekucei_c
407          inelpl_c
408          invort_c
409          kxtrct_c
410 
411       Added const qualifier to input array arguments of
412 
413          conics_c
414          illum_c
415          pdpool_c
416          prop2b_c
417          q2m_c
418          spkuds_c
419          xposeg_c
420 
421       Added const qualifier to the return value of
422 
423          tkvrsn_c
424 
425    -CSPICE Version 12.1.0, 12-APR-2000 (FST)
426 
427       Added prototype for
428 
429          getfov_c
430 
431    -CSPICE Version 12.0.0, 22-MAR-2000 (NJB)
432 
433       Added prototypes for
434 
435          lparse_c
436          lparsm_c
437          spkw12_c
438          spkw13_c
439 
440 
441    -CSPICE Version 11.1.0, 17-DEC-1999 (WLT)
442 
443       Added prototype for
444 
445          dafrda_c
446 
447    -CSPICE Version 11.0.0, 07-OCT-1999 (NJB) (EDW)
448 
449       Changed ekaclc_c, ekacld_c, ekacli_c prototypes to make input
450       pointers const-qualified where appropriate.
451 
452       Changed prompt_c prototype to accommodate memory leak bug fix.
453 
454       Changed ekpsel_c prototype to be consistent with other interfaces
455       having string array outputs.
456 
457       Added prototypes for
458 
459          axisar_c
460          brcktd_c
461          brckti_c
462          cgv2el_c
463          cidfrm_c
464          clpool_c
465          cmprss_c
466          cnmfrm_c
467          convrt_c
468          cvpool_c
469          dafbbs_c
470          dafbfs_c
471          dafcls_c
472          dafcs_c
473          daffna_c
474          daffpa_c
475          dafgh_c
476          dafgn_c
477          dafgs_c
478          dafopr_c
479          dafps_c
480          dafus_c
481          diags2_c
482          dtpool_c
483          dvdot_c
484          dvhat_c
485          dvpool_c
486          edlimb_c
487          ekops_c
488          ekopw_c
489          eul2xf_c
490          ftncls_c
491          furnsh_c
492          getelm_c
493          getmsg_c
494          gnpool_c
495          ident_c
496          illum_c
497          inedpl_c
498          kdata_c
499          kinfo_c
500          ktotal_c
501          lmpool_c
502          matchi_c
503          matchw_c
504          maxd_c
505          maxi_c
506          mequ_c
507          mind_c
508          mini_c
509          moved_
510          npedln_c
511          npelpt_c
512          nplnpt_c
513          pcpool_c
514          pdpool_c
515          pipool_c
516          pjelpl_c
517          pxform_c
518          rav2xf_c
519          raxisa_c
520          rquad_c
521          saelgv_c
522          spk14a_c
523          spk14b_c
524          spk14e_c
525          spkapo_c
526          spkapp_c
527          spkcls_c
528          spkezp_c
529          spkgps_c
530          spkopn_c
531          spkpds_c
532          spkpos_c
533          spkssb_c
534          spksub_c
535          spkuds_c
536          spkw02_c
537          spkw03_c
538          spkw05_c
539          spkw08_c
540          spkw09_c
541          spkw10_c
542          spkw15_c
543          spkw17_c
544          stpool_c
545          subpt_c
546          subsol_c
547          swpool_c
548          szpool_c
549          tparse_c
550          trace_c
551          unload_c
552          vaddg_c
553          vhatg_c
554          vlcomg_c
555          vminug_c
556          vrel_c
557          vrelg_c
558          vsepg_c
559          vtmv_c
560          vtmvg_c
561          vzerog_c
562          xf2eul_c
563          xf2rav_c
564          xposeg_c
565 
566    -CSPICE Version 10.0.0, 09-MAR-1999 (NJB)
567 
568       Added prototypes for
569 
570          frame_c
571          inrypl_c
572          nvc2pl_c
573          nvp2pl_c
574          pl2nvc_c
575          pl2nvp_c
576          pl2psv_c
577          psv2pl_c
578          sce2c_c
579          vprjp_c
580          vprjpi_c
581 
582       Now conditionally includes SpiceEll.h and SpicePln.h.
583 
584 
585    -CSPICE Version 9.0.0, 25-FEB-1999 (NJB)
586 
587       Added prototypes for
588 
589          eknseg_c
590          eknelt_c
591          ekpsel_c
592          ekssum_c
593 
594       Now conditionally includes SpiceEK.h.
595 
596 
597    -CSPICE Version 8.0.0, 20-OCT-1998 (NJB)
598 
599       Added const qualifier to all input matrix and vector arguments.
600 
601       Added prototypes for
602 
603          det_c
604          dpmax_c
605          dpmax_
606          dpmin_c
607          dpmin_
608          frinfo_c
609          frmnam_c
610          getfat_c
611          intmax_c
612          intmax_
613          intmin_c
614          intmin_
615          invert_c
616          namfrm_c
617          vrotv_c
618          vsclg_c
619 
620 
621    -CSPICE Version 7.0.0, 02-APR-1998 (EDW)
622 
623       Added prototypes for
624 
625          mequg_c
626          unormg_g
627          vdistg_c
628          vdotg_c
629          vequg_c
630          vnormg_c
631 
632    -CSPICE Version 6.0.0, 31-MAR-1998 (NJB)
633 
634       Added prototypes for
635 
636          ekaclc_c
637          ekacld_c
638          ekacli_c
639          ekcls_c
640          ekffld_c
641          ekfind_c
642          ekgc_c
643          ekgd_c
644          ekgi_c
645          ekifld_c
646          eklef_c
647          ekopr_c
648          ekopn_c
649          ekuef_c
650 
651    -CSPICE Version 5.0.1, 05-MAR-1998 (EDW)
652 
653       Remove some non printing characters.
654 
655    -CSPICE Version 5.0.0, 03-MAR-1998 (NJB)
656 
657       Added prototypes for
658 
659          etcal_c
660          ltime_c
661          stelab_c
662          tpictr_c
663          twovec_c
664          vsubg_c
665 
666    -CSPICE Version 4.0.0, 11-FEB-1998 (EDW)
667 
668       Added prototypes for
669 
670          timdef_c
671          tsetyr_c
672 
673 
674    -CSPICE Version 3.0.0, 02-FEB-1998 (NJB)
675 
676       Added prototypes for
677 
678          pckuof_c
679          tipbod_c
680 
681       Type SpiceVoid was replaced with void.
682 
683    -CSPICE Version 2.0.0, 06-JAN-1998 (NJB)
684 
685       Changed all input-only character pointers to type ConstSpiceChar.
686 
687    -CSPICE Version 1.0.0, 25-OCT-1997 (NJB) (KRG) (EDW)
688 
689 -Index_Entries
690 
691    prototypes of CSPICE functions
692 
693 */
694 
695 /*
696 Include Files:
697 */
698 
699 #ifndef HAVE_SPICEDEFS_H
700 #include "SpiceZdf.h"
701 #endif
702 
703 #ifndef HAVE_SPICE_CELLS_H
704 #include "SpiceCel.h"
705 #endif
706 
707 #ifndef HAVE_SPICE_DLA_H
708 #include "SpiceDLA.h"
709 #endif
710 
711 #ifndef HAVE_SPICE_DSK_H
712 #include "SpiceDSK.h"
713 #endif
714 
715 #ifndef HAVE_SPICE_EK_H
716 #include "SpiceEK.h"
717 #endif
718 
719 #ifndef HAVE_SPICE_PLANES_H
720 #include "SpicePln.h"
721 #endif
722 
723 #ifndef HAVE_SPICE_ELLIPSES_H
724 #include "SpiceEll.h"
725 #endif
726 
727 #ifndef HAVE_SPICE_OSC_H
728 #include "SpiceOsc.h"
729 #endif
730 
731 #ifndef HAVE_SPICE_SPK_H
732 #include "SpiceSPK.h"
733 #endif
734 
735 #ifndef HAVE_SPICEWRAPPERS_H
736 #define HAVE_SPICEWRAPPERS_H
737 
738 #include <keplerian_toolbox/detail/visibility.hpp>
739 
740 /*
741    Function prototypes for CSPICE functions are listed below.
742    Each prototype is accompanied by a function abstract and brief I/O
743    description.
744 
745    See the headers of the C wrappers for detailed descriptions of the
746    routines' interfaces.
747 
748    The list below should be maintained in alphabetical order.
749 */
750 
751 void appndc_c(ConstSpiceChar *item, SpiceCell *cell);
752 
753 void appndd_c(SpiceDouble item, SpiceCell *cell);
754 
755 void appndi_c(SpiceInt item, SpiceCell *cell);
756 
757 void axisar_c(ConstSpiceDouble axis[3], SpiceDouble angle, SpiceDouble r[3][3]);
758 
759 SpiceBoolean badkpv_c(ConstSpiceChar *caller, ConstSpiceChar *name, ConstSpiceChar *comp, SpiceInt size, SpiceInt divby,
760                       SpiceChar type);
761 
762 void bltfrm_c(SpiceInt frmcls, SpiceCell *idset);
763 
764 void bodc2n_c(SpiceInt code, SpiceInt namelen, SpiceChar *name, SpiceBoolean *found);
765 
766 void bodc2s_c(SpiceInt code, SpiceInt lenout, SpiceChar *name);
767 
768 void boddef_c(ConstSpiceChar *name, SpiceInt code);
769 
770 SpiceBoolean bodfnd_c(SpiceInt body, ConstSpiceChar *item);
771 
772 void bodn2c_c(ConstSpiceChar *name, SpiceInt *code, SpiceBoolean *found);
773 
774 void bods2c_c(ConstSpiceChar *name, SpiceInt *code, SpiceBoolean *found);
775 
776 void bodvar_c(SpiceInt body, ConstSpiceChar *item, SpiceInt *dim, SpiceDouble *values);
777 
778 void bodvcd_c(SpiceInt body, ConstSpiceChar *item, SpiceInt maxn, SpiceInt *dim, SpiceDouble *values);
779 
780 KEP_TOOLBOX_DLL_PUBLIC void bodvrd_c(ConstSpiceChar *body, ConstSpiceChar *item, SpiceInt maxn, SpiceInt *dim, SpiceDouble *values);
781 
782 SpiceDouble brcktd_c(SpiceDouble number, SpiceDouble end1, SpiceDouble end2);
783 
784 SpiceInt brckti_c(SpiceInt number, SpiceInt end1, SpiceInt end2);
785 
786 SpiceInt bschoc_c(ConstSpiceChar *value, SpiceInt ndim, SpiceInt lenvals, const void *array, ConstSpiceInt *order);
787 
788 SpiceInt bschoi_c(SpiceInt value, SpiceInt ndim, ConstSpiceInt *array, ConstSpiceInt *order);
789 
790 SpiceInt bsrchc_c(ConstSpiceChar *value, SpiceInt ndim, SpiceInt lenvals, const void *array);
791 
792 SpiceInt bsrchd_c(SpiceDouble value, SpiceInt ndim, ConstSpiceDouble *array);
793 
794 SpiceInt bsrchi_c(SpiceInt value, SpiceInt ndim, ConstSpiceInt *array);
795 
796 SpiceDouble b1900_c(void);
797 
798 SpiceDouble b1950_c(void);
799 
800 SpiceInt card_c(SpiceCell *cell);
801 
802 void ccifrm_c(SpiceInt frclss, SpiceInt clssid, SpiceInt lenout, SpiceInt *frcode, SpiceChar *frname, SpiceInt *center,
803               SpiceBoolean *found);
804 
805 void cgv2el_c(ConstSpiceDouble center[3], ConstSpiceDouble vec1[3], ConstSpiceDouble vec2[3], SpiceEllipse *ellipse);
806 
807 void chbder_c(ConstSpiceDouble *cp, SpiceInt degp, SpiceDouble x2s[2], SpiceDouble x, SpiceInt nderiv,
808               SpiceDouble *partdp, SpiceDouble *dpdxs);
809 
810 void chkin_c(ConstSpiceChar *module);
811 
812 void chkout_c(ConstSpiceChar *module);
813 
814 void cidfrm_c(SpiceInt cent, SpiceInt lenout, SpiceInt *frcode, SpiceChar *frname, SpiceBoolean *found);
815 
816 void ckcls_c(SpiceInt handle);
817 
818 void ckcov_c(ConstSpiceChar *ck, SpiceInt idcode, SpiceBoolean needav, ConstSpiceChar *level, SpiceDouble tol,
819              ConstSpiceChar *timsys, SpiceCell *cover);
820 
821 void ckobj_c(ConstSpiceChar *ck, SpiceCell *ids);
822 
823 void ckgp_c(SpiceInt inst, SpiceDouble sclkdp, SpiceDouble tol, ConstSpiceChar *ref, SpiceDouble cmat[3][3],
824             SpiceDouble *clkout, SpiceBoolean *found);
825 
826 void ckgpav_c(SpiceInt inst, SpiceDouble sclkdp, SpiceDouble tol, ConstSpiceChar *ref, SpiceDouble cmat[3][3],
827               SpiceDouble av[3], SpiceDouble *clkout, SpiceBoolean *found);
828 
829 void cklpf_c(ConstSpiceChar *fname, SpiceInt *handle);
830 
831 void ckopn_c(ConstSpiceChar *name, ConstSpiceChar *ifname, SpiceInt ncomch, SpiceInt *handle);
832 
833 void ckupf_c(SpiceInt handle);
834 
835 void ckw01_c(SpiceInt handle, SpiceDouble begtime, SpiceDouble endtime, SpiceInt inst, ConstSpiceChar *ref,
836              SpiceBoolean avflag, ConstSpiceChar *segid, SpiceInt nrec, ConstSpiceDouble sclkdp[],
837              ConstSpiceDouble quats[][4], ConstSpiceDouble avvs[][3]);
838 
839 void ckw02_c(SpiceInt handle, SpiceDouble begtim, SpiceDouble endtim, SpiceInt inst, ConstSpiceChar *ref,
840              ConstSpiceChar *segid, SpiceInt nrec, ConstSpiceDouble start[], ConstSpiceDouble stop[],
841              ConstSpiceDouble quats[][4], ConstSpiceDouble avvs[][3], ConstSpiceDouble rates[]);
842 
843 void ckw03_c(SpiceInt handle, SpiceDouble begtim, SpiceDouble endtim, SpiceInt inst, ConstSpiceChar *ref,
844              SpiceBoolean avflag, ConstSpiceChar *segid, SpiceInt nrec, ConstSpiceDouble sclkdp[],
845              ConstSpiceDouble quats[][4], ConstSpiceDouble avvs[][3], SpiceInt nints, ConstSpiceDouble starts[]);
846 
847 void ckw05_c(SpiceInt handle, SpiceCK05Subtype subtyp, SpiceInt degree, SpiceDouble begtim, SpiceDouble endtim,
848              SpiceInt inst, ConstSpiceChar *ref, SpiceBoolean avflag, ConstSpiceChar *segid, SpiceInt n,
849              ConstSpiceDouble sclkdp[], const void *packets, SpiceDouble rate, SpiceInt nints,
850              ConstSpiceDouble starts[]);
851 
852 void cleard_c(SpiceInt ndim, SpiceDouble *array);
853 
854 SpiceDouble clight_c(void);
855 
856 void clpool_c(void);
857 
858 void cmprss_c(SpiceChar delim, SpiceInt n, ConstSpiceChar *input, SpiceInt lenout, SpiceChar *output);
859 
860 void cnmfrm_c(ConstSpiceChar *cname, SpiceInt lenout, SpiceInt *frcode, SpiceChar *frname, SpiceBoolean *found);
861 
862 void conics_c(ConstSpiceDouble elts[8], SpiceDouble et, SpiceDouble state[6]);
863 
864 void convrt_c(SpiceDouble x, ConstSpiceChar *in, ConstSpiceChar *out, SpiceDouble *y);
865 
866 void copy_c(SpiceCell *a, SpiceCell *b);
867 
868 SpiceInt cpos_c(ConstSpiceChar *str, ConstSpiceChar *chars, SpiceInt start);
869 
870 SpiceInt cposr_c(ConstSpiceChar *str, ConstSpiceChar *chars, SpiceInt start);
871 
872 void cvpool_c(ConstSpiceChar *agent, SpiceBoolean *update);
873 
874 void cyllat_c(SpiceDouble r, SpiceDouble lonc, SpiceDouble z, SpiceDouble *radius, SpiceDouble *lon, SpiceDouble *lat);
875 
876 void cylrec_c(SpiceDouble r, SpiceDouble lon, SpiceDouble z, SpiceDouble rectan[3]);
877 
878 void cylsph_c(SpiceDouble r, SpiceDouble lonc, SpiceDouble z, SpiceDouble *radius, SpiceDouble *colat,
879               SpiceDouble *lon);
880 
881 void dafac_c(SpiceInt handle, SpiceInt n, SpiceInt lenvals, const void *buffer);
882 
883 void dafbbs_c(SpiceInt handle);
884 
885 void dafbfs_c(SpiceInt handle);
886 
887 void dafcls_c(SpiceInt handle);
888 
889 void dafcs_c(SpiceInt handle);
890 
891 void dafdc_c(SpiceInt handle);
892 
893 void dafec_c(SpiceInt handle, SpiceInt bufsiz, SpiceInt lenout, SpiceInt *n, void *buffer, SpiceBoolean *done);
894 
895 void daffna_c(SpiceBoolean *found);
896 
897 void daffpa_c(SpiceBoolean *found);
898 
899 void dafgda_c(SpiceInt handle, SpiceInt begin, SpiceInt end, SpiceDouble *data);
900 
901 void dafgh_c(SpiceInt *handle);
902 
903 void dafgn_c(SpiceInt lenout, SpiceChar *name);
904 
905 void dafgs_c(SpiceDouble sum[]);
906 
907 void dafgsr_c(SpiceInt handle, SpiceInt recno, SpiceInt begin, SpiceInt end, SpiceDouble *data, SpiceBoolean *found);
908 
909 void dafopr_c(ConstSpiceChar *fname, SpiceInt *handle);
910 
911 void dafopw_c(ConstSpiceChar *fname, SpiceInt *handle);
912 
913 void dafps_c(SpiceInt nd, SpiceInt ni, ConstSpiceDouble dc[], ConstSpiceInt ic[], SpiceDouble sum[]);
914 
915 void dafrda_c(SpiceInt handle, SpiceInt begin, SpiceInt end, SpiceDouble *data);
916 
917 void dafrfr_c(SpiceInt handle, SpiceInt lenout, SpiceInt *nd, SpiceInt *ni, SpiceChar *ifname, SpiceInt *fward,
918               SpiceInt *bward, SpiceInt *free);
919 
920 void dafrs_c(ConstSpiceDouble *sum);
921 
922 void dafus_c(ConstSpiceDouble sum[], SpiceInt nd, SpiceInt ni, SpiceDouble dc[], SpiceInt ic[]);
923 
924 void dasac_c(SpiceInt handle, SpiceInt n, SpiceInt buflen, const void *buffer);
925 
926 void dascls_c(SpiceInt handle);
927 
928 void dasdc_c(SpiceInt handle);
929 
930 void dasec_c(SpiceInt handle, SpiceInt bufsiz, SpiceInt buflen, SpiceInt *n, void *buffer, SpiceBoolean *done);
931 
932 void dashfn_c(SpiceInt handle, SpiceInt namlen, SpiceChar *fname);
933 
934 void dasopr_c(ConstSpiceChar *fname, SpiceInt *handle);
935 
936 void dasopw_c(ConstSpiceChar *fname, SpiceInt *handle);
937 
938 void dasrfr_c(SpiceInt handle, SpiceInt idwlen, SpiceInt ifnlen, SpiceChar *idword, SpiceChar *ifname, SpiceInt *nresvr,
939               SpiceInt *nresvc, SpiceInt *ncomr, SpiceInt *ncomc);
940 
941 void dcyldr_c(SpiceDouble x, SpiceDouble y, SpiceDouble z, SpiceDouble jacobi[3][3]);
942 
943 void deltet_c(SpiceDouble epoch, ConstSpiceChar *eptype, SpiceDouble *delta);
944 
945 SpiceDouble det_c(ConstSpiceDouble m1[3][3]);
946 
947 void diags2_c(ConstSpiceDouble symmat[2][2], SpiceDouble diag[2][2], SpiceDouble rotate[2][2]);
948 
949 void diff_c(SpiceCell *a, SpiceCell *b, SpiceCell *c);
950 
951 void dgeodr_c(SpiceDouble x, SpiceDouble y, SpiceDouble z, SpiceDouble re, SpiceDouble f, SpiceDouble jacobi[3][3]);
952 
953 void dlabbs_c(SpiceInt handle, SpiceDLADescr *descr, SpiceBoolean *found);
954 
955 void dlabfs_c(SpiceInt handle, SpiceDLADescr *descr, SpiceBoolean *found);
956 
957 void dlafns_c(SpiceInt handle, ConstSpiceDLADescr *descr, SpiceDLADescr *nxtdsc, SpiceBoolean *found);
958 
959 void dlafps_c(SpiceInt handle, ConstSpiceDLADescr *descr, SpiceDLADescr *prvdsc, SpiceBoolean *found);
960 
961 void dlatdr_c(SpiceDouble x, SpiceDouble y, SpiceDouble z, SpiceDouble jacobi[3][3]);
962 
963 void dp2hx_c(SpiceDouble number, SpiceInt lenout, SpiceChar *string, SpiceInt *length);
964 
965 void dpgrdr_c(ConstSpiceChar *body, SpiceDouble x, SpiceDouble y, SpiceDouble z, SpiceDouble re, SpiceDouble f,
966               SpiceDouble jacobi[3][3]);
967 
968 SpiceDouble dpmax_c(void);
969 
970 SpiceDouble dpmax_(void);
971 
972 SpiceDouble dpmin_c(void);
973 
974 SpiceDouble dpmin_(void);
975 
976 SpiceDouble dpr_c(void);
977 
978 void drdcyl_c(SpiceDouble r, SpiceDouble lon, SpiceDouble z, SpiceDouble jacobi[3][3]);
979 
980 void drdgeo_c(SpiceDouble lon, SpiceDouble lat, SpiceDouble alt, SpiceDouble re, SpiceDouble f,
981               SpiceDouble jacobi[3][3]);
982 
983 void drdlat_c(SpiceDouble r, SpiceDouble lon, SpiceDouble lat, SpiceDouble jacobi[3][3]);
984 
985 void drdpgr_c(ConstSpiceChar *body, SpiceDouble lon, SpiceDouble lat, SpiceDouble alt, SpiceDouble re, SpiceDouble f,
986               SpiceDouble jacobi[3][3]);
987 
988 void drdsph_c(SpiceDouble r, SpiceDouble colat, SpiceDouble lon, SpiceDouble jacobi[3][3]);
989 
990 void dskb02_c(SpiceInt handle, ConstSpiceDLADescr *dladsc, SpiceInt *nv, SpiceInt *np, SpiceInt *nvxtot,
991               SpiceDouble vtxbds[3][2], SpiceDouble *voxsiz, SpiceDouble voxori[3], SpiceInt vgrext[3],
992               SpiceInt *cgscal, SpiceInt *vtxnpl, SpiceInt *voxnpt, SpiceInt *voxnpl);
993 
994 void dskcls_c(SpiceInt handle, SpiceBoolean optmiz);
995 
996 void dskd02_c(SpiceInt handle, ConstSpiceDLADescr *dladsc, SpiceInt item, SpiceInt start, SpiceInt room, SpiceInt *n,
997               SpiceDouble *values);
998 
999 void dskgd_c(SpiceInt handle, ConstSpiceDLADescr *dladsc, SpiceDSKDescr *dskdsc);
1000 
1001 void dskgtl_c(SpiceInt keywrd, SpiceDouble *dpval);
1002 
1003 void dski02_c(SpiceInt handle, ConstSpiceDLADescr *dladsc, SpiceInt item, SpiceInt start, SpiceInt room, SpiceInt *n,
1004               SpiceInt *values);
1005 
1006 void dskobj_c(ConstSpiceChar *dsk, SpiceCell *bodids);
1007 
1008 void dskopn_c(ConstSpiceChar *fname, ConstSpiceChar *ifname, SpiceInt ncomch, SpiceInt *handle);
1009 
1010 void dskn02_c(SpiceInt handle, ConstSpiceDLADescr *dladsc, SpiceInt plid, SpiceDouble normal[3]);
1011 
1012 void dskmi2_c(SpiceInt nv, ConstSpiceDouble vrtces[][3], SpiceInt np, ConstSpiceInt plates[][3], SpiceDouble finscl,
1013               SpiceInt corscl, SpiceInt worksz, SpiceInt voxpsz, SpiceInt voxlsz, SpiceBoolean makvtl, SpiceInt spxisz,
1014               SpiceInt work[][2], SpiceDouble spaixd[], SpiceInt spaixi[]);
1015 
1016 void dskp02_c(SpiceInt handle, ConstSpiceDLADescr *dladsc, SpiceInt start, SpiceInt room, SpiceInt *n,
1017               SpiceInt plates[][3]);
1018 
1019 void dskrb2_c(SpiceInt nv, ConstSpiceDouble vrtces[][3], SpiceInt np, ConstSpiceInt plates[][3], SpiceInt corsys,
1020               ConstSpiceDouble corpar[], SpiceDouble *mncor3, SpiceDouble *mxcor3);
1021 
1022 void dsksrf_c(ConstSpiceChar *dsk, SpiceInt bodyid, SpiceCell *srfids);
1023 
1024 void dskstl_c(SpiceInt keywrd, SpiceDouble dpval);
1025 
1026 void dskv02_c(SpiceInt handle, ConstSpiceDLADescr *dladsc, SpiceInt start, SpiceInt room, SpiceInt *n,
1027               SpiceDouble vrtces[][3]);
1028 
1029 void dskw02_c(SpiceInt handle, SpiceInt center, SpiceInt surfce, SpiceInt dclass, ConstSpiceChar *frame,
1030               SpiceInt corsys, ConstSpiceDouble corpar[], SpiceDouble mncor1, SpiceDouble mxcor1, SpiceDouble mncor2,
1031               SpiceDouble mxcor2, SpiceDouble mncor3, SpiceDouble mxcor3, SpiceDouble first, SpiceDouble last,
1032               SpiceInt nv, ConstSpiceDouble vrtces[][3], SpiceInt np, ConstSpiceInt plates[][3],
1033               ConstSpiceDouble spaixd[], ConstSpiceInt spaixi[]);
1034 
1035 void dskx02_c(SpiceInt handle, ConstSpiceDLADescr *dladsc, ConstSpiceDouble vertex[3], ConstSpiceDouble raydir[3],
1036               SpiceInt *plid, SpiceDouble xpt[3], SpiceBoolean *found);
1037 
1038 void dskxsi_c(SpiceBoolean pri, ConstSpiceChar *target, SpiceInt nsurf, ConstSpiceInt srflst[], SpiceDouble et,
1039               ConstSpiceChar *fixref, ConstSpiceDouble vertex[3], ConstSpiceDouble raydir[3], SpiceInt maxd,
1040               SpiceInt maxi, SpiceDouble xpt[3], SpiceInt *handle, SpiceDLADescr *dladsc, SpiceDSKDescr *dskdsc,
1041               SpiceDouble dc[], SpiceInt ic[], SpiceBoolean *found);
1042 
1043 void dskxv_c(SpiceBoolean pri, ConstSpiceChar *target, SpiceInt nsurf, ConstSpiceInt srflst[], SpiceDouble et,
1044              ConstSpiceChar *fixref, SpiceInt nrays, ConstSpiceDouble vtxarr[][3], ConstSpiceDouble dirarr[][3],
1045              SpiceDouble xptarr[][3], SpiceBoolean fndarr[]);
1046 
1047 void dskz02_c(SpiceInt handle, ConstSpiceDLADescr *dladsc, SpiceInt *nv, SpiceInt *np);
1048 
1049 void dsphdr_c(SpiceDouble x, SpiceDouble y, SpiceDouble z, SpiceDouble jacobi[3][3]);
1050 
1051 void dtpool_c(ConstSpiceChar *name, SpiceBoolean *found, SpiceInt *n, SpiceChar type[1]);
1052 
1053 void ducrss_c(ConstSpiceDouble s1[6], ConstSpiceDouble s2[6], SpiceDouble sout[6]);
1054 
1055 void dvcrss_c(ConstSpiceDouble s1[6], ConstSpiceDouble s2[6], SpiceDouble sout[6]);
1056 
1057 SpiceDouble dvdot_c(ConstSpiceDouble s1[6], ConstSpiceDouble s2[6]);
1058 
1059 void dvhat_c(ConstSpiceDouble s1[6], SpiceDouble sout[6]);
1060 
1061 SpiceDouble dvnorm_c(ConstSpiceDouble state[6]);
1062 
1063 void dvpool_c(ConstSpiceChar *name);
1064 
1065 SpiceDouble dvsep_c(ConstSpiceDouble *s1, ConstSpiceDouble *s2);
1066 
1067 void edlimb_c(SpiceDouble a, SpiceDouble b, SpiceDouble c, ConstSpiceDouble viewpt[3], SpiceEllipse *limb);
1068 
1069 void edterm_c(ConstSpiceChar *trmtyp, ConstSpiceChar *source, ConstSpiceChar *target, SpiceDouble et,
1070               ConstSpiceChar *fixfrm, ConstSpiceChar *abcorr, ConstSpiceChar *obsrvr, SpiceInt npts,
1071               SpiceDouble *trgepc, SpiceDouble obspos[3], SpiceDouble termpts[][3]);
1072 
1073 void ekacec_c(SpiceInt handle, SpiceInt segno, SpiceInt recno, ConstSpiceChar *column, SpiceInt nvals, SpiceInt vallen,
1074               const void *cvals, SpiceBoolean isnull);
1075 
1076 void ekaced_c(SpiceInt handle, SpiceInt segno, SpiceInt recno, ConstSpiceChar *column, SpiceInt nvals,
1077               ConstSpiceDouble *dvals, SpiceBoolean isnull);
1078 
1079 void ekacei_c(SpiceInt handle, SpiceInt segno, SpiceInt recno, ConstSpiceChar *column, SpiceInt nvals,
1080               ConstSpiceInt *ivals, SpiceBoolean isnull);
1081 
1082 void ekaclc_c(SpiceInt handle, SpiceInt segno, ConstSpiceChar *column, SpiceInt vallen, const void *cvals,
1083               ConstSpiceInt *entszs, ConstSpiceBoolean *nlflgs, ConstSpiceInt *rcptrs, SpiceInt *wkindx);
1084 
1085 void ekacld_c(SpiceInt handle, SpiceInt segno, ConstSpiceChar *column, ConstSpiceDouble *dvals, ConstSpiceInt *entszs,
1086               ConstSpiceBoolean *nlflgs, ConstSpiceInt *rcptrs, SpiceInt *wkindx);
1087 
1088 void ekacli_c(SpiceInt handle, SpiceInt segno, ConstSpiceChar *column, ConstSpiceInt *ivals, ConstSpiceInt *entszs,
1089               ConstSpiceBoolean *nlflgs, ConstSpiceInt *rcptrs, SpiceInt *wkindx);
1090 
1091 void ekappr_c(SpiceInt handle, SpiceInt segno, SpiceInt *recno);
1092 
1093 void ekbseg_c(SpiceInt handle, ConstSpiceChar *tabnam, SpiceInt ncols, SpiceInt cnmlen, const void *cnames,
1094               SpiceInt declen, const void *decls, SpiceInt *segno);
1095 
1096 void ekccnt_c(ConstSpiceChar *table, SpiceInt *ccount);
1097 
1098 void ekcii_c(ConstSpiceChar *table, SpiceInt cindex, SpiceInt lenout, SpiceChar *column, SpiceEKAttDsc *attdsc);
1099 
1100 void ekcls_c(SpiceInt handle);
1101 
1102 void ekdelr_c(SpiceInt handle, SpiceInt segno, SpiceInt recno);
1103 
1104 void ekffld_c(SpiceInt handle, SpiceInt segno, SpiceInt *rcptrs);
1105 
1106 void ekfind_c(ConstSpiceChar *query, SpiceInt lenout, SpiceInt *nmrows, SpiceBoolean *error, SpiceChar *errmsg);
1107 
1108 void ekgc_c(SpiceInt selidx, SpiceInt row, SpiceInt elment, SpiceInt lenout, SpiceChar *cdata, SpiceBoolean *null,
1109             SpiceBoolean *found);
1110 
1111 void ekgd_c(SpiceInt selidx, SpiceInt row, SpiceInt elment, SpiceDouble *ddata, SpiceBoolean *null,
1112             SpiceBoolean *found);
1113 
1114 void ekgi_c(SpiceInt selidx, SpiceInt row, SpiceInt elment, SpiceInt *idata, SpiceBoolean *null, SpiceBoolean *found);
1115 
1116 void ekifld_c(SpiceInt handle, ConstSpiceChar *tabnam, SpiceInt ncols, SpiceInt nrows, SpiceInt cnmlen,
1117               const void *cnames, SpiceInt declen, const void *decls, SpiceInt *segno, SpiceInt *rcptrs);
1118 
1119 void ekinsr_c(SpiceInt handle, SpiceInt segno, SpiceInt recno);
1120 
1121 void eklef_c(ConstSpiceChar *fname, SpiceInt *handle);
1122 
1123 SpiceInt eknelt_c(SpiceInt selidx, SpiceInt row);
1124 
1125 SpiceInt eknseg_c(SpiceInt handle);
1126 
1127 void ekntab_c(SpiceInt *n);
1128 
1129 void ekopn_c(ConstSpiceChar *fname, ConstSpiceChar *ifname, SpiceInt ncomch, SpiceInt *handle);
1130 
1131 void ekopr_c(ConstSpiceChar *fname, SpiceInt *handle);
1132 
1133 void ekops_c(SpiceInt *handle);
1134 
1135 void ekopw_c(ConstSpiceChar *fname, SpiceInt *handle);
1136 
1137 void ekpsel_c(ConstSpiceChar *query, SpiceInt msglen, SpiceInt tablen, SpiceInt collen, SpiceInt *n, SpiceInt *xbegs,
1138               SpiceInt *xends, SpiceEKDataType *xtypes, SpiceEKExprClass *xclass, void *tabs, void *cols,
1139               SpiceBoolean *error, SpiceChar *errmsg);
1140 
1141 void ekrcec_c(SpiceInt handle, SpiceInt segno, SpiceInt recno, ConstSpiceChar *column, SpiceInt lenout, SpiceInt *nvals,
1142               void *cvals, SpiceBoolean *isnull);
1143 
1144 void ekrced_c(SpiceInt handle, SpiceInt segno, SpiceInt recno, ConstSpiceChar *column, SpiceInt *nvals,
1145               SpiceDouble *dvals, SpiceBoolean *isnull);
1146 
1147 void ekrcei_c(SpiceInt handle, SpiceInt segno, SpiceInt recno, ConstSpiceChar *column, SpiceInt *nvals, SpiceInt *ivals,
1148               SpiceBoolean *isnull);
1149 
1150 void ekssum_c(SpiceInt handle, SpiceInt segno, SpiceEKSegSum *segsum);
1151 
1152 void ektnam_c(SpiceInt n, SpiceInt lenout, SpiceChar *table);
1153 
1154 void ekucec_c(SpiceInt handle, SpiceInt segno, SpiceInt recno, ConstSpiceChar *column, SpiceInt nvals, SpiceInt vallen,
1155               const void *cvals, SpiceBoolean isnull);
1156 
1157 void ekuced_c(SpiceInt handle, SpiceInt segno, SpiceInt recno, ConstSpiceChar *column, SpiceInt nvals,
1158               ConstSpiceDouble *dvals, SpiceBoolean isnull);
1159 
1160 void ekucei_c(SpiceInt handle, SpiceInt segno, SpiceInt recno, ConstSpiceChar *column, SpiceInt nvals,
1161               ConstSpiceInt *ivals, SpiceBoolean isnull);
1162 
1163 void ekuef_c(SpiceInt handle);
1164 
1165 SpiceBoolean elemc_c(ConstSpiceChar *item, SpiceCell *set);
1166 
1167 SpiceBoolean elemd_c(SpiceDouble item, SpiceCell *set);
1168 
1169 SpiceBoolean elemi_c(SpiceInt item, SpiceCell *set);
1170 
1171 void eqncpv_c(SpiceDouble et, SpiceDouble epoch, ConstSpiceDouble eqel[9], SpiceDouble rapol, SpiceDouble decpol,
1172               SpiceDouble state[6]);
1173 
1174 SpiceBoolean eqstr_c(ConstSpiceChar *a, ConstSpiceChar *b);
1175 
1176 void el2cgv_c(ConstSpiceEllipse *ellipse, SpiceDouble center[3], SpiceDouble smajor[3], SpiceDouble sminor[3]);
1177 
1178 KEP_TOOLBOX_DLL_PUBLIC void erract_c(ConstSpiceChar *operation, SpiceInt lenout, SpiceChar *action);
1179 
1180 void errch_c(ConstSpiceChar *marker, ConstSpiceChar *string);
1181 
1182 void errdev_c(ConstSpiceChar *operation, SpiceInt lenout, SpiceChar *device);
1183 
1184 void errdp_c(ConstSpiceChar *marker, SpiceDouble number);
1185 
1186 void errint_c(ConstSpiceChar *marker, SpiceInt number);
1187 
1188 void errprt_c(ConstSpiceChar *operation, SpiceInt lenout, SpiceChar *list);
1189 
1190 SpiceInt esrchc_c(ConstSpiceChar *value, SpiceInt ndim, SpiceInt lenvals, const void *array);
1191 
1192 void etcal_c(SpiceDouble et, SpiceInt lenout, SpiceChar *string);
1193 
1194 void et2lst_c(SpiceDouble et, SpiceInt body, SpiceDouble lon, ConstSpiceChar *type, SpiceInt timlen, SpiceInt ampmlen,
1195               SpiceInt *hr, SpiceInt *mn, SpiceInt *sc, SpiceChar *time, SpiceChar *ampm);
1196 
1197 void et2utc_c(SpiceDouble et, ConstSpiceChar *format, SpiceInt prec, SpiceInt lenout, SpiceChar *utcstr);
1198 
1199 void eul2m_c(SpiceDouble angle3, SpiceDouble angle2, SpiceDouble angle1, SpiceInt axis3, SpiceInt axis2, SpiceInt axis1,
1200              SpiceDouble r[3][3]);
1201 
1202 void eul2xf_c(ConstSpiceDouble eulang[6], SpiceInt axisa, SpiceInt axisb, SpiceInt axisc, SpiceDouble xform[6][6]);
1203 
1204 SpiceBoolean exists_c(ConstSpiceChar *name);
1205 
1206 void expool_c(ConstSpiceChar *name, SpiceBoolean *found);
1207 
1208 KEP_TOOLBOX_DLL_PUBLIC SpiceBoolean failed_c(void);
1209 
1210 void fovray_c(ConstSpiceChar *inst, ConstSpiceDouble raydir[3], ConstSpiceChar *rframe, ConstSpiceChar *abcorr,
1211               ConstSpiceChar *obsrvr, SpiceDouble *et, SpiceBoolean *visible);
1212 
1213 void fovtrg_c(ConstSpiceChar *inst, ConstSpiceChar *target, ConstSpiceChar *tshape, ConstSpiceChar *tframe,
1214               ConstSpiceChar *abcorr, ConstSpiceChar *obsrvr, SpiceDouble *et, SpiceBoolean *visible);
1215 
1216 void frame_c(SpiceDouble x[3], SpiceDouble y[3], SpiceDouble z[3]);
1217 
1218 void frinfo_c(SpiceInt frcode, SpiceInt *cent, SpiceInt *clss, SpiceInt *clssid, SpiceBoolean *found);
1219 
1220 void frmnam_c(SpiceInt frcode, SpiceInt lenout, SpiceChar *frname);
1221 
1222 void ftncls_c(SpiceInt unit);
1223 
1224 void furnsh_c(ConstSpiceChar *file);
1225 
1226 void gcpool_c(ConstSpiceChar *name, SpiceInt start, SpiceInt room, SpiceInt lenout, SpiceInt *n, void *cvals,
1227               SpiceBoolean *found);
1228 
1229 void gdpool_c(ConstSpiceChar *name, SpiceInt start, SpiceInt room, SpiceInt *n, SpiceDouble *values,
1230               SpiceBoolean *found);
1231 
1232 void georec_c(SpiceDouble lon, SpiceDouble lat, SpiceDouble alt, SpiceDouble re, SpiceDouble f, SpiceDouble rectan[3]);
1233 
1234 void getcml_c(SpiceInt *argc, SpiceChar ***argv);
1235 
1236 void getelm_c(SpiceInt frstyr, SpiceInt lineln, const void *lines, SpiceDouble *epoch, SpiceDouble *elems);
1237 
1238 void getfat_c(ConstSpiceChar *file, SpiceInt arclen, SpiceInt typlen, SpiceChar *arch, SpiceChar *type);
1239 
1240 void getfov_c(SpiceInt instid, SpiceInt room, SpiceInt shapelen, SpiceInt framelen, SpiceChar *shape, SpiceChar *frame,
1241               SpiceDouble bsight[3], SpiceInt *n, SpiceDouble bounds[][3]);
1242 
1243 void getmsg_c(ConstSpiceChar *option, SpiceInt lenout, SpiceChar *msg);
1244 
1245 SpiceBoolean gfbail_c(void);
1246 
1247 void gfclrh_c(void);
1248 
1249 void gfdist_c(ConstSpiceChar *target, ConstSpiceChar *abcorr, ConstSpiceChar *obsrvr, ConstSpiceChar *relate,
1250               SpiceDouble refval, SpiceDouble adjust, SpiceDouble step, SpiceInt nintvls, SpiceCell *cnfine,
1251               SpiceCell *result);
1252 
1253 void gfevnt_c(void (*udstep)(SpiceDouble et, SpiceDouble *step),
1254 
1255               void (*udrefn)(SpiceDouble t1, SpiceDouble t2, SpiceBoolean s1, SpiceBoolean s2, SpiceDouble *t),
1256               ConstSpiceChar *gquant, SpiceInt qnpars, SpiceInt lenvals, const void *qpnams, const void *qcpars,
1257               ConstSpiceDouble *qdpars, ConstSpiceInt *qipars, ConstSpiceBoolean *qlpars, ConstSpiceChar *op,
1258               SpiceDouble refval, SpiceDouble tol, SpiceDouble adjust, SpiceBoolean rpt,
1259 
1260               void (*udrepi)(SpiceCell *cnfine, ConstSpiceChar *srcpre, ConstSpiceChar *srcsuf),
1261 
1262               void (*udrepu)(SpiceDouble ivbeg, SpiceDouble ivend, SpiceDouble et),
1263 
1264               void (*udrepf)(void), SpiceInt nintvls, SpiceBoolean bail, SpiceBoolean (*udbail)(void),
1265               SpiceCell *cnfine, SpiceCell *result);
1266 
1267 void gffove_c(ConstSpiceChar *inst, ConstSpiceChar *tshape, ConstSpiceDouble raydir[3], ConstSpiceChar *target,
1268               ConstSpiceChar *tframe, ConstSpiceChar *abcorr, ConstSpiceChar *obsrvr, SpiceDouble tol,
1269               void (*udstep)(SpiceDouble et, SpiceDouble *step),
1270               void (*udrefn)(SpiceDouble t1, SpiceDouble t2, SpiceBoolean s1, SpiceBoolean s2, SpiceDouble *t),
1271               SpiceBoolean rpt, void (*udrepi)(SpiceCell *cnfine, ConstSpiceChar *srcpre, ConstSpiceChar *srcsuf),
1272               void (*udrepu)(SpiceDouble ivbeg, SpiceDouble ivend, SpiceDouble et), void (*udrepf)(void),
1273               SpiceBoolean bail, SpiceBoolean (*udbail)(void), SpiceCell *cnfine, SpiceCell *result);
1274 
1275 void gfilum_c(ConstSpiceChar *method, ConstSpiceChar *angtyp, ConstSpiceChar *target, ConstSpiceChar *illum,
1276               ConstSpiceChar *fixref, ConstSpiceChar *abcorr, ConstSpiceChar *obsrvr, ConstSpiceDouble spoint[3],
1277               ConstSpiceChar *relate, SpiceDouble refval, SpiceDouble adjust, SpiceDouble step, SpiceInt nintvls,
1278               SpiceCell *cnfine, SpiceCell *result);
1279 
1280 void gfinth_c(int sigcode);
1281 
1282 void gfocce_c(ConstSpiceChar *occtyp, ConstSpiceChar *front, ConstSpiceChar *fshape, ConstSpiceChar *fframe,
1283               ConstSpiceChar *back, ConstSpiceChar *bshape, ConstSpiceChar *bframe, ConstSpiceChar *obsrvr,
1284               ConstSpiceChar *abcorr, SpiceDouble tol, void (*udstep)(SpiceDouble et, SpiceDouble *step),
1285               void (*udrefn)(SpiceDouble t1, SpiceDouble t2, SpiceBoolean s1, SpiceBoolean s2, SpiceDouble *t),
1286               SpiceBoolean rpt, void (*udrepi)(SpiceCell *cnfine, ConstSpiceChar *srcpre, ConstSpiceChar *srcsuf),
1287               void (*udrepu)(SpiceDouble ivbeg, SpiceDouble ivend, SpiceDouble et), void (*udrepf)(void),
1288               SpiceBoolean bail, SpiceBoolean (*udbail)(void), SpiceCell *cnfine, SpiceCell *result);
1289 
1290 void gfoclt_c(ConstSpiceChar *occtyp, ConstSpiceChar *front, ConstSpiceChar *fshape, ConstSpiceChar *fframe,
1291               ConstSpiceChar *back, ConstSpiceChar *bshape, ConstSpiceChar *bframe, ConstSpiceChar *obsrvr,
1292               ConstSpiceChar *abcorr, SpiceDouble step, SpiceCell *cnfine, SpiceCell *result);
1293 
1294 void gfpa_c(ConstSpiceChar *target, ConstSpiceChar *illum, ConstSpiceChar *abcorr, ConstSpiceChar *obsrvr,
1295             ConstSpiceChar *relate, SpiceDouble refval, SpiceDouble adjust, SpiceDouble step, SpiceInt nintvls,
1296             SpiceCell *cnfine, SpiceCell *result);
1297 
1298 void gfposc_c(ConstSpiceChar *target, ConstSpiceChar *frame, ConstSpiceChar *abcorr, ConstSpiceChar *obsrvr,
1299               ConstSpiceChar *crdsys, ConstSpiceChar *coord, ConstSpiceChar *relate, SpiceDouble refval,
1300               SpiceDouble adjust, SpiceDouble step, SpiceInt nintvls, SpiceCell *cnfine, SpiceCell *result);
1301 
1302 void gfrefn_c(SpiceDouble t1, SpiceDouble t2, SpiceBoolean s1, SpiceBoolean s2, SpiceDouble *t);
1303 
1304 void gfrepf_c(void);
1305 
1306 void gfrepi_c(SpiceCell *window, ConstSpiceChar *begmss, ConstSpiceChar *endmss);
1307 
1308 void gfrepu_c(SpiceDouble ivbeg, SpiceDouble ivend, SpiceDouble time);
1309 
1310 void gfrfov_c(ConstSpiceChar *inst, ConstSpiceDouble raydir[3], ConstSpiceChar *rframe, ConstSpiceChar *abcorr,
1311               ConstSpiceChar *obsrvr, SpiceDouble step, SpiceCell *cnfine, SpiceCell *result);
1312 
1313 void gfrr_c(ConstSpiceChar *target, ConstSpiceChar *abcorr, ConstSpiceChar *obsrvr, ConstSpiceChar *relate,
1314             SpiceDouble refval, SpiceDouble adjust, SpiceDouble step, SpiceInt nintvls, SpiceCell *cnfine,
1315             SpiceCell *result);
1316 
1317 void gfsep_c(ConstSpiceChar *targ1, ConstSpiceChar *shape1, ConstSpiceChar *frame1, ConstSpiceChar *targ2,
1318              ConstSpiceChar *shape2, ConstSpiceChar *frame2, ConstSpiceChar *abcorr, ConstSpiceChar *obsrvr,
1319              ConstSpiceChar *relate, SpiceDouble refval, SpiceDouble adjust, SpiceDouble step, SpiceInt nintvls,
1320              SpiceCell *cnfine, SpiceCell *result);
1321 
1322 void gfsntc_c(ConstSpiceChar *target, ConstSpiceChar *fixref, ConstSpiceChar *method, ConstSpiceChar *abcorr,
1323               ConstSpiceChar *obsrvr, ConstSpiceChar *dref, ConstSpiceDouble dvec[3], ConstSpiceChar *crdsys,
1324               ConstSpiceChar *coord, ConstSpiceChar *relate, SpiceDouble refval, SpiceDouble adjust, SpiceDouble step,
1325               SpiceInt nintvls, SpiceCell *cnfine, SpiceCell *result);
1326 
1327 void gfsstp_c(SpiceDouble step);
1328 
1329 void gfstep_c(SpiceDouble time, SpiceDouble *step);
1330 
1331 void gfstol_c(SpiceDouble value);
1332 
1333 void gfsubc_c(ConstSpiceChar *target, ConstSpiceChar *fixref, ConstSpiceChar *method, ConstSpiceChar *abcorr,
1334               ConstSpiceChar *obsrvr, ConstSpiceChar *crdsys, ConstSpiceChar *coord, ConstSpiceChar *relate,
1335               SpiceDouble refval, SpiceDouble adjust, SpiceDouble step, SpiceInt nintvls, SpiceCell *cnfine,
1336               SpiceCell *result);
1337 
1338 void gftfov_c(ConstSpiceChar *inst, ConstSpiceChar *target, ConstSpiceChar *tshape, ConstSpiceChar *tframe,
1339               ConstSpiceChar *abcorr, ConstSpiceChar *obsrvr, SpiceDouble step, SpiceCell *cnfine, SpiceCell *result);
1340 
1341 void gfudb_c(void (*udfuns)(SpiceDouble et, SpiceDouble *value),
1342 
1343              void (*udfunb)(void (*udfuns)(SpiceDouble et, SpiceDouble *value),
1344 
1345                             SpiceDouble et, SpiceBoolean *xbool),
1346 
1347              SpiceDouble step, SpiceCell *cnfine, SpiceCell *result);
1348 
1349 void gfuds_c(void (*udfuns)(SpiceDouble et, SpiceDouble *value),
1350 
1351              void (*udfunb)(void (*udfuns)(SpiceDouble et, SpiceDouble *value),
1352 
1353                             SpiceDouble x, SpiceBoolean *xbool),
1354 
1355              ConstSpiceChar *relate, SpiceDouble refval, SpiceDouble adjust, SpiceDouble step, SpiceInt nintvls,
1356              SpiceCell *cnfine, SpiceCell *result);
1357 
1358 void gipool_c(ConstSpiceChar *name, SpiceInt start, SpiceInt room, SpiceInt *n, SpiceInt *ivals, SpiceBoolean *found);
1359 
1360 void gnpool_c(ConstSpiceChar *name, SpiceInt start, SpiceInt room, SpiceInt lenout, SpiceInt *n, void *kvars,
1361               SpiceBoolean *found);
1362 
1363 void hrmint_c(SpiceInt n, ConstSpiceDouble *xvals, ConstSpiceDouble *yvals, SpiceDouble x, SpiceDouble *work,
1364               SpiceDouble *f, SpiceDouble *df);
1365 
1366 SpiceDouble halfpi_c(void);
1367 
1368 void hx2dp_c(ConstSpiceChar *string, SpiceInt lenout, SpiceDouble *number, SpiceBoolean *error, SpiceChar *errmsg);
1369 
1370 void ident_c(SpiceDouble matrix[3][3]);
1371 
1372 void ilumin_c(ConstSpiceChar *method, ConstSpiceChar *target, SpiceDouble et, ConstSpiceChar *fixref,
1373               ConstSpiceChar *abcorr, ConstSpiceChar *obsrvr, ConstSpiceDouble spoint[3], SpiceDouble *trgepc,
1374               SpiceDouble srfvec[3], SpiceDouble *phase, SpiceDouble *solar, SpiceDouble *emissn);
1375 
1376 void illum_c(ConstSpiceChar *target, SpiceDouble et, ConstSpiceChar *abcorr, ConstSpiceChar *obsrvr,
1377              ConstSpiceDouble spoint[3], SpiceDouble *phase, SpiceDouble *solar, SpiceDouble *emissn);
1378 
1379 void illum_pl02(SpiceInt handle, ConstSpiceDLADescr *dladsc, ConstSpiceChar *target, SpiceDouble et,
1380                 ConstSpiceChar *abcorr, ConstSpiceChar *obsrvr, SpiceDouble spoint[3], SpiceDouble *phase,
1381                 SpiceDouble *solar, SpiceDouble *emissn);
1382 
1383 void illum_plid_pl02(SpiceInt handle, ConstSpiceDLADescr *dladsc, ConstSpiceChar *target, SpiceDouble et,
1384                      ConstSpiceChar *abcorr, ConstSpiceChar *obsrvr, SpiceDouble spoint[3], SpiceInt plid,
1385                      SpiceDouble *trgepc, SpiceDouble srfvec[3], SpiceDouble *phase, SpiceDouble *solar,
1386                      SpiceDouble *emissn, SpiceBoolean *visible, SpiceBoolean *lit);
1387 
1388 void illumf_c(ConstSpiceChar *method, ConstSpiceChar *target, ConstSpiceChar *ilusrc, SpiceDouble et,
1389               ConstSpiceChar *fixref, ConstSpiceChar *abcorr, ConstSpiceChar *obsrvr, ConstSpiceDouble spoint[3],
1390               SpiceDouble *trgepc, SpiceDouble srfvec[3], SpiceDouble *phase, SpiceDouble *incdnc, SpiceDouble *emissn,
1391               SpiceBoolean *visibl, SpiceBoolean *lit);
1392 
1393 void illumg_c(ConstSpiceChar *method, ConstSpiceChar *target, ConstSpiceChar *illum, SpiceDouble et,
1394               ConstSpiceChar *fixref, ConstSpiceChar *abcorr, ConstSpiceChar *obsrvr, ConstSpiceDouble spoint[3],
1395               SpiceDouble *trgepc, SpiceDouble srfvec[3], SpiceDouble *phase, SpiceDouble *solar, SpiceDouble *emissn);
1396 
1397 void inedpl_c(SpiceDouble a, SpiceDouble b, SpiceDouble c, ConstSpicePlane *plane, SpiceEllipse *ellipse,
1398               SpiceBoolean *found);
1399 
1400 void inelpl_c(ConstSpiceEllipse *ellips, ConstSpicePlane *plane, SpiceInt *nxpts, SpiceDouble xpt1[3],
1401               SpiceDouble xpt2[3]);
1402 
1403 void insrtc_c(ConstSpiceChar *item, SpiceCell *set);
1404 
1405 void insrtd_c(SpiceDouble item, SpiceCell *set);
1406 
1407 void insrti_c(SpiceInt item, SpiceCell *set);
1408 
1409 void inter_c(SpiceCell *a, SpiceCell *b, SpiceCell *c);
1410 
1411 void inrypl_c(ConstSpiceDouble vertex[3], ConstSpiceDouble dir[3], ConstSpicePlane *plane, SpiceInt *nxpts,
1412               SpiceDouble xpt[3]);
1413 
1414 SpiceInt intmax_c(void);
1415 
1416 SpiceInt intmax_(void);
1417 
1418 SpiceInt intmin_c(void);
1419 
1420 SpiceInt intmin_(void);
1421 
1422 void invert_c(ConstSpiceDouble m1[3][3], SpiceDouble m2[3][3]);
1423 
1424 void invort_c(ConstSpiceDouble m[3][3], SpiceDouble mit[3][3]);
1425 
1426 SpiceBoolean isordv_c(ConstSpiceInt *array, SpiceInt n);
1427 
1428 SpiceBoolean isrot_c(ConstSpiceDouble m[3][3], SpiceDouble ntol, SpiceDouble dtol);
1429 
1430 SpiceInt isrchc_c(ConstSpiceChar *value, SpiceInt ndim, SpiceInt lenvals, const void *array);
1431 
1432 SpiceInt isrchd_c(SpiceDouble value, SpiceInt ndim, ConstSpiceDouble *array);
1433 
1434 SpiceInt isrchi_c(SpiceInt value, SpiceInt ndim, ConstSpiceInt *array);
1435 
1436 SpiceBoolean iswhsp_c(ConstSpiceChar *string);
1437 
1438 SpiceDouble j1900_c(void);
1439 
1440 SpiceDouble j1950_c(void);
1441 
1442 SpiceDouble j2000_c(void);
1443 
1444 SpiceDouble j2100_c(void);
1445 
1446 SpiceDouble jyear_c(void);
1447 
1448 void kclear_c(void);
1449 
1450 void kdata_c(SpiceInt which, ConstSpiceChar *kind, SpiceInt fillen, SpiceInt typlen, SpiceInt srclen, SpiceChar *file,
1451              SpiceChar *filtyp, SpiceChar *source, SpiceInt *handle, SpiceBoolean *found);
1452 
1453 void kinfo_c(ConstSpiceChar *file, SpiceInt typlen, SpiceInt srclen, SpiceChar *filtyp, SpiceChar *source,
1454              SpiceInt *handle, SpiceBoolean *found);
1455 
1456 void kplfrm_c(SpiceInt frmcls, SpiceCell *idset);
1457 
1458 void ktotal_c(ConstSpiceChar *kind, SpiceInt *count);
1459 
1460 void kxtrct_c(ConstSpiceChar *keywd, SpiceInt termlen, const void *terms, SpiceInt nterms, SpiceInt stringlen,
1461               SpiceInt substrlen, SpiceChar *string, SpiceBoolean *found, SpiceChar *substr);
1462 
1463 SpiceInt lastnb_c(ConstSpiceChar *string);
1464 
1465 void latcyl_c(SpiceDouble radius, SpiceDouble lon, SpiceDouble lat, SpiceDouble *r, SpiceDouble *lonc, SpiceDouble *z);
1466 
1467 void latrec_c(SpiceDouble radius, SpiceDouble longitude, SpiceDouble latitude, SpiceDouble rectan[3]);
1468 
1469 void latsph_c(SpiceDouble radius, SpiceDouble lon, SpiceDouble lat, SpiceDouble *rho, SpiceDouble *colat,
1470               SpiceDouble *lons);
1471 
1472 void latsrf_c(ConstSpiceChar *method, ConstSpiceChar *target, SpiceDouble et, ConstSpiceChar *fixref, SpiceInt npts,
1473               ConstSpiceDouble lonlat[][2], SpiceDouble srfpts[][3]);
1474 
1475 void lcase_c(SpiceChar *in, SpiceInt lenout, SpiceChar *out);
1476 
1477 void ldpool_c(ConstSpiceChar *filename);
1478 
1479 void lgrind_c(SpiceInt n, ConstSpiceDouble *xvals, ConstSpiceDouble *yvals, SpiceDouble *work, SpiceDouble x,
1480               SpiceDouble *p, SpiceDouble *dp);
1481 
1482 void limb_pl02(SpiceInt handle, ConstSpiceDLADescr *dladsc, ConstSpiceChar *target, SpiceDouble et,
1483                ConstSpiceChar *fixref, ConstSpiceChar *abcorr, ConstSpiceChar *obsrvr, SpiceInt npoints,
1484                SpiceDouble *trgepc, SpiceDouble obspos[3], SpiceDouble limbpts[][3], SpiceInt plateIDs[]);
1485 
1486 void limbpt_c(ConstSpiceChar *method, ConstSpiceChar *target, SpiceDouble et, ConstSpiceChar *fixref,
1487               ConstSpiceChar *abcorr, ConstSpiceChar *corloc, ConstSpiceChar *obsrvr, ConstSpiceDouble refvec[3],
1488               SpiceDouble rolstp, SpiceInt ncuts, SpiceDouble schstp, SpiceDouble soltol, SpiceInt maxn,
1489               SpiceInt npts[], SpiceDouble points[][3], SpiceDouble epochs[], SpiceDouble tangts[][3]);
1490 
1491 void llgrid_pl02(SpiceInt handle, ConstSpiceDLADescr *dladsc, SpiceInt npoints, ConstSpiceDouble grid[][2],
1492                  SpiceDouble spoints[][3], SpiceInt plateIDs[]);
1493 
1494 void lmpool_c(const void *cvals, SpiceInt lenvals, SpiceInt n);
1495 
1496 void lparse_c(ConstSpiceChar *list, ConstSpiceChar *delim, SpiceInt nmax, SpiceInt lenout, SpiceInt *n, void *items);
1497 
1498 void lparsm_c(ConstSpiceChar *list, ConstSpiceChar *delims, SpiceInt nmax, SpiceInt lenout, SpiceInt *n, void *items);
1499 
1500 void lparss_c(ConstSpiceChar *list, ConstSpiceChar *delims, SpiceCell *set);
1501 
1502 SpiceDouble lspcn_c(ConstSpiceChar *body, SpiceDouble et, ConstSpiceChar *abcorr);
1503 
1504 SpiceInt lstlec_c(ConstSpiceChar *string, SpiceInt n, SpiceInt lenvals, const void *array);
1505 
1506 SpiceInt lstled_c(SpiceDouble x, SpiceInt n, ConstSpiceDouble *array);
1507 
1508 SpiceInt lstlei_c(SpiceInt x, SpiceInt n, ConstSpiceInt *array);
1509 
1510 SpiceInt lstltc_c(ConstSpiceChar *string, SpiceInt n, SpiceInt lenvals, const void *array);
1511 
1512 SpiceInt lstltd_c(SpiceDouble x, SpiceInt n, ConstSpiceDouble *array);
1513 
1514 SpiceInt lstlti_c(SpiceInt x, SpiceInt n, ConstSpiceInt *array);
1515 
1516 void ltime_c(SpiceDouble etobs, SpiceInt obs, ConstSpiceChar *dir, SpiceInt targ, SpiceDouble *ettarg,
1517              SpiceDouble *elapsd);
1518 
1519 void lx4dec_c(ConstSpiceChar *string, SpiceInt first, SpiceInt *last, SpiceInt *nchar);
1520 
1521 void lx4num_c(ConstSpiceChar *string, SpiceInt first, SpiceInt *last, SpiceInt *nchar);
1522 
1523 void lx4sgn_c(ConstSpiceChar *string, SpiceInt first, SpiceInt *last, SpiceInt *nchar);
1524 
1525 void lx4uns_c(ConstSpiceChar *string, SpiceInt first, SpiceInt *last, SpiceInt *nchar);
1526 
1527 void lxqstr_c(ConstSpiceChar *string, SpiceChar qchar, SpiceInt first, SpiceInt *last, SpiceInt *nchar);
1528 
1529 void m2eul_c(ConstSpiceDouble r[3][3], SpiceInt axis3, SpiceInt axis2, SpiceInt axis1, SpiceDouble *angle3,
1530              SpiceDouble *angle2, SpiceDouble *angle1);
1531 
1532 void m2q_c(ConstSpiceDouble r[3][3], SpiceDouble q[4]);
1533 
1534 SpiceBoolean matchi_c(ConstSpiceChar *string, ConstSpiceChar *templ, SpiceChar wstr, SpiceChar wchr);
1535 
1536 SpiceBoolean matchw_c(ConstSpiceChar *string, ConstSpiceChar *templ, SpiceChar wstr, SpiceChar wchr);
1537 
1538 SpiceDouble maxd_c(SpiceInt n, ...);
1539 
1540 SpiceInt maxi_c(SpiceInt n, ...);
1541 
1542 void mequ_c(ConstSpiceDouble m1[3][3], SpiceDouble mout[3][3]);
1543 
1544 void mequg_c(const void *m1, SpiceInt nr, SpiceInt nc, void *mout);
1545 
1546 SpiceDouble mind_c(SpiceInt n, ...);
1547 
1548 SpiceInt mini_c(SpiceInt n, ...);
1549 
1550 int moved_(SpiceDouble *arrfrm, SpiceInt *ndim, SpiceDouble *arrto);
1551 
1552 void mtxm_c(ConstSpiceDouble m1[3][3], ConstSpiceDouble m2[3][3], SpiceDouble mout[3][3]);
1553 
1554 void mtxmg_c(const void *m1, const void *m2, SpiceInt row1, SpiceInt col1, SpiceInt col2, void *mout);
1555 
1556 void mtxv_c(ConstSpiceDouble m1[3][3], ConstSpiceDouble vin[3], SpiceDouble vout[3]);
1557 
1558 void mtxvg_c(const void *m1, const void *v2, SpiceInt ncol1, SpiceInt nr1r2, void *vout);
1559 
1560 void mxm_c(ConstSpiceDouble m1[3][3], ConstSpiceDouble m2[3][3], SpiceDouble mout[3][3]);
1561 
1562 void mxmg_c(const void *m1, const void *m2, SpiceInt row1, SpiceInt col1, SpiceInt col2, void *mout);
1563 
1564 void mxmt_c(ConstSpiceDouble m1[3][3], ConstSpiceDouble m2[3][3], SpiceDouble mout[3][3]);
1565 
1566 void mxmtg_c(const void *m1, const void *m2, SpiceInt nrow1, SpiceInt nc1c2, SpiceInt nrow2, void *mout);
1567 
1568 void mxv_c(ConstSpiceDouble m1[3][3], ConstSpiceDouble vin[3], SpiceDouble vout[3]);
1569 
1570 void mxvg_c(const void *m1, const void *v2, SpiceInt nrow1, SpiceInt nc1r2, void *vout);
1571 
1572 void namfrm_c(ConstSpiceChar *frname, SpiceInt *frcode);
1573 
1574 SpiceInt ncpos_c(ConstSpiceChar *str, ConstSpiceChar *chars, SpiceInt start);
1575 
1576 SpiceInt ncposr_c(ConstSpiceChar *str, ConstSpiceChar *chars, SpiceInt start);
1577 
1578 void nearpt_c(ConstSpiceDouble positn[3], SpiceDouble a, SpiceDouble b, SpiceDouble c, SpiceDouble npoint[3],
1579               SpiceDouble *alt);
1580 
1581 void npedln_c(SpiceDouble a, SpiceDouble b, SpiceDouble c, ConstSpiceDouble linept[3], ConstSpiceDouble linedr[3],
1582               SpiceDouble pnear[3], SpiceDouble *dist);
1583 
1584 void npelpt_c(ConstSpiceDouble point[3], ConstSpiceEllipse *ellips, SpiceDouble pnear[3], SpiceDouble *dist);
1585 
1586 void nplnpt_c(ConstSpiceDouble linpt[3], ConstSpiceDouble lindir[3], ConstSpiceDouble point[3], SpiceDouble pnear[3],
1587               SpiceDouble *dist);
1588 
1589 void nvc2pl_c(ConstSpiceDouble normal[3], SpiceDouble constant, SpicePlane *plane);
1590 
1591 void nvp2pl_c(ConstSpiceDouble normal[3], ConstSpiceDouble point[3], SpicePlane *plane);
1592 
1593 void occult_c(ConstSpiceChar *target1, ConstSpiceChar *shape1, ConstSpiceChar *frame1, ConstSpiceChar *target2,
1594               ConstSpiceChar *shape2, ConstSpiceChar *frame2, ConstSpiceChar *abcorr, ConstSpiceChar *observer,
1595               SpiceDouble time, SpiceInt *occult_code);
1596 
1597 SpiceInt ordc_c(ConstSpiceChar *item, SpiceCell *set);
1598 
1599 SpiceInt ordd_c(SpiceDouble item, SpiceCell *set);
1600 
1601 SpiceInt ordi_c(SpiceInt item, SpiceCell *set);
1602 
1603 void orderc_c(SpiceInt lenvals, const void *array, SpiceInt ndim, SpiceInt *iorder);
1604 
1605 void orderd_c(ConstSpiceDouble *array, SpiceInt ndim, SpiceInt *iorder);
1606 
1607 void orderi_c(ConstSpiceInt *array, SpiceInt ndim, SpiceInt *iorder);
1608 
1609 void oscelt_c(ConstSpiceDouble state[6], SpiceDouble et, SpiceDouble mu, SpiceDouble elts[8]);
1610 
1611 void oscltx_c(ConstSpiceDouble state[6], SpiceDouble et, SpiceDouble mu, SpiceDouble elts[SPICE_OSCLTX_NELTS]);
1612 
1613 void pckcls_c(SpiceInt handle);
1614 
1615 void pckcov_c(ConstSpiceChar *pck, SpiceInt idcode, SpiceCell *cover);
1616 
1617 void pckfrm_c(ConstSpiceChar *pck, SpiceCell *ids);
1618 
1619 void pcklof_c(ConstSpiceChar *fname, SpiceInt *handle);
1620 
1621 void pckopn_c(ConstSpiceChar *name, ConstSpiceChar *ifname, SpiceInt ncomch, SpiceInt *handle);
1622 
1623 void pckuof_c(SpiceInt handle);
1624 
1625 void pckw02_c(SpiceInt handle, SpiceInt clssid, ConstSpiceChar *frame, SpiceDouble first, SpiceDouble last,
1626               ConstSpiceChar *segid, SpiceDouble intlen, SpiceInt n, SpiceInt polydg, SpiceDouble cdata[],
1627               SpiceDouble btime);
1628 
1629 void pcpool_c(ConstSpiceChar *name, SpiceInt n, SpiceInt lenvals, const void *cvals);
1630 
1631 void pdpool_c(ConstSpiceChar *name, SpiceInt n, ConstSpiceDouble *dvals);
1632 
1633 void pgrrec_c(ConstSpiceChar *body, SpiceDouble lon, SpiceDouble lat, SpiceDouble alt, SpiceDouble re, SpiceDouble f,
1634               SpiceDouble rectan[3]);
1635 
1636 SpiceDouble phaseq_c(SpiceDouble et, ConstSpiceChar *target, ConstSpiceChar *illumn, ConstSpiceChar *obsrvr,
1637                      ConstSpiceChar *abcorr);
1638 
1639 SpiceDouble pi_c(void);
1640 
1641 void pipool_c(ConstSpiceChar *name, SpiceInt n, ConstSpiceInt *ivals);
1642 
1643 void pjelpl_c(ConstSpiceEllipse *elin, ConstSpicePlane *plane, SpiceEllipse *elout);
1644 
1645 void pl2nvc_c(ConstSpicePlane *plane, SpiceDouble normal[3], SpiceDouble *constant);
1646 
1647 void pl2nvp_c(ConstSpicePlane *plane, SpiceDouble normal[3], SpiceDouble point[3]);
1648 
1649 void pl2psv_c(ConstSpicePlane *plane, SpiceDouble point[3], SpiceDouble span1[3], SpiceDouble span2[3]);
1650 
1651 SpiceDouble pltar_c(SpiceInt nv, ConstSpiceDouble vrtces[][3], SpiceInt np, ConstSpiceInt plates[][3]);
1652 
1653 void pltexp_c(ConstSpiceDouble iverts[3][3], SpiceDouble delta, SpiceDouble overts[3][3]);
1654 
1655 void pltnp_c(ConstSpiceDouble point[3], ConstSpiceDouble v1[3], ConstSpiceDouble v2[3], ConstSpiceDouble v3[3],
1656              SpiceDouble pnear[3], SpiceDouble *dist);
1657 
1658 void pltnrm_c(ConstSpiceDouble v1[3], ConstSpiceDouble v2[3], ConstSpiceDouble v3[3], SpiceDouble normal[3]);
1659 
1660 SpiceDouble pltvol_c(SpiceInt nv, ConstSpiceDouble vrtces[][3], SpiceInt np, ConstSpiceInt plates[][3]);
1661 
1662 void polyds_c(ConstSpiceDouble *coeffs, SpiceInt deg, SpiceInt nderiv, SpiceDouble t, SpiceDouble *p);
1663 
1664 SpiceInt pos_c(ConstSpiceChar *str, ConstSpiceChar *substr, SpiceInt start);
1665 
1666 SpiceInt posr_c(ConstSpiceChar *str, ConstSpiceChar *substr, SpiceInt start);
1667 
1668 void prefix_c(ConstSpiceChar *pref, SpiceInt spaces, SpiceInt lenout, SpiceChar *string);
1669 
1670 SpiceChar *prompt_c(ConstSpiceChar *prmptStr, SpiceInt lenout, SpiceChar *buffer);
1671 
1672 void prop2b_c(SpiceDouble gm, ConstSpiceDouble pvinit[6], SpiceDouble dt, SpiceDouble pvprop[6]);
1673 
1674 void prsdp_c(ConstSpiceChar *string, SpiceDouble *dpval);
1675 
1676 void prsint_c(ConstSpiceChar *string, SpiceInt *intval);
1677 
1678 void psv2pl_c(ConstSpiceDouble point[3], ConstSpiceDouble span1[3], ConstSpiceDouble span2[3], SpicePlane *plane);
1679 
1680 void putcml_c(SpiceInt argc, SpiceChar **argv);
1681 
1682 void pxform_c(ConstSpiceChar *from, ConstSpiceChar *to, SpiceDouble et, SpiceDouble rotate[3][3]);
1683 
1684 void pxfrm2_c(ConstSpiceChar *from, ConstSpiceChar *to, SpiceDouble etfrom, SpiceDouble etto, SpiceDouble rotate[3][3]);
1685 
1686 void q2m_c(ConstSpiceDouble q[4], SpiceDouble r[3][3]);
1687 
1688 void qcktrc_c(SpiceInt tracelen, SpiceChar *trace);
1689 
1690 void qdq2av_c(ConstSpiceDouble q[4], ConstSpiceDouble dq[4], SpiceDouble av[3]);
1691 
1692 void qxq_c(ConstSpiceDouble q1[4], ConstSpiceDouble q2[4], SpiceDouble qout[4]);
1693 
1694 void radrec_c(SpiceDouble range, SpiceDouble ra, SpiceDouble dec, SpiceDouble rectan[3]);
1695 
1696 void rav2xf_c(ConstSpiceDouble rot[3][3], ConstSpiceDouble av[3], SpiceDouble xform[6][6]);
1697 
1698 void raxisa_c(ConstSpiceDouble matrix[3][3], SpiceDouble axis[3], SpiceDouble *angle);
1699 
1700 void rdtext_c(ConstSpiceChar *file, SpiceInt lenout, SpiceChar *line, SpiceBoolean *eof);
1701 
1702 void reccyl_c(ConstSpiceDouble rectan[3], SpiceDouble *r, SpiceDouble *lon, SpiceDouble *z);
1703 
1704 void recgeo_c(ConstSpiceDouble rectan[3], SpiceDouble re, SpiceDouble f, SpiceDouble *lon, SpiceDouble *lat,
1705               SpiceDouble *alt);
1706 
1707 void reclat_c(ConstSpiceDouble rectan[3], SpiceDouble *radius, SpiceDouble *longitude, SpiceDouble *latitude);
1708 
1709 void recpgr_c(ConstSpiceChar *body, SpiceDouble rectan[3], SpiceDouble re, SpiceDouble f, SpiceDouble *lon,
1710               SpiceDouble *lat, SpiceDouble *alt);
1711 
1712 void recrad_c(ConstSpiceDouble rectan[3], SpiceDouble *radius, SpiceDouble *ra, SpiceDouble *dec);
1713 
1714 void reordc_c(ConstSpiceInt *iorder, SpiceInt ndim, SpiceInt lenvals, void *array);
1715 
1716 void reordd_c(ConstSpiceInt *iorder, SpiceInt ndim, SpiceDouble *array);
1717 
1718 void reordi_c(ConstSpiceInt *iorder, SpiceInt ndim, SpiceInt *array);
1719 
1720 void reordl_c(ConstSpiceInt *iorder, SpiceInt ndim, SpiceBoolean *array);
1721 
1722 void removc_c(ConstSpiceChar *item, SpiceCell *set);
1723 
1724 void removd_c(SpiceDouble item, SpiceCell *set);
1725 
1726 void removi_c(SpiceInt item, SpiceCell *set);
1727 
1728 void repmc_c(ConstSpiceChar *in, ConstSpiceChar *marker, ConstSpiceChar *value, SpiceInt lenout, SpiceChar *out);
1729 
1730 void repmct_c(ConstSpiceChar *in, ConstSpiceChar *marker, SpiceInt value, SpiceChar strCase, SpiceInt lenout,
1731               SpiceChar *out);
1732 
1733 void repmd_c(ConstSpiceChar *in, ConstSpiceChar *marker, SpiceDouble value, SpiceInt sigdig, SpiceInt lenout,
1734              SpiceChar *out);
1735 
1736 void repmf_c(ConstSpiceChar *in, ConstSpiceChar *marker, SpiceDouble value, SpiceInt sigdig, SpiceChar format,
1737              SpiceInt lenout, SpiceChar *out);
1738 
1739 void repmi_c(ConstSpiceChar *in, ConstSpiceChar *marker, SpiceInt value, SpiceInt lenout, SpiceChar *out);
1740 
1741 void repmot_c(ConstSpiceChar *in, ConstSpiceChar *marker, SpiceInt value, SpiceChar strCase, SpiceInt lenout,
1742               SpiceChar *out);
1743 
1744 void reset_c(void);
1745 
1746 SpiceBoolean return_c(void);
1747 
1748 void recsph_c(ConstSpiceDouble rectan[3], SpiceDouble *r, SpiceDouble *colat, SpiceDouble *lon);
1749 
1750 void rotate_c(SpiceDouble angle, SpiceInt iaxis, SpiceDouble mout[3][3]);
1751 
1752 void rotmat_c(ConstSpiceDouble m1[3][3], SpiceDouble angle, SpiceInt iaxis, SpiceDouble mout[3][3]);
1753 
1754 void rotvec_c(ConstSpiceDouble v1[3], SpiceDouble angle, SpiceInt iaxis, SpiceDouble vout[3]);
1755 
1756 SpiceDouble rpd_c(void);
1757 
1758 void rquad_c(SpiceDouble a, SpiceDouble b, SpiceDouble c, SpiceDouble root1[2], SpiceDouble root2[2]);
1759 
1760 void saelgv_c(ConstSpiceDouble vec1[3], ConstSpiceDouble vec2[3], SpiceDouble smajor[3], SpiceDouble sminor[3]);
1761 
1762 void scard_c(SpiceInt card, SpiceCell *cell);
1763 
1764 void scdecd_c(SpiceInt sc, SpiceDouble sclkdp, SpiceInt sclklen, SpiceChar *sclkch);
1765 
1766 void sce2s_c(SpiceInt sc, SpiceDouble et, SpiceInt sclklen, SpiceChar *sclkch);
1767 
1768 void sce2c_c(SpiceInt sc, SpiceDouble et, SpiceDouble *sclkdp);
1769 
1770 void sce2t_c(SpiceInt sc, SpiceDouble et, SpiceDouble *sclkdp);
1771 
1772 void scencd_c(SpiceInt sc, ConstSpiceChar *sclkch, SpiceDouble *sclkdp);
1773 
1774 void scfmt_c(SpiceInt sc, SpiceDouble ticks, SpiceInt clkstrlen, SpiceChar *clkstr);
1775 
1776 void scpart_c(SpiceInt sc, SpiceInt *nparts, SpiceDouble *pstart, SpiceDouble *pstop);
1777 
1778 void scs2e_c(SpiceInt sc, ConstSpiceChar *sclkch, SpiceDouble *et);
1779 
1780 void sct2e_c(SpiceInt sc, SpiceDouble sclkdp, SpiceDouble *et);
1781 
1782 void sctiks_c(SpiceInt sc, ConstSpiceChar *clkstr, SpiceDouble *ticks);
1783 
1784 void sdiff_c(SpiceCell *a, SpiceCell *b, SpiceCell *c);
1785 
1786 SpiceBoolean set_c(SpiceCell *a, ConstSpiceChar *op, SpiceCell *b);
1787 
1788 void setmsg_c(ConstSpiceChar *msg);
1789 
1790 void shellc_c(SpiceInt ndim, SpiceInt lenvals, void *array);
1791 
1792 void shelld_c(SpiceInt ndim, SpiceDouble *array);
1793 
1794 void shelli_c(SpiceInt ndim, SpiceInt *array);
1795 
1796 void sigerr_c(ConstSpiceChar *message);
1797 
1798 void sincpt_c(ConstSpiceChar *method, ConstSpiceChar *target, SpiceDouble et, ConstSpiceChar *fixref,
1799               ConstSpiceChar *abcorr, ConstSpiceChar *obsrvr, ConstSpiceChar *dref, ConstSpiceDouble dvec[3],
1800               SpiceDouble spoint[3], SpiceDouble *trgepc, SpiceDouble srfvec[3], SpiceBoolean *found);
1801 
1802 SpiceInt size_c(SpiceCell *size);
1803 
1804 SpiceDouble spd_c(void);
1805 
1806 void sphcyl_c(SpiceDouble radius, SpiceDouble colat, SpiceDouble slon, SpiceDouble *r, SpiceDouble *lon,
1807               SpiceDouble *z);
1808 
1809 void sphlat_c(SpiceDouble r, SpiceDouble colat, SpiceDouble lons, SpiceDouble *radius, SpiceDouble *lon,
1810               SpiceDouble *lat);
1811 
1812 void sphrec_c(SpiceDouble r, SpiceDouble colat, SpiceDouble lon, SpiceDouble rectan[3]);
1813 
1814 void spk14a_c(SpiceInt handle, SpiceInt ncsets, ConstSpiceDouble coeffs[], ConstSpiceDouble epochs[]);
1815 
1816 void spk14b_c(SpiceInt handle, ConstSpiceChar *segid, SpiceInt body, SpiceInt center, ConstSpiceChar *frame,
1817               SpiceDouble first, SpiceDouble last, SpiceInt chbdeg);
1818 
1819 void spk14e_c(SpiceInt handle);
1820 
1821 void spkapo_c(SpiceInt targ, SpiceDouble et, ConstSpiceChar *ref, ConstSpiceDouble sobs[6], ConstSpiceChar *abcorr,
1822               SpiceDouble ptarg[3], SpiceDouble *lt);
1823 
1824 void spkapp_c(SpiceInt targ, SpiceDouble et, ConstSpiceChar *ref, ConstSpiceDouble sobs[6], ConstSpiceChar *abcorr,
1825               SpiceDouble starg[6], SpiceDouble *lt);
1826 
1827 void spkacs_c(SpiceInt targ, SpiceDouble et, ConstSpiceChar *ref, ConstSpiceChar *abcorr, SpiceInt obs,
1828               SpiceDouble starg[6], SpiceDouble *lt, SpiceDouble *dlt);
1829 
1830 void spkaps_c(SpiceInt targ, SpiceDouble et, ConstSpiceChar *ref, ConstSpiceChar *abcorr, ConstSpiceDouble stobs[6],
1831               ConstSpiceDouble accobs[6], SpiceDouble starg[6], SpiceDouble *lt, SpiceDouble *dlt);
1832 
1833 void spkcls_c(SpiceInt handle);
1834 
1835 void spkcov_c(ConstSpiceChar *spk, SpiceInt idcode, SpiceCell *cover);
1836 
1837 void spkcpo_c(ConstSpiceChar *target, SpiceDouble et, ConstSpiceChar *outref, ConstSpiceChar *refloc,
1838               ConstSpiceChar *abcorr, ConstSpiceDouble obssta[3], ConstSpiceChar *obsctr, ConstSpiceChar *obsref,
1839               SpiceDouble state[6], SpiceDouble *lt);
1840 
1841 void spkcpt_c(ConstSpiceDouble trgpos[3], ConstSpiceChar *trgctr, ConstSpiceChar *trgref, SpiceDouble et,
1842               ConstSpiceChar *outref, ConstSpiceChar *refloc, ConstSpiceChar *abcorr, ConstSpiceChar *obsrvr,
1843               SpiceDouble state[6], SpiceDouble *lt);
1844 
1845 void spkcvo_c(ConstSpiceChar *target, SpiceDouble et, ConstSpiceChar *outref, ConstSpiceChar *refloc,
1846               ConstSpiceChar *abcorr, ConstSpiceDouble obssta[6], SpiceDouble obsepc, ConstSpiceChar *obsctr,
1847               ConstSpiceChar *obsref, SpiceDouble state[6], SpiceDouble *lt);
1848 
1849 void spkcvt_c(ConstSpiceDouble trgsta[6], SpiceDouble trgepc, ConstSpiceChar *trgctr, ConstSpiceChar *trgref,
1850               SpiceDouble et, ConstSpiceChar *outref, ConstSpiceChar *refloc, ConstSpiceChar *abcorr,
1851               ConstSpiceChar *obsrvr, SpiceDouble state[6], SpiceDouble *lt);
1852 
1853 void spkez_c(SpiceInt target, SpiceDouble epoch, ConstSpiceChar *frame, ConstSpiceChar *abcorr, SpiceInt observer,
1854              SpiceDouble state[6], SpiceDouble *lt);
1855 
1856 void spkezp_c(SpiceInt targ, SpiceDouble et, ConstSpiceChar *ref, ConstSpiceChar *abcorr, SpiceInt obs,
1857               SpiceDouble ptarg[3], SpiceDouble *lt);
1858 
1859 void spkezr_c(ConstSpiceChar *target, SpiceDouble epoch, ConstSpiceChar *frame, ConstSpiceChar *abcorr,
1860               ConstSpiceChar *observer, SpiceDouble state[6], SpiceDouble *lt);
1861 
1862 void spkgeo_c(SpiceInt targ, SpiceDouble et, ConstSpiceChar *ref, SpiceInt obs, SpiceDouble state[6], SpiceDouble *lt);
1863 
1864 void spkgps_c(SpiceInt targ, SpiceDouble et, ConstSpiceChar *ref, SpiceInt obs, SpiceDouble pos[3], SpiceDouble *lt);
1865 
1866 void spklef_c(ConstSpiceChar *filename, SpiceInt *handle);
1867 
1868 void spkltc_c(SpiceInt targ, SpiceDouble et, ConstSpiceChar *ref, ConstSpiceChar *abcorr, ConstSpiceDouble stobs[6],
1869               SpiceDouble starg[6], SpiceDouble *lt, SpiceDouble *dlt);
1870 
1871 void spkobj_c(ConstSpiceChar *spk, SpiceCell *ids);
1872 
1873 void spkopa_c(ConstSpiceChar *file, SpiceInt *handle);
1874 
1875 void spkopn_c(ConstSpiceChar *name, ConstSpiceChar *ifname, SpiceInt ncomch, SpiceInt *handle);
1876 
1877 void spkpds_c(SpiceInt body, SpiceInt center, ConstSpiceChar *frame, SpiceInt type, SpiceDouble first, SpiceDouble last,
1878               SpiceDouble descr[5]);
1879 
1880 void spkpos_c(ConstSpiceChar *targ, SpiceDouble et, ConstSpiceChar *ref, ConstSpiceChar *abcorr, ConstSpiceChar *obs,
1881               SpiceDouble ptarg[3], SpiceDouble *lt);
1882 
1883 void spkpvn_c(SpiceInt handle, ConstSpiceDouble descr[5], SpiceDouble et, SpiceInt *ref, SpiceDouble state[6],
1884               SpiceInt *center);
1885 
1886 void spksfs_c(SpiceInt body, SpiceDouble et, SpiceInt idlen, SpiceInt *handle, SpiceDouble descr[5], SpiceChar *ident,
1887               SpiceBoolean *found);
1888 
1889 void spkssb_c(SpiceInt targ, SpiceDouble et, ConstSpiceChar *ref, SpiceDouble starg[6]);
1890 
1891 void spksub_c(SpiceInt handle, SpiceDouble descr[5], ConstSpiceChar *ident, SpiceDouble begin, SpiceDouble end,
1892               SpiceInt newh);
1893 
1894 void spkuds_c(ConstSpiceDouble descr[5], SpiceInt *body, SpiceInt *center, SpiceInt *frame, SpiceInt *type,
1895               SpiceDouble *first, SpiceDouble *last, SpiceInt *begin, SpiceInt *end);
1896 
1897 void spkuef_c(SpiceInt handle);
1898 
1899 void spkw02_c(SpiceInt handle, SpiceInt body, SpiceInt center, ConstSpiceChar *frame, SpiceDouble first,
1900               SpiceDouble last, ConstSpiceChar *segid, SpiceDouble intlen, SpiceInt n, SpiceInt polydg,
1901               ConstSpiceDouble cdata[], SpiceDouble btime);
1902 
1903 void spkw03_c(SpiceInt handle, SpiceInt body, SpiceInt center, ConstSpiceChar *frame, SpiceDouble first,
1904               SpiceDouble last, ConstSpiceChar *segid, SpiceDouble intlen, SpiceInt n, SpiceInt polydg,
1905               ConstSpiceDouble cdata[], SpiceDouble btime);
1906 
1907 void spkw05_c(SpiceInt handle, SpiceInt body, SpiceInt center, ConstSpiceChar *frame, SpiceDouble first,
1908               SpiceDouble last, ConstSpiceChar *segid, SpiceDouble gm, SpiceInt n, ConstSpiceDouble states[][6],
1909               ConstSpiceDouble epochs[]);
1910 
1911 void spkw08_c(SpiceInt handle, SpiceInt body, SpiceInt center, ConstSpiceChar *frame, SpiceDouble first,
1912               SpiceDouble last, ConstSpiceChar *segid, SpiceInt degree, SpiceInt n, ConstSpiceDouble states[][6],
1913               SpiceDouble epoch1, SpiceDouble step);
1914 
1915 void spkw09_c(SpiceInt handle, SpiceInt body, SpiceInt center, ConstSpiceChar *frame, SpiceDouble first,
1916               SpiceDouble last, ConstSpiceChar *segid, SpiceInt degree, SpiceInt n, ConstSpiceDouble states[][6],
1917               ConstSpiceDouble epochs[]);
1918 
1919 void spkw10_c(SpiceInt handle, SpiceInt body, SpiceInt center, ConstSpiceChar *frame, SpiceDouble first,
1920               SpiceDouble last, ConstSpiceChar *segid, ConstSpiceDouble consts[8], SpiceInt n, ConstSpiceDouble elems[],
1921               ConstSpiceDouble epochs[]);
1922 
1923 void spkw12_c(SpiceInt handle, SpiceInt body, SpiceInt center, ConstSpiceChar *frame, SpiceDouble first,
1924               SpiceDouble last, ConstSpiceChar *segid, SpiceInt degree, SpiceInt n, ConstSpiceDouble states[][6],
1925               SpiceDouble epoch0, SpiceDouble step);
1926 
1927 void spkw13_c(SpiceInt handle, SpiceInt body, SpiceInt center, ConstSpiceChar *frame, SpiceDouble first,
1928               SpiceDouble last, ConstSpiceChar *segid, SpiceInt degree, SpiceInt n, ConstSpiceDouble states[][6],
1929               ConstSpiceDouble epochs[]);
1930 
1931 void spkw15_c(SpiceInt handle, SpiceInt body, SpiceInt center, ConstSpiceChar *frame, SpiceDouble first,
1932               SpiceDouble last, ConstSpiceChar *segid, SpiceDouble epoch, ConstSpiceDouble tp[3],
1933               ConstSpiceDouble pa[3], SpiceDouble p, SpiceDouble ecc, SpiceDouble j2flg, ConstSpiceDouble pv[3],
1934               SpiceDouble gm, SpiceDouble j2, SpiceDouble radius);
1935 
1936 void spkw17_c(SpiceInt handle, SpiceInt body, SpiceInt center, ConstSpiceChar *frame, SpiceDouble first,
1937               SpiceDouble last, ConstSpiceChar *segid, SpiceDouble epoch, ConstSpiceDouble eqel[9], SpiceDouble rapol,
1938               SpiceDouble decpol);
1939 
1940 void spkw18_c(SpiceInt handle, SpiceSPK18Subtype subtyp, SpiceInt body, SpiceInt center, ConstSpiceChar *frame,
1941               SpiceDouble first, SpiceDouble last, ConstSpiceChar *segid, SpiceInt degree, SpiceInt n,
1942               const void *packts, ConstSpiceDouble epochs[]);
1943 
1944 void spkw20_c(SpiceInt handle, SpiceInt body, SpiceInt center, ConstSpiceChar *frame, SpiceDouble first,
1945               SpiceDouble last, ConstSpiceChar *segid, SpiceDouble intlen, SpiceInt n, SpiceInt polydg,
1946               ConstSpiceDouble cdata[], SpiceDouble dscale, SpiceDouble tscale, SpiceDouble initjd, SpiceDouble initfr);
1947 
1948 void srfrec_c(SpiceInt body, SpiceDouble lon, SpiceDouble lat, SpiceDouble rectan[3]);
1949 
1950 void srfc2s_c(SpiceInt code, SpiceInt bodyid, SpiceInt srflen, SpiceChar *srfstr, SpiceBoolean *isname);
1951 
1952 void srfcss_c(SpiceInt code, ConstSpiceChar *bodstr, SpiceInt srflen, SpiceChar *srfstr, SpiceBoolean *isname);
1953 
1954 void srfnrm_c(ConstSpiceChar *method, ConstSpiceChar *target, SpiceDouble et, ConstSpiceChar *fixref, SpiceInt npts,
1955               ConstSpiceDouble srfpts[][3], SpiceDouble normls[][3]);
1956 
1957 void srfs2c_c(ConstSpiceChar *srfstr, ConstSpiceChar *bodstr, SpiceInt *code, SpiceBoolean *found);
1958 
1959 void srfscc_c(ConstSpiceChar *surfce, SpiceInt bodyid, SpiceInt *surfid, SpiceBoolean *found);
1960 
1961 void srfxpt_c(ConstSpiceChar *method, ConstSpiceChar *target, SpiceDouble et, ConstSpiceChar *abcorr,
1962               ConstSpiceChar *obsrvr, ConstSpiceChar *dref, ConstSpiceDouble dvec[3], SpiceDouble spoint[3],
1963               SpiceDouble *dist, SpiceDouble *trgepc, SpiceDouble obspos[3], SpiceBoolean *found);
1964 
1965 void ssize_c(SpiceInt size, SpiceCell *cell);
1966 
1967 void stelab_c(ConstSpiceDouble pobj[3], ConstSpiceDouble vobs[3], SpiceDouble appobj[3]);
1968 
1969 void stpool_c(ConstSpiceChar *item, SpiceInt nth, ConstSpiceChar *contin, SpiceInt lenout, SpiceChar *string,
1970               SpiceInt *size, SpiceBoolean *found);
1971 
1972 void str2et_c(ConstSpiceChar *date, SpiceDouble *et);
1973 
1974 void subpnt_c(ConstSpiceChar *method, ConstSpiceChar *target, SpiceDouble et, ConstSpiceChar *fixref,
1975               ConstSpiceChar *abcorr, ConstSpiceChar *obsrvr, SpiceDouble spoint[3], SpiceDouble *trgepc,
1976               SpiceDouble srfvec[3]);
1977 
1978 void subpt_c(ConstSpiceChar *method, ConstSpiceChar *target, SpiceDouble et, ConstSpiceChar *abcorr,
1979              ConstSpiceChar *obsrvr, SpiceDouble spoint[3], SpiceDouble *alt);
1980 
1981 void subpt_pl02(SpiceInt handle, ConstSpiceDLADescr *dladsc, ConstSpiceChar *method, ConstSpiceChar *target,
1982                 SpiceDouble et, ConstSpiceChar *abcorr, ConstSpiceChar *obsrvr, SpiceDouble spoint[3], SpiceDouble *alt,
1983                 SpiceInt *plateID);
1984 
1985 void subslr_c(ConstSpiceChar *method, ConstSpiceChar *target, SpiceDouble et, ConstSpiceChar *fixref,
1986               ConstSpiceChar *abcorr, ConstSpiceChar *obsrvr, SpiceDouble spoint[3], SpiceDouble *trgepc,
1987               SpiceDouble srfvec[3]);
1988 
1989 void subsol_c(ConstSpiceChar *method, ConstSpiceChar *target, SpiceDouble et, ConstSpiceChar *abcorr,
1990               ConstSpiceChar *obsrvr, SpiceDouble spoint[3]);
1991 
1992 void subsol_pl02(SpiceInt handle, ConstSpiceDLADescr *dladsc, ConstSpiceChar *method, ConstSpiceChar *target,
1993                  SpiceDouble et, ConstSpiceChar *abcorr, ConstSpiceChar *obsrvr, SpiceDouble spoint[3],
1994                  SpiceDouble *dist, SpiceInt *plateID);
1995 
1996 SpiceDouble sumad_c(ConstSpiceDouble array[], SpiceInt n);
1997 
1998 SpiceInt sumai_c(ConstSpiceInt array[], SpiceInt n);
1999 
2000 void surfnm_c(SpiceDouble a, SpiceDouble b, SpiceDouble c, ConstSpiceDouble point[3], SpiceDouble normal[3]);
2001 
2002 void surfpt_c(ConstSpiceDouble positn[3], ConstSpiceDouble u[3], SpiceDouble a, SpiceDouble b, SpiceDouble c,
2003               SpiceDouble point[3], SpiceBoolean *found);
2004 
2005 void surfpv_c(ConstSpiceDouble stvrtx[6], ConstSpiceDouble stdir[6], SpiceDouble a, SpiceDouble b, SpiceDouble c,
2006               SpiceDouble stx[6], SpiceBoolean *found);
2007 
2008 void swpool_c(ConstSpiceChar *agent, SpiceInt nnames, SpiceInt lenvals, const void *names);
2009 
2010 void sxform_c(ConstSpiceChar *from, ConstSpiceChar *to, SpiceDouble et, SpiceDouble xform[6][6]);
2011 
2012 void szpool_c(ConstSpiceChar *name, SpiceInt *n, SpiceBoolean *found);
2013 
2014 void term_pl02(SpiceInt handle, ConstSpiceDLADescr *dladsc, ConstSpiceChar *trmtyp, ConstSpiceChar *source,
2015                ConstSpiceChar *target, SpiceDouble et, ConstSpiceChar *fixref, ConstSpiceChar *abcorr,
2016                ConstSpiceChar *obsrvr, SpiceInt npoints, SpiceDouble *trgepc, SpiceDouble obspos[3],
2017                SpiceDouble trmpts[][3], SpiceInt plateIDs[]);
2018 
2019 void termpt_c(ConstSpiceChar *method, ConstSpiceChar *ilusrc, ConstSpiceChar *target, SpiceDouble et,
2020               ConstSpiceChar *fixref, ConstSpiceChar *abcorr, ConstSpiceChar *corloc, ConstSpiceChar *obsrvr,
2021               ConstSpiceDouble refvec[3], SpiceDouble rolstp, SpiceInt ncuts, SpiceDouble schstp, SpiceDouble soltol,
2022               SpiceInt maxn, SpiceInt npts[], SpiceDouble points[][3], SpiceDouble epochs[], SpiceDouble tangts[][3]);
2023 
2024 void timdef_c(ConstSpiceChar *action, ConstSpiceChar *item, SpiceInt lenout, SpiceChar *value);
2025 
2026 void timout_c(SpiceDouble et, ConstSpiceChar *pictur, SpiceInt lenout, SpiceChar *output);
2027 
2028 void tipbod_c(ConstSpiceChar *ref, SpiceInt body, SpiceDouble et, SpiceDouble tipm[3][3]);
2029 
2030 void tisbod_c(ConstSpiceChar *ref, SpiceInt body, SpiceDouble et, SpiceDouble tsipm[6][6]);
2031 
2032 ConstSpiceChar *tkvrsn_c(ConstSpiceChar *item);
2033 
2034 void tparse_c(ConstSpiceChar *string, SpiceInt lenout, SpiceDouble *sp2000, SpiceChar *errmsg);
2035 
2036 void tpictr_c(ConstSpiceChar *sample, SpiceInt lenpictur, SpiceInt lenerror, SpiceChar *pictur, SpiceBoolean *ok,
2037               SpiceChar *error);
2038 
2039 SpiceDouble trace_c(ConstSpiceDouble matrix[3][3]);
2040 
2041 void trcdep_c(SpiceInt *depth);
2042 
2043 void trcnam_c(SpiceInt index, SpiceInt namelen, SpiceChar *name);
2044 
2045 void trcoff_c(void);
2046 
2047 void tsetyr_c(SpiceInt year);
2048 
2049 SpiceDouble twopi_c(void);
2050 
2051 void twovec_c(ConstSpiceDouble axdef[3], SpiceInt indexa, ConstSpiceDouble plndef[3], SpiceInt indexp,
2052               SpiceDouble mout[3][3]);
2053 
2054 SpiceDouble tyear_c(void);
2055 
2056 void ucase_c(SpiceChar *in, SpiceInt lenout, SpiceChar *out);
2057 
2058 void ucrss_c(ConstSpiceDouble v1[3], ConstSpiceDouble v2[3], SpiceDouble vout[3]);
2059 
2060 void uddc_c(void (*udfunc)(SpiceDouble x, SpiceDouble *value),
2061 
2062             SpiceDouble x, SpiceDouble dx, SpiceBoolean *isdecr);
2063 
2064 void uddf_c(void (*udfunc)(SpiceDouble x, SpiceDouble *value), SpiceDouble x, SpiceDouble dx, SpiceDouble *deriv);
2065 
2066 void udf_c(SpiceDouble x, SpiceDouble *value);
2067 
2068 void union_c(SpiceCell *a, SpiceCell *b, SpiceCell *c);
2069 
2070 SpiceDouble unitim_c(SpiceDouble epoch, ConstSpiceChar *insys, ConstSpiceChar *outsys);
2071 
2072 void unload_c(ConstSpiceChar *file);
2073 
2074 void unorm_c(ConstSpiceDouble v1[3], SpiceDouble vout[3], SpiceDouble *vmag);
2075 
2076 void unormg_c(ConstSpiceDouble *v1, SpiceInt ndim, SpiceDouble *vout, SpiceDouble *vmag);
2077 
2078 void utc2et_c(ConstSpiceChar *utcstr, SpiceDouble *et);
2079 
2080 void vadd_c(ConstSpiceDouble v1[3], ConstSpiceDouble v2[3], SpiceDouble vout[3]);
2081 
2082 void vaddg_c(ConstSpiceDouble *v1, ConstSpiceDouble *v2, SpiceInt ndim, SpiceDouble *vout);
2083 
2084 void valid_c(SpiceInt size, SpiceInt n, SpiceCell *a);
2085 
2086 void vcrss_c(ConstSpiceDouble v1[3], ConstSpiceDouble v2[3], SpiceDouble vout[3]);
2087 
2088 SpiceDouble vdist_c(ConstSpiceDouble v1[3], ConstSpiceDouble v2[3]);
2089 
2090 SpiceDouble vdistg_c(ConstSpiceDouble *v1, ConstSpiceDouble *v2, SpiceInt ndim);
2091 
2092 SpiceDouble vdot_c(ConstSpiceDouble v1[3], ConstSpiceDouble v2[3]);
2093 
2094 SpiceDouble vdotg_c(ConstSpiceDouble *v1, ConstSpiceDouble *v2, SpiceInt ndim);
2095 
2096 void vequ_c(ConstSpiceDouble vin[3], SpiceDouble vout[3]);
2097 
2098 void vequg_c(ConstSpiceDouble *vin, SpiceInt ndim, SpiceDouble *vout);
2099 
2100 void vhat_c(ConstSpiceDouble v1[3], SpiceDouble vout[3]);
2101 
2102 void vhatg_c(ConstSpiceDouble *v1, SpiceInt ndim, SpiceDouble *vout);
2103 
2104 void vlcom_c(SpiceDouble a, ConstSpiceDouble v1[3], SpiceDouble b, ConstSpiceDouble v2[3], SpiceDouble sum[3]);
2105 
2106 void vlcom3_c(SpiceDouble a, ConstSpiceDouble v1[3], SpiceDouble b, ConstSpiceDouble v2[3], SpiceDouble c,
2107               ConstSpiceDouble v3[3], SpiceDouble sum[3]);
2108 
2109 void vlcomg_c(SpiceInt n, SpiceDouble a, ConstSpiceDouble *v1, SpiceDouble b, ConstSpiceDouble *v2, SpiceDouble *sum);
2110 
2111 void vminug_c(ConstSpiceDouble *vin, SpiceInt ndim, SpiceDouble *vout);
2112 
2113 void vminus_c(ConstSpiceDouble v1[3], SpiceDouble vout[3]);
2114 
2115 SpiceDouble vnorm_c(ConstSpiceDouble v1[3]);
2116 
2117 SpiceDouble vnormg_c(ConstSpiceDouble *v1, SpiceInt ndim);
2118 
2119 void vpack_c(SpiceDouble x, SpiceDouble y, SpiceDouble z, SpiceDouble v[3]);
2120 
2121 void vperp_c(ConstSpiceDouble a[3], ConstSpiceDouble b[3], SpiceDouble p[3]);
2122 
2123 void vprjp_c(ConstSpiceDouble vin[3], ConstSpicePlane *plane, SpiceDouble vout[3]);
2124 
2125 void vprjpi_c(ConstSpiceDouble vin[3], ConstSpicePlane *projpl, ConstSpicePlane *invpl, SpiceDouble vout[3],
2126               SpiceBoolean *found);
2127 
2128 void vproj_c(ConstSpiceDouble a[3], ConstSpiceDouble b[3], SpiceDouble p[3]);
2129 
2130 SpiceDouble vrel_c(ConstSpiceDouble v1[3], ConstSpiceDouble v2[3]);
2131 
2132 SpiceDouble vrelg_c(ConstSpiceDouble *v1, ConstSpiceDouble *v2, SpiceInt ndim);
2133 
2134 void vrotv_c(ConstSpiceDouble v[3], ConstSpiceDouble axis[3], SpiceDouble theta, SpiceDouble r[3]);
2135 
2136 void vscl_c(SpiceDouble s, ConstSpiceDouble v1[3], SpiceDouble vout[3]);
2137 
2138 void vsclg_c(SpiceDouble s, ConstSpiceDouble *v1, SpiceInt ndim, SpiceDouble *vout);
2139 
2140 SpiceDouble vsep_c(ConstSpiceDouble v1[3], ConstSpiceDouble v2[3]);
2141 
2142 void vsub_c(ConstSpiceDouble v1[3], ConstSpiceDouble v2[3], SpiceDouble vout[3]);
2143 
2144 void vsubg_c(ConstSpiceDouble *v1, ConstSpiceDouble *v2, SpiceInt ndim, SpiceDouble *vout);
2145 
2146 SpiceDouble vsepg_c(ConstSpiceDouble *v1, ConstSpiceDouble *v2, SpiceInt ndim);
2147 
2148 SpiceDouble vtmv_c(ConstSpiceDouble v1[3], ConstSpiceDouble matrix[3][3], ConstSpiceDouble v2[3]);
2149 
2150 SpiceDouble vtmvg_c(const void *v1, const void *matrix, const void *v2, SpiceInt nrow, SpiceInt ncol);
2151 
2152 void vupack_c(ConstSpiceDouble v[3], SpiceDouble *x, SpiceDouble *y, SpiceDouble *z);
2153 
2154 SpiceBoolean vzero_c(ConstSpiceDouble v[3]);
2155 
2156 SpiceBoolean vzerog_c(ConstSpiceDouble *v, SpiceInt ndim);
2157 
2158 SpiceInt wncard_c(SpiceCell *window);
2159 
2160 void wncomd_c(SpiceDouble left, SpiceDouble right, SpiceCell *window, SpiceCell *result);
2161 
2162 void wncond_c(SpiceDouble left, SpiceDouble right, SpiceCell *window);
2163 
2164 void wndifd_c(SpiceCell *a, SpiceCell *b, SpiceCell *c);
2165 
2166 SpiceBoolean wnelmd_c(SpiceDouble point, SpiceCell *window);
2167 
2168 void wnexpd_c(SpiceDouble left, SpiceDouble right, SpiceCell *window);
2169 
2170 void wnextd_c(SpiceChar side, SpiceCell *window);
2171 
2172 void wnfetd_c(SpiceCell *window, SpiceInt n, SpiceDouble *left, SpiceDouble *right);
2173 
2174 void wnfild_c(SpiceDouble sml, SpiceCell *window);
2175 
2176 void wnfltd_c(SpiceDouble sml, SpiceCell *window);
2177 
2178 SpiceBoolean wnincd_c(SpiceDouble left, SpiceDouble right, SpiceCell *window);
2179 
2180 void wninsd_c(SpiceDouble left, SpiceDouble right, SpiceCell *window);
2181 
2182 void wnintd_c(SpiceCell *a, SpiceCell *b, SpiceCell *c);
2183 
2184 SpiceBoolean wnreld_c(SpiceCell *a, ConstSpiceChar *op, SpiceCell *b);
2185 
2186 void wnsumd_c(SpiceCell *window, SpiceDouble *meas, SpiceDouble *avg, SpiceDouble *stddev, SpiceInt *shortest,
2187               SpiceInt *longest);
2188 
2189 void wnunid_c(SpiceCell *a, SpiceCell *b, SpiceCell *c);
2190 
2191 void wnvald_c(SpiceInt size, SpiceInt n, SpiceCell *window);
2192 
2193 void xf2eul_c(ConstSpiceDouble xform[6][6], SpiceInt axisa, SpiceInt axisb, SpiceInt axisc, SpiceDouble eulang[6],
2194               SpiceBoolean *unique);
2195 
2196 void xf2rav_c(ConstSpiceDouble xform[6][6], SpiceDouble rot[3][3], SpiceDouble av[3]);
2197 
2198 void xfmsta_c(ConstSpiceDouble input_state[6], ConstSpiceChar *input_coord_sys, ConstSpiceChar *output_coord_sys,
2199               ConstSpiceChar *body, SpiceDouble output_state[6]);
2200 
2201 void xpose_c(ConstSpiceDouble m1[3][3], SpiceDouble mout[3][3]);
2202 
2203 void xpose6_c(ConstSpiceDouble m1[6][6], SpiceDouble mout[6][6]);
2204 
2205 void xposeg_c(const void *matrix, SpiceInt nrow, SpiceInt ncol, void *xposem);
2206 
2207 void zzgetcml_c(SpiceInt *argc, SpiceChar ***argv, SpiceBoolean init);
2208 
2209 SpiceBoolean zzgfgeth_c(void);
2210 
2211 void zzgfsavh_c(SpiceBoolean status);
2212 
2213 void zzsynccl_c(SpiceTransDir xdir, SpiceCell *cell);
2214 
2215 #endif
2216