SpiceZpr.h
上传用户:center1979
上传日期:2022-07-26
资源大小:50633k
文件大小:124k
源码类别:

OpenGL

开发平台:

Visual C++

  1. /*
  2. -Header_File SpiceZpr.h ( CSPICE prototypes )
  3. -Abstract
  4.    Define prototypes for CSPICE user-interface-level functions.
  5. -Disclaimer
  6.    THIS SOFTWARE AND ANY RELATED MATERIALS WERE CREATED BY THE
  7.    CALIFORNIA INSTITUTE OF TECHNOLOGY (CALTECH) UNDER A U.S.
  8.    GOVERNMENT CONTRACT WITH THE NATIONAL AERONAUTICS AND SPACE
  9.    ADMINISTRATION (NASA). THE SOFTWARE IS TECHNOLOGY AND SOFTWARE
  10.    PUBLICLY AVAILABLE UNDER U.S. EXPORT LAWS AND IS PROVIDED "AS-IS"
  11.    TO THE RECIPIENT WITHOUT WARRANTY OF ANY KIND, INCLUDING ANY
  12.    WARRANTIES OF PERFORMANCE OR MERCHANTABILITY OR FITNESS FOR A
  13.    PARTICULAR USE OR PURPOSE (AS SET FORTH IN UNITED STATES UCC
  14.    SECTIONS 2312-2313) OR FOR ANY PURPOSE WHATSOEVER, FOR THE
  15.    SOFTWARE AND RELATED MATERIALS, HOWEVER USED.
  16.    IN NO EVENT SHALL CALTECH, ITS JET PROPULSION LABORATORY, OR NASA
  17.    BE LIABLE FOR ANY DAMAGES AND/OR COSTS, INCLUDING, BUT NOT
  18.    LIMITED TO, INCIDENTAL OR CONSEQUENTIAL DAMAGES OF ANY KIND,
  19.    INCLUDING ECONOMIC DAMAGE OR INJURY TO PROPERTY AND LOST PROFITS,
  20.    REGARDLESS OF WHETHER CALTECH, JPL, OR NASA BE ADVISED, HAVE
  21.    REASON TO KNOW, OR, IN FACT, SHALL KNOW OF THE POSSIBILITY.
  22.    RECIPIENT BEARS ALL RISK RELATING TO QUALITY AND PERFORMANCE OF
  23.    THE SOFTWARE AND ANY RELATED MATERIALS, AND AGREES TO INDEMNIFY
  24.    CALTECH AND NASA FOR ALL THIRD-PARTY CLAIMS RESULTING FROM THE
  25.    ACTIONS OF RECIPIENT IN THE USE OF THE SOFTWARE.
  26. -Required_Reading
  27.    None.
  28. -Literature_References
  29.    None.
  30. -Particulars
  31.    This is the header file containing prototypes for CSPICE user-level
  32.    C routines.  Prototypes for the underlying f2c'd SPICELIB routines
  33.    are contained in the separate header file SpiceZfc.  However, those
  34.    routines are not part of the official CSPICE API.
  35. -Author_and_Institution
  36.    N.J. Bachman       (JPL)
  37.    K.R. Gehringer     (JPL)
  38.    W.L. Taber         (JPL)
  39.    F.S. Turner        (JPL)
  40.    E.D. Wright        (JPL)
  41. -Version
  42.    -CSPICE Version 12.8.0, 07-NOV-2005 (NJB)
  43.       Added prototypes forr
  44.          bodvcd_c
  45.          qdq2av_c
  46.          qxq_c
  47.          srfrec_c
  48.    -CSPICE Version 12.7.0, 06-JAN-2004 (NJB)
  49.       Added prototypes for
  50.          bods2c_c
  51.          ckcov_c
  52.          ckobj_c
  53.          dafopw_c
  54.          dafrs_c
  55.          dpgrdr_c
  56.          drdpgr_c
  57.          lspcn_c
  58.          pgrrec_c
  59.          recpgr_c
  60.          spkcov_c
  61.          spkobj_c
  62.    -CSPICE Version 12.6.0, 24-FEB-2003 (NJB)
  63.       Added prototype for
  64.       
  65.          bodvrd_c
  66.          deltet_c
  67.          srfxpt_c
  68.    -CSPICE Version 12.5.0, 14-MAY-2003 (NJB)
  69.       Removed prototype for getcml_.
  70.    
  71.    -CSPICE Version 12.4.0, 25-FEB-2003 (NJB)
  72.       Added prototypes for
  73.          dasac_c
  74.          dasec_c
  75.          et2lst_c
  76.    -CSPICE Version 12.3.0, 03-SEP-2002 (NJB)
  77.       Added prototypes for
  78.          appndc_c
  79.          appndd_c
  80.          appndi_c
  81.          bschoc_c
  82.          bschoi_c
  83.          bsrchc_c
  84.          bsrchd_c
  85.          bsrchi_c
  86.          card_c
  87.          ckw05_c
  88.          copy_c
  89.          cpos_c
  90.          cposr_c
  91.          diff_c
  92.          elemc_c
  93.          elemd_c
  94.          elemi_c
  95.          esrchc_c
  96.          insrtc_c
  97.          insrtd_c
  98.          insrti_c
  99.          inter_c
  100.          isordv_c
  101.          isrchc_c
  102.          isrchd_c
  103.          isrchi_c
  104.          lparss_c
  105.          lstlec_c
  106.          lstled_c
  107.          lstlei_c
  108.          lstltc_c
  109.          lstltd_c
  110.          lstlti_c
  111.          lx4dec_c
  112.          lx4num_c
  113.          lx4sgn_c
  114.          lx4uns_c
  115.          lxqstr_c
  116.          ncpos_c
  117.          ncposr_c
  118.          ordc_c
  119.          ordd_c
  120.          ordi_c
  121.          orderc_c
  122.          orderd_c
  123.          orderi_c
  124.          pos_c 
  125.          posr_c
  126.          prefix_c
  127.          remove_c
  128.          reordc_c
  129.          reordd_c
  130.          reordi_c
  131.          reordl_c
  132.          removc_c
  133.          removd_c
  134.          removi_c
  135.          repmc_c
  136.          repmct_c
  137.          repmd_c
  138.          repmf_c
  139.          repmi_c 
  140.          repmot_c
  141.          scard_c
  142.          sdiff_c
  143.          set_c
  144.          shellc_c
  145.          shelld_c
  146.          shelli_c
  147.          size_c
  148.          scard_c
  149.          spkw18_c
  150.          ssize_c
  151.          union_c
  152.          valid_c
  153.          wncomd_c
  154.          wncond_c
  155.          wndifd_c
  156.          wnelmd_c
  157.          wnexpd_c
  158.          wnextd_c
  159.          wnfetd_c
  160.          wnfild_c
  161.          wnfltd_c
  162.          wnincd_c
  163.          wninsd_c
  164.          wnintd_c
  165.          wnreld_c
  166.          wnsumd_c
  167.          wnunid_c
  168.          wnvald_c
  169.          zzsynccl_c
  170.        
  171.    -CSPICE Version 12.2.0, 23-OCT-2001 (NJB)
  172.       Added prototypes for
  173.          badkpv_c
  174.          dcyldr_c
  175.          dgeodr_c
  176.          dlatdr_c
  177.          drdcyl_c
  178.          drdgeo_c
  179.          drdlat_c
  180.          drdsph_c
  181.          dsphdr_c
  182.          ekacec_c
  183.          ekaced_c
  184.          ekacei_c
  185.          ekappr_c
  186.          ekbseg_c
  187.          ekccnt_c
  188.          ekcii_c
  189.          ekdelr_c
  190.          ekinsr_c
  191.          ekntab_c
  192.          ekrcec_c
  193.          ekrced_c
  194.          ekrcei_c
  195.          ektnam_c
  196.          ekucec_c
  197.          ekuced_c
  198.          ekucei_c
  199.          inelpl_c
  200.          invort_c
  201.          kxtrct_c
  202.       Added const qualifier to input array arguments of
  203.          conics_c
  204.          illum_c
  205.          pdpool_c
  206.          prop2b_c
  207.          q2m_c
  208.          spkuds_c
  209.          xposeg_c
  210.       Added const qualifier to the return value of
  211.          tkvrsn_c
  212.     
  213.    -CSPICE Version 12.1.0, 12-APR-2000 (FST)
  214.       Added prototype for
  215.          getfov_c
  216.    -CSPICE Version 12.0.0, 22-MAR-2000 (NJB)
  217.    
  218.       Added prototypes for
  219.          
  220.          lparse_c
  221.          lparsm_c      
  222.          spkw12_c
  223.          spkw13_c
  224.          
  225.    -CSPICE Version 11.1.0, 17-DEC-1999 (WLT)
  226.    
  227.       Added prototype for
  228.                
  229.          dafrda_c
  230.    -CSPICE Version 11.0.0, 07-OCT-1999 (NJB) (EDW) 
  231.       Changed ekaclc_c, ekacld_c, ekacli_c prototypes to make input
  232.       pointers const-qualified where appropriate.
  233.       
  234.       Changed prompt_c prototype to accommodate memory leak bug fix.
  235.       
  236.       Changed ekpsel_c prototype to be consistent with other interfaces
  237.       having string array outputs.
  238.       
  239.       Added prototypes for
  240.                
  241.          axisar_c
  242.          brcktd_c
  243.          brckti_c
  244.          cidfrm_c
  245.          cgv2el_c
  246.          clpool_c
  247.          cmprss_c
  248.          cnmfrm_c
  249.          convrt_c
  250.          cvpool_c
  251.          dafbbs_c
  252.          dafbfs_c
  253.          dafcls_c
  254.          dafcs_c
  255.          daffna_c
  256.          daffpa_c
  257.          dafgh_c
  258.          dafgn_c
  259.          dafgs_c
  260.          dafopr_c
  261.          dafps_c
  262.          dafus_c
  263.          diags2_c
  264.          dtpool_c
  265.          dvdot_c
  266.          dvhat_c
  267.          dvpool_c
  268.          edlimb_c
  269.          ekops_c
  270.          ekopw_c
  271.          eul2xf_c
  272.          ftncls_c
  273.          furnsh_c
  274.          getmsg_c
  275.          getelm_c
  276.          gnpool_c
  277.          ident_c
  278.          illum_c
  279.          inedpl_c
  280.          kdata_c
  281.          kinfo_c
  282.          ktotal_c
  283.          lmpool_c
  284.          matchi_c
  285.          matchw_c
  286.          maxd_c
  287.          maxi_c
  288.          mequ_c
  289.          mind_c
  290.          mini_c
  291.          moved_
  292.          npedln_c
  293.          npelpt_c
  294.          nplnpt_c
  295.          pcpool_c
  296.          pdpool_c
  297.          pipool_c
  298.          pjelpl_c
  299.          pxform_c
  300.          rav2xf_c
  301.          raxisa_c
  302.          rquad_c
  303.          saelgv_c
  304.          spk14a_c
  305.          spk14b_c
  306.          spk14e_c
  307.          spkapp_c
  308.          spkapo_c
  309.          spkcls_c
  310.          spkezp_c
  311.          spkgps_c
  312.          spkopn_c
  313.          spkpds_c
  314.          spkpos_c
  315.          spkssb_c
  316.          spksub_c
  317.          spkuds_c
  318.          spkw02_c
  319.          spkw03_c
  320.          spkw05_c
  321.          spkw08_c
  322.          spkw09_c
  323.          spkw10_c
  324.          spkw15_c
  325.          spkw17_c
  326.          stpool_c
  327.          subpt_c
  328.          subsol_c
  329.          swpool_c
  330.          szpool_c
  331.          tparse_c
  332.          trace_c
  333.          unload_c
  334.          vaddg_c
  335.          vhatg_c
  336.          vlcomg_c
  337.          vminug_c
  338.          vrel_c
  339.          vrelg_c
  340.          vsepg_c
  341.          vtmv_c
  342.          vtmvg_c
  343.          vzerog_c
  344.          xf2eul_c
  345.          xf2rav_c
  346.          xposeg_c
  347.          
  348.           
  349.    -CSPICE Version 10.0.0, 09-MAR-1999 (NJB)  
  350.       Added prototypes for
  351.       
  352.          frame_c
  353.          inrypl_c
  354.          nvc2pl_c
  355.          nvp2pl_c
  356.          pl2nvc_c
  357.          pl2nvp_c
  358.          pl2psv_c
  359.          psv2pl_c
  360.          sce2c_c
  361.          vprjp_c
  362.          vprjpi_c
  363.       Now conditionally includes SpiceEll.h and SpicePln.h.
  364.       
  365.       
  366.    -CSPICE Version 9.0.0, 25-FEB-1999 (NJB)
  367.       Added prototypes for
  368.          eknseg_c
  369.          eknelt_c
  370.          ekpsel_c
  371.          ekssum_c
  372.          
  373.       Now conditionally includes SpiceEK.h.
  374.       
  375.       
  376.    -CSPICE Version 8.0.0, 20-OCT-1998 (NJB)
  377.       Added const qualifier to all input matrix and vector arguments.
  378.       
  379.       Added prototypes for
  380.          det_c
  381.          dpmax_c
  382.          dpmax_
  383.          dpmin_c
  384.          dpmin_
  385.          frinfo_c
  386.          frmnam_c
  387.          getfat_c
  388.          intmax_c
  389.          intmax_
  390.          intmin_c
  391.          intmin_
  392.          invert_c
  393.          namfrm_c
  394.          vrotv_c
  395.          vsclg_c
  396.          
  397.          
  398.    -CSPICE Version 7.0.0, 02-APR-1998 (EDW)
  399.       Added prototypes for
  400.          mequg_c
  401.          unormg_g
  402.          vdistg_c
  403.          vdotg_c
  404.          vequg_c
  405.          vnormg_c
  406.    -CSPICE Version 6.0.0, 31-MAR-1998 (NJB)
  407.       Added prototypes for
  408.          ekaclc_c
  409.          ekacld_c
  410.          ekacli_c
  411.          ekcls_c
  412.          ekffld_c
  413.          ekfind_c
  414.          ekgc_c
  415.          ekgd_c
  416.          ekgi_c
  417.          ekifld_c
  418.          eklef_c
  419.          ekopr_c
  420.          ekopn_c
  421.          ekuef_c
  422.    -CSPICE Version 5.0.1, 05-MAR-1998 (EDW)
  423.       Remove some non printing characters.
  424.    -CSPICE Version 5.0.0, 03-MAR-1998 (NJB)
  425.       Added prototypes for
  426.          etcal_c
  427.          ltime_c
  428.          stelab_c
  429.          tpictr_c
  430.          twovec_c
  431.          vsubg_c
  432.    -CSPICE Version 4.0.0, 11-FEB-1998 (EDW)
  433.       Added prototypes for
  434.          timdef_c
  435.          tsetyr_c
  436.    -CSPICE Version 3.0.0, 02-FEB-1998 (NJB)
  437.       Added prototypes for
  438.          pckuof_c
  439.          tipbod_c
  440.       Type SpiceVoid was replaced with void.
  441.    -CSPICE Version 2.0.0, 06-JAN-1998 (NJB)
  442.       Changed all input-only character pointers to type ConstSpiceChar.
  443.    -CSPICE Version 1.0.0, 25-OCT-1997 (NJB) (KRG) (EDW)
  444. -Index_Entries
  445.    protoypes of CSPICE functions
  446. */
  447. /*
  448. Include Files:
  449. */
  450. #ifndef  HAVE_SPICEDEFS_H
  451. #include "SpiceZdf.h"
  452. #endif
  453. #ifndef  HAVE_SPICE_EK_H
  454. #include "SpiceEK.h"
  455. #endif
  456. #ifndef  HAVE_SPICE_PLANES_H
  457. #include "SpicePln.h"
  458. #endif
  459. #ifndef  HAVE_SPICE_ELLIPSES_H
  460. #include "SpiceEll.h"
  461. #endif
  462. #ifndef  HAVE_SPICE_CELLS_H
  463. #include "SpiceCel.h"
  464. #endif
  465. #ifndef  HAVE_SPICE_SPK_H
  466. #include "SpiceSPK.h"
  467. #endif
  468. #ifndef HAVE_SPICEWRAPPERS_H
  469. #define HAVE_SPICEWRAPPERS_H
  470. /*
  471.    Function prototypes for CSPICE functions are listed below.
  472.    Each prototype is accompanied by a function abstract and brief I/O
  473.    description.
  474.    See the headers of the C wrappers for detailed descriptions of the
  475.    routines' interfaces.
  476.    The list below should be maintained in alphabetical order.
  477. */
  478.    void              appndc_c ( ConstSpiceChar     * item,
  479.                                 SpiceCell          * cell  );
  480.    void              appndd_c ( SpiceDouble          item,
  481.                                 SpiceCell          * cell  );
  482.    void              appndi_c ( SpiceInt             item,
  483.                                 SpiceCell          * cell  );
  484.    void              axisar_c ( ConstSpiceDouble     axis   [3],
  485.                                 SpiceDouble          angle,
  486.                                 SpiceDouble          r      [3][3]  );
  487.                                 
  488.                                  
  489.    SpiceBoolean      badkpv_c ( ConstSpiceChar      *caller,
  490.                                 ConstSpiceChar      *name,
  491.                                 ConstSpiceChar      *comp,
  492.                                 SpiceInt             size,
  493.                                 SpiceInt             divby,
  494.                                 SpiceChar            type   );
  495.                                 
  496.    void              bodc2n_c ( SpiceInt             code,
  497.                                 SpiceInt             namelen,
  498.                                 SpiceChar          * name,
  499.                                 SpiceBoolean       * found   );
  500.    void              boddef_c ( ConstSpiceChar     * name,
  501.                                 SpiceInt             code );
  502.    SpiceBoolean      bodfnd_c ( SpiceInt             body,
  503.                                 ConstSpiceChar     * item );
  504.    void              bodn2c_c ( ConstSpiceChar     * name,
  505.                                 SpiceInt           * code,
  506.                                 SpiceBoolean       * found );
  507.    void              bods2c_c ( ConstSpiceChar     * name,
  508.                                 SpiceInt           * code,
  509.                                 SpiceBoolean       * found );
  510.    void              bodvar_c ( SpiceInt             body,
  511.                                 ConstSpiceChar     * item,
  512.                                 SpiceInt           * dim ,
  513.                                 SpiceDouble        * values );
  514.    void              bodvcd_c ( SpiceInt             body,
  515.                                 ConstSpiceChar     * item,
  516.                                 SpiceInt             maxn,
  517.                                 SpiceInt           * dim ,
  518.                                 SpiceDouble        * values );
  519.    void              bodvrd_c ( ConstSpiceChar     * body,
  520.                                 ConstSpiceChar     * item,
  521.                                 SpiceInt             maxn,
  522.                                 SpiceInt           * dim ,
  523.                                 SpiceDouble        * values );
  524.    SpiceDouble       brcktd_c ( SpiceDouble          number,
  525.                                 SpiceDouble          end1,
  526.                                 SpiceDouble          end2    );
  527.    
  528.    
  529.    SpiceInt          brckti_c ( SpiceInt             number,
  530.                                 SpiceInt             end1,
  531.                                 SpiceInt             end2    );
  532.    SpiceInt          bschoc_c ( ConstSpiceChar     * value,
  533.                                 SpiceInt             ndim,   
  534.                                 SpiceInt             lenvals,
  535.                                 const void         * array,
  536.                                 ConstSpiceInt      * order  );
  537.    SpiceInt          bschoi_c ( SpiceInt             value,
  538.                                 SpiceInt             ndim,
  539.                                 ConstSpiceInt      * array,
  540.                                 ConstSpiceInt      * order  );
  541.    SpiceInt          bsrchc_c ( ConstSpiceChar     * value,
  542.                                 SpiceInt             ndim,   
  543.                                 SpiceInt             lenvals,
  544.                                 const void         * array   );
  545.    SpiceInt          bsrchd_c ( SpiceDouble          value,
  546.                                 SpiceInt             ndim,
  547.                                 ConstSpiceDouble   * array );
  548.    SpiceInt          bsrchi_c ( SpiceInt             value,
  549.                                 SpiceInt             ndim,
  550.                                 ConstSpiceInt      * array );
  551.    
  552.    
  553.    SpiceDouble       b1900_c  ( void );
  554.    SpiceDouble       b1950_c  ( void );
  555.    SpiceInt          card_c   ( SpiceCell         * cell );
  556.    void              cgv2el_c ( ConstSpiceDouble    center[3],
  557.                                 ConstSpiceDouble    vec1  [3],
  558.                                 ConstSpiceDouble    vec2  [3],
  559.                                 SpiceEllipse      * ellipse   ); 
  560.    void              chkin_c  ( ConstSpiceChar    * module );
  561.    void              chkout_c ( ConstSpiceChar    * module );
  562.    void              cidfrm_c ( SpiceInt            cent,
  563.                                 SpiceInt            lenout,
  564.                                 SpiceInt          * frcode,
  565.                                 SpiceChar         * frname,
  566.                                 SpiceBoolean      * found  );
  567.                                 
  568.                                  
  569.    void              ckcls_c  ( SpiceInt            handle );
  570.    void              ckcov_c  ( ConstSpiceChar    * ck,
  571.                                 SpiceInt            idcode,
  572.                                 SpiceBoolean        needav,
  573.                                 ConstSpiceChar    * level,
  574.                                 SpiceDouble         tol,
  575.                                 ConstSpiceChar    * timsys,
  576.                                 SpiceCell         * cover   );
  577.    void              ckobj_c  ( ConstSpiceChar    * ck,
  578.                                 SpiceCell         * ids );
  579.    void              ckgp_c   ( SpiceInt            inst,
  580.                                 SpiceDouble         sclkdp,
  581.                                 SpiceDouble         tol,
  582.                                 ConstSpiceChar    * ref,
  583.                                 SpiceDouble         cmat[3][3],
  584.                                 SpiceDouble       * clkout,
  585.                                 SpiceBoolean      * found      );
  586.    void              ckgpav_c ( SpiceInt            inst,
  587.                                 SpiceDouble         sclkdp,
  588.                                 SpiceDouble         tol,
  589.                                 ConstSpiceChar    * ref,
  590.                                 SpiceDouble         cmat[3][3],
  591.                                 SpiceDouble         av[3],
  592.                                 SpiceDouble       * clkout,
  593.                                 SpiceBoolean      * found      );
  594.    void              cklpf_c  ( ConstSpiceChar    * fname,
  595.                                 SpiceInt          * handle    );
  596.    void              ckopn_c  ( ConstSpiceChar    * name,
  597.                                 ConstSpiceChar    * ifname,
  598.                                 SpiceInt            ncomch,
  599.                                 SpiceInt          * handle  );
  600.    void              ckupf_c  ( SpiceInt            handle );
  601.    void              ckw01_c  ( SpiceInt            handle,
  602.                                 SpiceDouble         begtime,
  603.                                 SpiceDouble         endtime,
  604.                                 SpiceInt            inst,
  605.                                 ConstSpiceChar    * ref,
  606.                                 SpiceBoolean        avflag,
  607.                                 ConstSpiceChar    * segid,
  608.                                 SpiceInt            nrec,
  609.                                 ConstSpiceDouble    sclkdp [],
  610.                                 ConstSpiceDouble    quats  [][4],
  611.                                 ConstSpiceDouble    avvs   [][3]  );
  612.    void              ckw02_c  ( SpiceInt            handle,
  613.                                 SpiceDouble         begtim,
  614.                                 SpiceDouble         endtim,
  615.                                 SpiceInt            inst,
  616.                                 ConstSpiceChar    * ref,
  617.                                 ConstSpiceChar    * segid,
  618.                                 SpiceInt            nrec,
  619.                                 ConstSpiceDouble    start  [],
  620.                                 ConstSpiceDouble    stop   [],
  621.                                 ConstSpiceDouble    quats  [][4],
  622.                                 ConstSpiceDouble    avvs   [][3],
  623.                                 ConstSpiceDouble    rates  []    );
  624.    void              ckw03_c  ( SpiceInt            handle,
  625.                                 SpiceDouble         begtim,
  626.                                 SpiceDouble         endtim,
  627.                                 SpiceInt            inst,
  628.                                 ConstSpiceChar    * ref,
  629.                                 SpiceBoolean        avflag,
  630.                                 ConstSpiceChar    * segid,
  631.                                 SpiceInt            nrec,
  632.                                 ConstSpiceDouble    sclkdp [],
  633.                                 ConstSpiceDouble    quats  [][4],
  634.                                 ConstSpiceDouble    avvs   [][3],
  635.                                 SpiceInt            nints,
  636.                                 ConstSpiceDouble    starts []     );
  637.    void              ckw05_c  ( SpiceInt             handle,
  638.                                 SpiceCK05Subtype     subtyp,
  639.                                 SpiceInt             degree,
  640.                                 SpiceDouble          begtim,
  641.                                 SpiceDouble          endtim,
  642.                                 SpiceInt             inst,
  643.                                 ConstSpiceChar     * ref,
  644.                                 SpiceBoolean         avflag,
  645.                                 ConstSpiceChar     * segid,
  646.                                 SpiceInt             n,
  647.                                 ConstSpiceDouble     sclkdp[],
  648.                                 const void         * packets,
  649.                                 SpiceDouble          rate,
  650.                                 SpiceInt             nints,
  651.                                 ConstSpiceDouble     starts[]     );
  652.    SpiceDouble       clight_c ( void );
  653.    void              clpool_c ( void );
  654.     
  655.    void              cmprss_c ( SpiceChar           delim,
  656.                                 SpiceInt            n,
  657.                                 ConstSpiceChar    * input,
  658.                                 SpiceInt            lenout,
  659.                                 SpiceChar         * output  );
  660.                                 
  661.                                 
  662.    void              cnmfrm_c ( ConstSpiceChar    * cname,
  663.                                 SpiceInt            lenout,
  664.                                 SpiceInt          * frcode,
  665.                                 SpiceChar         * frname,
  666.                                 SpiceBoolean      * found   );
  667.                                 
  668.                                  
  669.    void              conics_c ( ConstSpiceDouble    elts[8],
  670.                                 SpiceDouble         et,
  671.                                 SpiceDouble         state[6] );
  672.    void              convrt_c ( SpiceDouble         x,
  673.                                 ConstSpiceChar    * in,
  674.                                 ConstSpiceChar    * out,
  675.                                 SpiceDouble       * y    );
  676.                                 
  677.    void              copy_c   ( SpiceCell         * a,
  678.                                 SpiceCell         * b     );
  679.                                  
  680.    SpiceInt          cpos_c   ( ConstSpiceChar    * str,
  681.                                 ConstSpiceChar    * chars,
  682.                                 SpiceInt            start  );
  683.    SpiceInt          cposr_c  ( ConstSpiceChar    * str,
  684.                                 ConstSpiceChar    * chars,
  685.                                 SpiceInt            start  );
  686.    void              cvpool_c ( ConstSpiceChar    * agent,
  687.                                 SpiceBoolean      * update );
  688.                                 
  689.                                  
  690.    void              cyllat_c ( SpiceDouble         r,
  691.                                 SpiceDouble         lonc,
  692.                                 SpiceDouble         z,
  693.                                 SpiceDouble       * radius,
  694.                                 SpiceDouble       * lon,
  695.                                 SpiceDouble       * lat );
  696.    void              cylrec_c ( SpiceDouble         r,
  697.                                 SpiceDouble         lon,
  698.                                 SpiceDouble         z,
  699.                                 SpiceDouble         rectan[3] );
  700.    void              cylsph_c ( SpiceDouble         r,
  701.                                 SpiceDouble         lonc,
  702.                                 SpiceDouble         z,
  703.                                 SpiceDouble       * radius,
  704.                                 SpiceDouble       * colat,
  705.                                 SpiceDouble       * lon );
  706.    void              dafbbs_c ( SpiceInt            handle );
  707.    
  708.    
  709.    void              dafbfs_c ( SpiceInt            handle );
  710.    
  711.    
  712.    void              dafcls_c ( SpiceInt            handle );
  713.    
  714.    
  715.    void              dafcs_c  ( SpiceInt            handle );
  716.    
  717.    
  718.    void              daffna_c ( SpiceBoolean      * found );
  719.    
  720.    
  721.    void              daffpa_c ( SpiceBoolean      * found );
  722.    
  723.    
  724.    void              dafgh_c  ( SpiceInt          * handle );
  725.    
  726.    
  727.    void              dafgn_c  ( SpiceInt            lenout,
  728.                                 SpiceChar         * name   );
  729.    
  730.    
  731.    void              dafgs_c  ( SpiceDouble         sum[] );
  732.    
  733.    
  734.    void              dafopr_c ( ConstSpiceChar    * fname,
  735.                                 SpiceInt          * handle  );
  736.                                 
  737.    void              dafopw_c ( ConstSpiceChar    * fname,
  738.                                 SpiceInt          * handle );
  739.                                 
  740.    void              dafps_c  ( SpiceInt            nd,
  741.                                 SpiceInt            ni,
  742.                                 ConstSpiceDouble    dc  [],
  743.                                 ConstSpiceInt       ic  [],
  744.                                 SpiceDouble         sum []  );
  745.                                 
  746.    void              dafrda_c ( SpiceInt            handle,
  747.                                 SpiceInt            begin,
  748.                                 SpiceInt            end,
  749.                                 SpiceDouble       * data );
  750.    void              dafrs_c  ( ConstSpiceDouble  * sum );
  751.    void              dafus_c  ( ConstSpiceDouble    sum [],
  752.                                 SpiceInt            nd,
  753.                                 SpiceInt            ni,
  754.                                 SpiceDouble         dc  [],
  755.                                 SpiceInt            ic  []  );
  756.    
  757.    void              dasac_c  ( SpiceInt            handle,
  758.                                 SpiceInt            n,
  759.                                 SpiceInt            buflen,
  760.                                 const void        * buffer  );
  761.    void              dasec_c  ( SpiceInt            handle,
  762.                                 SpiceInt            bufsiz,
  763.                                 SpiceInt            buflen,
  764.                                 SpiceInt          * n,
  765.                                 void              * buffer,
  766.                                 SpiceBoolean      * done   );
  767.    
  768.    void              dcyldr_c ( SpiceDouble         x,
  769.                                 SpiceDouble         y,
  770.                                 SpiceDouble         z,
  771.                                 SpiceDouble         jacobi[3][3] );
  772.    void              deltet_c ( SpiceDouble         epoch,
  773.                                 ConstSpiceChar    * eptype,
  774.                                 SpiceDouble       * delta   ); 
  775.    SpiceDouble       det_c    ( ConstSpiceDouble    m1[3][3] );
  776.    void              diags2_c ( ConstSpiceDouble    symmat [2][2],
  777.                                 SpiceDouble         diag   [2][2],
  778.                                 SpiceDouble         rotate [2][2]  );
  779.                                 
  780.    void              diff_c   ( SpiceCell         * a,
  781.                                 SpiceCell         * b,
  782.                                 SpiceCell         * c  );
  783.    void              dgeodr_c ( SpiceDouble         x,
  784.                                 SpiceDouble         y,
  785.                                 SpiceDouble         z,
  786.                                 SpiceDouble         re,
  787.                                 SpiceDouble         f,
  788.                                 SpiceDouble         jacobi[3][3] );
  789.    void              dlatdr_c ( SpiceDouble         x,
  790.                                 SpiceDouble         y,
  791.                                 SpiceDouble         z,
  792.                                 SpiceDouble         jacobi[3][3] );
  793.    
  794.    void              dpgrdr_c ( ConstSpiceChar    * body,
  795.                                 SpiceDouble         x,
  796.                                 SpiceDouble         y,
  797.                                 SpiceDouble         z,
  798.                                 SpiceDouble         re,
  799.                                 SpiceDouble         f,
  800.                                 SpiceDouble         jacobi[3][3] );
  801.                                
  802.    SpiceDouble       dpmax_c  ( void );
  803.    SpiceDouble       dpmax_   ( void );
  804.    SpiceDouble       dpmin_c  ( void );
  805.    SpiceDouble       dpmin_   ( void );
  806.    SpiceDouble       dpr_c    ( void );
  807.    void              drdcyl_c ( SpiceDouble         r,
  808.                                 SpiceDouble         lon,
  809.                                 SpiceDouble         z,
  810.                                 SpiceDouble         jacobi[3][3] );
  811.    void              drdgeo_c ( SpiceDouble         lon,
  812.                                 SpiceDouble         lat,
  813.                                 SpiceDouble         alt,
  814.                                 SpiceDouble         re,
  815.                                 SpiceDouble         f,
  816.                                 SpiceDouble         jacobi[3][3] );
  817.    void              drdlat_c ( SpiceDouble         r,
  818.                                 SpiceDouble         lon,
  819.                                 SpiceDouble         lat,
  820.                                 SpiceDouble         jacobi[3][3] );
  821.    void              drdpgr_c ( ConstSpiceChar    * body,
  822.                                 SpiceDouble         lon,
  823.                                 SpiceDouble         lat,
  824.                                 SpiceDouble         alt,
  825.                                 SpiceDouble         re,
  826.                                 SpiceDouble         f,
  827.                                 SpiceDouble         jacobi[3][3] );
  828.    void              drdsph_c ( SpiceDouble         r,
  829.                                 SpiceDouble         colat,
  830.                                 SpiceDouble         lon,
  831.                                 SpiceDouble         jacobi[3][3] ); 
  832.    void              dsphdr_c ( SpiceDouble         x,
  833.                                 SpiceDouble         y,
  834.                                 SpiceDouble         z,
  835.                                 SpiceDouble         jacobi[3][3] );
  836.   
  837.    void              dtpool_c ( ConstSpiceChar      * name,
  838.                                 SpiceBoolean        * found,
  839.                                 SpiceInt            * n,
  840.                                 SpiceChar             type [1] );
  841.                                 
  842.                                 
  843.    SpiceDouble       dvdot_c  ( ConstSpiceDouble      s1[6], 
  844.                                 ConstSpiceDouble      s2[6] );
  845.                                 
  846.    void              dvhat_c  ( ConstSpiceDouble      s1[6], 
  847.                                 SpiceDouble           sout[6] );
  848.                                 
  849.                                 
  850.    void              dvpool_c ( ConstSpiceChar      * name );
  851.    
  852.    
  853.    void              edlimb_c ( SpiceDouble           a,
  854.                                 SpiceDouble           b,
  855.                                 SpiceDouble           c,
  856.                                 ConstSpiceDouble      viewpt[3],
  857.                                 SpiceEllipse        * limb      );
  858.                                 
  859.    void              ekacec_c ( SpiceInt              handle,
  860.                                 SpiceInt              segno,
  861.                                 SpiceInt              recno,
  862.                                 ConstSpiceChar      * column,
  863.                                 SpiceInt              nvals,
  864.                                 SpiceInt              vallen,
  865.                                 const void          * cvals,
  866.                                 SpiceBoolean          isnull );
  867.    void              ekaced_c ( SpiceInt              handle,
  868.                                 SpiceInt              segno,
  869.                                 SpiceInt              recno,
  870.                                 ConstSpiceChar      * column,
  871.                                 SpiceInt              nvals,
  872.                                 ConstSpiceDouble    * dvals,
  873.                                 SpiceBoolean          isnull );
  874.    void              ekacei_c ( SpiceInt              handle,
  875.                                 SpiceInt              segno,
  876.                                 SpiceInt              recno,
  877.                                 ConstSpiceChar      * column,
  878.                                 SpiceInt              nvals,
  879.                                 ConstSpiceInt       * ivals,
  880.                                 SpiceBoolean          isnull );
  881.                                 
  882.    void              ekaclc_c ( SpiceInt              handle,
  883.                                 SpiceInt              segno,
  884.                                 ConstSpiceChar      * column,
  885.                                 SpiceInt              vallen,
  886.                                 const void          * cvals,
  887.                                 ConstSpiceInt       * entszs,
  888.                                 ConstSpiceBoolean   * nlflgs,
  889.                                 ConstSpiceInt       * rcptrs,
  890.                                 SpiceInt            * wkindx  );
  891.    void              ekacld_c ( SpiceInt              handle,
  892.                                 SpiceInt              segno,
  893.                                 ConstSpiceChar      * column,
  894.                                 ConstSpiceDouble    * dvals,
  895.                                 ConstSpiceInt       * entszs,
  896.                                 ConstSpiceBoolean   * nlflgs,
  897.                                 ConstSpiceInt       * rcptrs,
  898.                                 SpiceInt            * wkindx  );
  899.    void              ekacli_c ( SpiceInt              handle,
  900.                                 SpiceInt              segno,
  901.                                 ConstSpiceChar      * column,
  902.                                 ConstSpiceInt       * ivals,
  903.                                 ConstSpiceInt       * entszs,
  904.                                 ConstSpiceBoolean   * nlflgs,
  905.                                 ConstSpiceInt       * rcptrs,
  906.                                 SpiceInt            * wkindx  );
  907.    void              ekappr_c ( SpiceInt              handle,
  908.                                 SpiceInt              segno,
  909.                                 SpiceInt            * recno  );
  910.    void              ekbseg_c ( SpiceInt              handle,
  911.                                 ConstSpiceChar      * tabnam,
  912.                                 SpiceInt              ncols,
  913.                                 SpiceInt              cnmlen,
  914.                                 const void          * cnames,
  915.                                 SpiceInt              declen,
  916.                                 const void          * decls,
  917.                                 SpiceInt            * segno  );
  918.    void              ekccnt_c ( ConstSpiceChar      * table,
  919.                                 SpiceInt            * ccount );
  920.    void              ekcii_c  ( ConstSpiceChar      * table,
  921.                                 SpiceInt              cindex,
  922.                                 SpiceInt              lenout,
  923.                                 SpiceChar           * column,
  924.                                 SpiceEKAttDsc       * attdsc  );
  925.  
  926.    void              ekcls_c  ( SpiceInt              handle );
  927.    void              ekdelr_c ( SpiceInt              handle,
  928.                                 SpiceInt              segno,
  929.                                 SpiceInt              recno );
  930.    void              ekffld_c ( SpiceInt            handle,
  931.                                 SpiceInt            segno,
  932.                                 SpiceInt          * rcptrs );
  933.    void              ekfind_c ( ConstSpiceChar    * query,
  934.                                 SpiceInt            lenout,
  935.                                 SpiceInt          * nmrows,
  936.                                 SpiceBoolean      * error,
  937.                                 SpiceChar         * errmsg );
  938.    void              ekgc_c   ( SpiceInt            selidx,
  939.                                 SpiceInt            row,
  940.                                 SpiceInt            elment,
  941.                                 SpiceInt            lenout,
  942.                                 SpiceChar         * cdata,
  943.                                 SpiceBoolean      * null,
  944.                                 SpiceBoolean      * found  );
  945.    void              ekgd_c   ( SpiceInt            selidx,
  946.                                 SpiceInt            row,
  947.                                 SpiceInt            elment,
  948.                                 SpiceDouble       * ddata,
  949.                                 SpiceBoolean      * null,
  950.                                 SpiceBoolean      * found  );
  951.    void              ekgi_c   ( SpiceInt            selidx,
  952.                                 SpiceInt            row,
  953.                                 SpiceInt            elment,
  954.                                 SpiceInt          * idata,
  955.                                 SpiceBoolean      * null,
  956.                                 SpiceBoolean      * found  );
  957.    void              ekifld_c ( SpiceInt            handle,
  958.                                 ConstSpiceChar    * tabnam,
  959.                                 SpiceInt            ncols,
  960.                                 SpiceInt            nrows,
  961.                                 SpiceInt            cnmlen,
  962.                                 const void        * cnames,
  963.                                 SpiceInt            declen,
  964.                                 const void        * decls,
  965.                                 SpiceInt          * segno,
  966.                                 SpiceInt          * rcptrs );
  967.    void              ekinsr_c ( SpiceInt            handle,
  968.                                 SpiceInt            segno,
  969.                                 SpiceInt            recno );
  970.    void              eklef_c  ( ConstSpiceChar    * fname,
  971.                                 SpiceInt          * handle );
  972.    SpiceInt          eknelt_c ( SpiceInt            selidx,
  973.                                 SpiceInt            row     );
  974.                                 
  975.                                  
  976.    SpiceInt          eknseg_c ( SpiceInt            handle );
  977.    void              ekntab_c ( SpiceInt            * n );
  978.    void              ekopn_c  ( ConstSpiceChar    * fname,
  979.                                 ConstSpiceChar    * ifname,
  980.                                 SpiceInt            ncomch,
  981.                                 SpiceInt          * handle );
  982.    void              ekopr_c  ( ConstSpiceChar    * fname,
  983.                                 SpiceInt          * handle );
  984.    void              ekops_c  ( SpiceInt          * handle );
  985.    void              ekopw_c  ( ConstSpiceChar    * fname,
  986.                                 SpiceInt          * handle );
  987.                                 
  988.                                 
  989.    void              ekpsel_c ( ConstSpiceChar    * query,
  990.                                 SpiceInt            msglen,
  991.                                 SpiceInt            tablen,
  992.                                 SpiceInt            collen,
  993.                                 SpiceInt          * n,
  994.                                 SpiceInt          * xbegs,
  995.                                 SpiceInt          * xends,
  996.                                 SpiceEKDataType   * xtypes,
  997.                                 SpiceEKExprClass  * xclass,
  998.                                 void              * tabs,
  999.                                 void              * cols,
  1000.                                 SpiceBoolean      * error,
  1001.                                 SpiceChar         * errmsg ); 
  1002.                    
  1003.    void              ekrcec_c ( SpiceInt           handle,
  1004.                                 SpiceInt           segno,
  1005.                                 SpiceInt           recno,
  1006.                                 ConstSpiceChar   * column,
  1007.                                 SpiceInt           lenout,
  1008.                                 SpiceInt         * nvals,
  1009.                                 void             * cvals,
  1010.                                 SpiceBoolean     * isnull );
  1011.    void              ekrced_c ( SpiceInt           handle,
  1012.                                 SpiceInt           segno,
  1013.                                 SpiceInt           recno,
  1014.                                 ConstSpiceChar   * column,
  1015.                                 SpiceInt         * nvals,
  1016.                                 SpiceDouble      * dvals,
  1017.                                 SpiceBoolean     * isnull );
  1018.    void              ekrcei_c ( SpiceInt           handle,
  1019.                                 SpiceInt           segno,
  1020.                                 SpiceInt           recno,
  1021.                                 ConstSpiceChar   * column,
  1022.                                 SpiceInt         * nvals,
  1023.                                 SpiceInt         * ivals,
  1024.                                 SpiceBoolean     * isnull );
  1025.                    
  1026.    void              ekssum_c ( SpiceInt            handle,
  1027.                                 SpiceInt            segno,
  1028.                                 SpiceEKSegSum     * segsum );
  1029.                                 
  1030.    void              ektnam_c ( SpiceInt            n,
  1031.                                 SpiceInt            lenout,
  1032.                                 SpiceChar         * table  );
  1033.    void              ekucec_c ( SpiceInt              handle,
  1034.                                 SpiceInt              segno,
  1035.                                 SpiceInt              recno,
  1036.                                 ConstSpiceChar      * column,
  1037.                                 SpiceInt              nvals,
  1038.                                 SpiceInt              vallen,
  1039.                                 const void          * cvals,
  1040.                                 SpiceBoolean          isnull );
  1041.    void              ekuced_c ( SpiceInt              handle,
  1042.                                 SpiceInt              segno,
  1043.                                 SpiceInt              recno,
  1044.                                 ConstSpiceChar      * column,
  1045.                                 SpiceInt              nvals,
  1046.                                 ConstSpiceDouble    * dvals,
  1047.                                 SpiceBoolean          isnull );
  1048.    void              ekucei_c ( SpiceInt              handle,
  1049.                                 SpiceInt              segno,
  1050.                                 SpiceInt              recno,
  1051.                                 ConstSpiceChar      * column,
  1052.                                 SpiceInt              nvals,
  1053.                                 ConstSpiceInt       * ivals,
  1054.                                 SpiceBoolean          isnull );
  1055.                                 
  1056.    void              ekuef_c  ( SpiceInt            handle );
  1057.    SpiceBoolean      elemc_c  ( ConstSpiceChar     * item,
  1058.                                 SpiceCell          * set   );
  1059.    SpiceBoolean      elemd_c  ( SpiceDouble          item,
  1060.                                 SpiceCell          * set   );
  1061.    SpiceBoolean      elemi_c  ( SpiceInt             item,
  1062.                                 SpiceCell          * set   );
  1063.    SpiceBoolean      eqstr_c  ( ConstSpiceChar    * a,
  1064.                                 ConstSpiceChar    * b  );
  1065.    void              el2cgv_c ( ConstSpiceEllipse * ellipse,
  1066.                                 SpiceDouble         center[3],
  1067.                                 SpiceDouble         smajor[3],
  1068.                                 SpiceDouble         sminor[3]  );
  1069.                                 
  1070.                                  
  1071.    void              erract_c ( ConstSpiceChar    * operation,
  1072.                                 SpiceInt            lenout,
  1073.                                 SpiceChar         * action    );
  1074.    void              errch_c  ( ConstSpiceChar    * marker,
  1075.                                 ConstSpiceChar    * string );
  1076.    void              errdev_c ( ConstSpiceChar    * operation,
  1077.                                 SpiceInt            lenout,
  1078.                                 SpiceChar         * device    );
  1079.    void              errdp_c  ( ConstSpiceChar    * marker,
  1080.                                 SpiceDouble         number  );
  1081.    void              errint_c ( ConstSpiceChar    * marker,
  1082.                                 SpiceInt            number );
  1083.    void              errprt_c ( ConstSpiceChar    * operation,
  1084.                                 SpiceInt            lenout,
  1085.                                 SpiceChar         * list     );
  1086.    SpiceInt          esrchc_c ( ConstSpiceChar  * value,
  1087.                                 SpiceInt          ndim,   
  1088.                                 SpiceInt          lenvals,
  1089.                                 const void      * array   );
  1090.    void              etcal_c  ( SpiceDouble         et,
  1091.                                 SpiceInt            lenout,
  1092.                                 SpiceChar         * string  );
  1093.    void              et2lst_c ( SpiceDouble         et,
  1094.                                 SpiceInt            body,
  1095.                                 SpiceDouble         lon,
  1096.                                 ConstSpiceChar    * type,
  1097.                                 SpiceInt            timlen,
  1098.                                 SpiceInt            ampmlen,
  1099.                                 SpiceInt          * hr,
  1100.                                 SpiceInt          * mn,
  1101.                                 SpiceInt          * sc,
  1102.                                 SpiceChar         * time,
  1103.                                 SpiceChar         * ampm    );
  1104.    void              et2utc_c ( SpiceDouble         et ,
  1105.                                 ConstSpiceChar    * format,
  1106.                                 SpiceInt            prec,
  1107.                                 SpiceInt            lenout,
  1108.                                 SpiceChar         * utcstr );
  1109.    void              eul2m_c  ( SpiceDouble         angle3,
  1110.                                 SpiceDouble         angle2,
  1111.                                 SpiceDouble         angle1,
  1112.                                 SpiceInt            axis3,
  1113.                                 SpiceInt            axis2,
  1114.                                 SpiceInt            axis1,
  1115.                                 SpiceDouble         r [3][3] );
  1116.    void              eul2xf_c ( ConstSpiceDouble    eulang[6],
  1117.                                 SpiceInt            axisa,
  1118.                                 SpiceInt            axisb,
  1119.                                 SpiceInt            axisc,
  1120.                                 SpiceDouble         xform [6][6] );
  1121.                                 
  1122.                    
  1123.    SpiceBoolean      exists_c ( ConstSpiceChar    * name );
  1124.    void              expool_c ( ConstSpiceChar    * name,
  1125.                                 SpiceBoolean      * found );
  1126.    SpiceBoolean      failed_c ( void );
  1127.    void              frame_c  ( SpiceDouble         x[3],
  1128.                                 SpiceDouble         y[3],
  1129.                                 SpiceDouble         z[3] );
  1130.    void              frinfo_c ( SpiceInt            frcode,
  1131.                                 SpiceInt          * cent,
  1132.                                 SpiceInt          * clss,
  1133.                                 SpiceInt          * clssid,
  1134.                                 SpiceBoolean      * found );
  1135.                   
  1136.                    
  1137.    void              frmnam_c ( SpiceInt            frcode,
  1138.                                 SpiceInt            lenout,
  1139.                                 SpiceChar         * frname  );
  1140.                                 
  1141.    void              ftncls_c ( SpiceInt            unit );
  1142.    
  1143.    void              furnsh_c ( ConstSpiceChar    * file );
  1144.    void              gcpool_c ( ConstSpiceChar    * name,
  1145.                                 SpiceInt            start,
  1146.                                 SpiceInt            room,
  1147.                                 SpiceInt            lenout,
  1148.                                 SpiceInt          * n,
  1149.                                 void              * cvals,
  1150.                                 SpiceBoolean      * found );
  1151.    void              gdpool_c ( ConstSpiceChar    * name,
  1152.                                 SpiceInt            start,
  1153.                                 SpiceInt            room,
  1154.                                 SpiceInt          * n,
  1155.                                 SpiceDouble       * values,
  1156.                                 SpiceBoolean      * found );
  1157.    void              georec_c ( SpiceDouble         lon,
  1158.                                 SpiceDouble         lat,
  1159.                                 SpiceDouble         alt,
  1160.                                 SpiceDouble         re,
  1161.                                 SpiceDouble         f,
  1162.                                 SpiceDouble         rectan[3] );
  1163.    void              getcml_c ( SpiceInt          * argc,
  1164.                                 SpiceChar       *** argv );
  1165.    void              getelm_c ( SpiceInt            frstyr,
  1166.                                 SpiceInt            lineln,
  1167.                                 const void        * lines,
  1168.                                 SpiceDouble       * epoch,
  1169.                                 SpiceDouble       * elems   );
  1170.                                 
  1171.                                 
  1172.    void              getfat_c ( ConstSpiceChar    * file,
  1173.                                 SpiceInt            arclen,
  1174.                                 SpiceInt            typlen,
  1175.                                 SpiceChar         * arch,
  1176.                                 SpiceChar         * type   ); 
  1177.    void              getfov_c ( SpiceInt            instid,
  1178.                                 SpiceInt            room,
  1179.                                 SpiceInt            shapelen,
  1180.                                 SpiceInt            framelen,
  1181.                                 SpiceChar         * shape,
  1182.                                 SpiceChar         * frame,
  1183.                                 SpiceDouble         bsight [3],
  1184.                                 SpiceInt          * n,
  1185.                                 SpiceDouble         bounds [][3] ); 
  1186.    void              getmsg_c ( ConstSpiceChar    * option,
  1187.                                 SpiceInt            lenout,
  1188.                                 SpiceChar         * msg     );
  1189.                                 
  1190.                                  
  1191.    void              gipool_c ( ConstSpiceChar    * name,
  1192.                                 SpiceInt            start,
  1193.                                 SpiceInt            room,
  1194.                                 SpiceInt          * n,
  1195.                                 SpiceInt          * ivals,
  1196.                                 SpiceBoolean      * found );
  1197.    void              gnpool_c ( ConstSpiceChar    * name,
  1198.                                 SpiceInt            start,
  1199.                                 SpiceInt            room,
  1200.                                 SpiceInt            lenout,
  1201.                                 SpiceInt          * n,
  1202.                                 void              * kvars,
  1203.                                 SpiceBoolean      * found  );
  1204.                                 
  1205.                                  
  1206.    SpiceDouble       halfpi_c ( void );
  1207.    
  1208.    void              ident_c  ( SpiceDouble         matrix[3][3] );
  1209.    
  1210.    
  1211.    void              illum_c  ( ConstSpiceChar    * target,
  1212.                                 SpiceDouble         et,
  1213.                                 ConstSpiceChar    * abcorr, 
  1214.                                 ConstSpiceChar    * obsrvr, 
  1215.                                 ConstSpiceDouble    spoint [3],
  1216.                                 SpiceDouble       * phase,
  1217.                                 SpiceDouble       * solar,
  1218.                                 SpiceDouble       * emissn     );
  1219.                                 
  1220.                                 
  1221.    void              inedpl_c ( SpiceDouble         a,
  1222.                                 SpiceDouble         b,
  1223.                                 SpiceDouble         c,
  1224.                                 ConstSpicePlane   * plane,
  1225.                                 SpiceEllipse      * ellipse,
  1226.                                 SpiceBoolean      * found    );
  1227.        
  1228.                          
  1229.    void              inelpl_c ( ConstSpiceEllipse * ellips,
  1230.                                 ConstSpicePlane   * plane,
  1231.                                 SpiceInt          * nxpts,
  1232.                                 SpiceDouble         xpt1[3],
  1233.                                 SpiceDouble         xpt2[3] );
  1234.                                 
  1235.    void              insrtc_c ( ConstSpiceChar     * item,
  1236.                                 SpiceCell          * set   );
  1237.    void              insrtd_c ( SpiceDouble          item,
  1238.                                 SpiceCell          * set  );
  1239.    void              insrti_c ( SpiceInt             item,
  1240.                                 SpiceCell          * set  );
  1241.                                 
  1242.    void              inter_c  (  SpiceCell        * a,
  1243.                                  SpiceCell        * b,
  1244.                                  SpiceCell        * c  );
  1245.    void              inrypl_c ( ConstSpiceDouble    vertex [3],
  1246.                                 ConstSpiceDouble    dir    [3],
  1247.                                 ConstSpicePlane   * plane,
  1248.                                 SpiceInt          * nxpts,
  1249.                                 SpiceDouble         xpt    [3] );
  1250.                                 
  1251.    SpiceInt          intmax_c ( void );
  1252.    SpiceInt          intmax_  ( void );
  1253.    SpiceInt          intmin_c ( void );
  1254.    SpiceInt          intmin_  ( void );
  1255.    void              invert_c ( ConstSpiceDouble    m1[3][3],
  1256.                                 SpiceDouble         m2[3][3]  );
  1257.                                 
  1258.    void              invort_c ( ConstSpiceDouble    m  [3][3],
  1259.                                 SpiceDouble         mit[3][3] );
  1260.    SpiceBoolean      isordv_c ( ConstSpiceInt     * array,
  1261.                                 SpiceInt            n      );
  1262.  
  1263.                                 
  1264.    SpiceBoolean      isrot_c  ( ConstSpiceDouble    m   [3][3],
  1265.                                 SpiceDouble         ntol,
  1266.                                 SpiceDouble         dtol       );
  1267.                                 
  1268.                                 
  1269.    SpiceInt          isrchc_c ( ConstSpiceChar  * value,
  1270.                                 SpiceInt          ndim,   
  1271.                                 SpiceInt          lenvals,
  1272.                                 const void      * array   );
  1273.    SpiceInt          isrchd_c ( SpiceDouble          value,
  1274.                                 SpiceInt             ndim,
  1275.                                 ConstSpiceDouble   * array );
  1276.    SpiceInt          isrchi_c ( SpiceInt             value,
  1277.                                 SpiceInt             ndim,
  1278.                                 ConstSpiceInt      * array );
  1279.    
  1280.    SpiceBoolean      iswhsp_c ( ConstSpiceChar    * string );
  1281.    SpiceDouble       j1900_c  ( void );
  1282.    SpiceDouble       j1950_c  ( void );
  1283.    SpiceDouble       j2000_c  ( void );
  1284.    SpiceDouble       j2100_c  ( void );
  1285.    SpiceDouble       jyear_c  ( void );
  1286.    void              kdata_c  ( SpiceInt          which,
  1287.                                 ConstSpiceChar  * kind,
  1288.                                 SpiceInt          fillen,
  1289.                                 SpiceInt          typlen,
  1290.                                 SpiceInt          srclen,
  1291.                                 SpiceChar       * file,
  1292.                                 SpiceChar       * filtyp,
  1293.                                 SpiceChar       * source,
  1294.                                 SpiceInt        * handle,
  1295.                                 SpiceBoolean    * found   );
  1296.    void              kinfo_c  ( ConstSpiceChar  * file,
  1297.                                 SpiceInt          typlen,
  1298.                                 SpiceInt          srclen,
  1299.                                 SpiceChar       * filtyp,
  1300.                                 SpiceChar       * source,
  1301.                                 SpiceInt        * handle,
  1302.                                 SpiceBoolean    * found  );
  1303.                   
  1304.                   
  1305.    void              ktotal_c ( ConstSpiceChar   * kind,
  1306.                                 SpiceInt         * count ); 
  1307.    void              kxtrct_c ( ConstSpiceChar       * keywd,
  1308.                                 SpiceInt               termlen,
  1309.                                 const void           * terms,
  1310.                                 SpiceInt               nterms,
  1311.                                 SpiceInt               stringlen,
  1312.                                 SpiceInt               substrlen,
  1313.                                 SpiceChar            * string,
  1314.                                 SpiceBoolean         * found,
  1315.                                 SpiceChar            * substr  );
  1316.    SpiceInt          lastnb_c ( ConstSpiceChar    * string );
  1317.    void              latcyl_c ( SpiceDouble         radius,
  1318.                                 SpiceDouble         lon,
  1319.                                 SpiceDouble         lat,
  1320.                                 SpiceDouble       * r,
  1321.                                 SpiceDouble       * lonc,
  1322.                                 SpiceDouble       * z      );
  1323.    void              latrec_c ( SpiceDouble         radius,
  1324.                                 SpiceDouble         longitude,
  1325.                                 SpiceDouble         latitude,
  1326.                                 SpiceDouble         rectan [3] );
  1327.    void              latsph_c ( SpiceDouble         radius,
  1328.                                 SpiceDouble         lon,
  1329.                                 SpiceDouble         lat,
  1330.                                 SpiceDouble       * rho,
  1331.                                 SpiceDouble       * colat,
  1332.                                 SpiceDouble       * lons   );
  1333.    void              lcase_c  ( SpiceChar         * in,
  1334.                                 SpiceInt            lenout,
  1335.                                 SpiceChar         * out     );
  1336.    void              ldpool_c ( ConstSpiceChar    * filename );
  1337.    void              lmpool_c ( const void        * cvals,
  1338.                                 SpiceInt            lenvals,
  1339.                                 SpiceInt             n       );
  1340.                                 
  1341.                                 
  1342.    void              lparse_c ( ConstSpiceChar    * list,
  1343.                                 ConstSpiceChar    * delim,
  1344.                                 SpiceInt            nmax,
  1345.                                 SpiceInt            lenout,
  1346.                                 SpiceInt          * n,
  1347.                                 void              * items   );
  1348.                
  1349.                                 
  1350.    void              lparsm_c ( ConstSpiceChar    * list,
  1351.                                 ConstSpiceChar    * delims,
  1352.                                 SpiceInt            nmax,
  1353.                                 SpiceInt            lenout,
  1354.                                 SpiceInt          * n,
  1355.                                 void              * items   );
  1356.               
  1357.                                 
  1358.    void              lparss_c ( ConstSpiceChar    * list,
  1359.                                 ConstSpiceChar    * delims,
  1360.                                 SpiceCell         * set     );
  1361.    SpiceDouble       lspcn_c  ( ConstSpiceChar    * body,
  1362.                                 SpiceDouble         et,
  1363.                                 ConstSpiceChar    * abcorr );
  1364.    SpiceInt          lstlec_c ( ConstSpiceChar    * string,
  1365.                                 SpiceInt            n,   
  1366.                                 SpiceInt            lenvals,
  1367.                                 const void        * array   );
  1368.    SpiceInt          lstled_c ( SpiceDouble         x,
  1369.                                 SpiceInt            n,
  1370.                                 ConstSpiceDouble  * array );
  1371.  
  1372.    SpiceInt          lstlei_c ( SpiceInt            x,
  1373.                                 SpiceInt            n,
  1374.                                 ConstSpiceInt     * array );
  1375.  
  1376.                                 
  1377.    SpiceInt          lstltc_c ( ConstSpiceChar    * string,
  1378.                                 SpiceInt            n,   
  1379.                                 SpiceInt            lenvals,
  1380.                                 const void        * array   );
  1381.    SpiceInt          lstltd_c ( SpiceDouble         x,
  1382.                                 SpiceInt            n,
  1383.                                 ConstSpiceDouble  * array );
  1384.  
  1385.    SpiceInt          lstlti_c ( SpiceInt            x,
  1386.                                 SpiceInt            n,
  1387.                                 ConstSpiceInt     * array );
  1388.  
  1389.                                 
  1390.    void              ltime_c  ( SpiceDouble         etobs,
  1391.                                 SpiceInt            obs,
  1392.                                 ConstSpiceChar    * dir,
  1393.                                 SpiceInt            targ,
  1394.                                 SpiceDouble       * ettarg,
  1395.                                 SpiceDouble       * elapsd  );
  1396.    void              lx4dec_c ( ConstSpiceChar    * string,
  1397.                                 SpiceInt            first,
  1398.                                 SpiceInt          * last,
  1399.                                 SpiceInt          * nchar  );
  1400.    void              lx4num_c ( ConstSpiceChar    * string,
  1401.                                 SpiceInt            first,
  1402.                                 SpiceInt          * last,
  1403.                                 SpiceInt          * nchar  );
  1404.    void              lx4sgn_c ( ConstSpiceChar    * string,
  1405.                                 SpiceInt            first,
  1406.                                 SpiceInt          * last,
  1407.                                 SpiceInt          * nchar  );
  1408.    void              lx4uns_c ( ConstSpiceChar    * string,
  1409.                                 SpiceInt            first,
  1410.                                 SpiceInt          * last,
  1411.                                 SpiceInt          * nchar  );
  1412.    void              lxqstr_c ( ConstSpiceChar    * string,
  1413.                                 SpiceChar           qchar,
  1414.                                 SpiceInt            first,
  1415.                                 SpiceInt          * last,
  1416.                                 SpiceInt          * nchar  );
  1417.    void              m2eul_c  ( ConstSpiceDouble    r[3][3],
  1418.                                 SpiceInt            axis3,
  1419.                                 SpiceInt            axis2,
  1420.                                 SpiceInt            axis1,
  1421.                                 SpiceDouble       * angle3,
  1422.                                 SpiceDouble       * angle2,
  1423.                                 SpiceDouble       * angle1  );
  1424.    void              m2q_c    ( ConstSpiceDouble    r[3][3],
  1425.                                 SpiceDouble         q[4]     );
  1426.    SpiceBoolean      matchi_c ( ConstSpiceChar    * string,
  1427.                                 ConstSpiceChar    * templ,
  1428.                                 SpiceChar           wstr,
  1429.                                 SpiceChar           wchr   );
  1430.    SpiceBoolean      matchw_c ( ConstSpiceChar    * string,
  1431.                                 ConstSpiceChar    * templ,
  1432.                                 SpiceChar           wstr,
  1433.                                 SpiceChar           wchr   );
  1434.    SpiceDouble       maxd_c  ( SpiceInt             n, 
  1435.                                                     ... );
  1436.    SpiceInt          maxi_c  ( SpiceInt             n, 
  1437.                                                     ... );
  1438.    void              mequ_c   ( ConstSpiceDouble    m1  [3][3],
  1439.                                 SpiceDouble         mout[3][3] );
  1440.    void              mequg_c  ( const void        * m1,
  1441.                                 SpiceInt            nr,
  1442.                                 SpiceInt            nc,
  1443.                                 void              * mout );
  1444.    SpiceDouble       mind_c   ( SpiceInt            n, 
  1445.                                                     ... );
  1446.    SpiceInt          mini_c   ( SpiceInt            n, 
  1447.                                                     ... );
  1448.    int               moved_   ( SpiceDouble       * arrfrm,
  1449.                                 SpiceInt          * ndim,
  1450.                                 SpiceDouble       * arrto  );
  1451.                                  
  1452.    void              mtxm_c   ( ConstSpiceDouble    m1  [3][3],
  1453.                                 ConstSpiceDouble    m2  [3][3],
  1454.                                 SpiceDouble         mout[3][3] );
  1455.    void              mtxmg_c  ( const void        * m1,
  1456.                                 const void        * m2,
  1457.                                 SpiceInt            row1,
  1458.                                 SpiceInt            col1,
  1459.                                 SpiceInt            col2,
  1460.                                 void              * mout  );
  1461.    void              mtxv_c   ( ConstSpiceDouble    m1  [3][3],
  1462.                                 ConstSpiceDouble    vin [3],
  1463.                                 SpiceDouble         vout[3]    );
  1464.    void              mtxvg_c  ( const void        * m1,
  1465.                                 const void        * v2,
  1466.                                 SpiceInt            ncol1,
  1467.                                 SpiceInt            nr1r2,
  1468.                                 void              * vout   );
  1469.    void              mxm_c    ( ConstSpiceDouble    m1  [3][3],
  1470.                                 ConstSpiceDouble    m2  [3][3],
  1471.                                 SpiceDouble         mout[3][3] );
  1472.    void              mxmg_c   ( const void        * m1,
  1473.                                 const void        * m2,
  1474.                                 SpiceInt            row1,
  1475.                                 SpiceInt            col1,
  1476.                                 SpiceInt            col2,
  1477.                                 void              * mout  );
  1478.    void              mxmt_c   ( ConstSpiceDouble    m1  [3][3],
  1479.                                 ConstSpiceDouble    m2  [3][3],
  1480.                                 SpiceDouble         mout[3][3] );
  1481.    void              mxmtg_c  ( const void        * m1,
  1482.                                 const void        * m2,
  1483.                                 SpiceInt            nrow1,
  1484.                                 SpiceInt            nc1c2,
  1485.                                 SpiceInt            nrow2,
  1486.                                 void              * mout  );
  1487.    void              mxv_c    ( ConstSpiceDouble    m1[3][3],
  1488.                                 ConstSpiceDouble    vin[3],
  1489.                                 SpiceDouble         vout[3] );
  1490.    void              mxvg_c   ( const void        * m1,
  1491.                                 const void        * v2,
  1492.                                 SpiceInt            nrow1,
  1493.                                 SpiceInt            nc1r2,
  1494.                                 void              * vout   );
  1495.    void              namfrm_c ( ConstSpiceChar    * frname,
  1496.                                 SpiceInt          * frcode );
  1497.    SpiceInt          ncpos_c  ( ConstSpiceChar    * str,
  1498.                                 ConstSpiceChar    * chars,
  1499.                                 SpiceInt            start  );
  1500.    SpiceInt          ncposr_c ( ConstSpiceChar    * str,
  1501.                                 ConstSpiceChar    * chars,
  1502.                                 SpiceInt            start  );
  1503.    void              nearpt_c ( ConstSpiceDouble    positn[3],
  1504.                                 SpiceDouble         a,
  1505.                                 SpiceDouble         b,
  1506.                                 SpiceDouble         c,
  1507.                                 SpiceDouble         npoint[3],
  1508.                                 SpiceDouble       * alt        );
  1509.    void              npedln_c ( SpiceDouble         a,
  1510.                                 SpiceDouble         b,
  1511.                                 SpiceDouble         c,
  1512.                                 ConstSpiceDouble    linept[3],
  1513.                                 ConstSpiceDouble    linedr[3],
  1514.                                 SpiceDouble         pnear[3],
  1515.                                 SpiceDouble       * dist      );
  1516.    void              npelpt_c ( ConstSpiceDouble    point[3],
  1517.                                 ConstSpiceEllipse * ellips,
  1518.                                 SpiceDouble         pnear[3],
  1519.                                 SpiceDouble       * dist      );
  1520.                                 
  1521.                                  
  1522.    void              nplnpt_c ( ConstSpiceDouble    linpt  [3],
  1523.                                 ConstSpiceDouble    lindir [3],
  1524.                                 ConstSpiceDouble    point  [3],
  1525.                                 SpiceDouble         pnear  [3],
  1526.                                 SpiceDouble       * dist       );
  1527.                                 
  1528.    void              nvc2pl_c ( ConstSpiceDouble    normal[3],
  1529.                                 SpiceDouble         constant,
  1530.                                 SpicePlane        * plane     );
  1531.    void              nvp2pl_c ( ConstSpiceDouble    normal[3],
  1532.                                 ConstSpiceDouble    point[3],
  1533.                                 SpicePlane        * plane     );
  1534.  
  1535.    SpiceInt          ordc_c   ( ConstSpiceChar     * item,
  1536.                                 SpiceCell          * set   );
  1537.    SpiceInt          ordd_c   ( SpiceDouble          item,
  1538.                                 SpiceCell          * set   );
  1539.    SpiceInt          ordi_c   ( SpiceInt             item,
  1540.                                 SpiceCell          * set   );
  1541.    void              orderc_c ( SpiceInt            lenvals,
  1542.                                 const void        * array,
  1543.                                 SpiceInt            ndim,
  1544.                                 SpiceInt          * iorder  );
  1545.    void              orderd_c ( ConstSpiceDouble  * array,
  1546.                                 SpiceInt            ndim,
  1547.                                 SpiceInt          * iorder );
  1548.    void              orderi_c ( ConstSpiceInt     * array,
  1549.                                 SpiceInt            ndim,
  1550.                                 SpiceInt          * iorder );
  1551.    void              oscelt_c ( ConstSpiceDouble    state[6],
  1552.                                 SpiceDouble         et      ,
  1553.                                 SpiceDouble         mu      ,
  1554.                                 SpiceDouble         elts[8]  );
  1555.    void              pcklof_c ( ConstSpiceChar    * fname,
  1556.                                 SpiceInt          * handle );
  1557.    void              pckuof_c ( SpiceInt            handle );
  1558.    void              pcpool_c ( ConstSpiceChar   * name,
  1559.                                 SpiceInt           n,
  1560.                                 SpiceInt           lenvals,
  1561.                                 const void        * cvals    );
  1562.                                 
  1563.                                  
  1564.    void              pdpool_c ( ConstSpiceChar    * name,
  1565.                                 SpiceInt            n,
  1566.                                 ConstSpiceDouble  * dvals );
  1567.                                 
  1568.    void              pgrrec_c ( ConstSpiceChar    * body,
  1569.                                 SpiceDouble         lon,
  1570.                                 SpiceDouble         lat,
  1571.                                 SpiceDouble         alt,
  1572.                                 SpiceDouble         re,
  1573.                                 SpiceDouble         f,
  1574.                                 SpiceDouble         rectan[3] );
  1575.    
  1576.                                
  1577.    SpiceDouble       pi_c     ( void );
  1578.    
  1579.    void              pipool_c ( ConstSpiceChar    * name,
  1580.                                 SpiceInt            n,
  1581.                                 ConstSpiceInt     * ivals ); 
  1582.                                 
  1583.          
  1584.    void              pjelpl_c ( ConstSpiceEllipse * elin,
  1585.                                 ConstSpicePlane   * plane,
  1586.                                 SpiceEllipse      * elout  );
  1587.                                 
  1588.                                 
  1589.    void              pl2nvc_c ( ConstSpicePlane   * plane,
  1590.                                 SpiceDouble         normal[3],
  1591.                                 SpiceDouble       * constant  );
  1592.                    
  1593.                    
  1594.    void              pl2nvp_c ( ConstSpicePlane   * plane,
  1595.                                 SpiceDouble         normal[3],
  1596.                                 SpiceDouble         point[3]  );
  1597.                    
  1598.                    
  1599.    void              pl2psv_c ( ConstSpicePlane   * plane,
  1600.                                 SpiceDouble         point[3],
  1601.                                 SpiceDouble         span1[3],
  1602.                                 SpiceDouble         span2[3]  );
  1603.    SpiceInt          pos_c    ( ConstSpiceChar    * str,
  1604.                                 ConstSpiceChar    * substr,
  1605.                                 SpiceInt            start   );
  1606.    SpiceInt          posr_c   ( ConstSpiceChar    * str,
  1607.                                 ConstSpiceChar    * substr,
  1608.                                 SpiceInt            start   );
  1609.                                  
  1610.    void              prefix_c ( ConstSpiceChar    * pref,
  1611.                                 SpiceInt            spaces,
  1612.                                 SpiceInt            lenout,
  1613.                                 SpiceChar         * string  );
  1614.                    
  1615.    SpiceChar       * prompt_c ( ConstSpiceChar    * prmptStr,
  1616.                                 SpiceInt            lenout,
  1617.                                 SpiceChar         * buffer   );
  1618.    void              prop2b_c ( SpiceDouble         gm,
  1619.                                 ConstSpiceDouble    pvinit[6],
  1620.                                 SpiceDouble         dt,
  1621.                                 SpiceDouble         pvprop[6] );
  1622.    void              prsdp_c  ( ConstSpiceChar    * string,
  1623.                                 SpiceDouble       * dpval  );
  1624.    void              prsint_c ( ConstSpiceChar    * string,
  1625.                                 SpiceInt          * intval );
  1626.    void              psv2pl_c ( ConstSpiceDouble    point[3],
  1627.                                 ConstSpiceDouble    span1[3],
  1628.                                 ConstSpiceDouble    span2[3],
  1629.                                 SpicePlane        * plane     );
  1630.    void              putcml_c ( SpiceInt            argc ,
  1631.                                 SpiceChar        ** argv  );
  1632.    void              pxform_c ( ConstSpiceChar    * from,
  1633.                                 ConstSpiceChar    * to,
  1634.                                 SpiceDouble         et,
  1635.                                 SpiceDouble         rotate[3][3] );
  1636.                                 
  1637.  
  1638.    void              q2m_c    ( ConstSpiceDouble    q[4],
  1639.                                 SpiceDouble         r[3][3] );
  1640.    void              qdq2av_c ( ConstSpiceDouble    q[4],
  1641.                                 ConstSpiceDouble    dq[4],
  1642.                                 SpiceDouble         av[3] );
  1643.  
  1644.    void              qxq_c    ( ConstSpiceDouble    q1[4],
  1645.                                 ConstSpiceDouble    q2[4],
  1646.                                 SpiceDouble         qout[4] );
  1647.    void              radrec_c ( SpiceDouble         range,
  1648.                                 SpiceDouble         ra,
  1649.                                 SpiceDouble         dec,
  1650.                                 SpiceDouble         rectan[3] );
  1651.    void              rav2xf_c ( ConstSpiceDouble     rot   [3][3],
  1652.                                 ConstSpiceDouble     av    [3],
  1653.                                 SpiceDouble          xform [6][6]  );
  1654.                                 
  1655.                                  
  1656.    void              raxisa_c ( ConstSpiceDouble     matrix[3][3],
  1657.                                 SpiceDouble          axis  [3],
  1658.                                 SpiceDouble        * angle       );
  1659.                                 
  1660.  
  1661.    void              rdtext_c ( ConstSpiceChar     * file,
  1662.                                 SpiceInt             lenout,
  1663.                                 SpiceChar          * line,
  1664.                                 SpiceBoolean       * eof    );
  1665.                                 
  1666.                                 
  1667.    void              reccyl_c ( ConstSpiceDouble    rectan[3],
  1668.                                 SpiceDouble       * r,
  1669.                                 SpiceDouble       * lon,
  1670.                                 SpiceDouble       * z         );
  1671.    void              recgeo_c ( ConstSpiceDouble    rectan[3],
  1672.                                 SpiceDouble         re,
  1673.                                 SpiceDouble         f,
  1674.                                 SpiceDouble       * lon,
  1675.                                 SpiceDouble       * lat,
  1676.                                 SpiceDouble       * alt );
  1677.    void              reclat_c ( ConstSpiceDouble    rectan[3],
  1678.                                 SpiceDouble       * radius,
  1679.                                 SpiceDouble       * longitude,
  1680.                                 SpiceDouble       * latitude  );
  1681.    void              recpgr_c ( ConstSpiceChar    * body,
  1682.                                 SpiceDouble         rectan[3],
  1683.                                 SpiceDouble         re,
  1684.                                 SpiceDouble         f,
  1685.                                 SpiceDouble       * lon,
  1686.                                 SpiceDouble       * lat,
  1687.                                 SpiceDouble       * alt       );
  1688.    void              recrad_c ( ConstSpiceDouble    rectan[3],
  1689.                                 SpiceDouble       * radius,
  1690.                                 SpiceDouble       * ra,
  1691.                                 SpiceDouble       * dec  );
  1692.    void              reordc_c ( ConstSpiceInt     * iorder,
  1693.                                 SpiceInt            ndim,
  1694.                                 SpiceInt            lenvals,
  1695.                                 void              * array    );
  1696.  
  1697.    void              reordd_c ( ConstSpiceInt     * iorder,
  1698.                                 SpiceInt            ndim,      
  1699.                                 SpiceDouble       * array   );
  1700.    void              reordi_c ( ConstSpiceInt     * iorder,
  1701.                                 SpiceInt            ndim,      
  1702.                                 SpiceInt          * array   );
  1703.    void              reordl_c ( ConstSpiceInt     * iorder,
  1704.                                 SpiceInt            ndim,      
  1705.                                 SpiceBoolean      * array   );
  1706.    void              removc_c ( ConstSpiceChar     * item,
  1707.                                 SpiceCell          * set   );
  1708.    void              removd_c ( SpiceDouble          item,
  1709.                                 SpiceCell          * set   );
  1710.    void              removi_c ( SpiceInt             item,
  1711.                                 SpiceCell          * set   );
  1712.    void              repmc_c  ( ConstSpiceChar     * in,
  1713.                                 ConstSpiceChar     * marker,
  1714.                                 ConstSpiceChar     * value,
  1715.                                 SpiceInt             lenout,
  1716.                                 SpiceChar          * out     );
  1717.    void              repmct_c ( ConstSpiceChar     * in,
  1718.                                 ConstSpiceChar     * marker,
  1719.                                 SpiceInt             value,
  1720.                                 SpiceChar            strCase,
  1721.                                 SpiceInt             lenout,
  1722.                                 SpiceChar          * out     );
  1723.    void              repmd_c  ( ConstSpiceChar     * in,
  1724.                                 ConstSpiceChar     * marker,
  1725.                                 SpiceDouble          value,
  1726.                                 SpiceInt             sigdig,
  1727.                                 SpiceInt             lenout,
  1728.                                 SpiceChar          * out     ); 
  1729.    void              repmf_c  ( ConstSpiceChar     * in,
  1730.                                 ConstSpiceChar     * marker,
  1731.                                 SpiceDouble          value,
  1732.                                 SpiceInt             sigdig,
  1733.                                 SpiceChar            format,
  1734.                                 SpiceInt             lenout,
  1735.                                 SpiceChar          * out     ); 
  1736.    void              repmi_c  ( ConstSpiceChar     * in,
  1737.                                 ConstSpiceChar     * marker,
  1738.                                 SpiceInt             value,
  1739.                                 SpiceInt             lenout,
  1740.                                 SpiceChar          * out     ); 
  1741.    void              repmot_c ( ConstSpiceChar     * in,
  1742.                                 ConstSpiceChar     * marker,
  1743.                                 SpiceInt             value,
  1744.                                 SpiceChar            strCase,
  1745.                                 SpiceInt             lenout,
  1746.                                 SpiceChar          * out     );
  1747.    void              reset_c  ( void );
  1748.    SpiceBoolean      return_c ( void );
  1749.    void              recsph_c ( ConstSpiceDouble    rectan[3],
  1750.                                 SpiceDouble       * r,
  1751.                                 SpiceDouble       * colat,
  1752.                                 SpiceDouble       * lon );
  1753.    void              rotate_c ( SpiceDouble         angle,
  1754.                                 SpiceInt            iaxis,
  1755.                                 SpiceDouble         mout[3][3] );
  1756.    void              rotmat_c ( ConstSpiceDouble    m1[3][3],
  1757.                                 SpiceDouble         angle,
  1758.                                 SpiceInt            iaxis,
  1759.                                 SpiceDouble         mout[3][3] );
  1760.    void              rotvec_c ( ConstSpiceDouble    v1[3],
  1761.                                 SpiceDouble         angle,
  1762.                                 SpiceInt            iaxis,
  1763.                                 SpiceDouble         vout[3] );
  1764.    SpiceDouble       rpd_c    ( void );
  1765.    void              rquad_c  ( SpiceDouble         a,
  1766.                                 SpiceDouble         b,
  1767.                                 SpiceDouble         c,
  1768.                                 SpiceDouble         root1[2],
  1769.                                 SpiceDouble         root2[2] );
  1770.                                 
  1771.                                  
  1772.    void              saelgv_c ( ConstSpiceDouble    vec1  [3],
  1773.                                 ConstSpiceDouble    vec2  [3],
  1774.                                 SpiceDouble         smajor[3],
  1775.                                 SpiceDouble         sminor[3]  );
  1776.                                 
  1777.    void              scard_c (  SpiceInt            card,   
  1778.                                 SpiceCell         * cell  );
  1779.                                  
  1780.    void              scdecd_c ( SpiceInt            sc,
  1781.                                 SpiceDouble         sclkdp,
  1782.                                 SpiceInt            sclklen,
  1783.                                 SpiceChar         * sclkch   );
  1784.    void              sce2s_c  ( SpiceInt            sc,
  1785.                                 SpiceDouble         et,
  1786.                                 SpiceInt            sclklen,
  1787.                                 SpiceChar         * sclkch   );
  1788.    void              sce2c_c  ( SpiceInt            sc,
  1789.                                 SpiceDouble         et,
  1790.                                 SpiceDouble       * sclkdp   );
  1791.    void              sce2t_c  ( SpiceInt            sc,
  1792.                                 SpiceDouble         et,
  1793.                                 SpiceDouble       * sclkdp   );
  1794.    void              scencd_c ( SpiceInt            sc,
  1795.                                 ConstSpiceChar    * sclkch,
  1796.                                 SpiceDouble       * sclkdp   );
  1797.    void              scfmt_c  ( SpiceInt            sc,
  1798.                                 SpiceDouble         ticks,
  1799.                                 SpiceInt            clkstrlen,
  1800.                                 SpiceChar         * clkstr    );
  1801.    void              scpart_c ( SpiceInt            sc,
  1802.                                 SpiceInt          * nparts,
  1803.                                 SpiceDouble       * pstart,
  1804.                                 SpiceDouble       * pstop   );
  1805.    void              scs2e_c  ( SpiceInt            sc,
  1806.                                 ConstSpiceChar    * sclkch,
  1807.                                 SpiceDouble       * et      );
  1808.    void              sct2e_c  ( SpiceInt            sc,
  1809.                                 SpiceDouble         sclkdp,
  1810.                                 SpiceDouble       * et      );
  1811.    void              sctiks_c ( SpiceInt            sc,
  1812.                                 ConstSpiceChar    * clkstr,
  1813.                                 SpiceDouble       * ticks   );
  1814.    void              sdiff_c  ( SpiceCell         * a,
  1815.                                 SpiceCell         * b,
  1816.                                 SpiceCell         * c  );
  1817.    SpiceBoolean      set_c    ( SpiceCell          * a,
  1818.                                 ConstSpiceChar     * op,
  1819.                                 SpiceCell          * b  );
  1820.    void              setmsg_c ( ConstSpiceChar    * msg );
  1821.    void              shellc_c ( SpiceInt            ndim,
  1822.                                 SpiceInt            lenvals,
  1823.                                 void              * array   );
  1824.    void              shelld_c ( SpiceInt            ndim,
  1825.                                 SpiceDouble       * array   ); 
  1826.    void              shelli_c ( SpiceInt            ndim,
  1827.                                 SpiceInt          * array   ); 
  1828.    void              sigerr_c ( ConstSpiceChar    * message );
  1829.    SpiceInt          size_c   ( SpiceCell         * size );
  1830.    SpiceDouble       spd_c    ( void );
  1831.    void              sphcyl_c ( SpiceDouble         radius,
  1832.                                 SpiceDouble         colat,
  1833.                                 SpiceDouble         slon,
  1834.                                 SpiceDouble       * r,
  1835.                                 SpiceDouble       * lon,
  1836.                                 SpiceDouble       * z );
  1837.    void              sphlat_c ( SpiceDouble         r,
  1838.                                 SpiceDouble         colat,
  1839.                                 SpiceDouble         lons,
  1840.                                 SpiceDouble       * radius,
  1841.                                 SpiceDouble       * lon,
  1842.                                 SpiceDouble       * lat   );
  1843.    void              sphrec_c ( SpiceDouble         r,
  1844.                                 SpiceDouble         colat,
  1845.                                 SpiceDouble         lon,
  1846.                                 SpiceDouble         rectan[3] );
  1847.    void              spk14a_c ( SpiceInt            handle,
  1848.                                 SpiceInt            ncsets,
  1849.                                 ConstSpiceDouble    coeffs [],
  1850.                                 ConstSpiceDouble    epochs []  );
  1851.                                 
  1852.                                 
  1853.    void              spk14b_c ( SpiceInt            handle,
  1854.                                 ConstSpiceChar    * segid,
  1855.                                 SpiceInt            body,
  1856.                                 SpiceInt            center,
  1857.                                 ConstSpiceChar    * frame,
  1858.                                 SpiceDouble         first,
  1859.                                 SpiceDouble         last,
  1860.                                 SpiceInt            chbdeg  );
  1861.    void              spk14e_c ( SpiceInt            handle );
  1862.    void              spkapo_c ( SpiceInt            targ,
  1863.                                 SpiceDouble         et,
  1864.                                 ConstSpiceChar    * ref,
  1865.                                 ConstSpiceDouble    sobs[6],
  1866.                                 ConstSpiceChar    * abcorr,
  1867.                                 SpiceDouble         ptarg[3],
  1868.                                 SpiceDouble       * lt        );
  1869.                                 
  1870.                                 
  1871.    void              spkapp_c ( SpiceInt            targ,
  1872.                                 SpiceDouble         et,
  1873.                                 ConstSpiceChar    * ref,
  1874.                                 ConstSpiceDouble    sobs   [6],
  1875.                                 ConstSpiceChar    * abcorr,
  1876.                                 SpiceDouble         starg  [6],
  1877.                                 SpiceDouble       * lt         );
  1878.    
  1879.                                 
  1880.    void              spkcls_c ( SpiceInt            handle );
  1881.    
  1882.    void              spkcov_c ( ConstSpiceChar    * spk,
  1883.                                 SpiceInt            idcode,
  1884.                                 SpiceCell         * cover   );
  1885.  
  1886.                                 
  1887.    void              spkez_c  ( SpiceInt            target,
  1888.                                 SpiceDouble         epoch,
  1889.                                 ConstSpiceChar    * frame,
  1890.                                 ConstSpiceChar    * abcorr,
  1891.                                 SpiceInt            observer,
  1892.                                 SpiceDouble         state[6],
  1893.                                 SpiceDouble       * lt       );
  1894.    void              spkezp_c ( SpiceInt            targ,
  1895.                                 SpiceDouble         et,
  1896.                                 ConstSpiceChar    * ref,
  1897.                                 ConstSpiceChar    * abcorr,
  1898.                                 SpiceInt            obs,
  1899.                                 SpiceDouble         ptarg[3],
  1900.                                 SpiceDouble       * lt        );
  1901.                                 
  1902.    void              spkezr_c ( ConstSpiceChar    * target,
  1903.                                 SpiceDouble         epoch,
  1904.                                 ConstSpiceChar    * frame,
  1905.                                 ConstSpiceChar    * abcorr,
  1906.                                 ConstSpiceChar    * observer,
  1907.                                 SpiceDouble         state[6],
  1908.                                 SpiceDouble       * lt       );
  1909.    void              spkgeo_c ( SpiceInt            targ,
  1910.                                 SpiceDouble         et,
  1911.                                 ConstSpiceChar    * ref,
  1912.                                 SpiceInt            obs,
  1913.                                 SpiceDouble         state[6],
  1914.                                 SpiceDouble       * lt       );
  1915.    void              spkgps_c ( SpiceInt            targ,
  1916.                                 SpiceDouble         et,
  1917.                                 ConstSpiceChar    * ref,
  1918.                                 SpiceInt            obs,
  1919.                                 SpiceDouble         pos[3],
  1920.                                 SpiceDouble       * lt     );
  1921.                                 
  1922.                                  
  1923.    void              spklef_c ( ConstSpiceChar    * filename,
  1924.                                 SpiceInt          * handle   );
  1925.    void              spkobj_c ( ConstSpiceChar    * spk,
  1926.                                 SpiceCell         * ids );
  1927.    void              spkopa_c ( ConstSpiceChar    * file,
  1928.                                 SpiceInt          * handle );
  1929.                                 
  1930.                                 
  1931.    void              spkopn_c ( ConstSpiceChar    * name,
  1932.                                 ConstSpiceChar    * ifname,
  1933.                                 SpiceInt            ncomch,
  1934.                                 SpiceInt          * handle  );
  1935.                                 
  1936.                                 
  1937.    void              spkpds_c ( SpiceInt            body,  
  1938.                                 SpiceInt            center,
  1939.                                 ConstSpiceChar    * frame,
  1940.                                 SpiceInt            type,
  1941.                                 SpiceDouble         first,
  1942.                                 SpiceDouble         last,
  1943.                                 SpiceDouble         descr[5] );
  1944.                                  
  1945.                                  
  1946.    void              spkpos_c ( ConstSpiceChar    * targ,
  1947.                                 SpiceDouble         et,
  1948.                                 ConstSpiceChar    * ref,
  1949.                                 ConstSpiceChar    * abcorr,
  1950.                                 ConstSpiceChar    * obs,
  1951.                                 SpiceDouble         ptarg[3],
  1952.                                 SpiceDouble       * lt        );
  1953.          
  1954.                                 
  1955.    void              spkssb_c ( SpiceInt            targ,
  1956.                                 SpiceDouble         et,
  1957.                                 ConstSpiceChar    * ref,
  1958.                                 SpiceDouble         starg[6] );
  1959.                                 
  1960.                                  
  1961.    void              spksub_c ( SpiceInt            handle,
  1962.                                 SpiceDouble         descr[5],
  1963.                                 ConstSpiceChar    * ident,
  1964.                                 SpiceDouble         begin,
  1965.                                 SpiceDouble         end,
  1966.                                 SpiceInt            newh    );
  1967.                                 
  1968.                                  
  1969.    void              spkuds_c ( ConstSpiceDouble    descr [5],
  1970.                                 SpiceInt          * body,
  1971.                                 SpiceInt          * center,
  1972.                                 SpiceInt          * frame,
  1973.                                 SpiceInt          * type,
  1974.                                 SpiceDouble       * first,
  1975.                                 SpiceDouble       * last,
  1976.                                 SpiceInt          * begin,
  1977.                                 SpiceInt          * end     );
  1978.                                 
  1979.                                 
  1980.    void              spkuef_c ( SpiceInt             handle );
  1981.    void              spkw02_c ( SpiceInt             handle,
  1982.                                 SpiceInt             body,
  1983.                                 SpiceInt             center,
  1984.                                 ConstSpiceChar     * frame,
  1985.                                 SpiceDouble          first,
  1986.                                 SpiceDouble          last,
  1987.                                 ConstSpiceChar     * segid,
  1988.                                 SpiceDouble          intlen,
  1989.                                 SpiceInt             n,
  1990.                                 SpiceInt             polydg,
  1991.                                 ConstSpiceDouble     cdata [],
  1992.                                 SpiceDouble          btime     );
  1993.    void              spkw03_c ( SpiceInt             handle,
  1994.                                 SpiceInt             body,
  1995.                                 SpiceInt             center,
  1996.                                 ConstSpiceChar     * frame,
  1997.                                 SpiceDouble          first,
  1998.                                 SpiceDouble          last,
  1999.                                 ConstSpiceChar     * segid,
  2000.                                 SpiceDouble          intlen,
  2001.                                 SpiceInt             n,
  2002.                                 SpiceInt             polydg,
  2003.                                 ConstSpiceDouble     cdata [],
  2004.                                 SpiceDouble          btime     );
  2005.                                 
  2006.                                 
  2007.    void              spkw05_c ( SpiceInt             handle,
  2008.                                 SpiceInt             body,
  2009.                                 SpiceInt             center,
  2010.                                 ConstSpiceChar     * frame,
  2011.                                 SpiceDouble          first,
  2012.                                 SpiceDouble          last,
  2013.                                 ConstSpiceChar     * segid,
  2014.                                 SpiceDouble          gm,
  2015.                                 SpiceInt             n,
  2016.                                 ConstSpiceDouble     states [][6],
  2017.                                 ConstSpiceDouble     epochs []     );
  2018.                                 
  2019.                                 
  2020.    void              spkw08_c ( SpiceInt             handle,
  2021.                                 SpiceInt             body,
  2022.                                 SpiceInt             center,
  2023.                                 ConstSpiceChar     * frame,
  2024.                                 SpiceDouble          first,
  2025.                                 SpiceDouble          last,
  2026.                                 ConstSpiceChar     * segid,
  2027.                                 SpiceInt             degree,
  2028.                                 SpiceInt             n,
  2029.                                 ConstSpiceDouble     states[][6],
  2030.                                 SpiceDouble          epoch1,
  2031.                                 SpiceDouble          step         );
  2032.                                 
  2033.                                 
  2034.    void              spkw09_c ( SpiceInt             handle,
  2035.                                 SpiceInt             body,
  2036.                                 SpiceInt             center, 
  2037.                                 ConstSpiceChar     * frame,
  2038.                                 SpiceDouble          first,
  2039.                                 SpiceDouble          last,
  2040.                                 ConstSpiceChar     * segid,
  2041.                                 SpiceInt             degree,
  2042.                                 SpiceInt             n,
  2043.                                 ConstSpiceDouble     states[][6],
  2044.                                 ConstSpiceDouble     epochs[]     );
  2045.                                 
  2046.                                 
  2047.    void              spkw10_c ( SpiceInt             handle,
  2048.                                 SpiceInt             body, 
  2049.                                 SpiceInt             center, 
  2050.                                 ConstSpiceChar     * frame, 
  2051.                                 SpiceDouble          first,
  2052.                                 SpiceDouble          last,
  2053.                                 ConstSpiceChar     * segid, 
  2054.                                 ConstSpiceDouble     consts [8],
  2055.                                 SpiceInt             n,
  2056.                                 ConstSpiceDouble     elems  [],
  2057.                                 ConstSpiceDouble     epochs []  );
  2058.       
  2059.                                 
  2060.    void              spkw12_c ( SpiceInt             handle,
  2061.                                 SpiceInt             body,
  2062.                                 SpiceInt             center, 
  2063.                                 ConstSpiceChar     * frame,
  2064.                                 SpiceDouble          first,
  2065.                                 SpiceDouble          last,
  2066.                                 ConstSpiceChar     * segid,
  2067.                                 SpiceInt             degree,
  2068.                                 SpiceInt             n,
  2069.                                 ConstSpiceDouble     states[][6],
  2070.                                 SpiceDouble          epoch0,
  2071.                                 SpiceDouble          step        );
  2072.                                 
  2073.    void              spkw13_c ( SpiceInt             handle,
  2074.                                 SpiceInt             body,
  2075.                                 SpiceInt             center, 
  2076.                                 ConstSpiceChar     * frame,
  2077.                                 SpiceDouble          first,
  2078.                                 SpiceDouble          last,
  2079.                                 ConstSpiceChar     * segid,
  2080.                                 SpiceInt             degree,
  2081.                                 SpiceInt             n,
  2082.                                 ConstSpiceDouble     states[][6],
  2083.                                 ConstSpiceDouble     epochs[]     );
  2084.                                 
  2085.    void              spkw15_c ( SpiceInt             handle,
  2086.                                 SpiceInt             body, 
  2087.                                 SpiceInt             center, 
  2088.                                 ConstSpiceChar     * frame, 
  2089.                                 SpiceDouble          first,
  2090.                                 SpiceDouble          last,
  2091.                                 ConstSpiceChar     * segid, 
  2092.                                 SpiceDouble          epoch,
  2093.                                 ConstSpiceDouble     tp     [3],
  2094.                                 ConstSpiceDouble     pa     [3],
  2095.                                 SpiceDouble          p,
  2096.                                 SpiceDouble          ecc,
  2097.                                 SpiceDouble          j2flg,
  2098.                                 ConstSpiceDouble     pv     [3],
  2099.                                 SpiceDouble          gm,
  2100.                                 SpiceDouble          j2,
  2101.                                 SpiceDouble          radius     );
  2102.                                 
  2103.    void              spkw17_c ( SpiceInt             handle,
  2104.                                 SpiceInt             body, 
  2105.                                 SpiceInt             center, 
  2106.                                 ConstSpiceChar     * frame, 
  2107.                                 SpiceDouble          first,
  2108.                                 SpiceDouble          last,
  2109.                                 ConstSpiceChar     * segid, 
  2110.                                 SpiceDouble          epoch,
  2111.                                 ConstSpiceDouble     eqel   [9],
  2112.                                 SpiceDouble          rapol,
  2113.                                 SpiceDouble          decpol      );
  2114.    void              spkw18_c ( SpiceInt             handle,
  2115.                                 SpiceSPK18Subtype    subtyp,
  2116.                                 SpiceInt             body,
  2117.                                 SpiceInt             center, 
  2118.                                 ConstSpiceChar     * frame,
  2119.                                 SpiceDouble          first,
  2120.                                 SpiceDouble          last,
  2121.                                 ConstSpiceChar     * segid,
  2122.                                 SpiceInt             degree,
  2123.                                 SpiceInt             n,
  2124.                                 const void         * packts,
  2125.                                 ConstSpiceDouble     epochs[]     );
  2126.    void              srfrec_c ( SpiceInt            body,
  2127.                                 SpiceDouble         lon,
  2128.                                 SpiceDouble         lat,
  2129.                                 SpiceDouble         rectan[3] ); 
  2130.                                 
  2131.    void              srfxpt_c ( ConstSpiceChar    * method,
  2132.                                 ConstSpiceChar    * target,
  2133.                                 SpiceDouble         et,
  2134.                                 ConstSpiceChar    * abcorr,
  2135.                                 ConstSpiceChar    * obsrvr,
  2136.                                 ConstSpiceChar    * dref,
  2137.                                 ConstSpiceDouble    dvec   [3],
  2138.                                 SpiceDouble         spoint [3],
  2139.                                 SpiceDouble       * dist,
  2140.                                 SpiceDouble       * trgepc,
  2141.                                 SpiceDouble         obspos [3],
  2142.                                 SpiceBoolean      * found         );
  2143.    void              ssize_c  ( SpiceInt             size,   
  2144.                                 SpiceCell          * cell  );
  2145.                                              
  2146.    void              stelab_c ( ConstSpiceDouble    pobj[3],
  2147.                                 ConstSpiceDouble    vobs[3],
  2148.                                 SpiceDouble         appobj[3] );
  2149.    void              stpool_c ( ConstSpiceChar    * item,
  2150.                                 SpiceInt            nth,
  2151.                                 ConstSpiceChar    * contin,
  2152.                                 SpiceInt            lenout,
  2153.                                 SpiceChar         * string,
  2154.                                 SpiceInt          * size,
  2155.                                 SpiceBoolean      * found  );
  2156.                                 
  2157.                                  
  2158.    void              str2et_c ( ConstSpiceChar    * date,
  2159.                                 SpiceDouble       * et   );
  2160.    void              subpt_c  ( ConstSpiceChar    * method,
  2161.                                 ConstSpiceChar    * target,
  2162.                                 SpiceDouble         et,
  2163.                                 ConstSpiceChar    * abcorr,
  2164.                                 ConstSpiceChar    * obsrvr,
  2165.                                 SpiceDouble         spoint [3],
  2166.                                 SpiceDouble       * alt         );
  2167.                                 
  2168.                                 
  2169.    void              subsol_c ( ConstSpiceChar    * method,
  2170.                                 ConstSpiceChar    * target,
  2171.                                 SpiceDouble         et,
  2172.                                 ConstSpiceChar    * abcorr,
  2173.                                 ConstSpiceChar    * obsrvr,
  2174.                                 SpiceDouble         spoint[3] );
  2175.                                 
  2176.    SpiceDouble       sumad_c  ( ConstSpiceDouble    array[],
  2177.                                 SpiceInt            n        );
  2178.    SpiceInt          sumai_c  ( ConstSpiceInt       array[],
  2179.                                 SpiceInt            n        );
  2180.    void              surfnm_c ( SpiceDouble         a,
  2181.                                 SpiceDouble         b,
  2182.                                 SpiceDouble         c,
  2183.                                 ConstSpiceDouble    point[3],
  2184.                                 SpiceDouble         normal[3] );
  2185.    void              surfpt_c ( ConstSpiceDouble    positn[3],
  2186.                                 ConstSpiceDouble    u[3],
  2187.                                 SpiceDouble         a,
  2188.                                 SpiceDouble         b,
  2189.                                 SpiceDouble         c,
  2190.                                 SpiceDouble         point[3],
  2191.                                 SpiceBoolean      * found     );
  2192.    void              swpool_c ( ConstSpiceChar    * agent,
  2193.                                 SpiceInt            nnames,
  2194.                                 SpiceInt            lenvals,
  2195.                                 const void        * names   );
  2196.                                 
  2197.                                  
  2198.    void              sxform_c ( ConstSpiceChar    * from,
  2199.                                 ConstSpiceChar    * to,
  2200.                                 SpiceDouble         et,
  2201.                                 SpiceDouble         xform[6][6] );
  2202.    void              szpool_c ( ConstSpiceChar    * name,
  2203.                                 SpiceInt          * n,
  2204.                                 SpiceBoolean      * found );
  2205.                                 
  2206.                                  
  2207.    void              timdef_c ( ConstSpiceChar    * action,
  2208.                                 ConstSpiceChar    * item,
  2209.                                 SpiceInt            lenout,
  2210.                                 SpiceChar         * value );
  2211.    void              timout_c ( SpiceDouble         et,
  2212.                                 ConstSpiceChar    * pictur,
  2213.                                 SpiceInt            lenout,
  2214.                                 SpiceChar         * output );
  2215.    void              tipbod_c ( ConstSpiceChar    * ref,
  2216.                                 SpiceInt            body,
  2217.                                 SpiceDouble         et,
  2218.                                 SpiceDouble         tipm[3][3] );
  2219.    void              tisbod_c ( ConstSpiceChar    * ref,
  2220.                                 SpiceInt            body,
  2221.                                 SpiceDouble         et,
  2222.                                 SpiceDouble         tsipm[6][6] );
  2223.    ConstSpiceChar  * tkvrsn_c ( ConstSpiceChar    * item );
  2224.    void              tparse_c ( ConstSpiceChar    * string,
  2225.                                 SpiceInt            lenout,
  2226.                                 SpiceDouble       * sp2000,
  2227.                                 SpiceChar         * errmsg  ); 
  2228.                    
  2229.                    
  2230.    void              tpictr_c ( ConstSpiceChar    * sample,
  2231.                                 SpiceInt            lenpictur,
  2232.                                 SpiceInt            lenerror,
  2233.                                 SpiceChar         * pictur,
  2234.                                 SpiceBoolean      * ok,
  2235.                                 SpiceChar         * error     );
  2236.    SpiceDouble       trace_c  ( ConstSpiceDouble    matrix[3][3] );
  2237.    void              trcoff_c ( void );
  2238.    void              tsetyr_c ( SpiceInt            year );
  2239.    SpiceDouble       twopi_c  ( void );
  2240.    void              twovec_c ( ConstSpiceDouble    axdef  [3],
  2241.                                 SpiceInt            indexa,
  2242.                                 ConstSpiceDouble    plndef [3],
  2243.                                 SpiceInt            indexp,
  2244.                                 SpiceDouble         mout   [3][3] );
  2245.    SpiceDouble       tyear_c  ( void );
  2246.    void              ucase_c  ( SpiceChar         * in,
  2247.                                 SpiceInt            lenout,
  2248.                                 SpiceChar         * out    );
  2249.    void              ucrss_c  ( ConstSpiceDouble    v1[3],
  2250.                                 ConstSpiceDouble    v2[3],
  2251.                                 SpiceDouble         vout[3] );
  2252.    void              union_c  ( SpiceCell          * a,
  2253.                                 SpiceCell          * b,
  2254.                                 SpiceCell          * c  );
  2255.    SpiceDouble       unitim_c ( SpiceDouble         epoch,
  2256.                                 ConstSpiceChar    * insys,
  2257.                                 ConstSpiceChar    * outsys );
  2258.    void              unload_c ( ConstSpiceChar   * file ); 
  2259.    void              unorm_c  ( ConstSpiceDouble    v1[3],
  2260.                                 SpiceDouble         vout[3],
  2261.                                 SpiceDouble       * vmag    );
  2262.    void              unormg_c ( ConstSpiceDouble  * v1,
  2263.                                 SpiceInt            ndim,
  2264.                                 SpiceDouble       * vout,
  2265.                                 SpiceDouble       * vmag );
  2266.    void              utc2et_c ( ConstSpiceChar    * utcstr,
  2267.                                 SpiceDouble       * et   );
  2268.    void              vadd_c   ( ConstSpiceDouble    v1[3],
  2269.                                 ConstSpiceDouble    v2[3],
  2270.                                 SpiceDouble         vout[3] ) ;
  2271.    void              vaddg_c  ( ConstSpiceDouble  * v1,
  2272.                                 ConstSpiceDouble  * v2,
  2273.                                 SpiceInt            ndim,
  2274.                                 SpiceDouble       * vout );
  2275.    void              valid_c  ( SpiceInt             size,
  2276.                                 SpiceInt             n,
  2277.                                 SpiceCell          * a    );
  2278.    void              vcrss_c  ( ConstSpiceDouble    v1[3],
  2279.                                 ConstSpiceDouble    v2[3],
  2280.                                 SpiceDouble         vout[3] );
  2281.    SpiceDouble       vdist_c  ( ConstSpiceDouble    v1[3],
  2282.                                 ConstSpiceDouble    v2[3] );
  2283.    SpiceDouble       vdistg_c ( ConstSpiceDouble  * v1,
  2284.                                 ConstSpiceDouble  * v2,
  2285.                                 SpiceInt            ndim );
  2286.    SpiceDouble       vdot_c   ( ConstSpiceDouble    v1[3],
  2287.                                 ConstSpiceDouble    v2[3] );
  2288.    SpiceDouble       vdotg_c  ( ConstSpiceDouble  * v1,
  2289.                                 ConstSpiceDouble  * v2,
  2290.                                 SpiceInt            ndim );
  2291.    void              vequ_c   ( ConstSpiceDouble    vin[3],
  2292.                                 SpiceDouble         vout[3] );
  2293.    void              vequg_c  ( ConstSpiceDouble  * vin,
  2294.                                 SpiceInt            ndim,
  2295.                                 SpiceDouble       * vout );
  2296.    void              vhat_c   ( ConstSpiceDouble    v1  [3],
  2297.                                 SpiceDouble         vout[3] );
  2298.    void              vhatg_c  ( ConstSpiceDouble    v1  [3],
  2299.                                 SpiceInt            ndim,
  2300.                                 SpiceDouble         vout[3] );
  2301.    void              vlcom_c  ( SpiceDouble         a,
  2302.                                 ConstSpiceDouble    v1[3],
  2303.                                 SpiceDouble         b,
  2304.                                 ConstSpiceDouble    v2[3],
  2305.                                 SpiceDouble         sum[3] );
  2306.    void              vlcom3_c ( SpiceDouble         a,
  2307.                                 ConstSpiceDouble    v1[3],
  2308.                                 SpiceDouble         b,
  2309.                                 ConstSpiceDouble    v2[3],
  2310.                                 SpiceDouble         c,
  2311.                                 ConstSpiceDouble    v3[3],
  2312.                                 SpiceDouble         sum[3] );
  2313.    void              vlcomg_c ( SpiceInt            n,
  2314.                                 SpiceDouble         a,
  2315.                                 ConstSpiceDouble  * v1,
  2316.                                 SpiceDouble         b,
  2317.                                 ConstSpiceDouble  * v2,
  2318.                                 SpiceDouble       * sum );
  2319.    void              vminug_c ( ConstSpiceDouble  * vin,
  2320.                                 SpiceInt            ndim,
  2321.                                 SpiceDouble       * vout );
  2322.  
  2323.    void              vminus_c ( ConstSpiceDouble    v1[3],
  2324.                                 SpiceDouble         vout[3] );
  2325.    SpiceDouble       vnorm_c  ( ConstSpiceDouble    v1[3] );
  2326.    SpiceDouble       vnormg_c ( ConstSpiceDouble  * v1,
  2327.                                 SpiceInt            ndim );
  2328.    void              vpack_c  ( SpiceDouble         x,
  2329.                                 SpiceDouble         y,
  2330.                                 SpiceDouble         z,
  2331.                                 SpiceDouble         v[3] );
  2332.                                 
  2333.                                  
  2334.    void              vperp_c  ( ConstSpiceDouble    a[3],
  2335.                                 ConstSpiceDouble    b[3],
  2336.                                 SpiceDouble         p[3] );
  2337.    void              vprjp_c  ( ConstSpiceDouble    vin   [3],
  2338.                                 ConstSpicePlane   * plane,
  2339.                                 SpiceDouble         vout  [3] );
  2340.    void              vprjpi_c ( ConstSpiceDouble    vin    [3],
  2341.                                 ConstSpicePlane   * projpl,
  2342.                                 ConstSpicePlane   * invpl,
  2343.                                 SpiceDouble         vout   [3],
  2344.                                 SpiceBoolean      * found       );
  2345.                                 
  2346.                                 
  2347.    void              vproj_c  ( ConstSpiceDouble    a[3],
  2348.                                 ConstSpiceDouble    b[3],
  2349.                                 SpiceDouble         p[3] );
  2350.    SpiceDouble       vrel_c   ( ConstSpiceDouble    v1[3],
  2351.                                 ConstSpiceDouble    v2[3]  );
  2352.    SpiceDouble       vrelg_c  ( ConstSpiceDouble  * v1, 
  2353.                                 ConstSpiceDouble  * v2,
  2354.                                 SpiceInt            ndim  );
  2355.    void              vrotv_c  ( ConstSpiceDouble    v[3],
  2356.                                 ConstSpiceDouble    axis[3],
  2357.                                 SpiceDouble         theta,
  2358.                                 SpiceDouble         r[3] );
  2359.    void              vscl_c   ( SpiceDouble         s,
  2360.                                 ConstSpiceDouble    v1[3],
  2361.                                 SpiceDouble         vout[3] );
  2362.    void              vsclg_c  ( SpiceDouble         s,
  2363.                                 ConstSpiceDouble  * v1,
  2364.                                 SpiceInt            ndim,
  2365.                                 SpiceDouble       * vout  );
  2366.    SpiceDouble       vsep_c   ( ConstSpiceDouble    v1[3],
  2367.                                 ConstSpiceDouble    v2[3] );
  2368.    void              vsub_c   ( ConstSpiceDouble    v1[3],
  2369.                                 ConstSpiceDouble    v2[3],
  2370.                                 SpiceDouble         vout[3] );
  2371.    void              vsubg_c  ( ConstSpiceDouble  * v1,
  2372.                                 ConstSpiceDouble  * v2,
  2373.                                 SpiceInt            ndim,
  2374.                                 SpiceDouble       * vout  );
  2375.    SpiceDouble       vsepg_c  ( ConstSpiceDouble  * v1,
  2376.                                 ConstSpiceDouble  * v2,
  2377.                                 SpiceInt            ndim );
  2378.    SpiceDouble       vtmv_c   ( ConstSpiceDouble    v1     [3],
  2379.                                 ConstSpiceDouble    matrix [3][3],
  2380.                                 ConstSpiceDouble    v2     [3]    );
  2381.    SpiceDouble       vtmvg_c  ( const void        * v1,
  2382.                                 const void        * matrix,
  2383.                                 const void        * v2,
  2384.                                 SpiceInt            nrow,
  2385.                                 SpiceInt            ncol          );
  2386.    void              vupack_c ( ConstSpiceDouble    v[3],
  2387.                                 SpiceDouble       * x,
  2388.                                 SpiceDouble       * y,
  2389.                                 SpiceDouble       * z     ); 
  2390.    SpiceBoolean      vzero_c  ( ConstSpiceDouble     v[3] );
  2391.    SpiceBoolean      vzerog_c ( ConstSpiceDouble  * v, 
  2392.                                 SpiceInt            ndim );
  2393.    void              wncomd_c ( SpiceDouble          left,
  2394.                                 SpiceDouble          right,
  2395.                                 SpiceCell          * window,
  2396.                                 SpiceCell          * result ); 
  2397.  
  2398.    void              wncond_c ( SpiceDouble          left,
  2399.                                 SpiceDouble          right,
  2400.                                 SpiceCell          * window ); 
  2401.  
  2402.    void              wndifd_c ( SpiceCell          * a,
  2403.                                 SpiceCell          * b,
  2404.                                  SpiceCell         * c  );
  2405.    SpiceBoolean      wnelmd_c ( SpiceDouble          point,
  2406.                                 SpiceCell          * window );
  2407.    void              wnexpd_c ( SpiceDouble          left,
  2408.                                 SpiceDouble          right,
  2409.                                 SpiceCell          * window ); 
  2410.    void              wnextd_c ( SpiceChar            side,
  2411.                                 SpiceCell          * window );
  2412.    void              wnfetd_c ( SpiceCell          * window,
  2413.                                 SpiceInt             n,
  2414.                                 SpiceDouble        * left,
  2415.                                 SpiceDouble        * right   ); 
  2416.    void              wnfild_c ( SpiceDouble          small,
  2417.                                 SpiceCell          * window ); 
  2418.    void              wnfltd_c ( SpiceDouble          small,
  2419.                                 SpiceCell          * window );
  2420.  
  2421.    SpiceBoolean      wnincd_c ( SpiceDouble          left,
  2422.                                 SpiceDouble          right,
  2423.                                 SpiceCell          * window  ); 
  2424.    void              wninsd_c ( SpiceDouble          left,
  2425.                                 SpiceDouble          right,
  2426.                                 SpiceCell          * window );
  2427.  
  2428.    void              wnintd_c ( SpiceCell          * a,
  2429.                                 SpiceCell          * b,
  2430.                                 SpiceCell          * c  ); 
  2431.            
  2432.    SpiceBoolean      wnreld_c ( SpiceCell          * a,
  2433.                                 ConstSpiceChar     * op,
  2434.                                 SpiceCell          * b   );
  2435.    void              wnsumd_c ( SpiceCell          * window,
  2436.                                 SpiceDouble        * meas,
  2437.                                 SpiceDouble        * avg,
  2438.                                 SpiceDouble        * stddev,
  2439.                                 SpiceInt           * shortest,
  2440.                                 SpiceInt           * longest   );              
  2441.    void              wnunid_c ( SpiceCell          * a,
  2442.                                 SpiceCell          * b,
  2443.                                 SpiceCell          * c  ); 
  2444.    void              wnvald_c ( SpiceInt             size,
  2445.                                 SpiceInt             n,
  2446.                                 SpiceCell          * window );
  2447.  
  2448.    void              xf2eul_c ( ConstSpiceDouble     xform  [6][6],
  2449.                                 SpiceInt             axisa,
  2450.                                 SpiceInt             axisb,
  2451.                                 SpiceInt             axisc,
  2452.                                 SpiceDouble          eulang [6],
  2453.                                 SpiceBoolean       * unique         );
  2454.      
  2455.                                 
  2456.    void              xf2rav_c ( ConstSpiceDouble     xform [6][6],
  2457.                                 SpiceDouble          rot   [3][3],
  2458.                                 SpiceDouble          av    [3]     );
  2459.                                  
  2460.                                  
  2461.    void              xpose_c  ( ConstSpiceDouble    m1  [3][3],
  2462.                                 SpiceDouble         mout[3][3] );
  2463.    void              xpose6_c ( ConstSpiceDouble    m1  [6][6],
  2464.                                 SpiceDouble         mout[6][6] );
  2465.    void              xposeg_c ( const void        * matrix, 
  2466.                                 SpiceInt            nrow, 
  2467.                                 SpiceInt            ncol, 
  2468.                                 void              * xposem );
  2469.    void              zzgetcml_c( SpiceInt          * argc,
  2470.                                  SpiceChar       *** argv,
  2471.                                  SpiceBoolean        init );
  2472.    void              zzsynccl_c( SpiceTransDir       xdir,
  2473.                                  SpiceCell         * cell );
  2474. #endif