spandsp
0.0.6
private/schedule.h
1
/*
2
* SpanDSP - a series of DSP components for telephony
3
*
4
* private/schedule.h
5
*
6
* Written by Steve Underwood <steveu@coppice.org>
7
*
8
* Copyright (C) 2004 Steve Underwood
9
*
10
* All rights reserved.
11
*
12
* This program is free software; you can redistribute it and/or modify
13
* it under the terms of the GNU Lesser General Public License version 2.1,
14
* as published by the Free Software Foundation.
15
*
16
* This program is distributed in the hope that it will be useful,
17
* but WITHOUT ANY WARRANTY; without even the implied warranty of
18
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
* GNU Lesser General Public License for more details.
20
*
21
* You should have received a copy of the GNU Lesser General Public
22
* License along with this program; if not, write to the Free Software
23
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24
*/
25
26
#if !defined(_SPANDSP_PRIVATE_SCHEDULE_H_)
27
#define _SPANDSP_PRIVATE_SCHEDULE_H_
28
29
/*! A scheduled event entry. */
30
struct
span_sched_s
31
{
32
uint64_t when;
33
span_sched_callback_func_t callback;
34
void
*user_data;
35
};
36
37
/*! A scheduled event queue. */
38
struct
span_sched_state_s
39
{
40
uint64_t ticker;
41
int
allocated;
42
int
max_to_date;
43
span_sched_t
*sched;
44
logging_state_t
logging;
45
};
46
47
#endif
48
/*- End of file ------------------------------------------------------------*/
logging_state_s
Definition:
private/logging.h:34
span_sched_s
Definition:
private/schedule.h:31
span_sched_state_s
Definition:
private/schedule.h:39
src
spandsp
private
schedule.h
Generated by
1.9.4