IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 16, 2005, 6:41:16 PM (21 years ago)
Author:
eugene
Message:

cleaning include files, merging time/coord functions in libohana

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/include/convert.h

    r4602 r4805  
    44# define CONVERT_H
    55
    6 /*** values for time formats */
    7 enum {TIME_NONE, TIME_JD, TIME_MJD, TIME_DATE, TIME_DAYS, TIME_HOURS, TIME_MINUTES, TIME_SECONDS};
    8 
    9 /*** conversion functions ***/
     6/*** time/coord conversion functions not supplied by libohana ***/
    107time_t        TimeRef               PROTO((double time, time_t TimeReference, int TimeFormat));
    118double        TimeValue             PROTO((time_t time, time_t TimeReference, int TimeFormat));
    12 int           chk_time              PROTO((char *line));
    13 time_t        date_to_sec           PROTO((char *date));
    14 int           dms_to_ddd            PROTO((double *Value, char *string));
    15 time_t        jd_to_sec             PROTO((double jd));
    16 time_t        mjd_to_sec            PROTO((double mjd));
    17 char         *sec_to_date           PROTO((time_t second));
    18 double        sec_to_jd             PROTO((time_t second));
    19 double        sec_to_mjd            PROTO((time_t second));
    20 int           str_to_dtime          PROTO((char *line, double *second));
    21 int           str_to_radec          PROTO((double *ra, double *dec, char *str1, char *str2));
    22 int           str_to_time           PROTO((char *line, time_t *second));
     9
    2310int           hh_hms                PROTO((double hh, int *hr, int *mn, double *sc));
    2411int           dd_dms                PROTO((double dd, int *dg, int *mn, double *sc));
     
    3320char         *meade_dec_to_str      PROTO((double deg));
    3421int           hstgsc_hms_to_deg     PROTO((double *h0, double *h1, double *d0, double *d1, char *string));
     22char         *strptime              PROTO((const char *s, const char *format, struct tm *tm));
    3523
    3624# endif
Note: See TracChangeset for help on using the changeset viewer.