00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #ifndef _TIMESTAMP_H
00027 #define _TIMESTAMP_H
00028
00029 #include "beecrypt.h"
00030
00031 #if HAVE_LONG_LONG
00032 # define ONE_SECOND 1000LL
00033 # define ONE_MINUTE 60000LL
00034 # define ONE_HOUR 3600000LL
00035 # define ONE_DAY 86400000LL
00036 # define ONE_WEEK 604800000LL
00037 # define ONE_YEAR 31536000000LL
00038 #else
00039 # define ONE_SECOND 1000L
00040 # define ONE_MINUTE 60000L
00041 # define ONE_HOUR 3600000L
00042 # define ONE_DAY 86400000L
00043 # define ONE_WEEK 604800000L
00044 # define ONE_YEAR 31536000000L
00045 #endif
00046
00047 #ifdef __cplusplus
00048 extern "C" {
00049 #endif
00050
00051 BEECRYPTAPI
00052 javalong timestamp(void);
00053
00054 #ifdef __cplusplus
00055 }
00056 #endif
00057
00058 #endif