aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/gsup_client.h
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-12-08 21:30:34 +0100
committerHarald Welte <laforge@gnumonks.org>2016-12-13 14:54:01 +0000
commit49012f14dd5480573943e5d8cd5e9908f3eabb16 (patch)
tree4e00395a69f244daa66c334d28f9be61e01ebcb1 /openbsc/include/openbsc/gsup_client.h
parent736474ce451a92cdc17db5f290f55f8cf22a13a2 (diff)
oap: rename public API from oap_ to oap_client_
Mainly to differentiate the OAP messaging API (osmo_oap_ in libosmocore) from the OAP client. This is in preparation for moving the oap client to libcommon, which is in turn preparation for libvlr. Add the osmo_ prefix, as all public Osmocom API should have. We also have OAP messages code in libosmocore, so clarify by naming this osmo_oap_client, and by also renaming the oap_test to oap_client_test. This reshuffling will allow an easy move of OAP to libosmocore if we should want to do that. A number of patches will follow up on this. Related: OS#1592 Change-Id: Id447d2bebc026a375567654adafa5f82439ea7e1
Diffstat (limited to 'openbsc/include/openbsc/gsup_client.h')
-rw-r--r--openbsc/include/openbsc/gsup_client.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/include/openbsc/gsup_client.h b/openbsc/include/openbsc/gsup_client.h
index 551f76d75..d21a54d83 100644
--- a/openbsc/include/openbsc/gsup_client.h
+++ b/openbsc/include/openbsc/gsup_client.h
@@ -41,7 +41,7 @@ struct gsup_client {
gsup_client_read_cb_t read_cb;
void *data;
- struct oap_state oap_state;
+ struct oap_client_state oap_state;
struct osmo_timer_list ping_timer;
struct osmo_timer_list connect_timer;
@@ -52,7 +52,7 @@ struct gsup_client {
struct gsup_client *gsup_client_create(const char *ip_addr,
unsigned int tcp_port,
gsup_client_read_cb_t read_cb,
- struct oap_config *oap_config);
+ struct oap_client_config *oap_config);
void gsup_client_destroy(struct gsup_client *gsupc);
int gsup_client_send(struct gsup_client *gsupc, struct msgb *msg);