diff options
| author | manuel <manuel@mausz.at> | 2013-02-04 00:08:53 +0100 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2013-02-04 00:08:53 +0100 |
| commit | 69aec538b456402170dc723af417ba5c05389c32 (patch) | |
| tree | e6f34c543f17c6392447ea337b2e2868212424d1 /datetime.h | |
| download | qmail-69aec538b456402170dc723af417ba5c05389c32.tar.gz qmail-69aec538b456402170dc723af417ba5c05389c32.tar.bz2 qmail-69aec538b456402170dc723af417ba5c05389c32.zip | |
qmail 1.03 import
Diffstat (limited to 'datetime.h')
| -rw-r--r-- | datetime.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/datetime.h b/datetime.h new file mode 100644 index 0000000..cde2a9b --- /dev/null +++ b/datetime.h | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | #ifndef DATETIME_H | ||
| 2 | #define DATETIME_H | ||
| 3 | |||
| 4 | struct datetime { | ||
| 5 | int hour; | ||
| 6 | int min; | ||
| 7 | int sec; | ||
| 8 | int wday; | ||
| 9 | int mday; | ||
| 10 | int yday; | ||
| 11 | int mon; | ||
| 12 | int year; | ||
| 13 | } ; | ||
| 14 | |||
| 15 | typedef long datetime_sec; | ||
| 16 | |||
| 17 | extern void datetime_tai(); | ||
| 18 | extern datetime_sec datetime_untai(); | ||
| 19 | |||
| 20 | #endif | ||
