spandsp 3.0.0
v150_1_local.h
1/*
2 * SpanDSP - a series of DSP components for telephony
3 *
4 * v150_1_local.h - V.150.1
5 *
6 * Written by Steve Underwood <steveu@coppice.org>
7 *
8 * Copyright (C) 2023 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 General Public License version 2, as
14 * 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 General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24 */
25
26int sse_status_handler(v150_1_state_t *s, int status);
27
28span_timestamp_t update_sse_timer(void *user_data, span_timestamp_t timeout);
29
30int v150_1_sse_timer_expired(v150_1_state_t *s, span_timestamp_t now);
31
32void v150_1_sse_init(v150_1_state_t *s,
33 v150_1_sse_tx_packet_handler_t tx_packet_handler,
34 void *tx_packet_user_data);
35
36/*- End of file ------------------------------------------------------------*/