/*******************************************************************************/
#include <time.h>
#include "livewp-astro.h"
+#include "livewp-common.h"
/*******************************************************************************/
#define TIME_DAY 0
#define TIME_NIGHT 3
/*******************************************************************************/
void get_localtime(int * year, int * month, int * day, int * hour, int * min, int * zone);
void get_coord(double * lat, double * lon);
-void get_sun_pos(int h, int m, double * alt, double * azm);
-int get_daytime(int h, int m);
+void get_sun_pos(double * alt, double * azm);
+int get_daytime();
int get_moon_phase();
time_t get_next_sunrise();
time_t get_next_sunset();
+gint fast_rnd(gint max);
+void get_sun_screen_pos(double alt, double azm, gint * x, gint * y);
+
/*******************************************************************************/
#endif