path: root/include/osmocom/sigtran
diff options
authorNeels Hofmeyr <neels@hofmeyr.de>2016-07-06 15:51:36 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2016-07-06 15:55:02 +0200
commit03ad002c28073b347b92bcde16d5af80a06389e4 (patch)
treebca5e9c18b3954cba8ee965e21f7b2db0e59f10c /include/osmocom/sigtran
parente076bf2107b48f2f65b3798b096a7d803e0523b1 (diff)
cosmetic: rename osmo_sua_link and osmo_sua_user to osmo_sccp_*
hwelte requested this change for the addition of libiu in openbsc. In a conversation we came to the conclusion that a rename of these two opaque structs would suffice. This is the "upstream" rename and will require adaptation of: * the sysmocom/iu branch in this repository * the iu related branches in openbsc.git * the hnbgw and dummy_cn code in osmo-iuh.git See https://gerrit.osmocom.org/#/c/192/2/openbsc/src/libiu/iu.c@57 Change-Id: Icbf64dd96f8e0e27695df73d1144519b88360b94
Diffstat (limited to 'include/osmocom/sigtran')
1 files changed, 8 insertions, 8 deletions
diff --git a/include/osmocom/sigtran/sua.h b/include/osmocom/sigtran/sua.h
index 2aa99f4..935a4c0 100644
--- a/include/osmocom/sigtran/sua.h
+++ b/include/osmocom/sigtran/sua.h
@@ -3,19 +3,19 @@
#include <stdint.h>
#include <osmocom/core/prim.h>
-struct osmo_sua_user;
-struct osmo_sua_link;
+struct osmo_sccp_user;
+struct osmo_sccp_link;
void osmo_sua_set_log_area(int area);
-struct osmo_sua_user *osmo_sua_user_create(void *ctx, osmo_prim_cb prim_cb);
-void osmo_sua_user_destroy(struct osmo_sua_user *user);
+struct osmo_sccp_user *osmo_sua_user_create(void *ctx, osmo_prim_cb prim_cb);
+void osmo_sua_user_destroy(struct osmo_sccp_user *user);
-int osmo_sua_server_listen(struct osmo_sua_user *user, const char *hostname, uint16_t port);
+int osmo_sua_server_listen(struct osmo_sccp_user *user, const char *hostname, uint16_t port);
-int osmo_sua_client_connect(struct osmo_sua_user *user, const char *hostname, uint16_t port);
-struct osmo_sua_link *osmo_sua_client_get_link(struct osmo_sua_user *user);
+int osmo_sua_client_connect(struct osmo_sccp_user *user, const char *hostname, uint16_t port);
+struct osmo_sccp_link *osmo_sua_client_get_link(struct osmo_sccp_user *user);
/* user hands us a SCCP-USER SAP primitive down into the stack */
-int osmo_sua_user_link_down(struct osmo_sua_link *link, struct osmo_prim_hdr *oph);
+int osmo_sua_user_link_down(struct osmo_sccp_link *link, struct osmo_prim_hdr *oph);