pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-pcu/+/39686?usp=email )
Change subject: Drop function declaration for non longer existing function
......................................................................
Drop function declaration for non longer existing function
Drop use of deprecated vty is_config_node() cb
This callback was drepecated and is not ever called since
libosmocore.git 70ce871532ab21955e0955d7e230eae65438f047 (release 1.3.0).
See also libosmocore.git d31de237582f6fe3315d61bb9a488d4cda92654e.
Change-Id: I999ac55fca21cf942876bc19c19f0eda2754501b
Fixes: 1ec29c7324e69a6f294704fb8eeb093a33085aba
---
M src/pcu_vty.h
1 file changed, 0 insertions(+), 3 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/86/39686/1
diff --git a/src/pcu_vty.h b/src/pcu_vty.h
index 45d3227..8178e11 100644
--- a/src/pcu_vty.h
+++ b/src/pcu_vty.h
@@ -9,9 +9,6 @@
PCU_NODE = _LAST_OSMOVTY_NODE + 1,
};
-int pcu_vty_go_parent(struct vty *vty);
-int pcu_vty_is_config_node(struct vty *vty, int node);
-
int pcu_vty_init();
extern struct vty_app_info pcu_vty_info;
--
To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/39686?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I999ac55fca21cf942876bc19c19f0eda2754501b
Gerrit-Change-Number: 39686
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-pcap/+/39682?usp=email )
Change subject: Drop use of deprecated vty is_config_node() cb
......................................................................
Drop use of deprecated vty is_config_node() cb
This callback was drepecated and is not ever called since
libosmocore.git 70ce871532ab21955e0955d7e230eae65438f047 (release 1.3.0).
See also libosmocore.git d31de237582f6fe3315d61bb9a488d4cda92654e.
Fixes: 4e934bb546e173ea525d778983cccce8f7c563c0
Change-Id: Idaad5148c7ca486b84bd67ad2ad90b96c3126316
---
M include/osmo-pcap/common.h
1 file changed, 0 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-pcap refs/changes/82/39682/1
diff --git a/include/osmo-pcap/common.h b/include/osmo-pcap/common.h
index 7ac5bb0..5916c48 100644
--- a/include/osmo-pcap/common.h
+++ b/include/osmo-pcap/common.h
@@ -56,7 +56,6 @@
extern const struct log_info log_info;
extern const char *osmopcap_copyright;
extern int osmopcap_go_parent(struct vty *vty);
-extern int osmopcap_is_config_node(struct vty *vty, int node);
/* defined in libpcap's pcap-int.h, which is not public */
#ifndef MAXIMUM_SNAPLEN
--
To view, visit https://gerrit.osmocom.org/c/osmo-pcap/+/39682?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: osmo-pcap
Gerrit-Branch: master
Gerrit-Change-Id: Idaad5148c7ca486b84bd67ad2ad90b96c3126316
Gerrit-Change-Number: 39682
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-sigtran/+/39679?usp=email )
Change subject: Drop use of deprecated vty is_config_node() cb
......................................................................
Drop use of deprecated vty is_config_node() cb
This callback was drepecated and is not ever called since
libosmocore.git 70ce871532ab21955e0955d7e230eae65438f047 (release 1.3.0).
See also libosmocore.git d31de237582f6fe3315d61bb9a488d4cda92654e.
Change-Id: Ib0d0079c76a18b09cde6ef3f22dda618ff5fbc98
---
M include/osmocom/sigtran/osmo_ss7.h
M src/osmo_ss7_vty.c
M stp/stp_main.c
3 files changed, 5 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-sigtran refs/changes/79/39679/1
diff --git a/include/osmocom/sigtran/osmo_ss7.h b/include/osmocom/sigtran/osmo_ss7.h
index 51c1cbd..66cbfe6 100644
--- a/include/osmocom/sigtran/osmo_ss7.h
+++ b/include/osmocom/sigtran/osmo_ss7.h
@@ -354,4 +354,6 @@
void osmo_ss7_vty_init_asp(void *ctx);
void osmo_ss7_vty_init_sg(void *ctx);
int osmo_ss7_vty_go_parent(struct vty *vty);
-int osmo_ss7_is_config_node(struct vty *vty, int node);
+int osmo_ss7_is_config_node(struct vty *vty, int node)
+ OSMO_DEPRECATED("Implicit parent node tracking has replaced the use of this callback. "
+ "This callback is no longer called, ever, and can be left NULL.");
diff --git a/src/osmo_ss7_vty.c b/src/osmo_ss7_vty.c
index 8365db2..f76a69e 100644
--- a/src/osmo_ss7_vty.c
+++ b/src/osmo_ss7_vty.c
@@ -3042,6 +3042,8 @@
return 0;
}
+/* This is no longer used. The libosmocore callback was deprecated is not ever called since.
+ * libosmocore.git 70ce871532ab21955e0955d7e230eae65438f047 (release 1.3.0). */
int osmo_ss7_is_config_node(struct vty *vty, int node)
{
switch (node) {
diff --git a/stp/stp_main.c b/stp/stp_main.c
index d630032..2d31ef0 100644
--- a/stp/stp_main.c
+++ b/stp/stp_main.c
@@ -73,7 +73,6 @@
.copyright = stp_copyright,
.version = PACKAGE_VERSION,
.go_parent_cb = osmo_ss7_vty_go_parent,
- .is_config_node = osmo_ss7_is_config_node,
};
static struct {
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/39679?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: master
Gerrit-Change-Id: Ib0d0079c76a18b09cde6ef3f22dda618ff5fbc98
Gerrit-Change-Number: 39679
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>