summaryrefslogtreecommitdiffstats
path: root/src/input/ipaccess.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso2011-06-23 13:36:34 +0200
committerPablo Neira Ayuso2011-06-23 13:36:34 +0200
commite009f4a009e028fbd041e8731e75c4c39d52cdd1 (patch)
tree5bf803bfe549537454aec326f17a802b7da45547 /src/input/ipaccess.c
parentipaccess: remove dead code from ipaccess adriver (diff)
downloadlibosmo-abis-e009f4a009e028fbd041e8731e75c4c39d52cdd1.tar.gz
libosmo-abis-e009f4a009e028fbd041e8731e75c4c39d52cdd1.tar.xz
libosmo-abis-e009f4a009e028fbd041e8731e75c4c39d52cdd1.zip
ipa: extend ipa_*link_create() to take one generic data pointer
With this patch we can attach generic data to some IPA link. This will be useful for the IPA proxy support.
Diffstat (limited to 'src/input/ipaccess.c')
-rw-r--r--src/input/ipaccess.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/input/ipaccess.c b/src/input/ipaccess.c
index a6d09b3..8ce10ab 100644
--- a/src/input/ipaccess.c
+++ b/src/input/ipaccess.c
@@ -459,7 +459,7 @@ static int ipaccess_line_update(struct e1inp_line *line,
oml_link = ipa_server_link_create(tall_ipa_ctx, line,
"0.0.0.0", IPA_TCP_PORT_OML,
- ipaccess_bsc_oml_cb);
+ ipaccess_bsc_oml_cb, NULL);
if (oml_link == NULL) {
LOGP(DINP, LOGL_ERROR, "cannot create OML "
"BSC link: %s\n", strerror(errno));
@@ -474,7 +474,7 @@ static int ipaccess_line_update(struct e1inp_line *line,
}
rsl_link = ipa_server_link_create(tall_ipa_ctx, line,
"0.0.0.0", IPA_TCP_PORT_RSL,
- ipaccess_bsc_rsl_cb);
+ ipaccess_bsc_rsl_cb, NULL);
if (rsl_link == NULL) {
LOGP(DINP, LOGL_ERROR, "cannot create RSL "
"BSC link: %s\n", strerror(errno));
@@ -497,7 +497,7 @@ static int ipaccess_line_update(struct e1inp_line *line,
link = ipa_client_link_create(tall_ipa_ctx, line,
addr, IPA_TCP_PORT_OML,
- ipaccess_bts_cb);
+ ipaccess_bts_cb, NULL);
if (link == NULL) {
LOGP(DINP, LOGL_ERROR, "cannot create OML "
"BTS link: %s\n", strerror(errno));
@@ -512,7 +512,7 @@ static int ipaccess_line_update(struct e1inp_line *line,
}
rsl_link = ipa_client_link_create(tall_ipa_ctx, line,
addr, IPA_TCP_PORT_RSL,
- ipaccess_bts_cb);
+ ipaccess_bts_cb, NULL);
if (rsl_link == NULL) {
LOGP(DINP, LOGL_ERROR, "cannot create RSL "
"BTS link: %s\n", strerror(errno));