blob: 96a454fbf869a7d4817d7004cc63d56ba87743a1 [file] [log] [blame]
Harald Welte24173fb2018-08-24 20:37:28 +02001#pragma once
2
3#include <osmocom/core/fsm.h>
4#include <osmocom/abis/ipa.h>
Harald Weltef9995a32018-10-14 20:40:05 +02005#include <osmocom/rspro/RsproPDU.h>
Harald Welte24173fb2018-08-24 20:37:28 +02006
7#include "rspro_util.h"
Harald Welte3cded632019-03-09 12:59:41 +01008#include "rspro_client_fsm.h"
Harald Welte9cf013a2019-03-11 22:19:19 +01009#include "slotmap.h"
Harald Weltea4e0a232018-10-14 17:44:25 +020010#include "debug.h"
Harald Welte24173fb2018-08-24 20:37:28 +020011
Harald Welte24173fb2018-08-24 20:37:28 +020012/* main.c */
13
14struct bankd_client {
15 /* connection to the remsim-server (control) */
Harald Weltee56f2b92019-03-02 17:02:13 +010016 struct rspro_server_conn srv_conn;
Harald Welte3e9860b2019-12-02 23:04:54 +010017 /* connection to the remsim-bankd (data) */
18 struct rspro_server_conn bankd_conn;
Harald Welte24173fb2018-08-24 20:37:28 +020019
Harald Weltee56f2b92019-03-02 17:02:13 +010020 /* remote component ID */
21 struct app_comp_id peer_comp_id;
Harald Welte24173fb2018-08-24 20:37:28 +020022
Harald Welte9cf013a2019-03-11 22:19:19 +010023 struct bank_slot bankd_slot;
Harald Welte24173fb2018-08-24 20:37:28 +020024};