summaryrefslogtreecommitdiff
path: root/src/include/datetime.h
blob: 5f53b36a6bb66ed2462d89fff9a796f39defe40b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef DATETIME_H
#define DATETIME_H

struct datetime {
  int hour;
  int min;
  int sec;
  int wday;
  int mday;
  int yday;
  int mon;
  int year;
} ;

typedef long datetime_sec;

void datetime_tai(struct datetime *,datetime_sec);
datetime_sec datetime_untai(struct datetime *);

#endif