-
Notifications
You must be signed in to change notification settings - Fork 54
Expand file tree
/
Copy pathsatutl.h
More file actions
36 lines (28 loc) · 756 Bytes
/
Copy pathsatutl.h
File metadata and controls
36 lines (28 loc) · 756 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/* > satutl.h
*
*/
#ifndef _SATUTL_H
#define _SATUTL_H
#define ST_SIZE 256
#ifdef __cplusplus
extern "C" {
#endif
/** satutl.c **/
void read_kb(char *buf);
void conditional_copy_satname(char * satname, char * current_line);
int read_twoline(FILE *fp, long satno, orbit_t *orb, char *satname);
void *vector(size_t num, size_t size);
void print_orb(orbit_t *orb);
int alpha5_to_number(const char *s);
void number_to_alpha5(int number, char *result);
void zero_pad(const char *s, char *result);
void strip_leading_spaces(const char *s, char *result);
void strip_trailing_spaces(char *s);
/** aries.c **/
double gha_aries(double jd);
/** ferror.c **/
void fatal_error(const char *format, ...);
#ifdef __cplusplus
}
#endif
#endif /* _SATUTL_H */