Debian Codegraph @

rplayd/timer.h

raw symbols ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 /* $Id: timer.h,v 1.3 1999/03/10 07:58:04 boyns Exp $ */
2
3 /*
4 * Copyright (C) 1993-99 Mark R. Boyns <[email protected]>
5 *
6 * This file is part of rplay.
7 *
8 * rplay is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * rplay is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with rplay; see the file COPYING. If not, write to the
20 * Free Software Foundation, Inc.,
21 * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
22 */
23
24
25
26 #ifndef _timer_h
27 #define _timer_h
28
29 #ifdef HAVE_CONFIG_H
30 #include "config.h"
31 #endif
32
33 #include <sys/types.h>
34
35 extern double timer_rate;
36 extern double timer_count;
37 extern int timer_enabled;
38
39 #ifdef __STDC__
40 extern void timer_update ();
41 extern void timer_init ();
42 extern void timer_block ();
43 extern void timer_unblock ();
44 extern void timer_start (int interval);
45 extern void timer_restart (int interval);
46 extern void timer_stop ();
47 #else
48 extern void timer_update ();
49 extern void timer_init ();
50 extern void timer_block ();
51 extern void timer_unblock ();
52 extern void timer_start ( /* int interval */ );
53 extern void timer_restart ( /* int interval */ );
54 extern void timer_stop ();
55 #endif
56
57 #endif /* _timer_h */