aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2021-03-30 11:58:51 +0200
committerHarald Welte <laforge@osmocom.org>2021-04-25 21:09:23 +0200
commit47cc55ceac06db61e481f3986f9040e80f69eb91 (patch)
tree16ddd7611f605c75839a2588f57bcd83d9c166a5
parenta912d192f179558319bc0cb60dca600f2ace1e04 (diff)
frame_relay: Export osmo_fr_network_free()
The function already existed, it was just not declared and not exported. Change-Id: I3f2a7e2fd1a4eda6bbed8510cf82951d73bb3f84
-rw-r--r--include/osmocom/gprs/frame_relay.h1
-rw-r--r--src/gb/libosmogb.map1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/osmocom/gprs/frame_relay.h b/include/osmocom/gprs/frame_relay.h
index e3167070..8ab97904 100644
--- a/include/osmocom/gprs/frame_relay.h
+++ b/include/osmocom/gprs/frame_relay.h
@@ -131,6 +131,7 @@ struct osmo_fr_dlc {
/* allocate a frame relay network */
struct osmo_fr_network *osmo_fr_network_alloc(void *ctx);
+void osmo_fr_network_free(struct osmo_fr_network *net);
/* allocate a frame relay link in a given network */
struct osmo_fr_link *osmo_fr_link_alloc(struct osmo_fr_network *net, enum osmo_fr_role role, const char *name);
diff --git a/src/gb/libosmogb.map b/src/gb/libosmogb.map
index fc8ab458..ed9b8229 100644
--- a/src/gb/libosmogb.map
+++ b/src/gb/libosmogb.map
@@ -100,6 +100,7 @@ bssgp_bvc_fsm_set_max_pdu_len;
bssgp_bvc_fsm_get_max_pdu_len;
osmo_fr_network_alloc;
+osmo_fr_network_free;
osmo_fr_link_alloc;
osmo_fr_link_free;
osmo_fr_dlc_alloc;