annotate include/rtp_alloc_simple.h @ 7:b97024a897c3

add top Makefile
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 27 May 2024 21:12:15 +0000
parents 191d58f5c24f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6
191d58f5c24f librtpalloc: port the simple client
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 /*
191d58f5c24f librtpalloc: port the simple client
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 * This header file defines the library interface for "simple"
191d58f5c24f librtpalloc: port the simple client
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 * RTP endpoint allocation.
191d58f5c24f librtpalloc: port the simple client
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 */
191d58f5c24f librtpalloc: port the simple client
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5
191d58f5c24f librtpalloc: port the simple client
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 #pragma once
191d58f5c24f librtpalloc: port the simple client
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7
191d58f5c24f librtpalloc: port the simple client
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 #include <sys/socket.h>
191d58f5c24f librtpalloc: port the simple client
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9
191d58f5c24f librtpalloc: port the simple client
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 struct rtp_alloc_simple {
191d58f5c24f librtpalloc: port the simple client
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 struct sockaddr_storage gsm_addr;
191d58f5c24f librtpalloc: port the simple client
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 int gsm_rtp_fd;
191d58f5c24f librtpalloc: port the simple client
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 int gsm_rtcp_fd;
191d58f5c24f librtpalloc: port the simple client
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 struct sockaddr_storage pstn_addr; /* also used for 2nd GSM */
191d58f5c24f librtpalloc: port the simple client
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 int pstn_rtp_fd;
191d58f5c24f librtpalloc: port the simple client
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 int pstn_rtcp_fd;
191d58f5c24f librtpalloc: port the simple client
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 };
191d58f5c24f librtpalloc: port the simple client
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18
191d58f5c24f librtpalloc: port the simple client
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 int rtp_alloc_simple(int ep_type, struct rtp_alloc_simple *out);