thor-os/tlib/include/datetime.hpp
2014-02-26 20:30:55 +01:00

25 lines
617 B
C++

//=======================================================================
// Copyright Baptiste Wicht 2013-2014.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//=======================================================================
#ifndef DATETIME_H
#define DATETIME_H
#include <types.hpp>
struct datetime {
uint16_t year;
uint8_t month;
uint8_t day;
uint8_t hour;
uint8_t minutes;
uint8_t seconds;
uint8_t unused;
uint64_t precise;
} __attribute__((packed)) ;
#endif