osd-contiki/apps/time/time_resource.h
Ralf Schlatterbeck b4fb8c3f52 Add wallclock time handling
New application and new example.
We use the built-in timer routines and add an offset to get the
wallclock time. The offset can be set by time-changing routines
(currently only settimeofday).
We also maintain an offset for timezone handling but this isn't
currently fully implemented.
2014-11-19 13:43:45 +01:00

28 lines
476 B
C

/**
* \addgroup Time related functions
*
* Resource definitions for time module
*
* @{
*/
/**
* \file
* Resource definitions for the time module
*
* \author
* Ralf Schlatterbeck <rsc@tux.runtux.com>
*/
#ifndef time_resource_h
#define time_resource_h
#include "contiki.h"
#include "erbium.h"
extern resource_t resource_timestamp;
extern resource_t resource_localtime;
extern resource_t resource_gmtime;
#endif // time_resource_h
/** @} */