Export _e1d_ts_stop() function inside daemon
Change-Id: If3ceca05d4fdf1e33d926061f30fce6bfa8e0357
This commit is contained in:
parent
8a9392ff44
commit
65b22c0b75
|
@ -91,8 +91,8 @@ _e1d_fill_ts_info(struct osmo_e1dp_ts_info *ti, struct e1_ts *ts)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static void
|
void
|
||||||
_e1d_ts_stop(struct e1_ts *ts)
|
e1_ts_stop(struct e1_ts *ts)
|
||||||
{
|
{
|
||||||
ts->mode = E1_TS_MODE_OFF;
|
ts->mode = E1_TS_MODE_OFF;
|
||||||
|
|
||||||
|
@ -287,7 +287,7 @@ _e1d_ctl_ts_open(void *data, struct msgb *msgb, struct msgb *rmsgb, int *rfd)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* If already open, close previous */
|
/* If already open, close previous */
|
||||||
_e1d_ts_stop(ts);
|
e1_ts_stop(ts);
|
||||||
|
|
||||||
/* Init */
|
/* Init */
|
||||||
ret = _e1d_ts_start(ts, mode);
|
ret = _e1d_ts_start(ts, mode);
|
||||||
|
|
|
@ -103,5 +103,9 @@ e1_line_mux_out(struct e1_line *line, uint8_t *buf, int fts);
|
||||||
int
|
int
|
||||||
e1_line_demux_in(struct e1_line *line, const uint8_t *buf, int size);
|
e1_line_demux_in(struct e1_line *line, const uint8_t *buf, int size);
|
||||||
|
|
||||||
|
void
|
||||||
|
e1_ts_stop(struct e1_ts *ts);
|
||||||
|
|
||||||
void
|
void
|
||||||
e1d_vty_init(struct e1_daemon *e1d);
|
e1d_vty_init(struct e1_daemon *e1d);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue