#include <cellmgr_debug.h>
#include <ss7_application.h>
-#include <ss7_application.h>
#include <osmocom/core/talloc.h>
return NULL;
}
-unsigned int sls_for_src_ref(struct ss7_application *fw, struct sccp_source_reference *ref)
+int sls_for_src_ref(struct ss7_application *fw, struct sccp_source_reference *ref)
{
struct active_sccp_con *con;
struct active_sccp_con *find_con_by_src_ref(struct ss7_application *,struct sccp_source_reference *src_ref);
struct active_sccp_con *find_con_by_src_dest_ref(struct ss7_application *, struct sccp_source_reference *src_ref,
struct sccp_source_reference *dst_ref);
-unsigned int sls_for_src_ref(struct ss7_application *, struct sccp_source_reference *ref);
+int sls_for_src_ref(struct ss7_application *, struct sccp_source_reference *ref);
void app_resources_released(struct ss7_application *ss7);
void app_clear_connections(struct ss7_application *ss7);
&rlsd->source_local_reference);
}
} else {
- unsigned int sls = -1;
+ int sls = -1;
con = find_con_by_src_dest_ref(app, &rlsd->source_local_reference,
&rlsd->destination_local_reference);
if (con) {
} else if (rc == BSS_FILTER_CLEAR_COMPL) {
LOGP(DMSC, LOGL_ERROR, "Clear Complete from the network.\n");
} else if (set->sccp_up) {
- unsigned int sls;
+ int sls;
update_con_state(msc->app, rc, &result, msg, 1, 0);
sls = sls_for_src_ref(msc->app, result.destination_local_reference);