deprecated eval-when situations
[bpt/guile.git] / libguile / stime.h
... / ...
CommitLineData
1/* classes: h_files */
2
3#ifndef SCM_STIME_H
4#define SCM_STIME_H
5
6/* Copyright (C) 1995,1996,1997,1998,2000, 2003, 2006, 2008, 2011 Free Software Foundation, Inc.
7 *
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public License
10 * as published by the Free Software Foundation; either version 3 of
11 * the License, or (at your option) any later version.
12 *
13 * This library is distributed in the hope that it will be useful, but
14 * WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
17 *
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
21 * 02110-1301 USA
22 */
23
24\f
25
26#include "libguile/__scm.h"
27
28\f
29
30SCM_API long scm_c_time_units_per_second;
31#define SCM_TIME_UNITS_PER_SECOND scm_c_time_units_per_second
32
33\f
34SCM_API long scm_c_get_internal_run_time (void);
35SCM_API SCM scm_get_internal_real_time (void);
36SCM_API SCM scm_get_internal_run_time (void);
37SCM_API SCM scm_current_time (void);
38SCM_API SCM scm_gettimeofday (void);
39SCM_API SCM scm_localtime (SCM time, SCM zone);
40SCM_API SCM scm_gmtime (SCM time);
41SCM_API SCM scm_mktime (SCM sbd_time, SCM zone);
42SCM_API SCM scm_tzset (void);
43SCM_API SCM scm_times (void);
44SCM_API SCM scm_strftime (SCM format, SCM stime);
45SCM_API SCM scm_strptime (SCM format, SCM string);
46SCM_INTERNAL void scm_init_stime (void);
47
48#endif /* SCM_STIME_H */
49
50/*
51 Local Variables:
52 c-file-style: "gnu"
53 End:
54*/