summaryrefslogtreecommitdiffstats
path: root/include/osmocom/abis/ipa.h
diff options
context:
space:
mode:
authorPablo Neira Ayuso2011-07-08 16:21:55 +0200
committerPablo Neira Ayuso2011-07-08 16:21:55 +0200
commit88136fc6dd4c432e13193c9e29c4bea927141812 (patch)
tree4bb8372b765223af9cd89e436a5d167a1fdd3c16 /include/osmocom/abis/ipa.h
parenttests: close OML and RSL if set for the BSC example (diff)
downloadlibosmo-abis-88136fc6dd4c432e13193c9e29c4bea927141812.tar.gz
libosmo-abis-88136fc6dd4c432e13193c9e29c4bea927141812.tar.xz
libosmo-abis-88136fc6dd4c432e13193c9e29c4bea927141812.zip
hsl: BTS support
This patch adds the BTS support for the hsl driver. It includes two examples under the tests/ directory.
Diffstat (limited to 'include/osmocom/abis/ipa.h')
-rw-r--r--include/osmocom/abis/ipa.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/osmocom/abis/ipa.h b/include/osmocom/abis/ipa.h
index d455069..2254629 100644
--- a/include/osmocom/abis/ipa.h
+++ b/include/osmocom/abis/ipa.h
@@ -48,12 +48,13 @@ struct ipa_client_link {
enum ipa_client_link_state state;
const char *addr;
uint16_t port;
+ int (*connect_cb)(struct ipa_client_link *link);
int (*read_cb)(struct ipa_client_link *link, struct msgb *msg);
int (*write_cb)(struct ipa_client_link *link);
void *data;
};
-struct ipa_client_link *ipa_client_link_create(void *ctx, struct e1inp_ts *ts, const char *driver_name, int priv_nr, const char *addr, uint16_t port, int (*read_cb)(struct ipa_client_link *link, struct msgb *msgb), int (*write_cb)(struct ipa_client_link *link), void *data);
+struct ipa_client_link *ipa_client_link_create(void *ctx, struct e1inp_ts *ts, const char *driver_name, int priv_nr, const char *addr, uint16_t port, int (*connect)(struct ipa_client_link *link), int (*read_cb)(struct ipa_client_link *link, struct msgb *msgb), int (*write_cb)(struct ipa_client_link *link), void *data);
void ipa_client_link_destroy(struct ipa_client_link *link);
int ipa_client_write_default_cb(struct ipa_client_link *link);