Change in osmo-e1d[master]: Export _e1d_ts_stop() function inside daemon

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Tue Jun 30 06:02:04 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-e1d/+/19044 )

Change subject: Export _e1d_ts_stop() function inside daemon
......................................................................

Export _e1d_ts_stop() function inside daemon

Change-Id: If3ceca05d4fdf1e33d926061f30fce6bfa8e0357
---
M src/ctl.c
M src/e1d.h
2 files changed, 7 insertions(+), 3 deletions(-)

Approvals:
  Jenkins Builder: Verified
  tnt: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved



diff --git a/src/ctl.c b/src/ctl.c
index dd9155d..1fa5d84 100644
--- a/src/ctl.c
+++ b/src/ctl.c
@@ -91,8 +91,8 @@
 }
 
 
-static void
-_e1d_ts_stop(struct e1_ts *ts)
+void
+e1_ts_stop(struct e1_ts *ts)
 {
 	ts->mode = E1_TS_MODE_OFF;
 
@@ -287,7 +287,7 @@
 	}
 
 	/* If already open, close previous */
-	_e1d_ts_stop(ts);
+	e1_ts_stop(ts);
 
 	/* Init */
 	ret = _e1d_ts_start(ts, mode);
diff --git a/src/e1d.h b/src/e1d.h
index c1a28ce..a5076b0 100644
--- a/src/e1d.h
+++ b/src/e1d.h
@@ -104,4 +104,8 @@
 e1_line_demux_in(struct e1_line *line, const uint8_t *buf, int size);
 
 void
+e1_ts_stop(struct e1_ts *ts);
+
+void
 e1d_vty_init(struct e1_daemon *e1d);
+

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-e1d/+/19044
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-e1d
Gerrit-Branch: master
Gerrit-Change-Id: If3ceca05d4fdf1e33d926061f30fce6bfa8e0357
Gerrit-Change-Number: 19044
Gerrit-PatchSet: 3
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-Assignee: tnt <tnt at 246tNt.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: tnt <tnt at 246tNt.com>
Gerrit-CC: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200630/75f7928a/attachment.htm>


More information about the gerrit-log mailing list