aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2020-02-22 19:22:02 +0100
committerHarald Welte <laforge@osmocom.org>2020-03-03 21:09:50 +0100
commit13cb311c06f33cbfb9e01bf1f72e44956d8f0ec4 (patch)
tree87267b7861248681008538cb8472e47b34c2d105
parente6806e58c250788935ce68c11124811ed8804033 (diff)
extend osmo_st2_cardem_inst with fields required by osmo-remsim
-rw-r--r--host/include/osmocom/simtrace2/simtrace2_api.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/host/include/osmocom/simtrace2/simtrace2_api.h b/host/include/osmocom/simtrace2/simtrace2_api.h
index 012b96c..aa1637d 100644
--- a/host/include/osmocom/simtrace2/simtrace2_api.h
+++ b/host/include/osmocom/simtrace2/simtrace2_api.h
@@ -33,6 +33,10 @@ struct osmo_st2_cardem_inst {
const struct osim_cla_ins_card_profile *card_prof;
/* libosmosim SIM card channel */
struct osim_chan_hdl *chan;
+ /* path of the underlying USB device */
+ char *usb_path;
+ /* opaque data TBD by user */
+ void *priv;
};
int osmo_st2_transp_tx_msg(struct osmo_st2_transport *transp, struct msgb *msg);