1*433d6423SLionel Sambuc #ifndef __RTC_H 2*433d6423SLionel Sambuc #define __RTC_H 3*433d6423SLionel Sambuc 4*433d6423SLionel Sambuc #include <time.h> 5*433d6423SLionel Sambuc 6*433d6423SLionel Sambuc int rtc_init(void); 7*433d6423SLionel Sambuc int rtc_get_time(struct tm *t, int flags); /* read the hardware clock into t */ 8*433d6423SLionel Sambuc int rtc_set_time(struct tm *t, int flags); /* set the hardware clock to t */ 9*433d6423SLionel Sambuc int rtc_exit(void); 10*433d6423SLionel Sambuc 11*433d6423SLionel Sambuc #endif /* __RTC_H */ 12