bankd: Add app_comp_id to use repro_util helpers
Change-Id: Ie981388220ed0612e427d076f8741fec73e6026b
diff --git a/src/bankd_main.c b/src/bankd_main.c
index 7e650d3..98927e2 100644
--- a/src/bankd_main.c
+++ b/src/bankd_main.c
@@ -40,6 +40,12 @@
INIT_LLIST_HEAD(&bankd->workers);
pthread_mutex_init(&bankd->workers_mutex, NULL);
+ bankd->comp_id.type = ComponentType_remsimBankd;
+ OSMO_STRLCPY_ARRAY(bankd->comp_id.name, "fixme-name");
+ OSMO_STRLCPY_ARRAY(bankd->comp_id.software, "remsim-bankd");
+ OSMO_STRLCPY_ARRAY(bankd->comp_id.sw_version, PACKAGE_VERSION);
+ /* FIXME: other members of app_comp_id */
+
/* Np lock or mutex required for the pcsc_slot_names list, as this is only
* read once during bankd initialization, when the worker threads haven't
* started yet */