aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/tests/mgcp
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2016-03-07 21:17:59 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2016-03-07 21:50:54 +0100
commit4dac5808674a6a0fc36b76012e93f4a0d16c997e (patch)
tree7b5d64a4db33560f740d6e40ae6e0628fe287c42 /openbsc/tests/mgcp
parent2c8dfd8b7ca8546d063cbed7f3881f863f1f0a65 (diff)
mgcp: Simplify and shorten routine names
Now they are included in a struct we can just call them setup, process and get_net_downlink_format to manage the lifetime.
Diffstat (limited to 'openbsc/tests/mgcp')
-rw-r--r--openbsc/tests/mgcp/mgcp_transcoding_test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/openbsc/tests/mgcp/mgcp_transcoding_test.c b/openbsc/tests/mgcp/mgcp_transcoding_test.c
index 72c75ebb6..02f2817c0 100644
--- a/openbsc/tests/mgcp/mgcp_transcoding_test.c
+++ b/openbsc/tests/mgcp/mgcp_transcoding_test.c
@@ -162,9 +162,9 @@ static int audio_name_to_type(const char *name)
int mgcp_get_trans_frame_size(void *state_, int nsamples, int dst);
static const struct mgcp_transcoding test_transcoder = {
- .setup_processing_cb = mgcp_transcoding_setup,
- .processing_cb = mgcp_transcoding_process_rtp,
- .get_net_downlink_format_cb = mgcp_transcoding_net_downlink_format,
+ .setup = mgcp_transcoding_setup,
+ .process = mgcp_transcoding_process_rtp,
+ .get_net_downlink_format = mgcp_transcoding_net_downlink_format,
};
static int given_configured_endpoint(int in_samples, int out_samples,