2014-05-29 17:06:43 +02:00
|
|
|
/**
|
|
|
|
* \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
|
2016-02-26 17:30:16 +01:00
|
|
|
#include <assert.h>
|
2014-05-29 17:06:43 +02:00
|
|
|
#include "contiki.h"
|
2014-12-29 08:16:47 +01:00
|
|
|
#include "rest-engine.h"
|
2014-05-29 17:06:43 +02:00
|
|
|
|
2015-01-21 15:09:31 +01:00
|
|
|
extern resource_t res_timestamp;
|
2016-02-18 09:55:07 +01:00
|
|
|
extern resource_t res_timezone;
|
2016-02-26 17:30:16 +01:00
|
|
|
extern resource_t res_crontab;
|
2015-01-21 15:09:31 +01:00
|
|
|
extern resource_t res_localtime;
|
|
|
|
extern resource_t res_utc;
|
2014-05-29 17:06:43 +02:00
|
|
|
|
2016-02-26 17:30:16 +01:00
|
|
|
extern void activate_cron_resources (void);
|
|
|
|
|
2014-05-29 17:06:43 +02:00
|
|
|
#endif // time_resource_h
|
|
|
|
/** @} */
|