~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/util/gmtime.h

  • Committer: Mark Atwood
  • Date: 2011-07-07 02:23:07 UTC
  • mfrom: (2318.6.116 refactor18)
  • Revision ID: me@mark.atwood.name-20110707022307-4db00nqaaczzc3jv
mergeĀ lp:~olafvdspek/drizzle/refactor18

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
#pragma once
26
26
 
27
 
#include <time.h>
28
 
 
29
 
namespace drizzled
30
 
{
31
 
 
32
 
namespace util
33
 
{
34
 
 
35
 
struct tm *gmtime(const type::Time::epoch_t &timer, struct tm *tmbuf);
36
 
void gmtime(const type::Time::epoch_t &timer, type::Time &tmbuf);
37
 
struct tm *localtime(const type::Time::epoch_t &timer, struct tm *tmbuf);
38
 
void localtime(const type::Time::epoch_t &timer,  type::Time &tmbuf);
 
27
#include <ctime>
 
28
 
 
29
namespace drizzled {
 
30
namespace util {
 
31
 
 
32
tm *gmtime(const type::epoch_t &timer, tm *tmbuf);
 
33
void gmtime(const type::epoch_t &timer, type::Time &tmbuf);
 
34
tm *localtime(const type::epoch_t &timer, tm *tmbuf);
 
35
void localtime(const type::epoch_t &timer,  type::Time &tmbuf);
39
36
 
40
37
} /* namespace util */
41
38
} /* namespace drizzled */