diff options
author | Harald Welte <laforge@gnumonks.org> | 2018-02-08 23:59:19 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-02-09 02:20:51 +0100 |
commit | b6777fb055d94991971d4df0438ad18911e0b000 (patch) | |
tree | 15427546ff81894020debdff8c6b016a560d46d5 /include/osmocom | |
parent | 66a301e65d6d1379de1e7ab0963b94ab335e3668 (diff) |
a_reset: Add additional "a_reset_alloc" argument
Using this argument we can create the state machine in the
"already connected" state, i.e. without starting an outbound
RESET procedure.
Change-Id: Ibf569d57300965cd47084fa0bff54aa67679e2a1
Diffstat (limited to 'include/osmocom')
-rw-r--r-- | include/osmocom/msc/a_reset.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/osmocom/msc/a_reset.h b/include/osmocom/msc/a_reset.h index 7aaab0620..cdb17c288 100644 --- a/include/osmocom/msc/a_reset.h +++ b/include/osmocom/msc/a_reset.h @@ -45,7 +45,8 @@ struct a_reset_ctx { }; /* Create and start state machine which handles the reset/reset-ack procedure */ -struct a_reset_ctx *a_reset_alloc(const void *ctx, const char *name, void *cb, void *priv); +struct a_reset_ctx *a_reset_alloc(const void *ctx, const char *name, void *cb, void *priv, + bool already_connected); /* Tear down state machine */ void a_reset_free(struct a_reset_ctx *reset); |