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