Skip to content

Commit 9920be7

Browse files
committed
Re-gen.
1 parent 303a4f4 commit 9920be7

File tree

19 files changed

+224
-101
lines changed

19 files changed

+224
-101
lines changed

Makefile.in

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,9 @@ am__define_uniq_tagged_files = \
195195
unique=`for i in $$list; do \
196196
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
197197
done | $(am__uniquify_input)`
198-
DIST_SUBDIRS = libexecinfo libucl libxxHash libre makeann modules \
199-
external/libelperiodic/src src pertools extractaudio doc tests
198+
DIST_SUBDIRS = libexecinfo libucl libxxHash libRTQueue libre makeann \
199+
modules external/libelperiodic/src src pertools extractaudio \
200+
doc tests
200201
am__DIST_COMMON = $(dist_man_MANS) $(srcdir)/Makefile.in AUTHORS \
201202
ChangeLog INSTALL README.md compile config.guess config.sub \
202203
depcomp install-sh ltmain.sh missing
@@ -399,7 +400,7 @@ AUTOMAKE_OPTIONS = foreign
399400
@BUILD_UDP_CONTENTION_TRUE@SUBD_UDCNT = pertools
400401
@BUILD_DOCS_TRUE@SUBD_DOCS = doc
401402
@BUILD_CRYPTO_TRUE@SUB_LIBRE = libre
402-
SUBDIRS = libexecinfo libucl libxxHash $(SUB_LIBRE) makeann \
403+
SUBDIRS = libexecinfo libucl libxxHash libRTQueue $(SUB_LIBRE) makeann \
403404
$(SUBD_MOD) $(SUBD_ELP) src $(SUBD_UDCNT) $(SUBD_EAUD) \
404405
${SUBD_DOCS} $(am__append_1)
405406
dist_man_MANS = rtpproxy.8

autosrc/Makefile.ami

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,5 @@ rtpp_genuid_AUTOSRCS = $(RTPP_AUTOSRC_DIR)/rtpp_genuid_fin.h $(RTPP_AUTOSRC_DIR)
6464
SRCS_AUTOGEN_DEBUG += $(rtpp_genuid_AUTOSRCS)
6565
rtpp_bindaddrs_AUTOSRCS = $(RTPP_AUTOSRC_DIR)/rtpp_bindaddrs_fin.h $(RTPP_AUTOSRC_DIR)/rtpp_bindaddrs_fin.c
6666
SRCS_AUTOGEN_DEBUG += $(rtpp_bindaddrs_AUTOSRCS)
67+
rtpp_packetport_AUTOSRCS = $(RTPP_AUTOSRC_DIR)/rtpp_packetport_fin.h $(RTPP_AUTOSRC_DIR)/rtpp_packetport_fin.c
68+
SRCS_AUTOGEN_DEBUG += $(rtpp_packetport_AUTOSRCS)

autosrc/rtpp_packetport_fin.c

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
/* Auto-generated by genfincode_stat.sh - DO NOT EDIT! */
2+
#include <stdio.h>
3+
#include <stdint.h>
4+
#include <stdlib.h>
5+
#define RTPP_FINCODE
6+
#include "rtpp_types.h"
7+
#include "rtpp_debug.h"
8+
#include "rtpp_packetport.h"
9+
#include "rtpp_packetport_fin.h"
10+
static void rtpp_packetport_next_in_port_fin(void *pub) {
11+
fprintf(stderr, "Method rtpp_packetport_int@%p::next_in_port (rtpp_packetport_next_in_port) is invoked after destruction\x0a", pub);
12+
RTPP_AUTOTRAP();
13+
}
14+
static void rtpp_packetport_next_out_port_fin(void *pub) {
15+
fprintf(stderr, "Method rtpp_packetport_int@%p::next_out_port (rtpp_packetport_next_out_port) is invoked after destruction\x0a", pub);
16+
RTPP_AUTOTRAP();
17+
}
18+
static void rtpp_packetport_reg_stream_fin(void *pub) {
19+
fprintf(stderr, "Method rtpp_packetport_int@%p::reg_stream (rtpp_packetport_reg_stream) is invoked after destruction\x0a", pub);
20+
RTPP_AUTOTRAP();
21+
}
22+
static void rtpp_packetport_reg_streams_fin(void *pub) {
23+
fprintf(stderr, "Method rtpp_packetport_int@%p::reg_streams (rtpp_packetport_reg_streams) is invoked after destruction\x0a", pub);
24+
RTPP_AUTOTRAP();
25+
}
26+
static void rtpp_packetport_send_pkt_na_fin(void *pub) {
27+
fprintf(stderr, "Method rtpp_packetport_int@%p::send_pkt_na (rtpp_packetport_send_pkt_na) is invoked after destruction\x0a", pub);
28+
RTPP_AUTOTRAP();
29+
}
30+
static void rtpp_packetport_unreg_stream_fin(void *pub) {
31+
fprintf(stderr, "Method rtpp_packetport_int@%p::unreg_stream (rtpp_packetport_unreg_stream) is invoked after destruction\x0a", pub);
32+
RTPP_AUTOTRAP();
33+
}
34+
static const struct rtpp_packetport_int_smethods rtpp_packetport_int_smethods_fin = {
35+
.next_in_port = (rtpp_packetport_next_in_port_t)&rtpp_packetport_next_in_port_fin,
36+
.next_out_port = (rtpp_packetport_next_out_port_t)&rtpp_packetport_next_out_port_fin,
37+
.reg_stream = (rtpp_packetport_reg_stream_t)&rtpp_packetport_reg_stream_fin,
38+
.reg_streams = (rtpp_packetport_reg_streams_t)&rtpp_packetport_reg_streams_fin,
39+
.send_pkt_na = (rtpp_packetport_send_pkt_na_t)&rtpp_packetport_send_pkt_na_fin,
40+
.unreg_stream = (rtpp_packetport_unreg_stream_t)&rtpp_packetport_unreg_stream_fin,
41+
};
42+
void rtpp_packetport_int_fin(struct rtpp_packetport_int *pub) {
43+
RTPP_DBG_ASSERT(pub->smethods->next_in_port != (rtpp_packetport_next_in_port_t)NULL);
44+
RTPP_DBG_ASSERT(pub->smethods->next_out_port != (rtpp_packetport_next_out_port_t)NULL);
45+
RTPP_DBG_ASSERT(pub->smethods->reg_stream != (rtpp_packetport_reg_stream_t)NULL);
46+
RTPP_DBG_ASSERT(pub->smethods->reg_streams != (rtpp_packetport_reg_streams_t)NULL);
47+
RTPP_DBG_ASSERT(pub->smethods->send_pkt_na != (rtpp_packetport_send_pkt_na_t)NULL);
48+
RTPP_DBG_ASSERT(pub->smethods->unreg_stream != (rtpp_packetport_unreg_stream_t)NULL);
49+
RTPP_DBG_ASSERT(pub->smethods != &rtpp_packetport_int_smethods_fin &&
50+
pub->smethods != NULL);
51+
pub->smethods = &rtpp_packetport_int_smethods_fin;
52+
}
53+
#if defined(RTPP_FINTEST)
54+
#include <assert.h>
55+
#include <stddef.h>
56+
#include "rtpp_mallocs.h"
57+
#include "rtpp_refcnt.h"
58+
#include "rtpp_linker_set.h"
59+
#define CALL_TFIN(pub, fn) ((void (*)(typeof(pub)))((pub)->smethods->fn))(pub)
60+
61+
void
62+
rtpp_packetport_int_fintest()
63+
{
64+
int naborts_s;
65+
66+
struct {
67+
struct rtpp_packetport_int pub;
68+
} *tp;
69+
70+
naborts_s = _naborts;
71+
tp = rtpp_rzmalloc(sizeof(*tp), offsetof(typeof(*tp), pub.rcnt));
72+
assert(tp != NULL);
73+
assert(tp->pub.rcnt != NULL);
74+
static const struct rtpp_packetport_int_smethods dummy = {
75+
.next_in_port = (rtpp_packetport_next_in_port_t)((void *)0x1),
76+
.next_out_port = (rtpp_packetport_next_out_port_t)((void *)0x1),
77+
.reg_stream = (rtpp_packetport_reg_stream_t)((void *)0x1),
78+
.reg_streams = (rtpp_packetport_reg_streams_t)((void *)0x1),
79+
.send_pkt_na = (rtpp_packetport_send_pkt_na_t)((void *)0x1),
80+
.unreg_stream = (rtpp_packetport_unreg_stream_t)((void *)0x1),
81+
};
82+
tp->pub.smethods = &dummy;
83+
RTPP_OBJ_DTOR_ATTACH_s(&tp->pub, (rtpp_refcnt_dtor_t)&rtpp_packetport_int_fin,
84+
&tp->pub);
85+
RTPP_OBJ_DECREF(&(tp->pub));
86+
CALL_TFIN(&tp->pub, next_in_port);
87+
CALL_TFIN(&tp->pub, next_out_port);
88+
CALL_TFIN(&tp->pub, reg_stream);
89+
CALL_TFIN(&tp->pub, reg_streams);
90+
CALL_TFIN(&tp->pub, send_pkt_na);
91+
CALL_TFIN(&tp->pub, unreg_stream);
92+
assert((_naborts - naborts_s) == 6);
93+
}
94+
DATA_SET(rtpp_fintests, rtpp_packetport_int_fintest);
95+
#endif /* RTPP_FINTEST */

autosrc/rtpp_packetport_fin.h

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/* Auto-generated by genfincode_stat.sh - DO NOT EDIT! */
2+
#if !defined(_rtpp_packetport_fin_h)
3+
#define _rtpp_packetport_fin_h
4+
#if !defined(RTPP_AUTOTRAP)
5+
#define RTPP_AUTOTRAP() abort()
6+
#else
7+
extern int _naborts;
8+
#endif
9+
#if defined(RTPP_DEBUG)
10+
struct rtpp_packetport_int;
11+
void rtpp_packetport_int_fin(struct rtpp_packetport_int *);
12+
#else
13+
#define rtpp_packetport_int_fin(arg) /* nop */
14+
#endif
15+
#if defined(RTPP_FINTEST)
16+
void rtpp_packetport_int_fintest(void);
17+
#endif /* RTPP_FINTEST */
18+
#endif /* _rtpp_packetport_fin_h */

autosrc/rtpp_stream_fin.c

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ static void rtpp_stream_get_actor_fin(void *pub) {
1515
fprintf(stderr, "Method rtpp_stream@%p::get_actor (rtpp_stream_get_actor) is invoked after destruction\x0a", pub);
1616
RTPP_AUTOTRAP();
1717
}
18+
static void rtpp_stream_get_packetport_fin(void *pub) {
19+
fprintf(stderr, "Method rtpp_stream@%p::get_packetport (rtpp_stream_get_packetport) is invoked after destruction\x0a", pub);
20+
RTPP_AUTOTRAP();
21+
}
1822
static void rtpp_stream_get_proto_fin(void *pub) {
1923
fprintf(stderr, "Method rtpp_stream@%p::get_proto (rtpp_stream_get_proto) is invoked after destruction\x0a", pub);
2024
RTPP_AUTOTRAP();
@@ -91,17 +95,26 @@ static void rtpp_stream_send_pkt_to_fin(void *pub) {
9195
fprintf(stderr, "Method rtpp_stream@%p::send_pkt_to (rtpp_stream_send_pkt_to) is invoked after destruction\x0a", pub);
9296
RTPP_AUTOTRAP();
9397
}
98+
static void rtpp_stream_set_packetport_fin(void *pub) {
99+
fprintf(stderr, "Method rtpp_stream@%p::set_packetport (rtpp_stream_set_packetport) is invoked after destruction\x0a", pub);
100+
RTPP_AUTOTRAP();
101+
}
94102
static void rtpp_stream_set_skt_fin(void *pub) {
95103
fprintf(stderr, "Method rtpp_stream@%p::set_skt (rtpp_stream_set_skt) is invoked after destruction\x0a", pub);
96104
RTPP_AUTOTRAP();
97105
}
106+
static void rtpp_stream_unreg_fin(void *pub) {
107+
fprintf(stderr, "Method rtpp_stream@%p::unreg (rtpp_stream_unreg) is invoked after destruction\x0a", pub);
108+
RTPP_AUTOTRAP();
109+
}
98110
static void rtpp_stream_update_skt_fin(void *pub) {
99111
fprintf(stderr, "Method rtpp_stream@%p::update_skt (rtpp_stream_update_skt) is invoked after destruction\x0a", pub);
100112
RTPP_AUTOTRAP();
101113
}
102114
static const struct rtpp_stream_smethods rtpp_stream_smethods_fin = {
103115
.finish_playback = (rtpp_stream_finish_playback_t)&rtpp_stream_finish_playback_fin,
104116
.get_actor = (rtpp_stream_get_actor_t)&rtpp_stream_get_actor_fin,
117+
.get_packetport = (rtpp_stream_get_packetport_t)&rtpp_stream_get_packetport_fin,
105118
.get_proto = (rtpp_stream_get_proto_t)&rtpp_stream_get_proto_fin,
106119
.get_rem_addr = (rtpp_stream_get_rem_addr_t)&rtpp_stream_get_rem_addr_fin,
107120
.get_sender = (rtpp_stream_get_sender_t)&rtpp_stream_get_sender_fin,
@@ -121,12 +134,15 @@ static const struct rtpp_stream_smethods rtpp_stream_smethods_fin = {
121134
.rx = (rtpp_stream_rx_t)&rtpp_stream_rx_fin,
122135
.send_pkt = (rtpp_stream_send_pkt_t)&rtpp_stream_send_pkt_fin,
123136
.send_pkt_to = (rtpp_stream_send_pkt_to_t)&rtpp_stream_send_pkt_to_fin,
137+
.set_packetport = (rtpp_stream_set_packetport_t)&rtpp_stream_set_packetport_fin,
124138
.set_skt = (rtpp_stream_set_skt_t)&rtpp_stream_set_skt_fin,
139+
.unreg = (rtpp_stream_unreg_t)&rtpp_stream_unreg_fin,
125140
.update_skt = (rtpp_stream_update_skt_t)&rtpp_stream_update_skt_fin,
126141
};
127142
void rtpp_stream_fin(struct rtpp_stream *pub) {
128143
RTPP_DBG_ASSERT(pub->smethods->finish_playback != (rtpp_stream_finish_playback_t)NULL);
129144
RTPP_DBG_ASSERT(pub->smethods->get_actor != (rtpp_stream_get_actor_t)NULL);
145+
RTPP_DBG_ASSERT(pub->smethods->get_packetport != (rtpp_stream_get_packetport_t)NULL);
130146
RTPP_DBG_ASSERT(pub->smethods->get_proto != (rtpp_stream_get_proto_t)NULL);
131147
RTPP_DBG_ASSERT(pub->smethods->get_rem_addr != (rtpp_stream_get_rem_addr_t)NULL);
132148
RTPP_DBG_ASSERT(pub->smethods->get_sender != (rtpp_stream_get_sender_t)NULL);
@@ -146,7 +162,9 @@ void rtpp_stream_fin(struct rtpp_stream *pub) {
146162
RTPP_DBG_ASSERT(pub->smethods->rx != (rtpp_stream_rx_t)NULL);
147163
RTPP_DBG_ASSERT(pub->smethods->send_pkt != (rtpp_stream_send_pkt_t)NULL);
148164
RTPP_DBG_ASSERT(pub->smethods->send_pkt_to != (rtpp_stream_send_pkt_to_t)NULL);
165+
RTPP_DBG_ASSERT(pub->smethods->set_packetport != (rtpp_stream_set_packetport_t)NULL);
149166
RTPP_DBG_ASSERT(pub->smethods->set_skt != (rtpp_stream_set_skt_t)NULL);
167+
RTPP_DBG_ASSERT(pub->smethods->unreg != (rtpp_stream_unreg_t)NULL);
150168
RTPP_DBG_ASSERT(pub->smethods->update_skt != (rtpp_stream_update_skt_t)NULL);
151169
RTPP_DBG_ASSERT(pub->smethods != &rtpp_stream_smethods_fin &&
152170
pub->smethods != NULL);
@@ -176,6 +194,7 @@ rtpp_stream_fintest()
176194
static const struct rtpp_stream_smethods dummy = {
177195
.finish_playback = (rtpp_stream_finish_playback_t)((void *)0x1),
178196
.get_actor = (rtpp_stream_get_actor_t)((void *)0x1),
197+
.get_packetport = (rtpp_stream_get_packetport_t)((void *)0x1),
179198
.get_proto = (rtpp_stream_get_proto_t)((void *)0x1),
180199
.get_rem_addr = (rtpp_stream_get_rem_addr_t)((void *)0x1),
181200
.get_sender = (rtpp_stream_get_sender_t)((void *)0x1),
@@ -195,7 +214,9 @@ rtpp_stream_fintest()
195214
.rx = (rtpp_stream_rx_t)((void *)0x1),
196215
.send_pkt = (rtpp_stream_send_pkt_t)((void *)0x1),
197216
.send_pkt_to = (rtpp_stream_send_pkt_to_t)((void *)0x1),
217+
.set_packetport = (rtpp_stream_set_packetport_t)((void *)0x1),
198218
.set_skt = (rtpp_stream_set_skt_t)((void *)0x1),
219+
.unreg = (rtpp_stream_unreg_t)((void *)0x1),
199220
.update_skt = (rtpp_stream_update_skt_t)((void *)0x1),
200221
};
201222
tp->pub.smethods = &dummy;
@@ -204,6 +225,7 @@ rtpp_stream_fintest()
204225
RTPP_OBJ_DECREF(&(tp->pub));
205226
CALL_TFIN(&tp->pub, finish_playback);
206227
CALL_TFIN(&tp->pub, get_actor);
228+
CALL_TFIN(&tp->pub, get_packetport);
207229
CALL_TFIN(&tp->pub, get_proto);
208230
CALL_TFIN(&tp->pub, get_rem_addr);
209231
CALL_TFIN(&tp->pub, get_sender);
@@ -223,9 +245,11 @@ rtpp_stream_fintest()
223245
CALL_TFIN(&tp->pub, rx);
224246
CALL_TFIN(&tp->pub, send_pkt);
225247
CALL_TFIN(&tp->pub, send_pkt_to);
248+
CALL_TFIN(&tp->pub, set_packetport);
226249
CALL_TFIN(&tp->pub, set_skt);
250+
CALL_TFIN(&tp->pub, unreg);
227251
CALL_TFIN(&tp->pub, update_skt);
228-
assert((_naborts - naborts_s) == 23);
252+
assert((_naborts - naborts_s) == 26);
229253
}
230254
DATA_SET(rtpp_fintests, rtpp_stream_fintest);
231255
#endif /* RTPP_FINTEST */

configure

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16038,7 +16038,7 @@ then
1603816038
AM_DEFAULT_VERBOSITY=0
1603916039
fi
1604016040

16041-
ac_config_files="$ac_config_files Makefile src/Makefile makeann/Makefile extractaudio/Makefile libexecinfo/Makefile modules/Makefile modules/acct_csv/Makefile modules/acct_rtcp_hep/Makefile modules/catch_dtmf/Makefile modules/badmod/Makefile libxxHash/Makefile libre/Makefile modules/dtls_gw/Makefile modules/ice_lite/Makefile pertools/Makefile pertools/udp_contention/Makefile libucl/Makefile doc/Makefile"
16041+
ac_config_files="$ac_config_files Makefile src/Makefile makeann/Makefile extractaudio/Makefile libexecinfo/Makefile modules/Makefile modules/acct_csv/Makefile modules/acct_rtcp_hep/Makefile modules/catch_dtmf/Makefile modules/badmod/Makefile libxxHash/Makefile libRTQueue/Makefile libre/Makefile modules/dtls_gw/Makefile modules/ice_lite/Makefile pertools/Makefile pertools/udp_contention/Makefile libucl/Makefile doc/Makefile"
1604216042

1604316043

1604416044
if test -z "$TESTS_EXIST_TRUE"; then :
@@ -17184,6 +17184,7 @@ do
1718417184
"modules/catch_dtmf/Makefile") CONFIG_FILES="$CONFIG_FILES modules/catch_dtmf/Makefile" ;;
1718517185
"modules/badmod/Makefile") CONFIG_FILES="$CONFIG_FILES modules/badmod/Makefile" ;;
1718617186
"libxxHash/Makefile") CONFIG_FILES="$CONFIG_FILES libxxHash/Makefile" ;;
17187+
"libRTQueue/Makefile") CONFIG_FILES="$CONFIG_FILES libRTQueue/Makefile" ;;
1718717188
"libre/Makefile") CONFIG_FILES="$CONFIG_FILES libre/Makefile" ;;
1718817189
"modules/dtls_gw/Makefile") CONFIG_FILES="$CONFIG_FILES modules/dtls_gw/Makefile" ;;
1718917190
"modules/ice_lite/Makefile") CONFIG_FILES="$CONFIG_FILES modules/ice_lite/Makefile" ;;

extractaudio/Makefile.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ RTPP_MEMDEB_CORESRCS = $(MAINSRCDIR)/rtpp_memdeb.c $(MAINSRCDIR)/rtpp_memdeb.h \
504504
$(MAINSRCDIR)/rtpp_coverage.c $(MAINSRCDIR)/rtpp_coverage.h
505505

506506
@ENABLE_LIBUNWIND_FALSE@RTPP_MEMDEB_CFLAGS = -fno-omit-frame-pointer
507-
RTPP_MEMDEB_LDADD = $(top_srcdir)/libexecinfo/libexecinfo.la @LIBS_DL@ -lpthread
507+
RTPP_MEMDEB_LD_ADD = $(top_srcdir)/libexecinfo/libexecinfo.la @LIBS_DL@ -lpthread
508508
MAINSRCDIR = $(top_srcdir)/src
509509
DEFAULT_INCLUDES = -I$(MAINSRCDIR)
510510
CC_WFLAGS = -Wall -Werror=implicit-function-declaration \
@@ -584,7 +584,7 @@ extractaudio_LDFLAGS = $(LTO_FLAG)
584584
extractaudio_debug_SOURCES = $(extractaudio_BASESOURCES) $(RTPP_MEMDEB_CORESRCS) \
585585
$(rtpp_netaddr_AUTOSRCS) $(rtpp_refcnt_AUTOSRCS) $(rtpp_ringbuf_AUTOSRCS)
586586

587-
extractaudio_debug_LDADD = $(extractaudio_LDADD) $(RTPP_MEMDEB_LDADD)
587+
extractaudio_debug_LDADD = $(extractaudio_LDADD) $(RTPP_MEMDEB_LD_ADD)
588588
extractaudio_debug_CPPFLAGS = $(extractaudio_CPPFLAGS) \
589589
$(RTPP_MEMDEB_CPPFLAGS) -DMEMDEB_APP=extractaudio
590590

libexecinfo/Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ RTPP_MEMDEB_CORESRCS = $(MAINSRCDIR)/rtpp_memdeb.c $(MAINSRCDIR)/rtpp_memdeb.h \
384384
$(MAINSRCDIR)/rtpp_coverage.c $(MAINSRCDIR)/rtpp_coverage.h
385385

386386
@ENABLE_LIBUNWIND_FALSE@RTPP_MEMDEB_CFLAGS = -fno-omit-frame-pointer
387-
RTPP_MEMDEB_LDADD = $(top_srcdir)/libexecinfo/libexecinfo.la @LIBS_DL@ -lpthread
387+
RTPP_MEMDEB_LD_ADD = $(top_srcdir)/libexecinfo/libexecinfo.la @LIBS_DL@ -lpthread
388388
MAINSRCDIR = $(top_srcdir)/src
389389
DEFAULT_INCLUDES = -I$(MAINSRCDIR)
390390
CC_WFLAGS = -Wall -Werror=implicit-function-declaration \

0 commit comments

Comments
 (0)