aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@gnumonks.org>2012-08-19 19:20:43 +0200
committerPablo Neira Ayuso <pablo@gnumonks.org>2012-08-19 20:14:17 +0200
commit7a3e8d01f54e68997c22036b1291f7f90a018def (patch)
tree930400e22835f6e4166a381bba170690c71e6958 /examples
parent5abf7f2ea492fced6824092e1ee471c40b714bde (diff)
consolidate ipa_unit infrastructure
Provide unified infrastructure for handling IPA units and modify existing code to use it.
Diffstat (limited to 'examples')
-rw-r--r--examples/channel/abis_ipa_stream_client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/channel/abis_ipa_stream_client.c b/examples/channel/abis_ipa_stream_client.c
index 3e24b62..07ee481 100644
--- a/examples/channel/abis_ipa_stream_client.c
+++ b/examples/channel/abis_ipa_stream_client.c
@@ -47,7 +47,7 @@ static struct osmo_chan *chan;
int main(void)
{
- struct ipaccess_unit *unit;
+ struct osmo_ipa_unit *unit;
tall_example = talloc_named_const(NULL, 1, "example");
@@ -68,7 +68,7 @@ int main(void)
osmo_abis_ipa_cli_set_oml_addr(chan, "127.0.0.1");
osmo_abis_ipa_cli_set_rsl_addr(chan, "127.0.0.1");
- unit = osmo_ipa_unit_alloc();
+ unit = osmo_ipa_unit_alloc(0);
if (unit == NULL) {
LOGP(DEXAMPLE, LOGL_ERROR, "Cannot create IPA unit\n");
exit(EXIT_FAILURE);