pespin submitted this change.

View Change



1 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.

Approvals: laforge: Looks good to me, approved Jenkins Builder: Verified
Move ss7_as_alloc() to correct header

Change-Id: I062ccf8d1ebd58b767652fb72cc056065749f2a5
---
M src/ss7_as.h
M src/ss7_internal.h
2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/ss7_as.h b/src/ss7_as.h
index 5bc3574..fe1d86b 100644
--- a/src/ss7_as.h
+++ b/src/ss7_as.h
@@ -127,7 +127,8 @@
} loadshare;
} cfg;
};
-
+struct osmo_ss7_as *ss7_as_alloc(struct osmo_ss7_instance *inst, const char *name,
+ enum osmo_ss7_asp_protocol proto);
struct osmo_ss7_asp *ss7_as_select_asp(struct osmo_ss7_as *as, const struct osmo_mtp_transfer_param *mtp);

unsigned int osmo_ss7_as_count_asp(const struct osmo_ss7_as *as);
diff --git a/src/ss7_internal.h b/src/ss7_internal.h
index 7dc2c57..d931351 100644
--- a/src/ss7_internal.h
+++ b/src/ss7_internal.h
@@ -15,9 +15,6 @@

bool ss7_ipv6_sctp_supported(const char *host, bool bind);

-struct osmo_ss7_as *ss7_as_alloc(struct osmo_ss7_instance *inst, const char *name,
- enum osmo_ss7_asp_protocol proto);
-
struct osmo_ss7_asp *ss7_asp_find_by_socket_addr(int fd, int trans_proto);

bool ss7_asp_protocol_check_trans_proto(enum osmo_ss7_asp_protocol proto, int trans_proto);

To view, visit change 40555. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: merged
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: master
Gerrit-Change-Id: I062ccf8d1ebd58b767652fb72cc056065749f2a5
Gerrit-Change-Number: 40555
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge@osmocom.org>
Gerrit-Reviewer: pespin <pespin@sysmocom.de>