Changeset 4805 for trunk/Ohana/src/opihi/include/convert.h
- Timestamp:
- Aug 16, 2005, 6:41:16 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/include/convert.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/include/convert.h
r4602 r4805 4 4 # define CONVERT_H 5 5 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 ***/ 10 7 time_t TimeRef PROTO((double time, time_t TimeReference, int TimeFormat)); 11 8 double 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 23 10 int hh_hms PROTO((double hh, int *hr, int *mn, double *sc)); 24 11 int dd_dms PROTO((double dd, int *dg, int *mn, double *sc)); … … 33 20 char *meade_dec_to_str PROTO((double deg)); 34 21 int hstgsc_hms_to_deg PROTO((double *h0, double *h1, double *d0, double *d1, char *string)); 22 char *strptime PROTO((const char *s, const char *format, struct tm *tm)); 35 23 36 24 # endif
Note:
See TracChangeset
for help on using the changeset viewer.
