Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

getdate.h

Go to the documentation of this file.
00001 /*  Copyright (C) 1995 Free Software Foundation, Inc.
00002 
00003    This program is free software; you can redistribute it and/or modify
00004    it under the terms of the GNU General Public License as published by
00005    the Free Software Foundation; either version 2, or (at your option)
00006    any later version.
00007 
00008    This program is distributed in the hope that it will be useful,
00009    but WITHOUT ANY WARRANTY; without even the implied warranty of
00010    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00011    GNU General Public License for more details.
00012 
00013    You should have received a copy of the GNU General Public License
00014    along with this program; if not, write to the Free Software Foundation,
00015    Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
00016 
00017 #ifdef HAVE_CONFIG_H
00018 # include <config.h>
00019 #endif
00020 
00021 # ifndef PARAMS
00022 #  if defined (__GNUC__) || __STDC__
00023 #   define PARAMS(args) args
00024 #  else
00025 #   define PARAMS(args) ()
00026 #  endif
00027 # endif
00028 
00029 #if defined (vms)
00030 # include <types.h>
00031 # include <time.h>
00032 #else
00033 # include <sys/types.h>
00034 # ifdef TIME_WITH_SYS_TIME
00035 #  include <sys/time.h>
00036 #  include <time.h>
00037 # else
00038 #  ifdef HAVE_SYS_TIME_H
00039 #   include <sys/time.h>
00040 #  else
00041 #   include <time.h>
00042 #  endif
00043 # endif
00044 #endif /* defined (vms) */
00045 
00046 time_t get_date PARAMS ((const char *p, const time_t *now));

httpstats-stage04 [ 7 April, 2001]