File: sartime.h

package info (click to toggle)
searchandrescue 0.8.2-10
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 4,656 kB
  • ctags: 6,111
  • sloc: ansic: 89,072; cpp: 7,691; sh: 90; makefile: 80
file content (18 lines) | stat: -rw-r--r-- 446 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef SARTIME_H
#define SARTIME_H

#include <sys/types.h>

extern time_t SARGetCurMilliTime(void);

extern unsigned int SARRandom(unsigned int seed_offset);
extern float SARRandomCoeff(unsigned int seed_offset);

extern int SARParseTimeOfDay(
	const char *string,
	int *h, int *m, int *s
);
extern int SARParseLatitudeDMS(const char *string, float *dms);
extern int SARParseLongitudeDMS(const char *string, float *dms);

#endif	/* SARTIME_H */