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.
diff --git a/src/input/hsl.c b/src/input/hsl.c
index bc8fdb0..0b6b078 100644
--- a/src/input/hsl.c
+++ b/src/input/hsl.c
@@ -338,7 +338,8 @@
LOGP(DINP, LOGL_NOTICE, "enabling hsl BTS mode\n");
link = ipa_client_link_create(tall_hsl_ctx, line, addr,
- HSL_TCP_PORT, hsl_bts_process);
+ HSL_TCP_PORT, hsl_bts_process,
+ NULL);
if (link == NULL) {
LOGP(DINP, LOGL_ERROR, "cannot create BTS link: %s\n",
strerror(errno));